/* ============================================
   CABEZA LOCA — DESIGN SYSTEM
   Archetipo: Modern & Edgy + Warm Accents
   Mobile-First / Touch-First
   ============================================ */

:root {
  --black: #0a0a0a;
  --black-soft: #141414;
  --black-elev: #1a1a1a;
  --white: #f4f0ec;
  --white-pure: #faf9f6;
  --accent: #E07A5F;
  --accent-dark: #c06048;
  --gold: #C5A059;
  --text: #ece7e1;
  --text-muted: #a8a29e;
  --border: rgba(244,240,236,0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
  --shadow-sm: 0 8px 24px rgba(0,0,0,0.25);
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
fieldset { border: none; min-width: 0; }
legend.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 92%; max-width: 1200px; margin-inline: auto; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black-soft); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #444; }

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: grid; place-items: center;
  transition: opacity 0.8s ease, visibility 0.8s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: 'Oswald', sans-serif; font-size: clamp(28px, 5vw, 52px);
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--white);
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.preloader-line { width: 140px; height: 2px; background: #222; margin: 18px auto 0; border-radius: 2px; overflow: hidden; }
.preloader-line span { display: block; height: 100%; width: 0%; background: var(--accent); animation: loadLine 1.2s ease-in-out 0.4s forwards; }
@keyframes loadLine { to { width: 100%; } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ============================================
   CUSTOM CURSOR (desktop only)
   ============================================ */
#cursor {
  position: fixed; top: 0; left: 0; width: 10px; height: 10px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.15s ease, background 0.2s;
  mix-blend-mode: difference;
}
@media (pointer: coarse) { #cursor { display: none; } }

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(10,10,10,0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-container {
  width: 92%; max-width: 1200px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Oswald', sans-serif; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white); line-height: 1;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: none; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted);
  transition: color 0.25s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: none; padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); }

.menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 6px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 920px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: rgba(10,10,10,0.96);
  display: grid; place-items: center; opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu-inner { text-align: center; display: grid; gap: 22px; }
.mobile-menu-inner a { font-family: 'Oswald', sans-serif; font-size: clamp(26px, 5vw, 42px); text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); }
.mobile-menu-inner a:hover { color: var(--accent); }
.mobile-cta { display: inline-block; margin-top: 10px; padding: 14px 28px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 16px; }

/* ============================================
   HERO
   ============================================ */
.hero { position: relative; min-height: 100dvh; display: grid; place-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.65) 60%, rgba(10,10,10,0.92) 100%); }
.hero-content { position: relative; z-index: 2; width: 92%; max-width: 980px; margin-inline: auto; text-align: center; padding: 120px 0 100px; }
.hero-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 16px; }
.hero-title {
  font-family: 'Oswald', sans-serif; font-size: clamp(44px, 10vw, 108px);
  line-height: 0.95; text-transform: uppercase; letter-spacing: -0.02em; color: var(--white);
}
.hero-title span { display: block; }
.hero-subtitle { font-size: clamp(16px, 2.2vw, 20px); color: var(--text-muted); max-width: 580px; margin: 22px auto 0; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: 999px; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s; min-height: 56px;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: 999px; border: 1.5px solid rgba(244,240,236,0.35);
  color: var(--white); font-weight: 600; font-size: 15px; letter-spacing: 0.04em;
  transition: transform 0.2s, border-color 0.2s, background 0.2s; min-height: 56px;
}
.btn-outline:hover { border-color: var(--white); background: rgba(244,240,236,0.08); }

.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; text-align: center; color: var(--text-muted); }
.hero-scroll span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; display: block; margin-bottom: 8px; }
.scroll-line { width: 1px; height: 40px; background: rgba(244,240,236,0.2); margin: 0 auto; position: relative; overflow: hidden; }
.scroll-line span { position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: var(--accent); animation: scrollDown 1.6s ease-in-out infinite; }
@keyframes scrollDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-title {
  font-family: 'Oswald', sans-serif; font-size: clamp(32px, 6vw, 64px);
  text-transform: uppercase; letter-spacing: -0.01em; color: var(--white); line-height: 1.05;
}
.section-subtitle { color: var(--text-muted); font-size: clamp(15px, 1.6vw, 18px); margin-top: 10px; }

/* Reveal animations */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ============================================
   ABOUT
   ============================================ */
