/* =========================================================
   BarberLab 22 — Barberia a Sabaudia
   Premium dark & gold brand system
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette — dark, masculine, warm */
  --black:        #0A0A0A;
  --black-soft:   #111111;
  --charcoal:     #1A1A1A;
  --graphite:     #2A2A2A;
  --slate:        #3A3A3A;
  --ash:          #BDB6A8;
  --silver:       #D6CFC1;
  --ivory:        #F5F0E8;
  --cream:        #E8E0D0;

  /* Brand gold */
  --gold:         #C9A368;
  --gold-light:   #E0C28D;
  --gold-dark:    #9E7D47;
  --gold-glow:    rgba(201,163,104,.12);

  /* Functional */
  --line:         rgba(201,163,104,.18);
  --line-soft:    rgba(255,255,255,.06);
  --overlay:      rgba(10,10,10,.75);
  --overlay-soft: rgba(10,10,10,.45);
  --shadow-sm:    0 2px 8px rgba(0,0,0,.25);
  --shadow-md:    0 14px 40px rgba(0,0,0,.35);
  --shadow-lg:    0 30px 80px rgba(0,0,0,.45);
  --shadow-xl:    0 50px 120px rgba(0,0,0,.55);

  /* WhatsApp */
  --wa-green:     #25D366;
  --wa-dark:      #128C7E;

  /* Typography */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body:    "Inter", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type scale */
  --fs-xs:   0.78rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.35rem;
  --fs-xl:   clamp(1.8rem, 2.6vw, 2.6rem);
  --fs-2xl:  clamp(2.4rem, 4.5vw, 4rem);
  --fs-3xl:  clamp(3rem, 7vw, 6.2rem);

  /* Spacing */
  --sp-1: .5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 6.5rem;
  --sp-8: 9rem;

  /* Radii */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur: .55s;
  --dur-fast: .28s;

  /* Layout */
  --maxw: 1240px;
  --maxw-narrow: 920px;
  --maxw-wide: 1440px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--black);
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--cream);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--gold-light); }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }

/* ---------- Skip to content ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-2);
  background: var(--gold);
  color: var(--black);
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  z-index: 200;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.skip-link:focus {
  top: 0;
  color: var(--black);
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ivory);
  line-height: 1.15;
}

h1 { font-size: var(--fs-3xl); font-weight: 700; }
h2 { font-size: var(--fs-2xl); font-weight: 600; }
h3 { font-size: var(--fs-xl);  font-weight: 500; }
h4 { font-size: var(--fs-lg);  font-weight: 600; color: var(--ivory); font-family: var(--font-display); }
h5 { font-size: var(--fs-sm);  font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.accent { color: var(--gold); }

.lead {
  font-size: var(--fs-md);
  color: var(--cream);
  line-height: 1.8;
  max-width: 620px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-6);
}

.section-header .eyebrow { margin-bottom: var(--sp-2); }
.section-header h2 { margin-bottom: var(--sp-3); }

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--silver);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.container--narrow { max-width: var(--maxw-narrow); }
.container--wide   { max-width: var(--maxw-wide); }

.section {
  padding: var(--sp-8) 0;
}

.section--alt {
  background: var(--charcoal);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 15px 34px;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245,240,232,.25);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: transparent;
  padding: 12px 0;
  letter-spacing: .1em;
}
.btn-ghost:hover { color: var(--gold-light); }
.btn-ghost .ico { transition: transform var(--dur-fast) var(--ease); }
.btn-ghost:hover .ico { transform: translateX(4px); }

.btn-whatsapp {
  background: var(--wa-green);
  color: #fff;
  border-color: var(--wa-green);
}
.btn-whatsapp:hover {
  background: var(--wa-dark);
  border-color: var(--wa-dark);
  color: #fff;
}

.btn-light {
  background: rgba(255,255,255,.1);
  color: var(--ivory);
  border-color: rgba(255,255,255,.15);
}
.btn-light:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.btn-sm { padding: 10px 22px; font-size: 0.7rem; }

.btn .ico {
  font-style: normal;
  font-size: 1.1em;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 18px 0;
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease);
}

.navbar.is-solid {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 1px 0 var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.nav-brand img {
  width: clamp(5.5rem, 10vw, 8rem);
  height: auto;
  transition: width var(--dur) var(--ease);
}

.navbar.is-solid .nav-brand img { width: clamp(4.5rem, 8vw, 6.5rem); }

.nav-links {
  display: flex;
  gap: var(--sp-4);
}

.nav-links a {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(.4); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cream);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .06em;
}
.nav-phone:hover { color: var(--gold); }
.nav-phone svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 70;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ivory);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile Panel ---------- */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(10,10,10,.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  transform: translateY(-100%);
  transition: transform var(--dur) var(--ease-out);
  visibility: hidden;
}

