/* ==========================================================================
   Hydrocaz — Aqua SaaS redesign
   Vanilla CSS · design tokens + reusable classes + section styles
   ========================================================================== */

/* ----------------------------- Design tokens ---------------------------- */
/*temporary outline for debugging 
* {
  outline: 1px solid red;
}
  */

:root {
  /* color */
  --c-accent: #00addb;
  --c-accent-strong: #0095bd; /* large display text — passes 3:1 on white/#F0F4F8 */
  --c-accent-deep: #00789b; /* small text/links — passes 4.5:1 on white/#F0F4F8 */
  --c-accent-soft: rgba(0, 173, 219, 0.08);
  --c-accent-10: rgba(0, 173, 219, 0.1);
  --c-accent-20: rgba(0, 173, 219, 0.2);
  --c-accent-border: rgba(0, 173, 219, 0.2);
  --c-accent-hover: #019bc4;
  --c-ink: #0b2b33;
  --c-body: #5b7280;
  --c-muted: #8fa3ae;
  --c-faint: #9fb2bc;
  --c-bg: #ffffff;
  --c-bg-alt: #f0f4f8;
  --c-hair: #e3eaf0;
  --c-hair-strong: #d5dee7;
  --c-hair-cool: #dce6ee;
  --c-hair-cool2: #d3dfe9;
  --c-dark-1: #0b2b33;
  --c-dark-2: #0e4d5c;
  --c-panel-text: #b9d4db;
  --c-panel-muted: #8fb3bc;
  --c-footer-faint: #6e939d;
  --c-green: #16a34a;
  --c-red: #ef4444;
  --c-map-line: #e5dfce;
  --c-map-text: #b7ae95;

  /* typography */
  --f-head: "Inter", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;

  /* radii */
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 20px;
  --r-3xl: 28px;
  --r-pill: 999px;

  /* elevation */
  --elev: 0 2px 4px rgba(11, 43, 51, 0.04), 0 12px 32px rgba(11, 43, 51, 0.06);
  --elev-menu: 0 2px 4px rgba(11, 43, 51, 0.05), 0 12px 28px rgba(11, 43, 51, 0.12);
  --elev-phone: 0 2px 4px rgba(11, 43, 51, 0.08), 0 24px 48px rgba(11, 43, 51, 0.18);

  /* layout */
  --container: 1200px;
  --nav-h: 64px;

  /* motion */
  --skew: 0deg;
}

/* --------------------------------- Reset -------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--f-body);
  color: var(--c-body);
  background: var(--c-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--c-ink);
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 100;
  background: var(--c-ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 14px;
}
.skip-link:focus {
  top: 8px;
}

/* ------------------------------ Primitives ------------------------------ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.accent { color: var(--c-accent-strong); }
.ink { color: var(--c-ink); }
.icon--accent { color: var(--c-accent); }

.eyebrow {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-accent-deep);
}

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-top: 16px;
}
.section-head__sub {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 16px;
}
@media (min-width: 1280px) {
  .section-head h2 { font-size: 40px; }
}

/* pill / badge */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--c-hair);
  background: #fff;
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-body);
}
.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  flex: none;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--f-head);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn i.ti { font-size: 16px; }
.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
  gap: 6px;
}
.btn--sm i.ti { font-size: 15px; }
.btn--primary {
  background: var(--c-accent-deep);
  color: #fff;
}
.btn--primary:hover { background: #006a89; }
.btn--ghost {
  background: #fff;
  color: var(--c-ink);
  border-color: var(--c-hair);
}
.btn--ghost:hover { border-color: var(--c-accent); }

/* dots for legends */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.dot--green { background: var(--c-green); }
.dot--accent { background: var(--c-accent); }
.dot--red { background: var(--c-red); }

/* ---------------------------------- Nav --------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-hair);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand__mark {
  display: block;
  width: 50px;
  height: 50px;
}
.brand__mark_mini{
  display: block;
  width: 30px;
  height: 30px;
}
.brand__name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 24px;
  color: var(--c-accent);
  letter-spacing: 0.02em;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-body);
}
.nav__links a:hover { color: var(--c-ink); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--c-accent);
  transition: right 0.28s ease;
}
.nav__links a:hover::after { right: 0; }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__cta { display: none; }
@media (min-width: 640px) {
  .nav__cta { display: inline-flex; }
}
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}
.nav__toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-hair);
  color: var(--c-ink);
  font-size: 18px;
}
/* mobile dropdown */
@media (max-width: 1023px) {
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    transform: none;
    background: #fff;
    border-bottom: 1px solid var(--c-hair);
    box-shadow: var(--elev);
    padding: 12px 24px 20px;
  }
  .nav__links.is-open a {
    padding: 10px 0;
    font-size: 15px;
    width: 100%;
  }
  .nav__links.is-open a::after { display: none; }
}

