:root {
  --forest: #2d4f28;
  --forest-deep: #102911;
  --forest-soft: #326342;
  --coral: #f10823;
  --coral-dark: #c7061c;
  --cream: #f2efea;
  --paper: #fffdf9;
  --ink: #203d25;
  --muted: #5f6d68;
  --gold: #d9a638;
  --road: #41423f;
  --line: rgba(18, 61, 49, 0.16);
  --shadow: 0 26px 70px rgba(8, 39, 31, 0.16);
  --radius-lg: 30px;
  --radius-md: 20px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding: 118px 0; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -100px;
  padding: 12px 18px;
  border-radius: 10px;
  background: white;
  color: var(--forest-deep);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  padding: 26px 0;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand {
  width: 190px;
  flex: 0 0 auto;
  padding: 7px 10px 6px;
  border-radius: 7px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.brand img { width: 100%; height: auto; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.55);
  padding: 7px 0;
}
.nav-cta svg, .button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(7,30,15,.84) 0%, rgba(8,31,16,.68) 46%, rgba(7,26,14,.34) 100%),
    url("./assets/tartan-navidad.jpg") center / cover;
  padding: 150px 0 92px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
}
.hero::before { width: 570px; height: 570px; left: -310px; top: 140px; }
.hero::after { width: 330px; height: 330px; right: -160px; top: -110px; }
.hero-glow {
  position: absolute;
  width: 210px;
  height: 210px;
  left: 45%;
  top: 18%;
  background: rgba(227,176,75,.16);
  filter: blur(70px);
}
.ornament-cluster { position: absolute; z-index: -1; right: 3vw; top: 34px; width: 220px; height: 245px; opacity: .78; }
.ornament { position: absolute; display: block; border-radius: 50%; box-shadow: inset -14px -18px 28px rgba(0,0,0,.24), 0 15px 35px rgba(0,0,0,.18); }
.ornament::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 85px; background: rgba(238,213,160,.68); }
.ornament::after { content: ""; position: absolute; left: 50%; bottom: calc(100% - 3px); width: 17px; height: 8px; transform: translateX(-50%); border-radius: 4px 4px 1px 1px; background: var(--gold); }
.ornament-red { width: 72px; height: 72px; left: 14px; top: 105px; background: radial-gradient(circle at 30% 25%, #ff8794, var(--coral) 50%, #870011); }
.ornament-gold { width: 50px; height: 50px; right: 50px; top: 65px; background: radial-gradient(circle at 30% 25%, #fff0a6, #d9a638 55%, #7a4c05); }
.ornament-green { width: 42px; height: 42px; right: 2px; top: 145px; background: radial-gradient(circle at 30% 25%, #7fb28a, #326342 55%, #112e18); }
.hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(48px, 7vw, 100px); }
.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--coral);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow { color: #ffe0bd; display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1,
.section-heading h2,
.problem h2,
.universe h2,
.process h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.55rem, 5vw, 5.15rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 800;
}
.hero h1 { max-width: 720px; }
h1 em, h2 em { color: #ffd59f; font-style: normal; }
.hero-lead { max-width: 640px; margin: 30px 0 34px; color: rgba(255,255,255,.81); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--coral); color: white; box-shadow: 0 12px 26px rgba(241,8,35,.3); }
.button-primary:hover { background: #ff2640; }
.button-ghost { color: white; border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.03); }
.button-ghost:hover { border-color: white; background: rgba(255,255,255,.08); }
.microcopy { margin: 20px 0 0; color: rgba(255,255,255,.58); font-size: .78rem; }

.hero-visual { position: relative; width: min(100%, 660px); margin-left: auto; }
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -24px -28px 32px 58px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 145px 145px 32px 32px;
  background: url("./assets/tartan-navidad.jpg") center / cover;
  box-shadow: 0 26px 60px rgba(0,0,0,.22);
  transform: rotate(-3deg);
}
.hero-frame {
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.92);
  border-radius: 160px 160px 28px 28px;
  box-shadow: 0 34px 80px rgba(0,0,0,.35);
  transform: rotate(1.2deg);
}
.hero-frame img {
  width: 100%;
  aspect-ratio: 41/20;
  object-fit: cover;
  object-position: center bottom;
}
.hero-note {
  position: absolute;
  left: -30px;
  bottom: -34px;
  display: grid;
  gap: 2px;
  padding: 16px 20px;
  color: var(--forest-deep);
  background: #fff9ef;
  border-left: 5px solid var(--coral);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.hero-note strong { font-size: .88rem; }
.hero-note span { color: var(--muted); font-size: .68rem; }

.service-ribbon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.13);
  border-bottom: 1px solid rgba(255,255,255,.13);
  background: rgba(4,29,23,.72);
  backdrop-filter: blur(8px);
}
.ribbon-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 16px 0;
  animation: marquee 30s linear infinite;
}
.ribbon-track span { padding: 0 22px; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ribbon-track i { color: var(--coral); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.problem { position: relative; background: var(--paper); }
.problem::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 11px;
  background: url("./assets/tartan-navidad.jpg") center 42% / cover;
}
.problem-grid { display: grid; grid-template-columns: .32fr 1fr; gap: 7vw; }
.problem h2 { color: var(--forest); font-size: clamp(2rem, 4vw, 4.1rem); }
.problem h2 em { color: var(--coral); }
.problem-copy > p { max-width: 820px; margin: 34px 0 46px; color: var(--muted); font-size: 1.03rem; }
.problem-copy > p strong { color: var(--ink); }
.audience-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.audience-points article { display: flex; align-items: flex-start; gap: 17px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.point-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--coral); font-size: .68rem; font-weight: 800; }
.audience-points h3 { margin: 0 0 6px; font-size: 1.05rem; }
.audience-points p { margin: 0; color: var(--muted); font-size: .86rem; }