.mobile-panel.is-open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-panel a {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ivory);
  letter-spacing: .03em;
  transition: color var(--dur-fast) var(--ease);
}
.mobile-panel a:hover { color: var(--gold); }

.mobile-panel-cta {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.35) saturate(.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(10,10,10,.88) 0%,
    rgba(10,10,10,.65) 45%,
    rgba(10,10,10,.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 700px;
}

.hero h1 { margin-bottom: var(--sp-3); }

.hero-sub {
  font-size: var(--fs-md);
  color: rgba(245,240,232,.92);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: var(--sp-5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-item strong {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--ivory);
  font-weight: 600;
  line-height: 1.2;
}

.hero-meta-item .star { color: var(--gold); }

.hero-meta-item span {
  font-size: var(--fs-xs);
  color: var(--silver);
  letter-spacing: .06em;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: var(--fs-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--silver);
  text-align: center;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--gold);
  margin: 10px auto 0;
  animation: scroll-line 2s var(--ease) infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Marquee Ribbon ---------- */
.ribbon {
  background: var(--charcoal);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ribbon-track {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}

.ribbon-track span {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  letter-spacing: .1em;
  padding: 0 var(--sp-5);
}

.ribbon-track span::before {
  content: '\2726';
  margin-right: var(--sp-5);
  opacity: .4;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Trust Band ---------- */
.trust-band {
  padding: var(--sp-6) 0;
  background: var(--charcoal);
  border-bottom: 1px solid var(--line-soft);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-item strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.trust-item span {
  font-size: var(--fs-xs);
  color: var(--silver);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- About / Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
}

.split-text .eyebrow { margin-bottom: var(--sp-2); }
.split-text h2 { margin-bottom: var(--sp-3); }

.split-text p {
  color: var(--cream);
  font-size: var(--fs-sm);
  line-height: 1.85;
  margin-bottom: var(--sp-3);
}

.split-text p + p { margin-bottom: var(--sp-4); }

.split-media {
  position: relative;
}

.split-media img {
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
}

.split-media-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 45%;
  border: 3px solid var(--charcoal);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
}

/* ---------- Service Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.s-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-4);
  cursor: default;
}

.s-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.s-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.s-card:hover .s-card-bg img {
  transform: scale(1.06);
}

.s-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    0deg,
    rgba(10,10,10,.88) 0%,
    rgba(10,10,10,.35) 50%,
    rgba(10,10,10,.08) 100%
  );
}

.s-card-content {
  position: relative;
  z-index: 2;
}

.s-card-num {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .14em;
  margin-bottom: var(--sp-1);
  opacity: .6;
}

.s-card h4 {
  font-size: var(--fs-lg);
  margin-bottom: 6px;
}

.s-card p {
  font-size: var(--fs-xs);
  color: rgba(245,240,232,.9);
  line-height: 1.7;
  max-width: 280px;
}

.services-last-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
}

.services-last-row .s-card {
  max-width: 400px;
  flex: 1;
}

/* ---------- Pillars ---------- */
.pillars-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}

.pillar {
  flex: 0 1 calc(33.333% - var(--sp-3));
  min-width: 260px;
  background: var(--charcoal);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.pillar:hover {
  border-color: var(--line);
  transform: translateY(-4px);
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  background: var(--gold-glow);
  margin-bottom: var(--sp-3);
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-2);
}

.pillar p {
  font-size: var(--fs-xs);
  color: var(--silver);
  line-height: 1.8;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-cta {
  text-align: center;
  margin-top: var(--sp-5);
}

/* ---------- Testimonials ---------- */
.testi-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}

.testi-score {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.testi-stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
  font-size: 1.1rem;
}

.testi-label {
  font-size: var(--fs-sm);
  color: var(--silver);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.testi-card {
  background: var(--charcoal);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: var(--sp-4);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.testi-card:hover {
  border-color: var(--line);
  transform: translateY(-3px);
}

.testi-card-stars {
  color: var(--gold);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-2);
  letter-spacing: 2px;
}

.testi-card p {
  font-size: var(--fs-sm);
  color: rgba(245,240,232,.92);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--sp-3);
}

.testi-card-name {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: .04em;
}

/* ---------- CTA Band ---------- */
.cta-band {
  padding: var(--sp-7) 0;
  text-align: center;
  background: var(--charcoal);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.cta-band h2 { margin-bottom: var(--sp-2); }

.cta-band p {
  color: var(--silver);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-5);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: start;
}

.contact-info h3 { margin-bottom: var(--sp-4); }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.contact-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item p {
  font-size: var(--fs-sm);
  color: var(--cream);
  line-height: 1.6;
}

.contact-item a { color: var(--cream); }
.contact-item a:hover { color: var(--gold); }

/* Hours table */
.hours-table {
  width: 100%;
  margin-bottom: var(--sp-4);
  border-collapse: collapse;
}

.hours-table caption {
  font-size: var(--fs-xs);
  color: var(--silver);
  text-align: left;
  margin-bottom: var(--sp-2);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hours-table tr {
  border-bottom: 1px solid var(--line-soft);
}

.hours-table td {
  padding: 10px 0;
  font-size: var(--fs-sm);
  color: var(--cream);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--silver);
}

.hours-table tr.today td {
  color: var(--gold);
  font-weight: 500;
}

.hours-note {
  font-size: var(--fs-xs);
  color: var(--ash);
  font-style: italic;
  margin-bottom: var(--sp-4);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.contact-map {
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--line-soft);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.8) brightness(.8) contrast(1.1);
  transition: filter var(--dur) var(--ease);
}

.contact-map:hover iframe {
  filter: grayscale(.3) brightness(.9) contrast(1);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black-soft);
  border-top: 1px solid var(--line-soft);
  padding: var(--sp-7) 0 var(--sp-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: var(--sp-2);
}

.footer-brand p {
  font-size: var(--fs-xs);
  color: var(--ash);
  line-height: 1.8;
  max-width: 280px;
}

.footer h5 { margin-bottom: var(--sp-3); }

.footer-links li { margin-bottom: var(--sp-1); }
.footer-links a {
  font-size: var(--fs-xs);
  color: var(--ash);
  transition: color var(--dur-fast) var(--ease);
}
.footer-links a:hover { color: var(--gold); }

.footer-contact p,
.footer-contact a {
  font-size: var(--fs-xs);
  color: var(--ash);
  line-height: 1.8;
}
.footer-contact a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  border: 1px solid var(--line-soft);
  color: var(--silver);
  transition: all var(--dur-fast) var(--ease);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-soft);
}

