/* ============================================================
   IMPETU GESTIÓN
   Layout basado en la referencia somos-sc.com.ar, con la
   identidad de Ímpetu (verde petróleo, crema, naranja).
   ============================================================ */

:root {
  /* ---- TIPOGRAFÍA (PROVISORIA) ----
     Inter Tight / Inter como sustituto de Neue Haas Grotesk.
     Cuando llegue el Web Project de Adobe, reemplazar por:
       --font-display: "neue-haas-grotesk-display", sans-serif;
       --font-body:    "neue-haas-grotesk-text", sans-serif;
     y borrar los <link> de Google Fonts del index.html. */
  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --w-thin: 100;
  --w-regular: 400;
  --w-bold: 700;

  /* ---- PALETA ----
     Valores muestreados de los logos, no de la conversión Pantone
     del manual (esa sale bastante más saturada). */
  --teal:      #104a56;
  --teal-deep: #0b3a44;
  --teal-soft: #1c6372;
  --orange:    #f1541c;
  --wine:      #6b3c44;
  --black:     #202928;
  --cream:     #f8f5ed;

  --bg-top:    #fbfaf6;
  --bg-bottom: #f1eee4;
  --surface:   #ffffff;
  --border:    #e7e3d8;
  --border-dark: rgba(248, 245, 237, .16);

  /* Placeholders */
  --ph:        #e0ddd3;
  --ph-strong: #d2cec2;
  --ph-dark:   rgba(248, 245, 237, .20);

  /* Geometría */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --container: 1180px;
  --nav-h: 76px;
  --space: 84px;

  --shadow-sm: 0 2px 10px rgba(16, 74, 86, .06);
  --shadow:    0 10px 30px rgba(16, 74, 86, .09);
  --shadow-lg: 0 20px 50px rgba(16, 74, 86, .13);
}

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

