/* ============================================================
   STUDIO DENTISTICO BIANCHI – Main Stylesheet
   Design: Luxury Italian Medical · Cormorant Garamond + Jost
   ============================================================ */

/* ─── 1. CSS VARIABLES ─────────────────────────────────────── */
:root {
  --navy:        #162032;
  --navy-deep:   #0e1620;
  --navy-light:  #1e2f45;
  --gold:        #c9a84c;
  --gold-light:  #d4bb74;
  --gold-dark:   #a8853e;
  --gold-pale:   #f5edd8;
  --white:       #ffffff;
  --off-white:   #faf9f7;
  --warm-gray:   #f0ede8;
  --warm-gray2:  #e8e4dc;
  --text:        #1a1a1a;
  --text-mid:    #444444;
  --text-light:  #6e6b64;
  --text-muted:  #a09990;
  --border:      rgba(200,185,160,0.3);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, -apple-system, sans-serif;
  --section-pad:    100px;
  --section-pad-sm: 60px;
  --container:    1200px;
  --container-sm: 780px;
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm:   0 2px 8px rgba(22,32,50,0.06);
  --shadow:      0 8px 30px rgba(22,32,50,0.10);
  --shadow-lg:   0 20px 60px rgba(22,32,50,0.15);
  --shadow-gold: 0 8px 30px rgba(201,168,76,0.25);
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --duration:    0.4s;
}

