:root {
  --color-red: #be4036;
  --color-red-deep: #8d2f29;
  --color-green: #2d6d4a;
  --color-green-soft: #dcebdc;
  --color-blue-wood: #2d6b97;
  --color-blue-wood-deep: #174a71;
  --color-blue-wood-dark: #10334f;
  --color-ink: #24342c;
  --color-ink-soft: #5f6e66;
  --color-cream: #f8f2e9;
  --color-sand: #ead7bf;
  --color-white: #ffffff;
  --color-line: rgba(36, 52, 44, 0.12);
  --color-shadow: rgba(36, 52, 44, 0.14);
  --container: min(1120px, calc(100% - 2rem));
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 18px 48px rgba(36, 52, 44, 0.12);
  --shadow-card: 0 14px 34px rgba(36, 52, 44, 0.1);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --section-image: none;
  --floating-bottom: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  isolation: isolate;
  font-family: var(--font-body);
  color: var(--color-ink);
  background:
    radial-gradient(circle at top left, rgba(45, 109, 74, 0.08), transparent 32%),
    radial-gradient(circle at right 15%, rgba(190, 64, 54, 0.1), transparent 28%),
    linear-gradient(180deg, #fffaf3 0%, var(--color-cream) 38%, #f6efe5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 75%);
  opacity: 0.26;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(248, 242, 233, 0.92), transparent 18%),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.72), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(247, 240, 230, 0.16));
  opacity: 0.94;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: relative;
  z-index: 10;
  overflow: hidden;
  background-color: #174a71;
  background-image: url("../../imagenes/fondo-azul-footer-actualizado-v2.png");
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  color: var(--color-white);
  font-size: 0.94rem;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 16px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 242, 233, 0), rgba(248, 242, 233, 0.12));
}

.topbar__inner,
.site-header__inner,
.section,
.footer__inner {
  width: var(--container);
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.56rem 0;
  flex-wrap: wrap;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(248, 242, 233, 0.88);
  border-bottom: 1px solid rgba(36, 52, 44, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: 208px;
  max-width: 100%;
  height: auto;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand__eyebrow {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-red);
}

.brand__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-green);
  cursor: pointer;
}

.nav-toggle__icon {
  position: relative;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle__icon::before {
  top: -6px;
}

.nav-toggle__icon::after {
  top: 6px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  position: relative;
}

.nav__link,
.nav__submenu-link,
.nav__submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav__link:hover,
.nav__submenu-link:hover,
.nav__submenu-toggle:hover,
.nav__link.is-active,
.nav__submenu-toggle.is-active {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-deep) 100%);
}

.nav__item--has-submenu:hover .nav__submenu,
.nav__item--has-submenu:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__submenu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 220px;
  display: grid;
  gap: 0.3rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(36, 52, 44, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.page-notice {
  width: var(--container);
  margin: 0.9rem auto 0;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
  font-weight: 600;
}

.page-notice.is-success {
  color: var(--color-green);
  border-color: rgba(45, 109, 74, 0.22);
  background: rgba(220, 235, 220, 0.7);
}

.page-notice.is-error {
  color: var(--color-red-deep);
  border-color: rgba(190, 64, 54, 0.2);
  background: rgba(255, 239, 236, 0.85);
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 3rem 0 2rem;
}

.hero__shell {
  position: relative;
  isolation: isolate;
  width: var(--container);
  min-height: 560px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  align-items: end;
  border-radius: var(--radius-xl);
  background-color: #96a095;
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02) brightness(0.88);
}

.hero__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(18, 29, 23, 0.3) 0%, rgba(18, 29, 23, 0.18) 30%, rgba(18, 29, 23, 0.08) 58%, rgba(18, 29, 23, 0.03) 100%),
    linear-gradient(180deg, rgba(18, 29, 23, 0.06), rgba(18, 29, 23, 0.12));
}