/* --------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  background: #fff;
  overflow: hidden;
  width: 100%;
}
.hero__wash {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 520px at 78% -8%, var(--c-bg-alt), transparent 70%);
}
.hero__rings {
  pointer-events: none;
  position: absolute;
  right: -96px;
  top: -96px;
  width: 620px;
  height: 620px;
  opacity: 0.55;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
  min-width: 0;
}

.hero__copy,
.hero__visual {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    padding-top: 80px;
    padding-bottom: 112px;
  }
}
.hero__title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-top: 24px;
  overflow-wrap: break-word;
}
@media (min-width: 768px) { .hero__title { font-size: 56px; } }
@media (min-width: 1280px) { .hero__title { font-size: 64px; } }
.hero__lede {
  font-family: var(--f-head);
  font-weight: 600;
  color: var(--c-ink);
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-top: 24px;
}
.hero__text {
  font-size: 16px;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 520px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}
.hero__note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--c-muted);
  margin-top: 28px;
  max-width: 470px;
}
.hero__visual {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;  
}
@media (min-width: 1024px) {
  .hero__visual { justify-content: flex-end;
                  overflow: visible; }
}

/* velocity skew wrapper */
.skew-wrap {
  position: relative;
  transform: perspective(1200px) rotateX(var(--skew));
  will-change: transform;
}

/* dashboard mockup */
.dash {
  position: relative;
  width: 100%;
  max-width: 500px;
  min-width: 0;
  border-radius: var(--r-xl);
  border: 1px solid var(--c-hair);
  background: #fff;
  padding: 20px;
  box-shadow: var(--elev);
  
}
.dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-hair);
}
.dash__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash__logo {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--c-accent);
  color: var(--c-accent);
  font-size: 13px;
}
.dash__name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.dash__tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--c-accent-deep);
  background: var(--c-accent-10);
  border: 1px solid var(--c-accent-border);
  border-radius: var(--r-pill);
  padding: 4px 10px;
}
.dash__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
}
.dash__kpi {
  border-radius: var(--r-lg);
  border: 1px solid var(--c-hair);
  background: #fff;
  padding: 14px 16px;
}
.dash__kpi--accent {
  background: var(--c-accent-deep);
  border-color: var(--c-accent-deep);
  color: #fff;
}
.dash__kpi-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--c-body);
}
.dash__kpi--accent .dash__kpi-label { color: #fff; }
.dash__kpi-value {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-top: 4px;
  color: var(--c-ink);
}
.dash__kpi--accent .dash__kpi-value { color: #fff; }
.dash__map {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 12px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  border-top: 3px solid rgba(255, 255, 255, 0.4);   /* Borde iluminado */
  border-left: 3px solid rgba(255, 255, 255, 0.4);  /* Borde iluminado */
  border-bottom: 3px solid rgba(0, 0, 0, 0.3);     /* Borde sombreado */
  border-right: 3px solid rgba(0, 0, 0, 0.3);      /* Borde sombreado */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);       /* Sombra base */
}

/* ------------------------------- Features ------------------------------- */
.features {
  background: var(--c-bg-alt);
  padding-block: 96px;
}
.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 56px;
}
@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}
.f-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--c-hair);
  background: #fff;
  padding: 28px;
  display: flex;
  gap: 16px;
}
.f-card:hover {
  border-color: #bfe6f3;
  background: #fcfeff;
}
.f-card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 20px;
}
.f-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.f-card__text {
  font-size: 15px;
  line-height: 1.6;
  margin-top: 6px;
}
.f-card--wide {
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  overflow: hidden;
}
.f-card--wide .f-card__content { max-width: 380px; }
.f-card__title--lg {
  font-size: 21px;
  margin-top: 20px;
}
.f-card--wide .f-card__text { margin-top: 8px; }
@media (min-width: 640px) {
  .f-card--wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .f-card--wide { grid-row: span 2; }
}




