/* ============================================================
   ENDULZAMIENTOS MÁGICOS — Design System
   ============================================================ */

:root {
  /* Palette */
  --black:        #000000;
  --bg:           #060507;
  --bg-2:         #0c0a0d;
  --surface:      rgba(255, 255, 255, 0.028);
  --surface-2:    rgba(255, 255, 255, 0.05);
  --line:         rgba(183, 132, 53, 0.22);
  --line-soft:    rgba(233, 215, 188, 0.10);

  --gold:         #b78435;
  --gold-bright:  #e3bd6e;
  --gold-deep:    #8a5f22;
  --rose:         #e29693;
  --ivory:        #e9d7bc;

  --text:         #ece4d6;
  --muted:        rgba(233, 215, 188, 0.66);
  --faint:        rgba(233, 215, 188, 0.42);

  /* Type */
  --font-display: "Cinzel", Georgia, serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  /* Radii / shadow */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.9);
  --shadow-gold: 0 18px 50px -20px rgba(183, 132, 53, 0.45);

  /* Layout */
  --max:   1200px;
  --gut:   clamp(20px, 5vw, 48px);
  --gold-gradient: linear-gradient(135deg, #d8ab57 0%, #f0d693 40%, #b78435 75%, #8a5f22 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient glow background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 45% at 78% 8%, rgba(183, 132, 53, 0.16), transparent 70%),
    radial-gradient(50% 40% at 12% 30%, rgba(226, 150, 147, 0.08), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, rgba(183, 132, 53, 0.10), transparent 70%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-rose { color: var(--rose); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
section { position: relative; }
.section-pad { padding-block: clamp(72px, 11vw, 140px); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 68px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin-top: 18px;
}
.section-head p { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease, background .35s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-gold {
  background: var(--gold-gradient);
  color: #1a1207;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -18px rgba(183,132,53,.62); }
.btn-ghost {
  background: rgba(255,255,255,0.02);
  border-color: var(--line);
  color: var(--ivory);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--gold); background: rgba(183,132,53,0.10); }
.btn-wa { background: #1faf54; color: #fff; box-shadow: 0 18px 44px -20px rgba(31,175,84,.6); }
.btn-wa:hover { transform: translateY(-3px); background: #25c45f; box-shadow: 0 24px 56px -18px rgba(31,175,84,.72); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   HEADER
   =========================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background .4s ease, border-color .4s ease, padding .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}
.header.scrolled {
  background: rgba(8, 6, 9, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.brand .name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.18em;
  line-height: 1.15;
  color: var(--ivory);
  text-transform: uppercase;
}
.brand .name b { display: block; font-weight: 600; }
.brand .name span { display: block; font-size: 0.7rem; letter-spacing: 0.34em; color: var(--gold); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color .3s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s ease;
}
.nav a:hover { color: var(--ivory); }
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 20px; height: 1.6px; background: var(--ivory); transition: transform .35s ease, opacity .3s ease; }
.burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(6, 5, 7, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 100px var(--gut) 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .4s ease, transform .4s ease, visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ivory);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color .3s, padding-left .3s;
}
.mobile-menu a:hover { color: var(--gold-bright); padding-left: 10px; }
.mobile-menu .mm-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

/* ===========================================================
   HERO
   =========================================================== */
.hero { padding-top: clamp(130px, 18vw, 180px); padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  letter-spacing: 0.005em;
  margin-top: 22px;
}
.hero .lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); margin-top: 26px; max-width: 540px; }

.contact-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.contact-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.02);
  transition: border-color .3s, transform .3s, background .3s;
}
.contact-chip:hover { border-color: var(--gold); transform: translateY(-2px); background: rgba(183,132,53,.08); }
.contact-chip .ic {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(183,132,53,.14); color: var(--gold-bright);
}
.contact-chip .ic.wa { background: rgba(31,175,84,.16); color: #41d979; }
.contact-chip .ic svg { width: 19px; height: 19px; }
.contact-chip small { display: block; color: var(--faint); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.contact-chip b { font-size: 1.12rem; font-weight: 600; color: var(--ivory); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Hero figure */
.hero-figure { position: relative; }
.hero-figure .photo {
  position: relative;
  border-radius: 200px 200px var(--r-lg) var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  aspect-ratio: 1024 / 1280;
  background: #0a080b;
}
.hero-figure .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-figure .photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,5,7,0.55) 100%);
  pointer-events: none;
}
.hero-ring {
  position: absolute;
  inset: -26px -26px auto -26px;
  height: 70%;
  border: 1px solid var(--line);
  border-radius: 220px 220px 0 0;
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  left: -18px; bottom: 36px;
  background: rgba(10, 8, 11, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 22px;
  box-shadow: var(--shadow-card);
}
.hero-badge .stars { color: var(--gold-bright); letter-spacing: 3px; font-size: 0.95rem; }
.hero-badge b { display: block; font-family: var(--font-display); font-size: 1.5rem; margin-top: 4px; }
.hero-badge small { color: var(--muted); font-size: 0.8rem; }

/* float anim */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-badge { animation: floaty 6s ease-in-out infinite; }
}

