/* ==========================================================
   Refrigeración Buenos Aires — Landing
   Identidad: azul técnico + cian frío + acento energía
   ========================================================== */

:root {
  --navy: #0A2438;
  --navy2: #12374E;
  --ice: #15B9D4;
  --ice-dark: #0E9EB7;
  --ice2: #D9F6FA;
  --orange: #FFAA52;
  --ink: #12293A;
  --ink-soft: #3F5666;
  --muted: #617480;
  --bg: #ffffff;
  --bg-alt: #F4F8FA;
  --line: #DCE6EC;
  --dark: #0A2438;
  --error: #D9433A;

  --radius: 6px;
  --shadow: 0 16px 40px rgba(10, 36, 56, 0.16);
  --container: 1140px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 34px);
  background: #061a2a;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.accent { color: #58D5E9; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ice-dark);
  margin-bottom: .8rem;
}
.eyebrow--light { color: #6FD7E8; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #AFCCDA; font-size: .78rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.topbar a { font-weight: 700; color: #fff; }
.topbar a:hover { color: var(--ice); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ice); color: var(--navy); }
.btn--primary:hover { background: var(--ice-dark); }
.btn--ghost { border-color: #fff; color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.icon { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .65rem; }
.logo__mark { height: 42px; width: 42px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-family: "Manrope", sans-serif; font-size: .98rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.logo__text small { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(10,36,56,.06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a:not(.btn) { font-weight: 600; font-size: .94rem; color: var(--ink-soft); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--ice-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(6,20,32,.95) 10%, rgba(6,20,32,.82) 45%, rgba(6,20,32,.5) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 64px 0 56px; }
.hero__content { max-width: 600px; }
.hero h1 { color: #fff; }
.hero__lead { color: #D7E6EC; font-size: 1.1rem; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }

.hero__strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 24px 0 30px;
}
.hero__strip > div { flex: 1 1 160px; padding-right: 22px; border-right: 1px solid rgba(255,255,255,.16); margin-right: 22px; }
.hero__strip > div:last-child { border-right: none; margin-right: 0; }
.hero__strip strong { display: block; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1rem; color: #fff; margin-bottom: 2px; }
.hero__strip span { color: #A9C4D1; font-size: .84rem; }

/* ---------- Secciones ---------- */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2 { color: #fff; }
.section--dark p { color: #A9C4D1; }

.section__head { max-width: 560px; margin: 0 0 3rem; }

/* Filas de servicios (en lugar de grilla de tarjetas) */
.rows { display: flex; flex-direction: column; }
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}
.rows .row:last-child { border-bottom: 1px solid var(--line); }
.row__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.row--reverse .row__media { order: 2; }
.row--reverse .row__body { order: 1; }
.row__index {
  display: block;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--ice-dark);
  margin-bottom: 10px;
}
.row__body p { margin: 0; font-size: .96rem; }

/* Franja CTA */
.strip { background: var(--navy2); color: #fff; }
.strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0; }
.strip p { margin: 0; color: #cfe3ea; }
.strip strong { color: #fff; }

/* Razones (sin íconos, sin tarjetas) */
.reasons { list-style: none; padding: 0; margin: 0 0 2.4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.reasons li { border-top: 2px solid var(--navy); padding-top: 16px; }
.reasons strong { display: block; font-family: "Manrope", sans-serif; font-weight: 800; color: var(--navy); margin-bottom: 6px; font-size: 1rem; }
.reasons p { margin: 0; font-size: .92rem; }

/* Layout dividido (Contacto) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* Contacto */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-list span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #8FB4C4; }
.contact-list a, .contact-list strong { font-size: 1.1rem; font-weight: 700; color: #fff; }
.contact-list a:hover { color: #6FD7E8; }

.form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 30px;
  display: grid;
  gap: 16px;
}
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 700; color: #cfe3ea; }
.form input,
.form select,
.form textarea {
  font: inherit;
  font-weight: 400;
  padding: .8rem 1rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  color: #fff;
  transition: border-color .2s, background .2s;
}
.form input::placeholder,
.form textarea::placeholder { color: #7F9FAC; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: none; border-color: var(--ice); background: rgba(255,255,255,.08); }
.form .is-invalid { border-color: var(--error); background: rgba(217,67,58,.14); }
.form__note { margin: 0; font-size: .82rem; text-align: center; color: #7F9FAC !important; }

/* Footer */
.footer { background: #061a2a; padding: 30px 0; }
.footer__inner { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.footer__brand { font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.footer p { margin: 0; font-size: .82rem; color: #6F93A3; }

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(10,36,56,.08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
  .nav .btn { margin-top: 16px; }

  .topbar span { display: none; }

  .hero__media img { object-position: 65% center; }
  .hero__inner { padding: 44px 0 36px; }
  .hero__strip { flex-direction: column; gap: 14px; }
  .hero__strip > div { border-right: none; margin-right: 0; padding-right: 0; }

  .row,
  .split { grid-template-columns: 1fr; gap: 26px; }
  .row__media, .row--reverse .row__media { order: 1; }
  .row__body, .row--reverse .row__body { order: 2; }

  .reasons { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .strip__inner { flex-direction: column; align-items: start; }
}

@media (max-width: 560px) {
  .logo__text small { display: none; }
  .hero__actions .btn { width: 100%; }
  .reasons { grid-template-columns: 1fr; }
  .form { padding: 22px; }
}