.f-card__visual {
  position: relative;
  display: inline-block;
  justify-items: center;
}
.f-card__visual img {
  display: block;
  width: 95%;
  height: auto;
  border-radius: 25px;
  border-top: 3px solid rgba(255, 255, 255, 0.4);   /* Borde iluminado */
  border-left: 3px solid rgba(255, 255, 255, 0.4);  /* Borde iluminado */
  border-bottom: 3px solid rgba(0, 0, 0, 0.3);     /* Borde sombreado */
  border-right: 3px solid rgba(0, 0, 0, 0.3);      /* Borde sombreado */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);       /* Sombra base */
}

/* ------------------------- Gestión técnica/comercial -------------------- */
.solution {
  background: #fff;
  padding-block: 112px;
}
.solution__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .solution__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.solution h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-top: 16px;
}
@media (min-width: 1280px) { .solution h2 { font-size: 40px; } }
.solution__text {
  font-size: 16px;
  line-height: 1.75;
  margin-top: 20px;
  max-width: 520px;
}
.checklist {
  margin-top: 36px;
  display: grid;
  gap: 16px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-ink);
}
.checklist__tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-accent-10);
  color: var(--c-accent);
  font-size: 13px;
  margin-top: 1px;
}

/* dark stats panel */
.stats-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--c-dark-1) 0%, var(--c-dark-2) 100%);
  padding: 32px;
}
@media (min-width: 1024px) { .stats-panel { padding: 40px; } }
.stats-panel__glow {
  pointer-events: none;
  position: absolute;
  bottom: -96px;
  right: -64px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 173, 219, 0.22), transparent 65%);
}
.stats-panel__content { position: relative; }
.stats-panel h3 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.stats-panel__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-panel-text);
  margin-top: 12px;
  max-width: 440px;
}
.stats-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}
.stat {
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 20px;
}
.stat__value {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
}
@media (min-width: 1280px) { .stat__value { font-size: 28px; } }
.stat__unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-panel-muted);
}
.stat__label {
  font-size: 12.5px;
  color: var(--c-panel-text);
  margin-top: 10px;
}
.stats-panel__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stats-panel__foot i.ti { font-size: 15px; }
.stats-panel__foot span {
  font-size: 12.5px;
  color: var(--c-panel-muted);
}

/* ------------------------------ Photo band ------------------------------ */
.photoband {
  border-top: 2px solid var(--c-accent);
}
.photoband__inner {
  position: relative;
  height: 340px;
  overflow: hidden;
}
.pb-img {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  height: 124%;
  width: 100%;
  object-fit: cover;
  will-change: transform;
}
.photoband__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 43, 51, 0.72), rgba(11, 43, 51, 0.34) 52%, rgba(11, 43, 51, 0.06));
}
.photoband__scrim-bottom {
  position: absolute;
  inset: auto 0 0 0;
  height: 96px;
  background: linear-gradient(0deg, rgba(11, 43, 51, 0.45), transparent);
}
.photoband__caption { position: absolute; inset: 0; }
.photoband__caption-inner {
  height: 100%;
  display: flex;
  align-items: center;
}
.photoband__line {
  width: 36px;
  height: 1px;
  background: var(--c-accent);
  flex: none;
  margin-right: 16px;
}
.photoband__caption-inner p {
  font-family: var(--f-head);
  font-weight: 600;
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.01em;
}
@media (min-width: 1280px) { .photoband__caption-inner p { font-size: 24px; } }

/* -------------------------------- Clientes ------------------------------ */
.clients {
  background: var(--c-bg-alt);
  padding-block: 96px;
  overflow: hidden;
}
.clients__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 40px;
  align-items: end;
}
@media (min-width: 1024px) {
  .clients__head { grid-template-columns: 7fr 5fr; }
}
.clients h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-top: 16px;
}
@media (min-width: 1280px) { .clients h2 { font-size: 40px; } }
.clients__rule {
  height: 1px;
  background: var(--c-hair-cool);
  margin-bottom: 20px;
}
.clients__desc-col p {
  font-size: 15px;
  line-height: 1.6;
}
.clients__marquees {
  margin-top: 64px;
  display: grid;
  gap: 32px;
}

/* marquee */
.mq-mask {
  overflow: hidden;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  touch-action: pan-y;
}
.mq-mask.is-dragging {
  cursor: grabbing;
}
.mq-track {
  display: flex;
  width: max-content;
  gap: 16px;
  will-change: transform;
  user-select: none;
}
.client-card {
  width: 380px;
  flex: none;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-hair);
  background: #fff;
  padding: 24px;
}
.client-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.client-card__loc {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--c-accent-deep);
  margin-top: 2px;
}
.client-card__text {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 12px;
}