html {
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: transparent;
  color: var(--black);
  font-family: var(--font-body);
  font-weight: var(--w-thin);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

h1, h2, h3, .t-display {
  font-family: var(--font-display);
  font-weight: var(--w-regular);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
}
p, li {
  font-family: var(--font-body);
  font-weight: var(--w-thin);
  line-height: 1.65;
  margin: 0;
}
.t-key    { font-weight: var(--w-regular); }
.t-accent { font-weight: var(--w-bold); }

/* ============================================================
   DECORACIÓN DE FONDO (ondas + marcas de agua)
   ============================================================ */
.page-deco {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.page-deco__waves {
  position: absolute;
  left: 0;
  bottom: -5%;
  width: 100%;
  height: 70%;
}
.page-deco__waves path:nth-child(1) { fill: rgba(16, 74, 86, .045); }
.page-deco__waves path:nth-child(2) { fill: rgba(107, 60, 68, .035); }

.page-deco__mark {
  position: absolute;
  opacity: .035;
  width: 260px;
}
.page-deco__mark--a { top: 12%;  left: -70px; transform: rotate(-12deg); }
.page-deco__mark--b { top: 58%; right: -80px; transform: rotate(14deg); }

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

.section { padding: var(--space) 0; }
.section--tight { padding: 24px 0; }

/* ============================================================
   PLACEHOLDERS
   ============================================================ */
.ph {
  display: block;
  background: var(--ph);
  border-radius: 4px;
}

.ph--display      { height: 40px; border-radius: 6px; }
.ph--heading      { height: 28px; border-radius: 6px; }
.ph--heading-sm   { height: 20px; border-radius: 5px; }
.ph--subheading   { height: 14px; }
.ph--line         { height: 11px; }
.ph--line-sm      { height: 9px;  border-radius: 3px; }
.ph--micro        { height: 7px;  border-radius: 3px; }
.ph--nav          { height: 9px;  width: 62px; border-radius: 3px; }
.ph--btn-label    { height: 9px;  width: 92px; border-radius: 3px; }
.ph--stat         { height: 26px; width: 60%; border-radius: 5px; }

.w-20{width:20%} .w-30{width:30%} .w-40{width:40%} .w-45{width:45%}
.w-50{width:50%} .w-60{width:60%} .w-65{width:65%} .w-70{width:70%}
.w-75{width:75%} .w-80{width:80%} .w-90{width:90%}

/* ============================================================
   NAVBAR FLOTANTE
   ============================================================ */
/* Barra recta, al ancho del sitio y alineada con el resto del contenido. */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 250, 246, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.navbar.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(16, 74, 86, .06);
}

.navbar__pill {
  width: 100%;
  max-width: var(--container);
  min-height: var(--nav-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 20px;
}

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 46px; width: auto; display: block; }

.navlinks {
  display: none;
  align-items: center;
  gap: 30px;
}
.navlinks__item { padding: 6px 2px; }

.burger {
  width: 42px; height: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 9px;
  border-radius: 999px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Panel desplegable en mobile */
.navlinks.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 22px 20px 26px;
  background: rgba(251, 250, 246, .98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(16, 74, 86, .08);
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.btn--light { background: var(--cream); }
.btn--light .ph { background: var(--teal); }

.btn--ghost { background: rgba(248, 245, 237, .10); border-color: rgba(248, 245, 237, .45); }
.btn--ghost .ph { background: rgba(248, 245, 237, .75); }

.btn--solid { background: var(--teal); }
.btn--solid .ph { background: rgba(248, 245, 237, .8); }

/* El naranja queda reservado al CTA del formulario */
.formcard .btn--solid { background: var(--orange); }

/* ============================================================
   BADGES / PÍLDORAS DE SECCIÓN
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(16, 74, 86, .08);
}
.badge .ph { width: 72px; background: var(--teal); opacity: .55; }

.badge--dark { background: rgba(248, 245, 237, .12); }
.badge--dark .ph { background: var(--cream); opacity: .6; }

.badge--solid { background: var(--teal); }
.badge--solid .ph { background: var(--cream); opacity: .75; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 0 70px;
  background:
    radial-gradient(120% 90% at 85% 10%, var(--teal-soft) 0%, transparent 55%),
    linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 70%, var(--wine) 170%);
  color: var(--cream);
}

.hero__deco { position: absolute; inset: 0; pointer-events: none; }
.hero__mark {
  position: absolute;
  width: 320px;
  opacity: .05;
  left: -90px;
  bottom: -60px;
  transform: rotate(-10deg);
}

.hero .ph { background: var(--ph-dark); }

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.hero__copy { display: flex; flex-direction: column; gap: 10px; }
.hero__copy .ph--display { max-width: 420px; }
.ph--display-accent { background: rgba(241, 84, 28, .55) !important; }

.hero__lead {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 16px;
  max-width: 430px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* --- Columna visual --- */
.hero__visual { position: relative; }

.hero__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: rgba(248, 245, 237, .13);
  box-shadow: var(--shadow-lg);
}

.tagcard {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 16px;
  min-width: 150px;
  max-width: 62%;
  background: rgba(11, 58, 68, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow);
}
/* La de arriba apoya sobre el borde superior de la imagen; la de abajo
   va al ras de la esquina inferior derecha, como en la referencia. */
.tagcard--tl { top: -18px; left: -10px; }
.tagcard--br { right: 0; bottom: 0; border-bottom-right-radius: var(--r-lg); }
.tagcard .ph--micro { background: rgba(248, 245, 237, .45); }

/* En pantallas chicas la etiqueta inferior ocupa el centro, así que los
   puntos se corren a la izquierda para no superponerse. */
.dots {
  position: absolute;
  left: 18px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: rgba(248, 245, 237, .4);
}
.dot.is-active { background: var(--cream); }
.dot--wide { width: 20px; }

.dots--static {
  position: static;
  transform: none;
  justify-content: center;
  margin-top: 16px;
}
.dots--static .dot { background: rgba(16, 74, 86, .2); }
.dots--static .dot.is-active { background: var(--teal); }

/* --- Mini tarjetas --- */
.hero__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.minicard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 14px;
  background: rgba(248, 245, 237, .07);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-sm);
}
.minicard .ph--subheading { background: rgba(248, 245, 237, .45); margin-bottom: 4px; }

/* ============================================================
   CABEZAL DE SECCIÓN
   ============================================================ */
.sectionhead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
  text-align: center;
}
.sectionhead .ph--heading { max-width: 640px; }
.sectionhead .badge { margin-bottom: 14px; }

.sectionhead__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
  max-width: 480px;
  margin-top: 12px;
}

.sectionhead--plain { margin-bottom: 36px; }
.sectionhead--onDark .ph { background: var(--ph-dark); }

/* ============================================================
   EQUIPO
   ============================================================ */
.team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.person {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.person__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: var(--ph-strong);
}

.person__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px 18px 22px;
}

.person__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.person__metatext {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chip {
  flex: 0 0 34px;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--teal);
}