/* ─── 2. RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
html.no-js .reveal { opacity: 1 !important; transform: none !important; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--gold-dark); }
ul, ol { list-style: none; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  background: var(--gold); color: var(--navy);
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }
*:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ─── 3. LAYOUT ─────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: var(--container-sm); }
.section-padding    { padding: var(--section-pad) 0; }
.section-padding-sm { padding: var(--section-pad-sm) 0; }
.bg-warm { background: var(--warm-gray); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; font-style: italic;
  color: var(--navy); margin-bottom: 1.25rem;
}
.section-subtitle { font-size: 1.05rem; color: var(--text-light); line-height: 1.8; margin-top: 1.25rem; }
.gold-line { width: 56px; height: 2px; background: var(--gold); margin: 0 auto; }
.gold-line-left { margin-left: 0; }
.section-cta { text-align: center; margin-top: 3.5rem; }

/* ─── 4. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.8rem;
  font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.875rem 2rem; border-radius: 3px;
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap; text-decoration: none; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg  { padding: 1.1rem 2.5rem; font-size: 0.85rem; }
.btn-sm  { padding: 0.6rem 1.25rem; font-size: 0.75rem; }
.btn-block { width: 100%; justify-content: center; display: flex; margin-bottom: 0.625rem; }

.btn-gold { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); box-shadow: var(--shadow-gold); }

.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); box-shadow: var(--shadow); }

.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ─── 5. HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background var(--duration) var(--ease), box-shadow var(--duration), padding var(--duration);
  padding: 1.5rem 0;
}
.site-header.scrolled {
  background: rgba(14,22,32,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  padding: 0.75rem 0;
}
.header-inner { display: flex; align-items: center; gap: 2rem; }

.logo { display: flex; align-items: center; gap: 0.875rem; flex-shrink: 0; text-decoration: none; }
.logo-icon { width: 42px; height: 42px; color: var(--gold); flex-shrink: 0; }
.logo-icon svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--white); }
.logo-tagline { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); padding: 0.5rem 0.875rem; border-radius: 3px;
  position: relative; transition: color var(--duration);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%) scaleX(0);
  width: calc(100% - 1.75rem); height: 1.5px; background: var(--gold);
  transition: transform var(--duration) var(--ease);
}
.nav-link:hover, .nav-item.active .nav-link { color: var(--white); }
.nav-link:hover::after, .nav-item.active .nav-link::after { transform: translateX(-50%) scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: rgba(255,255,255,0.8); transition: color var(--duration); }
.header-phone:hover { color: var(--gold); }
.header-phone i { color: var(--gold); font-size: 0.7rem; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; color: var(--white); }
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 24px; }
.hamburger span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: all 0.3s var(--ease); }
.menu-toggle.active .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 0; right: -100%;
  width: min(360px, 92vw); height: 100dvh;
  background: var(--navy-deep); z-index: 999;
  transition: right 0.4s var(--ease-out);
  overflow-y: auto; padding-top: 5rem;
}
.mobile-menu.open { right: 0; }
.mobile-menu-inner { padding: 2rem; }
.mobile-nav-list { margin-bottom: 2rem; }
.mobile-nav-link {
  display: block; font-family: var(--font-display); font-size: 1.5rem;
  color: rgba(255,255,255,0.8); padding: 0.625rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07); transition: color var(--duration);
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--gold); }
.mobile-contact { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.mobile-phone, .mobile-whatsapp {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem;
  color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06);
  padding: 0.5rem 1rem; border-radius: var(--radius-sm); transition: all var(--duration);
}
.mobile-phone:hover, .mobile-whatsapp:hover { background: rgba(201,168,76,0.2); color: var(--gold); }
.mobile-whatsapp i { color: #25D366; }
.mobile-hours { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
.mobile-hour-row { display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.55); padding: 0.25rem 0; }
.mobile-hour-row.closed { opacity: 0.35; }

.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 998; opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-overlay.visible { opacity: 1; pointer-events: all; }

/* ─── 6. HERO ────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; color: var(--white); }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #1b3050 50%, #0e1e30 100%);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14,22,32,0.15) 0%, rgba(14,22,32,0) 40%, rgba(14,22,32,0.45) 100%); }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 60px 60px; animation: grid-drift 25s linear infinite;
}
@keyframes grid-drift { 0% { transform: translate(0,0); } 100% { transform: translate(60px,60px); } }

.hero-deco {
  position: absolute; right: -5%; bottom: -10%;
  width: min(580px, 55vw); height: auto; animation: float 8s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.hero-content { position: relative; z-index: 1; max-width: 760px; padding-top: 6rem; padding-bottom: 3rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.28);
  color: var(--gold-light); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.5rem 1rem; border-radius: 100px; margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300; line-height: 1.05; color: var(--white);
  margin-bottom: 1.5rem; letter-spacing: -0.01em;
}

.hero-subtitle { font-size: clamp(1rem, 1.8vw, 1.1rem); color: rgba(255,255,255,0.72); line-height: 1.8; max-width: 540px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-trust {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.hero-trust-item i { color: var(--gold); font-size: 0.7rem; }
.hero-trust-item strong { color: var(--white); }
.hero-trust-sep { color: rgba(255,255,255,0.2); }

.hero-scroll {
  position: absolute; bottom: 2.5rem; right: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.35); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.hero-scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent); animation: scroll-line 2s ease-in-out infinite; }
@keyframes scroll-line { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.reveal-hero { opacity: 0; transform: translateY(28px); animation: hero-reveal 0.85s var(--ease-out) forwards; }
.reveal-hero:nth-child(1) { animation-delay: 0.15s; }
.reveal-hero:nth-child(2) { animation-delay: 0.35s; }
.reveal-hero:nth-child(3) { animation-delay: 0.5s; }
.reveal-hero:nth-child(4) { animation-delay: 0.65s; }
.reveal-hero:nth-child(5) { animation-delay: 0.8s; }
@keyframes hero-reveal { to { opacity: 1; transform: translateY(0); } }

/* ─── 7. TRUST BAR ───────────────────────────────────────────── */
.trust-bar { background: var(--navy); padding: 1.2rem 0; border-bottom: 1px solid rgba(201,168,76,0.12); }
.trust-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.625rem; font-size: 0.76rem; color: rgba(255,255,255,0.72); letter-spacing: 0.04em; }
.trust-item i { color: var(--gold); font-size: 0.85rem; }
.trust-sep { width: 1px; height: 18px; background: rgba(255,255,255,0.1); }