.terr {
  width: 380px;
  flex: none;
  padding-top: 20px;
  border-top: 1px solid var(--c-hair-cool2);
}
.terr__loc {
  display: flex;
  align-items: center;
  gap: 8px;
}
.terr__loc i.ti { font-size: 14px; }
.terr__loc span {
  font-size: 12px;
  font-family: var(--f-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-accent-deep);
}
.terr__name {
  font-size: 19px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  margin-top: 10px;
}
.terr:hover .terr__name { color: var(--c-accent); }
.terr__text {
  font-size: 13.5px;
  line-height: 1.6;
  margin-top: 8px;
}
.terr__text strong {
  font-weight: 600;
  color: var(--c-ink);
}

/* -------------------------------- Contacto ------------------------------ */
.hp-field {
  position: absolute !important;

  left: -10000px !important;
  top: auto !important;

  width: 1px !important;
  height: 1px !important;

  overflow: hidden !important;
}
.contact {
  background: #fff;
  padding-block: 96px;
  position: relative; /* Para que el overlay se posicione correctamente sobre el contenedor */
}
.contact__card {
  border-radius: var(--r-3xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--c-hair);
  background: #fff;
  box-shadow: var(--elev);
}
@media (min-width: 1024px) {
  .contact__card { grid-template-columns: 7fr 5fr; }
}
.contact__info {
  position: relative;
  overflow: hidden;
  background: var(--c-accent-deep);
  padding: 40px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) { .contact__info { padding: 56px; } }
.contact__eyebrow {
  font-size: 12px;
  font-family: var(--f-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-accent-deep);
}
.contact__eyebrow.dark_bg{
  color: #fff;
}
.contact__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--c-accent-deep);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 16px;
}
@media (min-width: 1280px) { .contact__title { font-size: 40px; } }
.contact__sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-accent-deep);
  margin-top: 16px;
}
.contact__info-head { position: relative; }
.contact__rings {
  pointer-events: none;
  position: absolute;
  left: -56px;
  bottom: -96px;
  width: 340px;
  height: 340px;
  opacity: 0.6;
}
.contact__watermark {
  pointer-events: none;
  position: absolute;
  right: -16px;
  bottom: 24px;
  font-size: 150px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  font-style: normal;
}
.contact__links {
  position: relative;
  margin-top: 56px;
}
.contact__links-rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin-bottom: 12px;
}
.crow {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--r-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 6px;
  transition: background-color 0.22s ease;
}
.crow:hover { background: rgba(255, 255, 255, 0.14); }
.crow__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 15px;
  color: #fff;
  flex: none;
}
.crow__label {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.crow__arrow {
  margin-left: auto;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

/* form */
.contact__form-wrap {
  background: var(--c-bg-alt);
  padding: 40px;
}
@media (min-width: 1024px) { .contact__form-wrap { padding: 56px; } }
.contact__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .contact__form { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: span 2; }
}
.field label {
  display: block;
  font-size: 13px;
  font-family: var(--f-head);
  font-weight: 600;
  color: var(--c-ink);
}
.req { color: var(--c-accent); }
.fld {
  width: 100%;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--c-hair);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 14.5px;
  font-family: var(--f-body);
  color: var(--c-ink);
}
.fld::placeholder { color: var(--c-faint); }
.fld:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(0, 173, 219, 0.18);
}
textarea.fld { resize: none; }
.fld.is-invalid { border-color: var(--c-red); }

.btn--submit {
  width: 100%;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--c-hair);
  padding: 14px 24px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--f-head);
  color: var(--c-accent-deep);
  box-shadow: var(--elev);
}
.btn--submit:hover { border-color: var(--c-accent); }
.btn--submit i.ti { font-size: 16px; }
.form-status {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-green);
  min-height: 20px;
}
.form-status.is-error { color: var(--c-red); }

.overlay {
    position: absolute; /* Se superpone exactamente sobre el contenedor */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Fondo semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #333;
    border-radius: 8px;
    /* Oculto por defecto */
    display: none; 
}

/* Clase auxiliar para mostrar el overlay activamente */
.overlay.activo {
    display: flex;
    z-index: 1000;
}

/* El Spinner Animado */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1); /* Círculo de fondo gris claro */
    border-top: 4px solid #3498db;        /* Línea de color que va a girar (Azul) */
    border-radius: 50%;                   /* Lo transforma en un círculo perfectos */
    animation: girar 1s linear infinite;  /* Animación continua */
}

