:root {
  --black: #0f0f0f;
  --white: #faf8f5;
  --gold: #c9a87c;
  --accent: #ff4d6d;
  --gray-dark: #2a2a2a;
  --gray-mid: #555;
  --gray-light: #e8e4df;
  --shadow: 0 8px 32px rgba(15, 15, 15, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 15, 15, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-next,
.btn-back,
.btn-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  min-height: 56px;
  padding: 0 32px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 77, 109, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 77, 109, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
}

.btn-next,
.btn-confirm {
  background: var(--black);
  color: var(--white);
  min-width: 160px;
}

.btn-next:hover,
.btn-confirm:hover {
  background: var(--gray-dark);
}

.btn-next:disabled,
.btn-confirm:disabled {
  background: var(--gray-light);
  color: var(--gray-mid);
  cursor: not-allowed;
  box-shadow: none;
}

.btn-back {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--gray-light);
  min-width: 120px;
}

.btn-back:hover {
  border-color: var(--gray-mid);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.section-header {
  margin-bottom: 48px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--black);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0.4) 0%, rgba(15,15,15,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.hero-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 36px;
  opacity: 0.95;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-text p {
  font-size: 1.0625rem;
  color: var(--gray-mid);
  margin-bottom: 20px;
}

.about-text .btn-secondary {
  margin-top: 12px;
}

/* Services */
.services {
  background: var(--black);
  color: var(--white);
}

.services .section-tag {
  color: var(--gold);
}

.services .section-title {
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-dark);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 24px;
}

.service-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.service-card-body p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

/* Booking */
.booking {
  background: var(--white);
}

.booking-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-light);
  color: var(--gray-mid);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.step-dot.active .step-num {
  background: var(--black);
  color: var(--white);
}

.step-dot.completed .step-num {
  background: var(--gold);
  color: var(--white);
}

.step-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-mid);
  white-space: nowrap;
}

.step-dot.active .step-label {
  color: var(--black);
}

.step-line {
  flex: 1;
  min-width: 24px;
  height: 2px;
  background: var(--gray-light);
  margin: 0 8px;
  margin-bottom: 22px;
  border-radius: 2px;
}

.booking-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.booking-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 28px;
}

/* Service Options */
.service-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.service-option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px;
  background: #fff;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.service-option:hover {
  border-color: var(--gray-mid);
}

.service-option.selected {
  border-color: var(--black);
  box-shadow: var(--shadow);
  transform: scale(1.01);
}

.service-option-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-xs);
  color: var(--black);
}

.service-option-info {
  flex: 1;
  min-width: 0;
}

.service-option-info h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.service-option-info p {
  font-size: 0.8125rem;
  color: var(--gray-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-option-meta {
  text-align: right;
  flex-shrink: 0;
}

.service-option-meta .price {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--black);
}

.service-option-meta .duration {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-mid);
  margin-top: 2px;
}

/* Staff Options */
.staff-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.staff-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.staff-option:hover {
  border-color: var(--gray-mid);
}

.staff-option.selected {
  border-color: var(--black);
  box-shadow: var(--shadow);
  transform: scale(1.02);
}

.staff-option img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.staff-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.staff-info p {
  font-size: 0.8125rem;
  color: var(--gray-mid);
  margin-bottom: 8px;
}

.staff-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  background: rgba(201, 168, 124, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Calendar */
.calendar-wrapper {
  background: #fff;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 32px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-header h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.cal-nav {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
  color: var(--black);
  transition: background 0.2s;
}

.cal-nav:hover {
  background: var(--gray-light);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 24px;
}

.cal-day-name {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-mid);
  padding: 8px 0;
}

.cal-day-empty {
  aspect-ratio: 1;
  min-height: 44px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 500;
  border: none;
  background: transparent;
  border-radius: var(--radius-xs);
  cursor: pointer;
  color: var(--black);
  transition: background 0.15s;
  min-height: 44px;
}

.cal-day:hover:not(:disabled) {
  background: var(--gray-light);
}

.cal-day:disabled {
  color: var(--gray-light);
  cursor: not-allowed;
}

.cal-day.selected {
  background: var(--black);
  color: var(--white);
}

.cal-day.today {
  font-weight: 700;
  color: var(--accent);
}

.slots-wrapper {
  border-top: 1px solid var(--gray-light);
  padding-top: 20px;
}

.slots-hint {
  text-align: center;
  color: var(--gray-mid);
  font-size: 0.9375rem;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.slot-btn {
  min-height: 48px;
  padding: 0 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid var(--gray-light);
  background: #fff;
  border-radius: var(--radius-xs);
  cursor: pointer;
  color: var(--black);
  transition: all 0.15s;
  touch-action: manipulation;
}

.slot-btn:hover {
  border-color: var(--gray-mid);
}

.slot-btn.selected {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Form */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--black);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(15,15,15,0.06);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Summary */
.summary-card {
  background: #fff;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 32px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  font-size: 0.9375rem;
}

.summary-row span {
  color: var(--gray-mid);
  flex-shrink: 0;
  margin-right: 16px;
}

.summary-row strong {
  text-align: right;
  font-weight: 600;
  color: var(--black);
  word-break: break-word;
}

.summary-divider {
  height: 1px;
  background: var(--gray-light);
  margin: 8px 0;
}

/* Success */
.success-content {
  text-align: center;
  padding: 48px 24px;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(201, 168, 124, 0.15);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.success-content p {
  color: var(--gray-mid);
  margin-bottom: 32px;
}

/* Step Actions */
.step-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Contacts */
.contacts {
  background: var(--black);
  color: var(--white);
}

.contacts .section-tag {
  color: var(--gold);
}

.contacts .section-title {
  color: var(--white);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.contact-item a,
.contact-item p {
  font-size: 1.0625rem;
  color: var(--white);
  text-decoration: none;
  line-height: 1.6;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  background: var(--gray-dark);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(0.4) contrast(1.1);
}

/* Footer */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 0 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  font-size: 0.8125rem;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Floating CTA */
.fab-prenota {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(255, 77, 109, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
  opacity: 1;
  touch-action: manipulation;
}

.fab-prenota:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 77, 109, 0.5);
}

.fab-prenota.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-images {
    order: -1;
  }
  .about-img-main {
    aspect-ratio: 16/10;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .contact-map {
    min-height: 280px;
  }
  .contact-map iframe {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    min-height: auto;
    padding: 140px 24px 80px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .staff-options {
    grid-template-columns: 1fr;
  }
  .staff-option {
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }
  .staff-option img {
    width: 72px;
    height: 72px;
    margin-bottom: 0;
  }
  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-actions {
    flex-direction: column;
  }
  .btn-next,
  .btn-back,
  .btn-confirm {
    width: 100%;
    min-height: 56px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 24px;
  }
  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .service-option {
    padding: 16px;
    gap: 12px;
  }
  .service-option-icon {
    width: 40px;
    height: 40px;
  }
  .service-option-icon svg {
    width: 20px;
    height: 20px;
  }
  .service-option-info h4 {
    font-size: 0.9375rem;
  }
  .service-option-meta .price {
    font-size: 1rem;
  }
  .calendar-wrapper {
    padding: 16px;
  }
  .cal-day {
    font-size: 0.8125rem;
    min-height: 40px;
  }
  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .slot-btn {
    min-height: 44px;
    font-size: 0.875rem;
  }
}