.decor {
  color: white;
  background:
    linear-gradient(rgba(8,31,16,.78), rgba(7,27,14,.84)),
    url("./assets/tartan-navidad.jpg") center / cover;
}
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 7vw; margin-bottom: 52px; }
.section-heading h2 { font-size: clamp(2.25rem, 4.2vw, 4.5rem); }
.section-heading > p { margin: 0 0 7px; color: rgba(255,255,255,.67); font-size: .98rem; }
.section-kicker.light { color: #ffb8aa; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.gallery-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  color: white;
  background: #163a30;
  cursor: zoom-in;
  text-align: left;
}
.gallery-card-wide { grid-column: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.gallery-card span { position: absolute; z-index: 2; left: 18px; bottom: 15px; font-size: .8rem; font-weight: 600; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-note { margin: 18px 2px 0; color: rgba(255,255,255,.48); font-size: .7rem; }

.universe { position: relative; overflow: hidden; background: var(--cream); }
.universe::before {
  content: "✣";
  position: absolute;
  left: -65px;
  top: 15px;
  color: rgba(18,61,49,.11);
  font-size: 220px;
  line-height: 1;
}
.universe::after {
  content: "";
  position: absolute;
  right: -68px;
  bottom: -115px;
  width: 360px;
  height: 360px;
  border-radius: 58px;
  background: url("./assets/tartan-navidad.jpg") center / cover;
  opacity: .22;
  transform: rotate(12deg);
}
.universe-grid { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.universe-intro { position: sticky; top: 50px; }
.universe h2 { font-size: clamp(2.2rem, 4vw, 4.35rem); color: var(--forest); }
.universe-intro > p:not(.section-kicker) { margin: 27px 0 28px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--coral-dark); font-size: .88rem; font-weight: 700; text-decoration: none; }
.text-link span { font-size: 1.25rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.route-list { position: relative; display: grid; gap: 16px; padding-left: 64px; }
.route-line { position: absolute; left: 0; top: -30px; width: 86px; height: calc(100% + 60px); overflow: visible; }
.route-line path { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 3 13; }
.route-card {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 142px;
  padding: 24px;
  border: 1px solid rgba(18,61,49,.09);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 38px rgba(18,61,49,.06);
}
.route-card:nth-of-type(even) { transform: translateX(22px); }
.route-number { position: absolute; left: -79px; display: grid; place-items: center; width: 40px; height: 40px; color: white; background: var(--coral); border: 4px solid var(--cream); border-radius: 50%; font-size: .62rem; font-weight: 800; }
.route-icon { display: grid; place-items: center; width: 64px; height: 64px; color: var(--forest); background: #e7eee9; border-radius: 18px; }
.route-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route-card h3 { margin: 0 0 7px; color: var(--forest); font-size: 1.12rem; }
.route-card p { margin: 0; color: var(--muted); font-size: .83rem; }

.process {
  color: white;
  background:
    linear-gradient(90deg, rgba(8,32,16,.8), rgba(12,35,15,.64)),
    url("./assets/tartan-navidad.jpg") center / cover;
}
.process-heading { max-width: 850px; margin-bottom: 52px; }
.process .section-kicker { color: #f0c869; }
.process h2 { font-size: clamp(2.35rem, 4.2vw, 4.6rem); }
.process-heading > p:not(.section-kicker) { margin: 22px 0 0; color: rgba(255,255,255,.84); }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-lg); background: rgba(255,255,255,.24); }
.process-steps article { min-height: 250px; padding: 30px; background: rgba(13,45,23,.82); backdrop-filter: blur(5px); }
.process-steps span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 58px; color: white; background: var(--coral); border-radius: 50%; font-size: .75rem; font-weight: 800; }
.process-steps h3 { margin: 0 0 10px; font-size: 1.12rem; }
.process-steps p { margin: 0; color: rgba(255,255,255,.78); font-size: .85rem; }

.contact { position: relative; overflow: hidden; text-align: center; background: var(--paper); }
.contact-snow { position: absolute; right: -70px; top: -15px; color: rgba(18,61,49,.08); font-size: 300px; line-height: 1; }
.contact-inner { position: relative; max-width: 960px; }
.contact h2 { color: var(--forest); font-size: clamp(2.25rem, 4.5vw, 4.7rem); }
.contact h2 em { color: var(--coral); }
.contact-inner > p:not(.section-kicker) { max-width: 660px; margin: 26px auto 34px; color: var(--muted); }
.contact-actions { justify-content: center; }
.button-dark { color: white; background: var(--forest); }
.button-dark:hover { background: var(--forest-soft); }
.button-outline-dark { color: var(--forest); border-color: var(--forest); }
.button-outline-dark:hover { color: white; background: var(--forest); }
.contact small { display: block; margin-top: 34px; color: #84908c; }

.site-footer { padding: 34px 0; color: rgba(255,255,255,.65); background: var(--forest-deep); }
.footer-inner { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 26px; }
.footer-inner img { width: 178px; padding: 6px 9px; border-radius: 6px; background: rgba(255,255,255,.94); }
.footer-inner p { margin: 0; text-align: center; font-size: .72rem; }
.footer-inner a { color: white; font-size: .72rem; text-decoration: none; }

.floating-contact {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: white;
  background: #1f9d61;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  transition: transform .25s ease;
}
.floating-contact:hover { transform: translateY(-3px) scale(1.03); }
.floating-contact svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }

.lightbox { width: min(1100px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 18px; background: #081b16; box-shadow: 0 30px 100px rgba(0,0,0,.5); }
.lightbox::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; height: auto; }
.lightbox-close { position: absolute; z-index: 2; right: 13px; top: 13px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: white; background: rgba(0,0,0,.62); font-size: 1.6rem; cursor: pointer; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: -100px; transform: translateX(-50%); max-width: min(520px, calc(100% - 30px)); padding: 13px 18px; color: white; background: #1d2d28; border-radius: 999px; box-shadow: var(--shadow); font-size: .78rem; text-align: center; transition: bottom .3s ease; }
.toast.show { bottom: 24px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .section-pad { padding: 92px 0; }
  .hero { padding-top: 138px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 800px; }
  .hero-visual { width: min(88%, 700px); margin: 10px auto 60px; }
  .problem-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .universe-grid { grid-template-columns: 1fr; }
  .universe-intro { position: static; max-width: 720px; }
  .route-list { max-width: 800px; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .section-pad { padding: 76px 0; }
  .site-header { padding: 20px 0; }
  .brand { width: 154px; padding: 6px 8px; }
  .nav-cta { font-size: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; width: 42px; height: 42px; justify-content: center; padding: 0; }
  .nav-cta svg { width: 18px; }
  .hero { min-height: auto; padding: 122px 0 105px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { width: 100%; margin-bottom: 50px; }
  .hero-visual::before { inset: -15px -8px 22px 28px; border-radius: 88px 88px 24px 24px; }
  .hero-frame { border-width: 5px; border-radius: 90px 90px 20px 20px; }
  .hero-frame img { aspect-ratio: 16/10; transform: scale(1.32); transform-origin: 58% 62%; }
  .hero-note { left: 12px; right: 12px; bottom: -35px; }
  .problem h2, .section-heading h2, .universe h2, .process h2, .contact h2 { font-size: clamp(2rem, 10vw, 3.2rem); }
  .audience-points { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-card, .gallery-card-wide { grid-column: auto; min-height: 225px; }
  .route-list { padding-left: 38px; }
  .route-line { left: -28px; width: 78px; }
  .route-card { grid-template-columns: auto 1fr; padding: 20px 18px; gap: 14px; }
  .route-card:nth-of-type(even) { transform: none; }
  .route-number { left: -55px; width: 34px; height: 34px; border-width: 3px; }
  .route-icon { width: 52px; height: 52px; border-radius: 15px; }
  .route-icon svg { width: 31px; height: 31px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps article { min-height: auto; }
  .process-steps span { margin-bottom: 32px; }
  .contact-actions { display: grid; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .floating-contact { width: 54px; height: 54px; right: 15px; bottom: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