/* ============================================================
   SERVICIO DESTACADO
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.feature__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: var(--ph-strong);
  box-shadow: var(--shadow);
}
.feature__caption {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 120px;
}
.feature__caption .ph { background: rgba(255, 255, 255, .85); margin: 0 auto; }

.feature__panel {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 28px 26px 32px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.feature__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.iconbox {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(16, 74, 86, .1);
}

.feature__lead {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 16px;
}
.feature__panel .ph--subheading { margin-top: 10px; }

.bullets { display: flex; flex-direction: column; gap: 11px; margin: 4px 0 8px; }
.bullets li { display: flex; align-items: flex-start; gap: 11px; }
.bullets__dot {
  flex: 0 0 6px;
  width: 6px; height: 6px;
  margin-top: 3px;
  border-radius: 999px;
  background: var(--teal);
  opacity: .5;
}

/* ============================================================
   PAR DE SERVICIOS
   ============================================================ */
.pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 26px;
}

.paircard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 34px 26px 28px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.iconbox--float {
  position: absolute;
  top: -20px;
  left: 26px;
  background: var(--teal);
  box-shadow: var(--shadow);
}
.paircard .ph--subheading { margin-bottom: 4px; }

/* ============================================================
   ASESORAMIENTO (panel oscuro)
   ============================================================ */
.advisory {
  position: relative;
  padding: 26px 20px 28px;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-deep) 100%);
  box-shadow: var(--shadow-lg);
}

.advisory__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}

.adv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 150px;
  border-radius: var(--r);
  overflow: hidden;
  background: rgba(248, 245, 237, .07);
  border: 1px solid var(--border-dark);
}

.adv__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px 16px;
}
.adv__text .ph--subheading { background: rgba(248, 245, 237, .5); }

.adv__desc {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .3s ease;
}
.adv:hover .adv__desc { max-height: 120px; opacity: 1; }