/* ─── 8. STATS ───────────────────────────────────────────────── */
.stats-section { background: var(--off-white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--warm-gray2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stat-card { background: var(--white); padding: 2.5rem 2rem; display: flex; align-items: center; gap: 1.25rem; transition: background var(--duration); }
.stat-card:hover { background: var(--gold-pale); }
.stat-icon { width: 52px; height: 52px; background: var(--gold-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background var(--duration); }
.stat-icon i { color: var(--gold-dark); font-size: 1.1rem; transition: color var(--duration); }
.stat-card:hover .stat-icon { background: var(--gold); }
.stat-card:hover .stat-icon i { color: var(--navy); }
.stat-number { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--navy); line-height: 1; display: flex; align-items: baseline; gap: 2px; }
.stat-suffix { font-size: 1.4rem; }
.stat-label { font-size: 0.72rem; color: var(--text-light); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.25rem; }

/* ─── 9. SERVICES ────────────────────────────────────────────── */
.services-section { background: var(--warm-gray); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--warm-gray2); border-radius: var(--radius); overflow: hidden; }

.service-card { position: relative; background: var(--white); overflow: hidden; }
.service-card-inner { position: relative; z-index: 1; padding: 2.5rem 2rem; height: 100%; display: flex; flex-direction: column; }
.service-card-bg { position: absolute; inset: 0; background: var(--navy); transform: translateY(100%); transition: transform 0.5s var(--ease-out); }
.service-card:hover .service-card-bg { transform: translateY(0); }
.service-card:hover .service-card-inner { color: var(--white); }
.service-card:hover .service-name { color: var(--white); }
.service-card:hover .service-desc { color: rgba(255,255,255,0.72); }
.service-card:hover .service-link { color: var(--gold); }
.service-card:hover .service-icon { background: rgba(201,168,76,0.15); }
.service-card:hover .service-icon i { color: var(--gold); }

.service-icon { width: 56px; height: 56px; background: var(--gold-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: background 0.4s; }
.service-icon i { font-size: 1.25rem; color: var(--gold-dark); transition: color 0.4s; }
.service-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--navy); margin-bottom: 0.875rem; transition: color 0.4s; }
.service-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; flex: 1; transition: color 0.4s; }
.service-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin-top: 1.5rem; transition: gap 0.3s, color 0.4s; }
.service-link:hover { gap: 0.8rem; }

.services-full-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.service-full-card { display: flex; align-items: flex-start; gap: 1.5rem; background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: box-shadow var(--duration), transform var(--duration); }
.service-full-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-full-icon { width: 58px; height: 58px; background: var(--gold-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-full-icon i { font-size: 1.2rem; color: var(--gold-dark); }
.service-full-name { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); margin-bottom: 0.5rem; }
.service-full-desc { font-size: 0.88rem; color: var(--text-light); margin-bottom: 1rem; }

/* ─── 10. ABOUT ──────────────────────────────────────────────── */
.about-section { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-image-frame { position: relative; }
.about-image-frame img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-image-frame::before { content: ''; position: absolute; inset: -16px 16px 16px -16px; border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; }
.about-badge-float { position: absolute; bottom: 2rem; right: -1.5rem; background: var(--navy); color: var(--white); padding: 1.25rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.about-badge-number { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; color: var(--gold); line-height: 1; }
.about-badge-label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-top: 0.25rem; display: block; }
.about-text-wrap { max-width: 520px; }
.about-lead { font-size: 1.1rem; color: var(--text-mid); line-height: 1.8; margin: 1.5rem 0 1rem; }
.about-text { font-size: 0.92rem; color: var(--text-light); line-height: 1.8; margin-bottom: 2rem; }
.about-features { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0 2.5rem; }
.about-feature { display: flex; align-items: center; gap: 0.875rem; font-size: 0.9rem; color: var(--text-mid); }
.about-feature i { color: var(--gold); font-size: 0.95rem; flex-shrink: 0; }

/* ─── 11. TEAM ───────────────────────────────────────────────── */
.team-section { background: var(--warm-gray); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.doctor-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--duration), transform var(--duration); }
.doctor-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.doctor-photo-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.doctor-photo-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.doctor-card:hover .doctor-photo-wrap img { transform: scale(1.05); }
.doctor-photo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,22,32,0.92) 0%, transparent 60%); display: flex; align-items: flex-end; padding: 1.5rem; opacity: 0; transition: opacity 0.4s; }
.doctor-card:hover .doctor-photo-overlay { opacity: 1; }
.doctor-bio-short { font-size: 0.8rem; color: rgba(255,255,255,0.85); line-height: 1.6; }
.doctor-info { padding: 1.25rem; }
.doctor-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin-bottom: 0.25rem; }
.doctor-role { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.5rem; }
.doctor-spec { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 0.4rem; }
.doctor-spec i { font-size: 0.55rem; color: var(--gold); }