.hero__shell::after {
  content: "";
  position: absolute;
  inset: auto auto -3rem -2rem;
  z-index: 0;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 215, 191, 0.26), transparent 68%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: min(600px, 55%);
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(19, 29, 23, 0.56), rgba(19, 29, 23, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(4px);
  box-shadow: 0 24px 54px rgba(17, 26, 21, 0.2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fbe0d7;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.section-title,
.card-title,
.footer-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  max-width: 14ch;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.26);
}

.lead {
  margin: 1.2rem 0 0;
  font-size: 1.08rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.97);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.button--primary {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-deep) 100%);
}

.button--secondary {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-green) 0%, #24593d 100%);
}

.button--ghost {
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.8);
}

.button--outline {
  color: var(--color-green);
  background: transparent;
  border-color: rgba(45, 109, 74, 0.25);
}

.section {
  position: relative;
  isolation: isolate;
  z-index: 0;
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.section__media {
  position: absolute;
  inset: 1rem clamp(0.75rem, 2vw, 1.45rem);
  z-index: -2;
  border-radius: 38px;
  overflow: hidden;
  pointer-events: none;
}

.section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.01) brightness(0.93);
}

.section__media--boards {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(245, 240, 233, 0.96));
  border: 1px solid rgba(36, 52, 44, 0.06);
  box-shadow: 0 26px 48px rgba(36, 52, 44, 0.08);
}

.section__media--boards img {
  display: none;
}

.section--compact {
  padding-top: 0;
}

.section--soft::before,
.section--warm::before {
  content: "";
  position: absolute;
  inset: 1rem clamp(0.75rem, 2vw, 1.45rem) auto;
  height: calc(100% - 2rem);
  width: auto;
  z-index: -1;
  border-radius: 38px;
}

.section--soft::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(220, 235, 220, 0.2));
}

.section--warm::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(234, 215, 191, 0.2));
}

.section-head {
  display: grid;
  gap: 0.9rem;
  max-width: 720px;
  margin-bottom: 2rem;
}

.section > .section-head.fade-up {
  padding: clamp(1.15rem, 3vw, 1.6rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 242, 233, 0.72));
  border: 1px solid rgba(36, 52, 44, 0.1);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  color: var(--color-blue-wood-dark);
}

.section-copy {
  margin: 0;
  color: rgba(16, 51, 79, 0.9);
  line-height: 1.78;
  font-size: 1.03rem;
}

.spotlight-grid,
.info-grid,
.experience-grid,
.space-grid,
.timeline {
  display: grid;
  gap: 1.2rem;
}

.spotlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spotlight-card {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: var(--color-white);
  background-color: #7b867d;
  box-shadow: var(--shadow-card);
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(19, 34, 27, 0.1), rgba(19, 34, 27, 0.68));
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  z-index: 1;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
}

.spotlight-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.spotlight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02) brightness(0.92);
}

.spotlight-card__content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100%;
  align-content: end;
  gap: 0.7rem;
  padding-top: 3.4rem;
}

.spotlight-card__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-title {
  font-size: 1.9rem;
}

.card-copy {
  margin: 0;
  line-height: 1.7;
  color: inherit;
}

.panel {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(36, 52, 44, 0.08);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(112, 181, 111, 0.24), rgba(171, 221, 150, 0.46));
  border: 1px solid rgba(82, 149, 84, 0.24);
  color: #1f5a34;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 18px rgba(47, 92, 45, 0.1);
}

.pill-list li:nth-child(even) {
  background: linear-gradient(135deg, rgba(138, 204, 126, 0.24), rgba(196, 236, 170, 0.5));
  border-color: rgba(103, 164, 96, 0.24);
  color: #245d37;
}

.quote-card {
  position: relative;
  padding: 1.8rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(255, 255, 255, 0.76));
  border: 1px solid rgba(36, 52, 44, 0.08);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.quote-card--redboards {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(245, 240, 233, 0.92));
  border-color: rgba(36, 52, 44, 0.08);
  color: var(--color-ink);
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: -1.2rem;
  left: 1.2rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(190, 64, 54, 0.18);
}

