/* =====================================================================
   GOLDILLA REFRIGERATION SERVICES — bespoke static site
   Design: "el frío profesional, hecho web" — navy + ice blue + gold.
   Palette extracted from logo/poster by code (PIL), gold sampled from the
   GOLDILLA wordmark: median #f1cf63, highlight #fad76a. Navy/ice from logo:
   #05214c · #164a7f · #70a1b6 · #a2bfd4 · #bfd8d9 · #fbfbfc.
   Type: Sora (display, geometric, confident) + Inter (body).
   NOTE: all copy is real — from Goldilla's own promo graphics (tagline,
   subtitle, mission, the three service descriptions, the trust block).
   No invented services, prices or claims.
   ===================================================================== */

:root {
  --noche:      #041228;
  --noche-2:    #061a34;
  --marino:     #05214c;
  --marino-2:   #072a5e;
  --marino-3:   #0b3670;
  --azul:       #164a7f;
  --azul-med:   #2f6ea6;
  --cielo:      #70a1b6;
  --cielo-luz:  #a2bfd4;
  --hielo:      #cfe2ea;
  --hielo-luz:  #e6f1f5;
  --blanco:     #fbfbfc;

  --oro:        #f1cf63;
  --oro-luz:    #fad76a;
  --oro-osc:    #d9a83c;

  --tinta:      #0a1c38;
  --linea-osc:  rgba(112,161,182,.16);
  --linea-oro:  rgba(241,207,99,.30);

  --r-sm: 9px;
  --r-md: 16px;
  --r-lg: 24px;

  --shadow:      0 30px 70px -24px rgba(2,10,26,.8);
  --shadow-blue: 0 22px 50px -18px rgba(11,54,112,.6);
  --shadow-gold: 0 18px 42px -16px rgba(217,168,60,.4);

  --wrap: 1200px;
  --gap: clamp(16px, 3vw, 28px);
  --sp-section: clamp(72px, 10vw, 140px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset-ish ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--hielo);
  background: var(--noche);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3 { margin: 0; line-height: 1.04; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- shared ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.eyebrow {
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cielo-luz);
  display: inline-flex;
  align-items: center;
  gap: .7em;
  max-width: 100%;
}
.eyebrow svg { width: 17px; height: 17px; color: var(--oro); flex: none; }

.btn {
  --btn-bg: linear-gradient(180deg, var(--azul-med), var(--marino));
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .55em;
  padding: 15px 26px;
  font-family: "Sora", sans-serif;
  font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid rgba(162,191,212,.28); border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { box-shadow: var(--shadow-blue); transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--hielo);
  border-color: var(--linea-osc);
}
.btn--ghost:hover { background: rgba(162,191,212,.08); box-shadow: none; border-color: rgba(162,191,212,.4); }
.btn--wa { --btn-bg: linear-gradient(180deg, #26c463, #1fab53); --btn-fg: #04240f; border-color: rgba(31,171,83,.4); font-weight: 700; }
.btn--wa:hover { box-shadow: 0 20px 46px -16px rgba(31,171,83,.55); }

:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; border-radius: 3px; }

.section-head { max-width: 800px; margin-bottom: clamp(38px, 6vw, 64px); }
.section-head h2 {
  font-family: "Sora", sans-serif; font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em;
  margin-top: 16px;
}
.section-head .lead { margin-top: 18px; color: var(--cielo-luz); font-size: 1.08rem; max-width: 62ch; opacity: .9; }
.em, .section-head em, h1 em, h2 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(100deg, var(--oro-luz), var(--oro-osc));
  -webkit-background-clip: text; background-clip: text;
}

/* ---------- brand lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { border-radius: 50%; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.18rem; letter-spacing: .02em;
  color: transparent; background: linear-gradient(100deg, var(--oro-luz), var(--oro-osc)); -webkit-background-clip: text; background-clip: text; }
.brand__txt i { font-style: normal; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cielo-luz); opacity: .8; margin-top: 3px; }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4,18,40,.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linea-osc);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.nav .brand img { width: 46px; height: 46px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-family: "Sora", sans-serif; font-weight: 500; font-size: .94rem; color: var(--hielo); opacity: .82; transition: opacity .18s var(--ease), color .18s var(--ease); }
.nav__links a:hover { opacity: 1; color: var(--oro-luz); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { display: inline-flex; align-items: center; gap: .5em; font-family: "Sora",sans-serif; font-weight: 600; letter-spacing: .01em; }
.nav__phone svg { width: 18px; height: 18px; color: var(--oro); }
.nav__menu-cta { display: none; }
.nav__toggle { display: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 50% -10%, var(--marino-2), transparent 60%),
    linear-gradient(180deg, var(--noche-2), var(--noche));
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(47,110,166,.4), transparent 62%),
    radial-gradient(50% 45% at 8% 105%, rgba(11,54,112,.55), transparent 60%),
    radial-gradient(40% 30% at 90% 90%, rgba(241,207,99,.10), transparent 65%);
}
.hero__inner { padding: clamp(52px, 9vw, 112px) 0 clamp(58px, 8vw, 100px); }
.hero__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 60px); align-items: center; }

.hero h1 {
  margin-top: 22px;
  font-family: "Sora", sans-serif; font-weight: 800;
  font-size: clamp(2.5rem, 6.2vw, 4.8rem); line-height: 1.03; letter-spacing: -.03em;
}
.hero__sub { margin-top: 24px; max-width: 52ch; font-size: 1.15rem; color: var(--cielo-luz); opacity: .95; }
.hero__sub b { color: var(--oro-luz); font-weight: 700; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats { margin: 42px 0 0; display: flex; gap: clamp(18px, 4vw, 40px); flex-wrap: wrap; }
.hero__stats > div { position: relative; padding-left: 18px; }
.hero__stats > div::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, var(--oro), transparent); border-radius: 2px; }
.hero__stats dt { font-family: "Sora", sans-serif; font-weight: 700; font-size: clamp(1.05rem, 2.4vw, 1.32rem); line-height: 1.12; color: var(--blanco); }
.hero__stats dd { margin: 6px 0 0; font-size: .74rem; line-height: 1.3; color: var(--cielo); opacity: .82; text-transform: uppercase; letter-spacing: .08em; }

.hero__aside { min-width: 0; }
.photo-card {
  position: relative; margin: 0 0 0 auto; max-width: 380px; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--linea-osc); background: var(--marino-2);
  box-shadow: var(--shadow);
}
.photo-card::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(241,207,99,.12); border-radius: inherit; }
.photo-card img { width: 100%; height: auto; display: block; }
.photo-card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: .45em;
  background: rgba(4,18,40,.8); backdrop-filter: blur(6px);
  color: var(--oro-luz); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 100px; border: 1px solid var(--linea-oro);
}
.photo-card__badge svg { width: 15px; height: 15px; color: var(--oro); }
.photo-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 40px 18px 15px; font-size: .85rem; color: var(--hielo);
  background: linear-gradient(180deg, transparent, rgba(4,18,40,.9));
}

/* =====================================================================
   TRUST STRIP
   ===================================================================== */
.trust { background: var(--marino); border-top: 1px solid var(--linea-osc); border-bottom: 1px solid var(--linea-osc); position: relative; }
.trust::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--oro), transparent); opacity: .55; }
.trust__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,3vw,40px); padding: clamp(30px,4vw,44px) 0; }
.trust__item { display: grid; grid-template-columns: auto 1fr; column-gap: 15px; row-gap: 2px; align-items: start; }
.trust__item svg { width: 30px; height: 30px; grid-row: 1 / span 2; color: var(--oro); }
.trust__item b { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.12rem; color: var(--blanco); }
.trust__item span { font-size: .9rem; color: var(--cielo-luz); opacity: .8; }