.footer-bottom p,
.footer-bottom a {
  font-size: var(--fs-xs);
  color: var(--ash);
}

.footer-bottom a:hover { color: var(--gold); }

/* ---------- Sticky Mobile CTA ---------- */
.sticky-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-soft);
  padding: 10px var(--sp-2);
  justify-content: center;
  gap: 8px;
}

.sticky-mobile .btn {
  flex: 1;
  max-width: 140px;
  padding: 12px 8px;
  font-size: 0.68rem;
  text-align: center;
}

/* ---------- Floating WhatsApp ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  animation: fab-pulse 3s ease-in-out infinite;
}

.fab-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}

.fab-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.35); }
  50%      { box-shadow: 0 4px 30px rgba(37,211,102,.55); }
}

/* ---------- Demo Dialog ---------- */
.demo-dialog {
  border: none;
  background: none;
  padding: 0;
  max-width: 500px;
  width: calc(100% - 32px);
  margin: auto;
}

.demo-dialog::backdrop {
  background: rgba(10,10,10,.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.demo-dialog-inner {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 44px 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.demo-dialog-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,163,104,.35);
  padding: 4px 14px;
  margin-bottom: 22px;
}

.demo-dialog-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 22px;
  line-height: 1.2;
}

.demo-dialog-text {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: rgba(245,240,232,.88);
  line-height: 1.8;
  margin-bottom: 12px;
  text-align: left;
}