.quote-card--redboards::before {
  color: rgba(190, 64, 54, 0.18);
}

.quote-card--redboards .eyebrow,
.quote-card--redboards .section-title,
.quote-card--redboards p {
  color: inherit;
}

.quote-card p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

.quote-card .eyebrow {
  color: var(--color-red-deep);
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.experience-card,
.space-card,
.timeline__step {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(36, 52, 44, 0.08);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.info-card__label,
.timeline__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 40px;
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(190, 64, 54, 0.12);
  color: var(--color-red-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-card h3,
.experience-card h3,
.space-card h3,
.timeline__step h3 {
  margin: 1rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-blue-wood-dark);
}

.experience-card h3 {
  font-size: 1.34rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.experience-card--experimentacion h3 {
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.info-card p,
.experience-card p,
.space-card p,
.timeline__step p {
  margin: 0;
  color: var(--color-ink-soft);
  line-height: 1.72;
}

.experience-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.experience-card {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 242, 233, 0.94));
}

.space-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.space-card__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
}

.space-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline__number {
  background: rgba(45, 109, 74, 0.12);
  color: var(--color-green);
}

.cta-band {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(244, 239, 232, 0.96));
  color: var(--color-blue-wood-dark);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(36, 52, 44, 0.08);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.cta-band p {
  display: inline-block;
  margin: 0.75rem 0 0;
  max-width: 55ch;
  line-height: 1.72;
  color: rgba(69, 83, 75, 0.92);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.cta-band__actions .button {
  min-width: 170px;
}

.cta-band__actions .button--ghost {
  border-color: transparent;
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-deep) 100%);
  color: var(--color-white);
  box-shadow: 0 18px 34px rgba(157, 49, 38, 0.24);
}

.cta-band__actions .button--ghost:hover,
.cta-band__actions .button--ghost:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #d5624e 0%, var(--color-red) 100%);
  box-shadow: 0 22px 40px rgba(157, 49, 38, 0.28);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.2rem;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(36, 52, 44, 0.08);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.contact-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--color-blue-wood-dark);
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0 0;
}

.contact-list a,
.contact-list span {
  display: block;
  color: var(--color-ink-soft);
  line-height: 1.7;
}

.contact-card__logo {
  display: block;
  width: min(100%, 430px);
  margin: 1.5rem auto 0;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.contact-social-links {
  margin-top: 0.45rem;
}

.contact-card--compact .contact-list {
  margin-top: 0;
}

.map-embed {
  margin-top: 1rem;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(36, 52, 44, 0.08);
  box-shadow: var(--shadow-card);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(36, 52, 44, 0.12);
  border-radius: var(--radius-sm);
  background: #fffdfa;
  color: var(--color-ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(45, 109, 74, 0.48);
  box-shadow: 0 0 0 4px rgba(45, 109, 74, 0.12);
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.footer {
  position: relative;
  isolation: isolate;
  margin-top: 2rem;
  padding: 2.4rem 0 1.6rem;
  background: #174a71;
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #174a71;
  background-image: url("../../imagenes/fondo-azul-footer-actualizado-v2.png");
  background-position: center top;
  background-size: auto 100%;
  background-repeat: repeat-x;
}

.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(248, 242, 233, 0.08) 0%, rgba(11, 38, 59, 0.16) 10%, rgba(11, 38, 59, 0.36) 42%, rgba(11, 38, 59, 0.38) 88%, rgba(248, 242, 233, 0.06) 100%);
  opacity: 1;
}

.footer__inner {
  display: grid;
  gap: 1.6rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(190px, 0.82fr) minmax(280px, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.8rem);
  align-items: start;
}

.footer__column--contact {
  display: grid;
  align-content: start;
  gap: 1.1rem;
}

.footer-title {
  font-size: 1.45rem;
  color: var(--color-white);
}

.footer-copy {
  margin: 0.8rem 0 0;
  line-height: 1.72;
}

.footer-menu,
.footer-social,
.footer-contact {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
}

.footer-menu a,
.footer-social a,
.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.86);
}