/* =====================================================================
   SERVICIOS
   ===================================================================== */
.servicios { padding: var(--sp-section) 0; position: relative; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.svc-card {
  padding: 34px 30px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(162,191,212,.07), rgba(162,191,212,.02));
  border: 1px solid var(--linea-osc);
  display: flex; flex-direction: column; gap: 15px;
  position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.svc-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--oro), transparent 70%); opacity: 0; transition: opacity .25s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-blue); border-color: var(--linea-oro); }
.svc-card:hover::before { opacity: 1; }
.svc-card__ic { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--azul), var(--marino)); border: 1px solid var(--linea-osc); }
.svc-card__ic svg { width: 30px; height: 30px; color: var(--oro-luz); }
.svc-card h3 { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.42rem; color: var(--blanco); }
.svc-card > p { color: var(--cielo-luz); opacity: .86; font-size: .98rem; }
.svc-bullets { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 9px; }
.svc-bullets li { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--hielo); font-weight: 500; }
.svc-bullets svg { width: 18px; height: 18px; color: var(--oro); flex: none; }

/* =====================================================================
   CONFIANZA
   ===================================================================== */
.confianza { padding: var(--sp-section) 0; position: relative;
  background: radial-gradient(120% 90% at 0% 0%, rgba(11,54,112,.55), transparent 55%), var(--noche-2); }
.confianza__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px,5vw,64px); align-items: center; }
.confianza__lead h2 { margin-top: 16px; font-family: "Sora", sans-serif; font-weight: 700; font-size: clamp(1.95rem,5vw,3.2rem); line-height: 1.08; letter-spacing: -.02em; }
.confianza__txt { margin-top: 18px; color: var(--cielo-luz); opacity: .9; font-size: 1.08rem; max-width: 52ch; }
.confianza__mision { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.18rem;
  color: var(--oro-luz);
  padding: 14px 22px; border-radius: 100px;
  border: 1px solid var(--linea-oro); background: rgba(241,207,99,.08); }
.confianza__mision svg { width: 22px; height: 22px; color: var(--oro); flex: none; }