.demo-dialog-text strong {
  color: rgba(245,240,232,1);
  font-weight: 600;
}

.demo-dialog-copy {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(245,240,232,.65);
  letter-spacing: .08em;
  margin-top: 18px;
  margin-bottom: 0;
}

.demo-dialog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 14px 40px;
  border: 2px solid var(--gold);
  border-radius: 0;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  width: 100%;
}

.demo-dialog-btn:hover {
  background: transparent;
  color: var(--gold);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 55;
  background: rgba(26,26,26,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-soft);
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform .5s var(--ease-out);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: var(--fs-xs);
  color: var(--silver);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cookie-banner a { color: var(--gold); }

/* When cookie banner is visible, lift sticky mobile CTA and FAB above it */
body:has(.cookie-banner.is-visible) .fab-whatsapp { bottom: 110px; }
@media (max-width: 720px) {
  body:has(.cookie-banner.is-visible) .sticky-mobile { bottom: 120px; }
  body:has(.cookie-banner.is-visible) .fab-whatsapp { bottom: 190px; }
}

/* ---------- Reveal Animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

[data-reveal-stagger].is-visible > *:nth-child(1)  { transition-delay: .05s; }
[data-reveal-stagger].is-visible > *:nth-child(2)  { transition-delay: .12s; }
[data-reveal-stagger].is-visible > *:nth-child(3)  { transition-delay: .19s; }
[data-reveal-stagger].is-visible > *:nth-child(4)  { transition-delay: .26s; }
[data-reveal-stagger].is-visible > *:nth-child(5)  { transition-delay: .33s; }
[data-reveal-stagger].is-visible > *:nth-child(6)  { transition-delay: .40s; }
[data-reveal-stagger].is-visible > *:nth-child(7)  { transition-delay: .47s; }
[data-reveal-stagger].is-visible > *:nth-child(8)  { transition-delay: .54s; }
[data-reveal-stagger].is-visible > *:nth-child(9)  { transition-delay: .61s; }
[data-reveal-stagger].is-visible > *:nth-child(10) { transition-delay: .68s; }

[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1;
    transform: none;
  }
  .ribbon-track { animation: none; }
}

/* ---------- Utilities ---------- */
.u-center  { text-align: center; }
.u-flex    { display: flex; }
.u-gap-2   { gap: var(--sp-2); }
.u-gap-3   { gap: var(--sp-3); }
.u-mt-4    { margin-top: var(--sp-4); }
.u-mt-6    { margin-top: var(--sp-6); }
.u-mb-4    { margin-bottom: var(--sp-4); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links,
  .nav-cta .btn,
  .nav-phone span { display: none; }
  .nav-phone svg { display: block; }
  .nav-burger { display: flex; }

  .nav-cta {
    gap: var(--sp-3);
  }
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .split-media { order: -1; }

  .split-media-accent {
    bottom: -12px;
    right: -12px;
    width: 40%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-last-row {
    flex-direction: column;
    align-items: stretch;
  }
  .services-last-row .s-card { max-width: 100%; }

  .pillar {
    flex: 0 1 calc(50% - var(--sp-3));
  }

  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .sticky-mobile { display: flex; }

  .fab-whatsapp { bottom: 80px; }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
  }

  .hero-content { padding-top: 100px; }

  .section { padding: var(--sp-7) 0; }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-last-row .s-card { max-width: 100%; }

  .pillar {
    flex: 0 1 100%;
    min-width: 0;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-item--tall {
    grid-row: span 1;
    aspect-ratio: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .hero-meta {
    gap: var(--sp-3);
  }

  .cta-band-actions { flex-direction: column; align-items: center; }
  .cta-band-actions .btn { width: 100%; max-width: 320px; }
}

@media (max-width: 480px) {
  .demo-dialog-inner { padding: 32px 24px 28px; }
  .demo-dialog-title { font-size: 1.3rem; }

  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions .btn { width: 100%; }
  .hero-sub { font-size: var(--fs-sm); }

  .s-card { aspect-ratio: 3/4; }

  .container { padding: 0 var(--sp-3); }

  .trust-grid { grid-template-columns: 1fr 1fr; }
}