.footer__bottom {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.footer-social {
  display: none;
}

.footer__legal {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  text-align: center;
}

.footer__follow {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.footer__follow-label {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.footer__follow-links,
.social-stack {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  padding: 0.5rem 0.85rem 0.5rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(36, 52, 44, 0.12);
  background: rgba(248, 242, 233, 0.92);
  color: var(--color-ink);
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.social-link--icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: var(--shadow-card);
  border-radius: 16px;
}

.social-link--plain {
  padding: 0.2rem 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--color-ink);
  font-weight: 700;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.social-link--plain:hover {
  transform: none;
  box-shadow: none;
}

.social-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--color-white);
}

.social-link--icon-only .social-link__icon {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  color: var(--color-white);
}

.social-link--plain .social-link__icon {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0;
  background: transparent;
}

.social-link__icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.social-link--plain .social-link__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.social-link--icon-only .social-link__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.space-card--text {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.space-card--text h3 {
  margin: 0;
}

.space-card--text p {
  margin: 0;
}

.social-link--icon-only .social-link__label:not(.sr-only) {
  display: none;
}

.social-link--instagram .social-link__icon {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
}

.social-link--facebook .social-link__icon {
  background: linear-gradient(135deg, #1877f2 0%, #0f5dc5 100%);
}

.social-link--whatsapp .social-link__icon {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.social-link--plain.social-link--instagram {
  color: #e4405f;
}

.social-link--plain.social-link--facebook {
  color: #1877f2;
}

.social-link--plain.social-link--whatsapp {
  color: #25d366;
}

.footer__follow .social-link--icon-only:hover,
.social-stack .social-link--icon-only:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(36, 52, 44, 0.18);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.social-float {
  position: fixed;
  right: 1.35rem;
  bottom: var(--floating-bottom);
  z-index: 120;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.8rem;
}

.social-float summary {
  list-style: none;
}

.social-float summary::-webkit-details-marker {
  display: none;
}

.social-float__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 242, 233, 0.94));
  box-shadow: 0 22px 42px rgba(36, 52, 44, 0.22);
  cursor: pointer;
  overflow: hidden;
  animation: float-bob 3.6s ease-in-out infinite;
}

.social-float__trigger img {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 18px;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(circle, #000 66%, rgba(0, 0, 0, 0.88) 78%, transparent 100%);
  mask-image: radial-gradient(circle, #000 66%, rgba(0, 0, 0, 0.88) 78%, transparent 100%);
}

.social-float__trigger::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(45, 109, 74, 0.16);
}

@media (min-width: 921px) {
  .footer__grid > :nth-child(2) {
    justify-self: center;
  }

  .footer__column--contact {
    justify-self: end;
    width: min(100%, 320px);
  }
}

.social-float__panel {
  display: grid;
  gap: 0.7rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  justify-items: end;
}

.social-float.is-open .social-float__panel,
.social-float[open] .social-float__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.social-float__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border-radius: 50%;
  color: var(--color-white);
  box-shadow: 0 16px 32px rgba(36, 52, 44, 0.18);
  font-weight: 800;
}

.social-float__link svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: currentColor;
}

.social-float__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
}

.social-float__link--instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
  color: var(--color-white);
}

.social-float__link--facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0f5dc5 100%);
  color: var(--color-white);
}

.social-float__link--whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: var(--color-white);
}

@keyframes float-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.is-ready .fade-up {
  opacity: 1;
  transform: translateY(0);
}

.is-ready .fade-up:nth-child(2) {
  transition-delay: 0.08s;
}