.about-grid { display: grid; gap: 36px; align-items: center; }
.about-media { border-radius: var(--radius); overflow: hidden; }
.about-media img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); }
.about-text .section-title { margin-bottom: 18px; }
.about-text p { color: var(--text-muted); margin-bottom: 14px; font-size: 15px; }
.drop-cap {
  float: left; font-family: 'Oswald', sans-serif; font-size: 72px; line-height: 0.75;
  color: var(--accent); margin-right: 10px; margin-top: 6px;
}
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.stat { text-align: center; padding: 16px; background: var(--black-soft); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.stat strong { display: block; font-family: 'Oswald', sans-serif; font-size: 26px; color: var(--accent); }
.stat span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

@media (min-width: 860px) {
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 60px; }
  .about-media img { height: 520px; }
}

/* ============================================
   SERVICES
   ============================================ */
.services { background: var(--black-soft); }
.services-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.tab-btn {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.service-list { display: grid; gap: 10px; }
.service-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; background: var(--black-elev); border: 1px solid var(--border);
  border-radius: var(--radius-sm); transition: transform 0.2s, border-color 0.2s; cursor: pointer;
}
.service-item:hover { transform: translateY(-2px); border-color: rgba(224,122,95,0.35); }
.service-info h3 { font-family: 'Oswald', sans-serif; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); }
.service-info p { color: var(--text-muted); font-size: 13px; margin-top: 2px; }
.badge { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 999px; background: rgba(197,160,89,0.12); color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.service-meta { text-align: right; white-space: nowrap; }
.price { display: block; font-family: 'Oswald', sans-serif; font-size: 18px; color: var(--accent); }
.time { font-size: 12px; color: var(--text-muted); }

.service-hover-image {
  position: fixed; width: 220px; height: 160px; border-radius: var(--radius-sm); overflow: hidden;
  pointer-events: none; z-index: 2000; opacity: 0; transform: scale(0.92);
  transition: opacity 0.25s, transform 0.25s; box-shadow: var(--shadow);
}
.service-hover-image img { width: 100%; height: 100%; object-fit: cover; }
@media (pointer: coarse) { .service-hover-image { display: none; } }

/* ============================================
   BOOKING — CRITICAL / MOBILE-FIRST
   ============================================ */
.booking { background: linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%); }
.booking-app {
  background: var(--black-elev); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}

/* Progress */
.booking-progress { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.progress-step { text-align: center; flex: 1; }
.progress-step span {
  display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 6px;
  border-radius: 50%; background: var(--black-soft); border: 2px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--text-muted); transition: var(--transition);
}
.progress-step.active span { border-color: var(--accent); color: var(--accent); background: rgba(224,122,95,0.12); }
.progress-step.completed span { background: var(--accent); color: #fff; border-color: var(--accent); }
.progress-step small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.progress-line { flex: 1; height: 2px; background: var(--border); margin: 0 4px; position: relative; top: -10px; }
.progress-line::after {
  content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease;
}
.progress-step.completed + .progress-line::after { transform: scaleX(1); }

@media (max-width: 520px) {
  .progress-step small { display: none; }
  .progress-step span { width: 28px; height: 28px; font-size: 12px; }
}

/* Steps */
.booking-step { display: none; animation: fadeIn 0.4s ease; }
.booking-step.active { display: block; }
.step-title { font-family: 'Oswald', sans-serif; font-size: clamp(22px, 4vw, 32px); text-transform: uppercase; margin-bottom: 18px; color: var(--white); }
.step-actions { display: flex; justify-content: space-between; margin-top: 24px; gap: 12px; }
.btn-next, .btn-back {
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: 0.03em; min-height: 52px;
}
.btn-next { background: var(--accent); color: #fff; flex: 1; }
.btn-next:hover { background: var(--accent-dark); }
.btn-back { border: 1px solid var(--border); color: var(--text-muted); }
.btn-back:hover { border-color: var(--text); color: var(--white); }

/* Service cards (booking step 1) */
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.svc-card {
  position: relative; display: grid; place-items: center; text-align: center; gap: 6px;
  padding: 18px 10px; background: var(--black-soft); border: 2px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition); user-select: none;
}
.svc-card:hover { border-color: rgba(224,122,95,0.45); transform: translateY(-2px); }
.svc-card input { position: absolute; opacity: 0; }
.svc-card input:checked + .svc-icon, .svc-card input:checked ~ .svc-name, .svc-card input:checked ~ .svc-detail { color: var(--accent); }
.svc-card input:checked { pointer-events: none; }
.svc-card:has(input:checked) { border-color: var(--accent); background: rgba(224,122,95,0.08); }
.svc-icon { font-size: 26px; line-height: 1; }
.svc-name { font-weight: 700; font-size: 14px; color: var(--white); }
.svc-detail { font-size: 12px; color: var(--text-muted); }

@media (max-width: 420px) {
  .service-cards { grid-template-columns: 1fr 1fr; }
  .svc-card { padding: 14px 8px; }
}
@media (min-width: 720px) {
  .service-cards { grid-template-columns: repeat(4, 1fr); }
}

/* Staff cards */
.staff-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.staff-card {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 14px; background: var(--black-soft); border: 2px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition); user-select: none;
}
.staff-card:hover { border-color: rgba(224,122,95,0.45); }
.staff-card input { position: absolute; opacity: 0; }
.staff-card:has(input:checked) { border-color: var(--accent); background: rgba(224,122,95,0.08); }
.staff-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: 'Oswald', sans-serif; font-size: 18px; color: #fff; flex-shrink: 0; }
.staff-name { display: block; font-weight: 700; font-size: 14px; color: var(--white); }
.staff-role { display: block; font-size: 12px; color: var(--text-muted); }