.team-full-grid { display: flex; flex-direction: column; gap: 2.5rem; }
.doctor-full-card { display: grid; grid-template-columns: 260px 1fr; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.doctor-full-photo img { width: 100%; height: 320px; object-fit: cover; }
.doctor-full-info { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.doctor-full-name { font-family: var(--font-display); font-size: 2rem; color: var(--navy); margin-bottom: 0.25rem; }
.doctor-full-role { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.75rem; }
.doctor-full-spec { font-size: 0.88rem; color: var(--text-light); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.doctor-full-spec i { color: var(--gold); }
.doctor-full-bio { font-size: 0.92rem; color: var(--text-mid); line-height: 1.8; }

/* ─── 12. TESTIMONIALS ───────────────────────────────────────── */
.testimonials-section { background: var(--navy); overflow: hidden; }
.testimonials-section .section-label { color: var(--gold-light); }
.testimonials-section .section-title { color: var(--white); }
.testimonials-slider-wrap { position: relative; max-width: 800px; margin: 0 auto; }
.testimonials-slider { position: relative; min-height: 300px; }
.testimonial-slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transform: translateX(30px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.testimonial-slide.active { position: relative; opacity: 1; transform: translateX(0); pointer-events: all; }
.testimonial-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(201,168,76,0.18); border-radius: var(--radius-lg); padding: 3rem; text-align: center; }
.testimonial-quote-icon { font-size: 2.5rem; color: var(--gold); opacity: 0.35; line-height: 1; margin-bottom: 1.25rem; }
.testimonial-stars { color: var(--gold); margin-bottom: 1.5rem; font-size: 0.85rem; letter-spacing: 2px; }
.testimonial-text { font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: rgba(255,255,255,0.88); line-height: 1.75; margin-bottom: 2rem; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.testimonial-avatar { width: 46px; height: 46px; background: var(--gold); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; flex-shrink: 0; }
.testimonial-name { font-weight: 600; font-style: normal; color: var(--white); display: block; font-size: 0.92rem; }
.testimonial-city { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; }
.slider-btn { width: 42px; height: 42px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 50%; color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.slider-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); border: none; cursor: pointer; transition: all 0.3s; }
.slider-dot.active { background: var(--gold); transform: scale(1.3); }

/* ─── 13. BLOG ───────────────────────────────────────────────── */
.blog-section { background: var(--off-white); }
.blog-grid, .blog-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); display: flex; flex-direction: column; transition: box-shadow var(--duration), transform var(--duration); }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-card-img-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; }
.blog-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.05); }
.blog-card-img-placeholder { background: var(--warm-gray); display: flex; align-items: center; justify-content: center; }
.blog-card-img-placeholder i { font-size: 2.5rem; color: var(--warm-gray2); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-category { display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); background: var(--gold-pale); padding: 0.22rem 0.6rem; border-radius: 100px; margin-bottom: 0.75rem; }
.blog-title { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; margin-bottom: 0.75rem; }
.blog-title a { color: var(--navy); }
.blog-title a:hover { color: var(--gold-dark); }
.blog-excerpt { font-size: 0.875rem; color: var(--text-light); line-height: 1.7; flex: 1; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.blog-date { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.35rem; }
.blog-date i { color: var(--gold); }
.blog-read-more { font-size: 0.75rem; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 0.35rem; transition: gap 0.3s, color var(--duration); }
.blog-read-more:hover { color: var(--gold-dark); gap: 0.6rem; }

.blog-detail-layout, .service-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 4rem; align-items: flex-start; }
.blog-detail-img, .service-detail-img { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow); object-fit: cover; max-height: 420px; }