.is-ready .fade-up:nth-child(3) {
  transition-delay: 0.16s;
}

.is-ready .fade-up:nth-child(4) {
  transition-delay: 0.24s;
}

@media (max-width: 1080px) {
  .spotlight-grid,
  .experience-grid,
  .info-grid,
  .timeline,
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 920px) {
  .site-header__inner {
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-inline: 4.25rem;
  }

  .brand__copy {
    display: none;
  }

  .brand {
    width: 100%;
    justify-content: center;
    margin-inline: auto;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 0.85rem;
    transform: none;
    z-index: 6;
  }

  .nav {
    order: 10;
    width: min(620px, calc(100vw - 2rem));
    display: none;
    margin-top: 0.65rem;
    margin-inline: auto;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(36, 52, 44, 0.08);
    box-shadow: var(--shadow-card);
  }

  .nav__link,
  .nav__submenu-link,
  .nav__submenu-toggle {
    justify-content: flex-start;
    width: 100%;
    border-radius: 14px;
  }

  .nav__submenu {
    position: static;
    min-width: 100%;
    margin-top: 0.45rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
  }

  .nav__item--has-submenu.is-open .nav__submenu {
    display: grid;
  }

  .hero__shell {
    min-height: 520px;
  }

  .hero__content {
    max-width: min(600px, 62%);
  }

  .spotlight-grid,
  .space-grid {
    grid-template-columns: 1fr;
  }

  .footer__follow {
    justify-items: start;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 0;
  }

  body::after {
    opacity: 0.9;
    background:
      radial-gradient(circle at 14% 18%, rgba(248, 242, 233, 0.92), transparent 20%),
      radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.72), transparent 22%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(247, 240, 230, 0.18));
  }

  .topbar__inner {
    justify-content: center;
    gap: 0;
    min-height: 1rem;
    padding: 0.34rem 0;
  }

  .topbar__link {
    display: none;
  }

  .site-header__inner {
    padding: 0.7rem 4rem 0.7rem 1.3rem;
  }

  .nav {
    position: relative;
    left: 50%;
    width: calc(100vw - 1.6rem);
    max-width: 420px;
    transform: translateX(-50%);
  }

  .brand {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero__shell {
    min-height: 480px;
    padding: 1.3rem;
  }

  .brand__logo {
    width: 226px;
  }

  .hero__content {
    padding: 1rem;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .form-grid,
  .info-grid,
  .experience-grid,
  .timeline,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero__actions {
    display: grid;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
  }

  .footer__follow {
    width: 100%;
    justify-items: start;
  }

  .footer__follow-links {
    width: auto;
  }

  .footer__follow .social-link {
    width: auto;
  }

  .footer::before {
    background-image: url("../../imagenes/franja-azul-footer-celular.png");
    background-position: center top;
    background-size: 100% auto;
    background-repeat: repeat-y;
  }

  .social-float {
    right: 1rem;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 0.85rem);
    left: auto;
    align-items: flex-end;
  }

  .social-float__trigger {
    margin-left: auto;
    width: 64px;
    height: 64px;
  }

  .social-float__trigger img {
    width: 36px;
    height: 36px;
  }

  .social-float__panel {
    justify-items: end;
  }

  .social-float__link {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 560px) {
  .topbar__inner,
  .site-header__inner,
  .section,
  .footer__inner {
    width: min(100% - 1rem, var(--container));
  }

  .nav__list {
    padding: 0.9rem;
  }

  .hero__shell {
    min-height: 430px;
  }

  .social-link {
    width: 100%;
    justify-content: flex-start;
  }

  .social-link--icon-only {
    width: 3.1rem;
    height: 3.1rem;
    justify-content: center;
  }

  .footer__follow .social-link {
    flex-basis: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up,
  .social-float__trigger,
  .social-float__panel,
  .button,
  .social-link {
    transition: none;
    animation: none;
  }
}