.adv__photo {
  background: rgba(248, 245, 237, .14);
  border-radius: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.adv--reverse .adv__text  { order: 2; align-items: flex-end; text-align: right; }
.adv--reverse .adv__photo { order: 1;
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 38%);
          mask-image: linear-gradient(270deg, transparent 0%, #000 38%);
}
.adv--reverse .adv__desc { align-items: flex-end; }

/* ============================================================
   CLIENTES
   ============================================================ */
.carousel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel__arrow {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.carousel__arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px; height: 8px;
  border-top: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
}
.carousel__arrow[data-dir="-1"]::after { transform: translateX(2px) rotate(-135deg); }
.carousel__arrow[data-dir="1"]::after  { transform: translateX(-2px) rotate(45deg); }

.carousel__track {
  flex: 1;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 14px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.logocard {
  flex: 0 0 132px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.logocard__circle {
  width: 68%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: var(--ph);
}

/* ============================================================
   RESEÑAS
   ============================================================ */
.reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 22px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--border);
}

.reviews__pane {
  padding: 18px;
  background: rgba(16, 74, 86, .05);
  border-radius: var(--r-lg);
}
.reviews__panehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.reviews__nav { display: flex; gap: 8px; }

.roundbtn {
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  min-height: 210px;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.review__head { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--ph-strong);
}
.review__who { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.review__src {
  width: 26px; height: 26px;
  border-radius: 999px;
  background: rgba(16, 74, 86, .1);
}

.stars { display: flex; gap: 4px; }
.stars span {
  width: 12px; height: 12px;
  background: var(--orange);
  opacity: .8;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.review__rule {
  width: 72px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--wine));
}

.reviews__info { display: flex; flex-direction: column; gap: 10px; padding: 6px 4px; }
.reviews__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.gmark {
  width: 26px; height: 26px;
  border-radius: 999px;
  background: rgba(16, 74, 86, .1);
}
.reviews__lead { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 20px; max-width: 380px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 12px;
  background: var(--surface);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}
.stat .ph--stat { background: var(--teal); opacity: .75; }

.reviews__info .btn { align-self: flex-start; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact {
  position: relative;
  overflow: hidden;
  margin-top: var(--space);
  padding: var(--space) 0;
  background:
    radial-gradient(100% 80% at 20% 0%, var(--teal-soft) 0%, transparent 55%),
    linear-gradient(170deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: var(--cream);
}

.contact__deco { position: absolute; inset: 0; pointer-events: none; }
.contact__mark { position: absolute; width: 280px; opacity: .05; }
.contact__mark--a { top: 6%;  left: -80px;  transform: rotate(-14deg); }
.contact__mark--b { bottom: 4%; right: -90px; transform: rotate(10deg); }

.contact .ph { background: var(--ph-dark); }

.contactgrid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.contactgrid__left { display: flex; flex-direction: column; gap: 16px; }

.infocard {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 22px;
  background: rgba(11, 58, 68, .55);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-lg);
}
.inforow { display: flex; align-items: flex-start; gap: 13px; }
.inforow__icon {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: rgba(248, 245, 237, .18);
}
.inforow__text { flex: 1; display: flex; flex-direction: column; gap: 9px; }

.mapbox {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  background: rgba(248, 245, 237, .12) !important;
}
.mapbox__pill {
  position: absolute;
  top: 12px; left: 12px;
  width: 86px; height: 22px;
  border-radius: 6px;
  background: rgba(248, 245, 237, .3);
}

.socials { display: flex; gap: 12px; }
.social {
  width: 40px; height: 40px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.social--wa { background: #25d366; }
.social--fb { background: #1877f2; }
.social--ig { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }

.formcard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 22px 24px;
  background: var(--cream);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.formcard .ph { background: var(--ph); }

.formrow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.field {
  height: 48px;
  border-radius: 12px;
  background: var(--surface) !important;
  border: 1px solid var(--border);
}
.field--area { height: 170px; }

.formcard__foot { display: flex; justify-content: flex-end; margin-top: 4px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--teal-deep);
  padding: 54px 0 24px;
}
.footer .ph { background: var(--ph-dark); }

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-bottom: 30px;
}
.footer__col { display: flex; flex-direction: column; gap: 11px; }

.footer__logo {
  height: 62px;
  width: auto;
  display: block;
  align-self: flex-start;
  object-fit: contain;
  margin-bottom: 6px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
}

/* ============================================================
   BOTONES FLOTANTES
   ============================================================ */
.fab {
  position: fixed;
  width: 50px; height: 50px;
  border-radius: 999px;
  z-index: 90;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}
.fab--wa  { left: 18px;  bottom: 18px; background: #25d366; }
.fab--top { right: 18px; bottom: 18px; background: var(--teal); position: fixed; }
.fab--top::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px; height: 10px;
  border-top: 2px solid var(--cream);
  border-right: 2px solid var(--cream);
  transform: translateY(3px) rotate(-45deg);
}

/* ============================================================
   BREAKPOINTS
   ============================================================ */

/* --- 640px --- */
@media (min-width: 640px) {
  .team      { grid-template-columns: repeat(2, 1fr); }
  .pair      { grid-template-columns: repeat(2, 1fr); }
  .formrow   { grid-template-columns: repeat(3, 1fr); }
  .advisory  { padding: 28px 24px 30px; }
  .advisory__grid { grid-template-columns: repeat(2, 1fr); }
  .logocard  { flex-basis: 150px; }
}

/* --- 900px --- */
@media (min-width: 900px) {
  .feature {
    grid-template-columns: .85fr 1.15fr;
    gap: 22px;
    align-items: start;
  }
  .feature__media { aspect-ratio: 3 / 4; }
  .feature__panel { padding: 34px 32px 38px; }

  .reviews {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    padding: 28px;
  }
  .reviews__pane { padding: 22px; }

  .contactgrid { grid-template-columns: .9fr 1.1fr; gap: 26px; }
  .formcard { padding: 32px 30px 30px; }

  .footer__top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* --- 1024px --- */
@media (min-width: 1024px) {
  :root { --space: 104px; --nav-h: 82px; }

  .navlinks { display: flex; }
  .burger   { display: none; }
  .brand img { height: 52px; }

  .hero {
    padding: calc(var(--nav-h) + 86px) 0 96px;
  }
  .hero__grid {
    grid-template-columns: 1fr 1.05fr;
    grid-template-rows: auto auto;
    gap: 30px 46px;
    align-items: start;
  }
  .hero__copy   { grid-column: 1; grid-row: 1; }
  .hero__visual { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .hero__cards  { grid-column: 1; grid-row: 2; }

  .hero__copy .ph--display { height: 52px; }

  /* Ya hay lugar: los puntos vuelven al centro de la imagen */
  .hero .dots { left: 50%; transform: translateX(-50%); }

  .team { grid-template-columns: repeat(4, 1fr); }
}

/* --- 1200px --- */
@media (min-width: 1200px) {
  .hero__copy .ph--display { height: 58px; }
  .advisory { padding: 32px 30px 34px; }
}