/* ─── 14. CTA BANNER ─────────────────────────────────────────── */
.cta-banner { position: relative; overflow: hidden; padding: 6rem 0; }
.cta-banner-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #162032 0%, #0d1a28 50%, #1b3050 100%); }
.cta-banner-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.1) 0%, transparent 70%); }
.cta-deco { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: 200px; opacity: 0.4; }
.cta-banner-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.cta-banner-text { flex: 1; min-width: 260px; }
.cta-title { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 400; font-style: italic; color: var(--white); margin-bottom: 0.75rem; }
.cta-subtitle { font-size: 0.92rem; color: rgba(255,255,255,0.62); line-height: 1.7; }
.cta-banner-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── 15. CONTACT SECTION ────────────────────────────────────── */
.contact-section { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card { display: flex; align-items: flex-start; gap: 1rem; background: var(--white); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.contact-card-icon { width: 44px; height: 44px; background: var(--gold-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card-icon i { color: var(--gold-dark); font-size: 1rem; }
.contact-card h3 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.375rem; }
.contact-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }
.contact-card .contact-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; }
.contact-link { font-size: 0.82rem; color: var(--navy); font-weight: 500; display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.25rem; transition: color var(--duration); }
.contact-link:hover { color: var(--gold-dark); }
.whatsapp-link i { color: #25D366; }
.contact-hours-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-mid); padding: 0.2rem 0; }
.contact-hours-row.closed { opacity: 0.5; }
.contact-map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 440px; position: relative; }
.contact-map { width: 100%; height: 100%; }
.contact-map iframe { display: block; }
.map-overlay-card { position: absolute; bottom: 1.5rem; left: 1.5rem; background: var(--white); padding: 1rem 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.25rem; }
.map-overlay-card strong { font-size: 0.88rem; color: var(--navy); }
.map-overlay-card span { font-size: 0.75rem; color: var(--text-light); }