.confianza__cards { display: flex; flex-direction: column; gap: 14px; }
.value { display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; border-radius: var(--r-md);
  border: 1px solid var(--linea-osc); border-left: 3px solid var(--oro); background: var(--marino-2);
  transition: transform .22s var(--ease), border-color .22s var(--ease); }
.value:hover { transform: translateX(5px); border-left-color: var(--oro-luz); }
.value__ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--linea-osc); border-radius: 12px; background: linear-gradient(160deg, var(--azul), var(--marino)); }
.value__ic svg { width: 24px; height: 24px; color: var(--oro-luz); }
.value b { display: block; font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--blanco); margin-bottom: 4px; }
.value p { color: var(--cielo-luz); opacity: .82; font-size: .93rem; }

/* =====================================================================
   CTA FINAL
   ===================================================================== */
.cta { position: relative; overflow: hidden; padding: var(--sp-section) 0; background:
  linear-gradient(180deg, var(--noche), var(--marino)); }
.cta::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 50% 0%, rgba(47,110,166,.3), transparent 60%),
              radial-gradient(50% 80% at 50% 110%, rgba(241,207,99,.1), transparent 60%); }
.cta__inner { position: relative; text-align: center; max-width: 840px; margin-inline: auto; }
.cta__inner .eyebrow { justify-content: center; }
.cta h2 { margin-top: 16px; font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(2.3rem,6.5vw,4.5rem); line-height: 1.03; letter-spacing: -.03em; }
.cta__sub { margin: 20px auto 0; max-width: 54ch; color: var(--cielo-luz); opacity: .9; font-size: 1.12rem; }
.cta__phone { margin-top: 28px; font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(2rem,6vw,3.1rem); letter-spacing: -.01em;
  color: transparent; background: linear-gradient(100deg, var(--oro-luz), var(--oro-osc)); -webkit-background-clip: text; background-clip: text; }
.cta__phone a { display: inline-flex; align-items: center; gap: 14px; }
.cta__phone svg { width: 34px; height: 34px; color: var(--oro); }
.cta__actions { margin-top: 32px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--noche); padding: clamp(54px,8vw,82px) 0 34px; border-top: 1px solid var(--linea-osc); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 44px; }
.brand--footer { margin-bottom: 18px; }
.brand--footer img { width: 58px; height: 58px; }
.brand--footer .brand__txt b { font-size: 1.3rem; }
.footer__brand > p { color: var(--cielo-luz); opacity: .78; max-width: 40ch; }
.footer__tag { margin-top: 16px !important; font-family: "Sora", serif; font-weight: 600;
  color: var(--oro-luz) !important; opacity: 1 !important; letter-spacing: .005em; font-size: 1.02rem; }
.footer h4 { font-family: "Sora",sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; color: var(--oro); margin: 0 0 18px; }
.footer__list li { margin-bottom: 12px; }
.footer__list a, .footer__contact a { color: var(--cielo-luz); opacity: .84; display: inline-flex; align-items: center; gap: 10px; transition: color .18s var(--ease), opacity .18s var(--ease); }
.footer__list a:hover, .footer__contact a:hover { color: var(--oro-luz); opacity: 1; }
.footer__contact svg { width: 18px; height: 18px; color: var(--oro); flex: none; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--linea-osc);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--cielo); opacity: .7; font-size: .84rem; }
.footer__isla { display: inline-flex; align-items: center; gap: 8px; }
.footer__isla svg { width: 16px; height: 16px; color: var(--oro); }

/* =====================================================================
   REVEAL ANIMATION
   ===================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__aside { order: -1; }
  .photo-card { margin-inline: auto; max-width: 320px; }
  .svc-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .confianza__grid { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: 1fr; gap: 22px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__wa { display: none; }
  .brand__txt i { display: none; }
  .nav__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--linea-osc); border-radius: var(--r-sm); cursor: pointer; }
  .nav__toggle svg { width: 22px; height: 22px; color: var(--hielo); }
  .nav__links.is-open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--marino); border-bottom: 1px solid var(--linea-osc); padding: 8px 20px 20px; }
  .nav__links.is-open a { padding: 14px 2px; border-bottom: 1px solid var(--linea-osc); width: 100%; }
  .nav__links.is-open .nav__menu-cta { display: inline-flex; align-items: center; gap: 10px; border-bottom: none;
    justify-content: center; margin-top: 12px; padding: 14px 18px; border-radius: var(--r-sm);
    background: linear-gradient(180deg, var(--azul-med), var(--marino-3)); border: 1px solid var(--linea-osc);
    font-family: "Sora",sans-serif; font-weight: 600; }
  .nav__links.is-open .nav__menu-cta svg { width: 20px; height: 20px; color: var(--oro); }
  .nav__links.is-open .nav__menu-cta--wa { background: linear-gradient(180deg, #26c463, #1fab53); color: #04240f; border-color: rgba(31,171,83,.4); margin-top: 10px; }
  .nav__links.is-open .nav__menu-cta--wa svg { color: #04240f; }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__stats { gap: 16px; }
  .footer__grid { grid-template-columns: 1fr; }
}