@media (min-width: 640px) { .staff-cards { grid-template-columns: repeat(3, 1fr); } }

/* Calendar + Slots */
.picker-layout { display: grid; gap: 22px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-nav {
  width: 40px; height: 40px; border-radius: 50%; background: var(--black-soft); border: 1px solid var(--border);
  color: var(--white); font-size: 20px; line-height: 1; display: grid; place-items: center;
}
.cal-nav:hover { background: var(--black-elev); border-color: var(--text-muted); }
.cal-month { font-family: 'Oswald', sans-serif; font-size: 18px; text-transform: uppercase; color: var(--white); }

.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.cal-weekdays span { text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-day {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--radius-sm);
  background: var(--black-soft); border: 1px solid var(--border); color: var(--text);
  font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.cal-day:hover:not(.disabled):not(.selected) { border-color: var(--accent); }
.cal-day.selected { background: var(--accent); color: #fff; border-color: var(--accent); }
.cal-day.disabled { opacity: 0.35; cursor: not-allowed; background: transparent; }
.cal-day.today { box-shadow: inset 0 0 0 1px var(--accent); }

.slots-label { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.slots-label span { color: var(--white); font-weight: 700; }
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-chip {
  padding: 12px 6px; text-align: center; border-radius: 999px; background: var(--black-soft);
  border: 1px solid var(--border); color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.slot-chip:hover { border-color: var(--accent); }
.slot-chip.selected { background: var(--accent); color: #fff; border-color: var(--accent); }
.slots-note { font-size: 12px; color: var(--text-muted); margin-top: 10px; }

@media (min-width: 720px) {
  .picker-layout { grid-template-columns: 1.1fr 1fr; gap: 28px; }
  .slots-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Form (step 4) */
.form-grid { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--black-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--white); font-size: 16px; outline: none; transition: var(--transition);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); background: var(--black-elev); }
.field input::placeholder, .field textarea::placeholder { color: #6b6560; }
.field-error { display: none; font-size: 12px; color: #ff7b72; }
.field input:invalid:not(:placeholder-shown) ~ .field-error, .field.is-invalid .field-error { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff7b72; }

@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}

/* Summary (step 5) */
.summary-card { background: var(--black-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.summary-row:last-child { border-bottom: none; }
.summary-row span { color: var(--text-muted); font-size: 14px; }
.summary-row strong { color: var(--white); font-size: 14px; text-align: right; }
.confirm-actions { display: grid; gap: 10px; margin-top: 20px; }
.btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: 999px; background: #25D366; color: #fff;
  font-weight: 700; font-size: 16px; min-height: 56px; transition: transform 0.2s;
}
.btn-whatsapp:hover { transform: translateY(-2px); }
.btn-email {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: 999px; background: var(--white); color: var(--black);
  font-weight: 700; font-size: 16px; min-height: 56px; transition: transform 0.2s;
}
.btn-email:hover { transform: translateY(-2px); }
.btn-call { text-align: center; color: var(--text-muted); font-size: 14px; padding: 6px; }
.btn-call:hover { color: var(--white); }

/* ============================================
   TEAM
   ============================================ */
.team-grid { display: grid; gap: 18px; }
.team-card { background: var(--black-soft); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s, border-color 0.25s; }
.team-card:hover { transform: translateY(-4px); border-color: rgba(224,122,95,0.25); }
.team-photo { height: 280px; background-size: cover; background-position: center; }
.team-card h3 { font-family: 'Oswald', sans-serif; font-size: 22px; text-transform: uppercase; padding: 18px 18px 4px; color: var(--white); }
.team-role { padding: 0 18px; font-size: 13px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.team-bio { padding: 10px 18px 18px; color: var(--text-muted); font-size: 14px; }
.team-book { display: block; margin: 0 18px 18px; padding: 12px; text-align: center; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; }
.team-book:hover { background: var(--accent-dark); }

@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-filter { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.pf-btn {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; transition: var(--transition);
}
.pf-btn.active, .pf-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.portfolio-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.portfolio-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.portfolio-item img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.5s; }
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.45); display: grid; place-items: center; opacity: 0; transition: opacity 0.3s; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span { color: var(--white); font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; }

@media (min-width: 860px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } .portfolio-item img { height: 300px; } }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { background: var(--black-soft); }
.reviews-grid { display: grid; gap: 18px; }
.review { background: var(--black-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.review-stars { color: var(--gold); font-size: 18px; margin-bottom: 10px; letter-spacing: 2px; }
.review p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.review footer { display: flex; align-items: center; gap: 10px; }
.review footer strong { color: var(--white); font-size: 14px; }
.review footer span { color: var(--text-muted); font-size: 12px; }
.reviews-badge { text-align: center; margin-top: 24px; }
.reviews-badge a { color: var(--accent); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.reviews-badge a:hover { text-decoration: underline; }

@media (min-width: 860px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================
   PRODUCTS
   ============================================ */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product-logo {
  display: grid; place-items: center; height: 90px; background: var(--black-soft);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-size: 14px;
  transition: var(--transition);
}
.product-logo:hover { border-color: var(--accent); color: var(--white); transform: translateY(-2px); }
@media (min-width: 720px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .products-grid { grid-template-columns: repeat(6, 1fr); } }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq-item { background: var(--black-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  padding: 18px 20px; font-family: 'Oswald', sans-serif; font-size: 17px; text-transform: uppercase;
  color: var(--white); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--accent); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--black-soft); }
.contact-grid { display: grid; gap: 28px; }
.contact-info address { font-style: normal; margin-bottom: 18px; }
.contact-info address p { color: var(--text-muted); line-height: 1.7; }
.contact-list { display: grid; gap: 10px; margin-bottom: 22px; }
.contact-list a { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 15px; padding: 10px 12px; background: var(--black-elev); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: var(--transition); }
.contact-list a:hover { border-color: var(--accent); background: rgba(224,122,95,0.08); }
.contact-list a span { font-size: 18px; }
.orari h3 { font-family: 'Oswald', sans-serif; font-size: 18px; text-transform: uppercase; margin-bottom: 10px; }
.orari dl { display: grid; gap: 6px; }
.orari dl > div { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-muted); }
.orari dl dt { color: var(--white); }
.orari-note { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.contact-map { border-radius: var(--radius); overflow: hidden; min-height: 320px; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; display: block; }

@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 40px; } .contact-map { min-height: 520px; } .contact-map iframe { min-height: 520px; } }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--black); border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: repeat(2, 1fr); }
.footer-col h4 { font-family: 'Oswald', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 14px; }
.footer-col p, .footer-col a { color: var(--text-muted); font-size: 14px; line-height: 1.7; display: block; }
.footer-col a:hover { color: var(--accent); }
.footer-col ul { display: grid; gap: 8px; }
.footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid var(--border); text-align: center; }
.footer-legal { font-size: 12px; color: var(--text-muted); }
.footer-giant {
  font-family: 'Oswald', sans-serif; font-size: clamp(48px, 14vw, 180px);
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.85;
  color: transparent; -webkit-text-stroke: 1px rgba(244,240,236,0.12);
  text-align: center; margin-top: 30px; user-select: none;
}

@media (min-width: 860px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================
   STICKY FAB
   ============================================ */
.fab-booking {
  position: fixed; right: 16px; bottom: 16px; z-index: 998;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff;
  box-shadow: var(--shadow); transition: transform 0.2s;
}
.fab-booking span { font-size: 22px; line-height: 1; }
.fab-booking small { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin-top: 2px; }
.fab-booking:hover { transform: scale(1.06); }
@media (min-width: 920px) { .fab-booking { display: none; } }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(10,10,10,0.92); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.lightbox-close { position: absolute; top: 20px; right: 20px; font-size: 40px; color: var(--white); line-height: 1; }

/* ============================================
   PARALLAX (desktop)
   ============================================ */
[data-parallax] { transition: transform 0.1s linear; }

/* ============================================
   SELECTION
   ============================================ */
::selection { background: rgba(224,122,95,0.35); color: var(--white); }

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-20px);
  z-index: 10001; background: var(--black-elev); color: var(--white);
  border: 1px solid var(--accent); border-radius: var(--radius-sm);
  padding: 14px 22px; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 92vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