/* ─── 16. CONTACT PAGE FORM ──────────────────────────────────── */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: flex-start; }
.form-title { font-family: var(--font-display); font-size: 2rem; color: var(--navy); margin-bottom: 0.5rem; font-style: italic; }
.form-subtitle { font-size: 0.88rem; color: var(--text-light); margin-bottom: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mid); }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text);
  background: var(--white); border: 1.5px solid var(--warm-gray2);
  border-radius: var(--radius-sm); padding: 0.75rem 1rem;
  transition: border-color var(--duration), box-shadow var(--duration);
  outline: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.form-group input.invalid { border-color: #e05252; }
.form-error { font-size: 0.72rem; color: #e05252; min-height: 1rem; display: block; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: 0.5rem; }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.84rem; color: var(--text-mid); cursor: pointer; line-height: 1.5; }
.checkbox-label input[type="checkbox"] { margin-top: 2px; accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.checkbox-label a { color: var(--gold-dark); }
.form-submit { margin-top: 0.5rem; }
.form-success { text-align: center; padding: 3rem 2rem; background: var(--white); border-radius: var(--radius); border: 1px solid rgba(80,200,120,0.3); }
.form-success i { font-size: 3rem; color: #50c878; margin-bottom: 1rem; display: block; }
.form-success h3 { font-family: var(--font-display); font-size: 1.75rem; color: var(--navy); margin-bottom: 0.5rem; }
.contact-detail-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.contact-details-wrap .contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-details-wrap .contact-map iframe { border-radius: var(--radius); display: block; }

/* ─── 17. SIDEBAR ────────────────────────────────────────────── */
.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.5rem; }
.sidebar-card h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); margin-bottom: 0.625rem; }
.sidebar-card p { font-size: 0.875rem; color: var(--text-light); margin-bottom: 1.25rem; }
.sidebar-links { display: flex; flex-direction: column; gap: 0.375rem; margin-top: 0.5rem; }
.sidebar-links a { font-size: 0.875rem; color: var(--text-mid); display: flex; align-items: center; gap: 0.625rem; padding: 0.375rem 0; border-bottom: 1px solid var(--border); transition: color var(--duration); }
.sidebar-links a:hover { color: var(--gold-dark); }
.sidebar-links a i { font-size: 0.7rem; color: var(--gold); }
.sidebar-hours-card { background: var(--navy); border-radius: var(--radius); padding: 1.75rem; }
.sidebar-hours-card h3 { color: var(--white); font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.sidebar-hours-card h3 i { color: var(--gold); }
.sidebar-hour-row { display: flex; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.72); padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sidebar-hour-row:last-child { border-bottom: none; }
.sidebar-hour-row.closed { opacity: 0.35; }
.sidebar-recent { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.sidebar-recent a { font-size: 0.875rem; color: var(--text-mid); padding: 0.375rem 0; border-bottom: 1px solid var(--border); display: block; transition: color var(--duration); }
.sidebar-recent a:hover { color: var(--gold-dark); }

/* ─── 18. PAGE HERO ─────────────────────────────────────────── */
.page-hero { background: var(--navy); padding: 8rem 0 4rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.page-hero .container { position: relative; z-index: 1; }
.page-title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; font-style: italic; color: var(--white); line-height: 1.1; margin-bottom: 1rem; }
.page-subtitle { font-size: 1rem; color: rgba(255,255,255,0.62); max-width: 600px; line-height: 1.7; }
.page-category { display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); background: rgba(201,168,76,0.14); padding: 0.25rem 0.75rem; border-radius: 100px; margin-bottom: 0.75rem; }
.page-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.page-meta time, .page-meta span { font-size: 0.8rem; color: rgba(255,255,255,0.48); display: flex; align-items: center; gap: 0.4rem; }
.page-meta i { color: var(--gold); }
.page-hero-icon { font-size: 2rem; color: var(--gold); margin-bottom: 1rem; opacity: 0.75; }
.breadcrumb { margin-bottom: 1.5rem; }
.breadcrumb ol { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb li { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; color: rgba(255,255,255,0.22); }
.breadcrumb a { color: rgba(255,255,255,0.58); transition: color var(--duration); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: rgba(255,255,255,0.82); }

/* ─── 19. PROSE ──────────────────────────────────────────────── */
.prose { line-height: 1.8; color: var(--text-mid); }
.prose h2 { font-family: var(--font-display); font-size: 1.9rem; font-style: italic; color: var(--navy); margin: 2.5rem 0 1rem; }
.prose h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); margin: 2rem 0 0.75rem; }
.prose p { margin-bottom: 1.25rem; font-size: 0.95rem; }
.prose ul, .prose ol { margin: 1rem 0 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { font-size: 0.95rem; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose a { color: var(--gold-dark); border-bottom: 1px solid rgba(168,133,62,0.3); transition: border-color var(--duration); }
.prose a:hover { border-color: var(--gold-dark); }
.prose blockquote { border-left: 3px solid var(--gold); padding-left: 1.5rem; margin: 2rem 0; font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: var(--text-mid); }

/* ─── 20. VALUES SECTION ─────────────────────────────────────── */
.values-section { background: var(--warm-gray); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-card { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; border: 1px solid var(--border); transition: box-shadow var(--duration), transform var(--duration); }
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.value-icon { width: 60px; height: 60px; background: var(--gold-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.value-icon i { font-size: 1.3rem; color: var(--gold-dark); }
.value-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin-bottom: 0.625rem; }
.value-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; }

/* ─── 21. CARDS GENERIC ──────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: box-shadow var(--duration), transform var(--duration); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-title { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); margin-bottom: 0.625rem; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--gold-dark); }
.card-text { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1rem; }
.card-date { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 0.75rem; }
.card-link { font-size: 0.8rem; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 0.35rem; transition: gap 0.3s, color var(--duration); }
.card-link:hover { color: var(--gold-dark); gap: 0.6rem; }

/* ─── 22. FOOTER ─────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: var(--white); }
.footer-top { padding: 5rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 0.875rem; color: var(--white); text-decoration: none; margin-bottom: 1rem; }
.footer-logo svg { width: 36px; height: 36px; color: var(--gold); }
.footer-logo span { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.footer-tagline { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.social-link { width: 38px; height: 38px; background: rgba(255,255,255,0.06); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: all var(--duration); }
.social-link:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.footer-heading { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color var(--duration); }
.footer-links a:hover { color: var(--white); }
.footer-contact-list { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.footer-contact-list i { color: var(--gold); font-size: 0.875rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,0.55); transition: color var(--duration); }
.footer-contact-list a:hover { color: var(--white); }
.footer-hours { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-hours h4 { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.hour-row { display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.48); padding: 0.25rem 0; }
.hour-row.closed { opacity: 0.35; }
.footer-bottom { padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.75rem; color: rgba(255,255,255,0.35); transition: color var(--duration); }
.footer-legal a:hover { color: var(--white); }

/* ─── 23. COOKIE BANNER ──────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  width: min(880px, calc(100vw - 2rem)); z-index: 9000;
  background: var(--navy); border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  animation: cookie-slide-up 0.5s var(--ease-out);
}
@keyframes cookie-slide-up { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.cookie-inner { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem 1.75rem; flex-wrap: wrap; }
.cookie-text { display: flex; align-items: flex-start; gap: 0.875rem; flex: 1; min-width: 260px; }
.cookie-text i { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.cookie-text p { font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.cookie-text a { color: var(--gold-light); }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ─── 24. SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }
.reveal-left.visible, .reveal-right.visible { transform: translateX(0); opacity: 1; }

/* ─── 25. ABOUT PROSE ────────────────────────────────────────── */
.about-prose h2::before { content: '—  '; color: var(--gold); }

/* ─── 26. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --section-pad: 70px; --section-pad-sm: 45px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { order: -1; }
  .about-badge-float { right: 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .blog-grid, .blog-full-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-detail-layout, .service-detail-layout { grid-template-columns: 1fr; }
  .cta-banner-content { flex-direction: column; text-align: center; }
  .doctor-full-card { grid-template-columns: 200px 1fr; }
  .header-phone { display: none; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero-scroll { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid, .blog-full-grid { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { justify-content: center; }
  .trust-sep { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .doctor-full-card { grid-template-columns: 1fr; }
  .doctor-full-info { padding: 1.5rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-map-wrap { min-height: 320px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-trust-sep { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
  .testimonial-card { padding: 2rem 1.5rem; }
}

@media print {
  .site-header, .cookie-banner, .hero-scroll, .cta-banner, .slider-controls { display: none !important; }
  body { color: #000; }
  .page-hero { background: #fff; color: #000; padding: 2rem 0; }
  .page-title { color: #000; }
}

/* ─── WhatsApp Float Button ──────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 8000;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  animation: wa-pulse 3s ease-in-out infinite;
}
.wa-float:hover {
  color: #fff;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.6), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ============================================================
   PATCH: Mobile Header Fix
   - Hide Prenota button in header on mobile (it's in the menu)
   - Tighten header layout to prevent overflow
   - Add close button visibility + mobile menu top bar
   ============================================================ */

@media (max-width: 768px) {
  /* Hide the Prenota btn from the header bar — it's inside the mobile menu */
  .header-actions .btn-gold {
    display: none;
  }

  /* Prevent any header overflow */
  .site-header {
    overflow: visible;
  }

  .header-inner {
    gap: 0;
    justify-content: space-between;
  }

  /* Give the hamburger a decent tap target */
  .menu-toggle {
    padding: 0.5rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
  }

  /* Mobile menu close button row */
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    background: var(--navy-deep);
    z-index: 1;
  }

  .mobile-menu-logo {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--white);
  }

  .mobile-menu-close {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
    flex-shrink: 0;
  }

  .mobile-menu-close:hover {
    background: rgba(255,255,255,0.15);
  }

  /* Push nav list content below the sticky header */
  .mobile-menu-inner {
    padding: 1.5rem 2rem 2rem;
  }

  /* Add a Prenota CTA inside the mobile menu */
  .mobile-cta-wrap {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-cta-wrap .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 0.875rem 1rem;
  }
}