/* Definición de la animación de rotación */
@keyframes girar {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



/* -------------------------------- Catastro ------------------------------ */
.catastro {
  position: relative;
  width: 100%;
  background: #fff;
  padding-block: 96px;
  overflow: hidden;
  box-sizing: border-box;
}

.catastro__wash {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(
    760px 460px at 12% 55%,
    rgba(0, 173, 219, 0.07),
    transparent 70%
  );
}

.catastro__grid {
  position: relative;
  display: grid;

  /* Importante para evitar overflow de los hijos */
  grid-template-columns: minmax(0, 1fr);

  gap: 48px;
  align-items: center;
  min-width: 0;
}

@media (min-width: 1024px) {
  .catastro__grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 64px;
  }
}


/* --------------------------- Columna visual --------------------------- */

.catastro__visual-col {
  display: flex;
  justify-content: center;

  width: 100%;
  max-width: 100%;
  min-width: 0;
}


/* --------------------------- Browser mockup ---------------------------- */

.browser {
  box-sizing: border-box;

  width: 560px;
  max-width: 100%;
  min-width: 0;

  border-radius: var(--r-xl);
  border: 1px solid var(--c-hair);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--elev);
}


/* --------------------------- Browser bar ------------------------------- */

.browser__bar {
  display: flex;
  align-items: center;

  gap: 12px;

  padding: 0 20px;
  height: 48px;

  box-sizing: border-box;
  min-width: 0;

  border-bottom: 1px solid var(--c-hair);
  background: var(--c-bg-alt);
}

.browser__dots {
  display: flex;
  gap: 6px;

  flex: 0 0 auto;
}

.browser__dots span {
  width: 10px;
  height: 10px;

  flex: 0 0 10px;

  border-radius: 50%;
  background: var(--c-hair);
  border: 1px solid var(--c-hair-strong);
}


/* --------------------------- Marca ------------------------------------ */

.browser__bar .dash__brand {
  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 0;
  max-width: 100%;
}

.brand__mark_mini {
  display: grid;
  place-items: center;

  width: 28px;
  height: 28px;

  flex: 0 0 28px;
}

.brand__mark_mini .logo {
  display: block;

  width: auto;
  height: auto;

  max-width: 100%;
  max-height: 100%;
}

.browser__bar .brand__name {
  min-width: 0;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* --------------------------- Browser body ------------------------------ */

.browser__body {
  width: 100%;
  max-width: 100%;
  min-width: 0;

  display: flex;
  justify-content: center;

  box-sizing: border-box;
  overflow: hidden;
}

.browser__body img {
  display: block;

  width: 80%;
  max-width: 100%;
  height: auto;

  object-fit: contain;
}


/* --------------------------- Catastro copy ----------------------------- */

.catastro__copy {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.catastro__title {
  font-size: clamp(34px, 9vw, 48px);

  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;

  margin-top: 24px;

  overflow-wrap: break-word;
}

.catastro__title .ink,
.catastro__title .accent {
  display: block;
}

.catastro__lede {
  font-family: var(--f-head);
  font-weight: 600;
  color: var(--c-ink);

  font-size: 18px;
  letter-spacing: -0.01em;

  margin-top: 24px;
}

.catastro__text {
  font-size: 16px;
  line-height: 1.75;

  margin-top: 16px;

  max-width: 100%;
  overflow-wrap: break-word;
}

.catastro .btn {
  margin-top: 36px;
}

/* --------------------------------- Footer -------------------------------- */
.footer {
  background: var(--c-dark-1);
  padding-top: 64px;
  padding-bottom: 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 6fr 3fr 3fr; }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-accent);
  font-size: 20px;
}
.footer__name {
  font-family: var(--f-head);
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.footer__tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-panel-muted);
  margin-top: 20px;
  max-width: 380px;
}
.footer__col h3 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.footer__col ul {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}
.footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--c-panel-muted);
}
.footer__col a:hover { color: #fff; }
.footer__col a i.ti { font-size: 13px; }
.footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 56px;
}
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  text-align: center;
}
@media (min-width: 640px) {
  .footer__bottom { flex-direction: row; text-align: left; }
}
.footer__bottom p {
  font-size: 12.5px;
  color: #7ea8b2;
}

/* ------------------------------ Reduced motion --------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mq-track--l,
  .mq-track--r { animation: none; }
  .skew-wrap { transform: none; }
  .nav__links a::after { transition: none; }
  .crow { transition: none; }
}