/* ===========================================================
   SOBRE NOSOTROS
   =========================================================== */
.about .wrap { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3.2;
  position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-quote {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  background: rgba(8,6,9,0.7); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 20px; font-family: var(--font-display); font-size: 1.05rem; color: var(--ivory);
}
.about h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin-top: 18px; }
.about p { color: var(--muted); margin-top: 20px; }
.about .pillars { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; }
.about .pillars span { display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--ivory); }
.about .pillars span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-gradient); flex: none; }

/* ===========================================================
   SERVICIOS
   =========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  padding: 34px 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), border-color .45s, background .45s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% -10%, rgba(183,132,53,0.14), transparent 60%);
  opacity: 0; transition: opacity .45s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(183,132,53,0.5); background: var(--surface-2); }
.service-card:hover::before { opacity: 1; }
.service-card:hover .svc-icon { transform: translateY(-4px) rotate(-4deg); box-shadow: var(--shadow-gold); }
.svc-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(183,132,53,0.22), rgba(226,150,147,0.12));
  border: 1px solid var(--line);
  color: var(--gold-bright);
  margin-bottom: 22px;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s;
  position: relative; z-index: 1;
}
.svc-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.28rem; position: relative; z-index: 1; }
.service-card p { color: var(--muted); margin-top: 12px; font-size: 0.97rem; position: relative; z-index: 1; }
.service-card .more {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-bright); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.04em;
  position: relative; z-index: 1; opacity: 0; transform: translateY(6px);
  transition: opacity .4s, transform .4s;
}
.service-card:hover .more { opacity: 1; transform: none; }
.service-card .more svg { width: 15px; height: 15px; }

/* ===========================================================
   CÓMO FUNCIONA
   =========================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.step {
  position: relative;
  padding: 32px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform .4s, border-color .4s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(183,132,53,0.5); }
.step .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step .num small { font-size: 0.9rem; color: var(--faint); -webkit-text-fill-color: var(--faint); margin-left: 4px; }
.step h3 { font-size: 1.18rem; margin-top: 18px; }
.step p { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }
.step .scontact { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.step .scontact a { color: var(--gold-bright); font-weight: 600; font-size: 0.95rem; font-variant-numeric: tabular-nums; }

/* ===========================================================
   TESTIMONIOS (carousel)
   =========================================================== */
.testimonials { overflow: hidden; }
.t-viewport { overflow: hidden; }
.t-track {
  display: flex;
  gap: 22px;
  transition: transform .7s cubic-bezier(.4,.1,.2,1);
  will-change: transform;
}
.t-card {
  flex: 0 0 calc((100% - 44px) / 3);
  box-sizing: border-box;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  display: flex; flex-direction: column;
}
.t-stars { color: var(--gold-bright); letter-spacing: 3px; font-size: 1rem; }
.t-card blockquote { margin: 18px 0 0; color: var(--text); font-size: 1.02rem; line-height: 1.65; flex: 1; }
.t-author { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.t-author img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none;
  background: #100c10;
}
.t-author b { display: block; font-family: var(--font-display); font-size: 1.02rem; letter-spacing: 0.02em; }
.t-author small { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }

.t-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; }
.t-arrow {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--ivory);
  cursor: pointer; display: grid; place-items: center;
  transition: border-color .3s, background .3s, transform .3s, color .3s;
}
.t-arrow:hover { border-color: var(--gold); background: rgba(183,132,53,0.12); color: var(--gold-bright); transform: scale(1.06); }
.t-arrow svg { width: 20px; height: 20px; }
.t-dots { display: flex; gap: 9px; }
.t-dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: var(--line); cursor: pointer; transition: background .3s, transform .3s, width .3s;
}
.t-dot.active { background: var(--gold-gradient); width: 26px; border-radius: 5px; }

/* ===========================================================
   POR QUÉ ELEGIRNOS
   =========================================================== */
.why { background: linear-gradient(180deg, transparent, rgba(183,132,53,0.04), transparent); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  text-align: center;
  padding: 38px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform .4s, border-color .4s, background .4s;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(183,132,53,0.5); background: var(--surface-2); }
.why-card .wic {
  width: 64px; height: 64px; margin: 0 auto 20px;
  border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 30%, rgba(183,132,53,0.22), rgba(255,255,255,0.02));
  color: var(--gold-bright);
}
.why-card .wic svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.16rem; }
.why-card p { color: var(--muted); margin-top: 12px; font-size: 0.94rem; }

/* ===========================================================
   FAQ
   =========================================================== */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .35s, background .35s;
}
.faq-item.open { border-color: rgba(183,132,53,0.5); background: var(--surface-2); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 26px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--ivory);
  letter-spacing: 0.01em;
}
.faq-q .ficon {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--gold-bright); transition: transform .4s ease, background .3s;
  position: relative;
}
.faq-q .ficon::before, .faq-q .ficon::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
}
.faq-q .ficon::before { width: 13px; height: 1.6px; }
.faq-q .ficon::after { width: 1.6px; height: 13px; transition: transform .4s ease; }
.faq-item.open .ficon { background: rgba(183,132,53,0.16); }
.faq-item.open .ficon::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.4,.1,.2,1); }
.faq-a p { color: var(--muted); padding: 0 26px 26px; margin: 0; }

/* ===========================================================
   CTA FINAL
   =========================================================== */
.cta {
  position: relative;
  text-align: center;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: clamp(54px, 8vw, 96px) var(--gut);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(183,132,53,0.18), transparent 60%),
    linear-gradient(180deg, rgba(226,150,147,0.06), rgba(12,10,13,0.4));
}
.cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 700px; margin-inline: auto; }
.cta p { color: var(--muted); margin: 20px auto 0; max-width: 560px; }
.cta .contact-row { justify-content: center; margin-top: 32px; }
.cta .hero-cta { justify-content: center; margin-top: 28px; }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer { border-top: 1px solid var(--line); margin-top: clamp(70px, 10vw, 120px); padding-block: 64px 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand img { width: 64px; height: 64px; }
.footer .f-about { color: var(--muted); margin-top: 18px; max-width: 320px; font-size: 0.95rem; }
.footer h4 { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.1em; color: var(--ivory); margin: 0 0 18px; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a, .footer .f-addr { color: var(--muted); font-size: 0.94rem; transition: color .3s; }
.footer ul a:hover { color: var(--gold-bright); }
.footer .f-addr { font-style: normal; line-height: 1.8; }
.footer .f-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-bright); font-weight: 600; }
.footer-bottom {
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  color: var(--faint); font-size: 0.84rem;
}
.footer .disclaimer { color: var(--faint); font-size: 0.8rem; margin-top: 22px; line-height: 1.7; max-width: 760px; }

/* ===========================================================
   COOKIE BANNER
   =========================================================== */
