:root {
  color-scheme: light;
  --azul: #70b5d8;
  --azul-profundo: #176ca8;
  --rosa: #e6a0c5;
  --menta: #8cd3c7;
  --lila: #b9a5d0;
  --durazno: #f6b183;
  --amarillo: #f6d58b;
  --texto: #32516b;
  --texto-suave: #5f7487;
  --fondo: #ffffff;
  --fondo-frio: #f8fcfe;
  --fondo-rosa: #fff8fb;
  --linea: #d9ebf3;
  --sombra: 0 20px 55px rgba(23, 108, 168, 0.14);
  --radio: 26px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--texto);
  background: var(--fondo);
}

body.menu-open {
  overflow: hidden;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(23, 108, 168, 0.35);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 235, 243, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 800;
  color: var(--azul-profundo);
}

.brand img {
  width: 50px;
  height: 50px;
}

.brand span {
  display: block;
  line-height: 1.05;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  color: var(--texto-suave);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a[aria-current="page"] {
  color: var(--azul-profundo);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--linea);
  border-radius: 14px;
  background: var(--fondo-frio);
  color: var(--azul-profundo);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
}

.button,
.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font: 800 0.96rem/1 "Inter", Arial, sans-serif;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.form-button:hover {
  transform: translateY(-2px);
}

.button-primary,
.form-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--azul-profundo), #4aa2cc);
  box-shadow: 0 16px 30px rgba(23, 108, 168, 0.22);
}

.button-soft {
  color: var(--azul-profundo);
  background: #eaf7fb;
}

.button-line {
  border: 1px solid var(--linea);
  color: var(--azul-profundo);
  background: #ffffff;
}

.section,
.hero,
.page-hero,
.split-section,
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 104px) 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: min(760px, calc(100vh - 79px));
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(246, 213, 139, 0.38), transparent 26%),
    radial-gradient(circle at 86% 24%, rgba(230, 160, 197, 0.24), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #f8fcfe 52%, #fff8fb 100%);
}

.hero-grid,
.split-grid,
.profile-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--azul-profundo);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Poppins", Arial, sans-serif;
  color: var(--azul-profundo);
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
  line-height: 1.2;
}

.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--texto);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions,
.cta-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.soft-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--texto-suave);
  font-weight: 700;
}

.soft-note::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--rosa);
}

.visual-card,
.photo-card,
.map-card {
  border: 1px solid rgba(112, 181, 216, 0.22);
  border-radius: var(--radio);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--sombra);
}

.visual-card {
  padding: clamp(16px, 3vw, 28px);
}

.visual-card img {
  width: 100%;
  border-radius: calc(var(--radio) - 8px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading p,
.split-grid p,
.page-hero p {
  color: var(--texto-suave);
  line-height: 1.68;
}

.cards-grid,
.services-grid,
.sense-grid,
.team-grid,
.faq-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

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

.sense-grid {
  grid-template-columns: repeat(7, 1fr);
}

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

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

.card,
.service-card,
.sense-card,
.team-card,
.step-card,
.contact-card,
.faq-item {
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(23, 108, 168, 0.08);
}

.card,
.service-card,
.step-card,
.contact-card {
  padding: 24px;
}

.card p,
.service-card p,
.step-card p,
.team-card p,
.contact-card p,
.faq-item p,
.profile-list li,
.clean-list li {
  color: var(--texto-suave);
  line-height: 1.62;
}

.service-card ul,
.clean-list,
.profile-list {
  margin: 16px 0 0;
  padding-left: 18px;
}

.service-card li,
.clean-list li,
.profile-list li {
  margin-bottom: 8px;
}

.sense-card {
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px 12px;
  text-align: center;
  font-weight: 800;
}

.sense-dot,
.icon-dot {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  color: var(--azul-profundo);
  background: var(--fondo-frio);
  font-weight: 900;
}

.tone-rosa {
  background: #fff0f7;
}
.tone-menta {
  background: #edfbf8;
}
.tone-lila {
  background: #f5f0fb;
}
.tone-durazno {
  background: #fff3e9;
}
.tone-amarillo {
  background: #fff9e7;
}
.tone-azul {
  background: #edf8fd;
}

.pastel-band {
  background:
    radial-gradient(circle at 4% 20%, rgba(140, 211, 199, 0.24), transparent 24%),
    linear-gradient(180deg, var(--fondo-frio), #ffffff);
}

.rose-band {
  background: var(--fondo-rosa);
}

.split-section {
  background: #ffffff;
}

.team-card {
  overflow: hidden;
}

.team-card .photo-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #f8fcfe;
}

.team-content {
  padding: 24px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--azul-profundo);
  background: #eaf7fb;
  font-size: 0.82rem;
  font-weight: 800;
}

.page-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(185, 165, 208, 0.24), transparent 30%),
    linear-gradient(145deg, #ffffff, #f8fcfe);
}

.page-hero .container {
  max-width: 930px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  min-height: 210px;
}

.step-card::before {
  counter-increment: steps;
  content: "0" counter(steps);
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #ffffff;
  background: var(--azul-profundo);
  font-weight: 900;
}

.profile-summary {
  display: grid;
  gap: 18px;
}

.profile-strip {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  background: #ffffff;
}

.profile-strip img {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  object-fit: cover;
}

.profile-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.profile-meta div {
  border: 1px solid var(--linea);
  border-radius: 22px;
  padding: 18px;
  background: #ffffff;
}

.profile-meta span {
  display: block;
  margin-bottom: 6px;
  color: var(--texto-suave);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--azul-profundo);
  font-weight: 900;
}

.form-card {
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: clamp(22px, 4vw, 34px);
  background: #ffffff;
  box-shadow: var(--sombra);
}

.form-status {
  margin: 16px 0 0;
  color: var(--azul-profundo);
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

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

label {
  color: var(--azul-profundo);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--linea);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--texto);
  background: #fbfdff;
  font: inherit;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.map-card {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(112, 181, 216, 0.18), rgba(246, 177, 131, 0.22)),
    #ffffff;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  padding: 22px 24px;
  color: var(--azul-profundo);
  background: #ffffff;
  font: 800 1rem/1.35 "Inter", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.faq-trigger::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--azul);
}

.faq-item.is-open .faq-trigger::after {
  content: "-";
}

.faq-panel {
  display: none;
  padding: 0 24px 22px;
}

.faq-item.is-open .faq-panel {
  display: block;
}

.cta-band {
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 20%, rgba(246, 213, 139, 0.28), transparent 26%),
    linear-gradient(135deg, #176ca8, #4aa2cc);
}

.cta-band h2,
.cta-band p {
  color: #ffffff;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-footer {
  padding: 54px 0 28px;
  color: #dcecf5;
  background: #183e5a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 26px;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
  color: #ecf8fd;
}

.footer-brand {
  color: #ffffff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #bdd7e8;
}

.decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
}

.decor.one {
  top: 16%;
  right: 7%;
}

.decor.two {
  bottom: 12%;
  left: 5%;
}

.mini-shape {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: var(--azul-profundo);
  background: #fff1d0;
  font-size: 0.82rem;
  font-weight: 900;
}

.placeholder-note {
  margin-top: 10px;
  color: var(--texto-suave);
  font-size: 0.9rem;
}

.privacy-box {
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: clamp(22px, 4vw, 34px);
  background: #ffffff;
}

.privacy-box + .privacy-box {
  margin-top: 18px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