.cookie {
  position: fixed; z-index: 80;
  left: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px);
  max-width: 520px;
  background: rgba(10, 8, 11, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-card);
  transform: translateY(140%);
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.cookie.show { transform: none; }
.cookie h4 { font-family: var(--font-display); font-size: 1.15rem; margin: 0; color: var(--ivory); }
.cookie p { color: var(--muted); font-size: 0.9rem; margin: 12px 0 0; }
.cookie p a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cookie-actions .btn { padding: 12px 22px; font-size: 0.9rem; flex: 1; min-width: 130px; }
.cookie-prefs { margin-top: 16px; display: none; flex-direction: column; gap: 12px; }
.cookie-prefs.show { display: flex; }
.cookie-pref {
  display: flex; align-items: flex-start; gap: 12px; justify-content: space-between;
  padding: 12px 16px; border: 1px solid var(--line-soft); border-radius: var(--r-sm);
}
.cookie-pref div b { font-size: 0.92rem; color: var(--ivory); }
.cookie-pref div small { display: block; color: var(--faint); font-size: 0.78rem; margin-top: 3px; }
/* toggle */
.switch { position: relative; width: 42px; height: 24px; flex: none; margin-top: 2px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: background .3s; cursor: pointer; }
.switch .slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: var(--ivory); border-radius: 50%; transition: transform .3s; }
.switch input:checked + .slider { background: var(--gold); }
.switch input:checked + .slider::before { transform: translateX(18px); }
.switch input:disabled + .slider { opacity: 0.6; cursor: not-allowed; }

/* ===========================================================
   FLOATING WHATSAPP
   =========================================================== */
.wa-float {
  position: fixed; z-index: 70; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  width: 60px; height: 60px; border-radius: 50%;
  background: #1faf54; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 40px -10px rgba(31,175,84,.6);
  transition: transform .35s ease, box-shadow .35s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 20px 50px -12px rgba(31,175,84,.75); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(31,175,84,.5); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

/* ===========================================================
   LEGAL PAGES
   =========================================================== */
.legal-hero { padding-top: clamp(130px, 16vw, 170px); padding-bottom: 12px; }
.legal-hero .crumb { color: var(--faint); font-size: 0.85rem; margin-bottom: 14px; }
.legal-hero .crumb a { color: var(--gold-bright); }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.legal-hero p { color: var(--muted); margin-top: 16px; max-width: 640px; }
.legal-body { padding-bottom: clamp(70px, 10vw, 120px); }
.legal-body .wrap { max-width: 820px; }
.legal-body h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-top: 48px; padding-top: 4px;
  color: var(--ivory);
}
.legal-body h2:first-of-type { margin-top: 24px; }
.legal-body h3 { font-size: 1.18rem; margin-top: 30px; color: var(--ivory); }
.legal-body p { color: var(--muted); margin: 14px 0; }
.legal-body ul { color: var(--muted); padding-left: 4px; list-style: none; margin: 16px 0; }
.legal-body ul li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.legal-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-gradient);
}
.legal-body address {
  font-style: normal; color: var(--ivory); line-height: 1.9;
  border-left: 2px solid var(--gold); padding-left: 18px; margin: 16px 0;
}
.legal-callout {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: rgba(183,132,53,0.06); padding: 22px 26px; margin: 28px 0;
}
.legal-callout b { color: var(--gold-bright); }
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 44px; color: var(--gold-bright); font-weight: 600;
}
.legal-back svg { width: 16px; height: 16px; }
.legal-updated { color: var(--faint); font-size: 0.86rem; margin-top: 8px; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1040px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .t-card { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 880px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 440px; margin-inline: auto; width: 100%; }
  .about .wrap { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .services-grid, .steps, .why-grid { grid-template-columns: 1fr; }
  .t-card { flex-basis: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .contact-chip { flex: 1; min-width: 0; }
  .hero-cta .btn, .cta .hero-cta .btn { flex: 1; min-width: 0; }
  .footer-bottom { justify-content: flex-start; }
  .cookie-actions { flex-direction: column; }
}
