:root {
  --brand-blue: #1070a0;
  --brand-aqua: #00b0a0;
  --brand-blue-dark: #0a4f73;
  --brand-blue-soft: #e7f4f8;
  --brand-aqua-soft: #e4f8f6;
  --ink: #0b2f45;
  --muted: #4b6a78;
  --line: #d4e7ee;
  --paper: #ffffff;
  --wash: #f5fbfc;
  --wash-2: var(--brand-blue-soft);
  --teal: var(--brand-blue);
  --teal-2: var(--brand-blue-dark);
  --coral: var(--brand-aqua);
  --gold: var(--brand-blue);
  --shadow: 0 18px 50px rgba(16, 112, 160, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
body.nav-open { overflow: hidden; }
a { color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
#chat-widget-container,
#chat-widget-container *,
#chat-widget,
#chat-widget-minimized,
#chat-widget-lightbox,
#livechat-eye-catcher,
#livechat-eye-catcher * {
  box-sizing: content-box;
}
#livechat-eye-catcher img {
  max-width: none;
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 16px; letter-spacing: 0; }
h1 { font-size: 2.35rem; max-width: 900px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 18px; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 1000;
  background: var(--paper);
  padding: 10px 14px;
}
.skip-link:focus { top: 12px; }
.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;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 5vw;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  flex: 0 0 clamp(250px, 18vw, 310px);
  line-height: 0;
  min-width: 250px;
}
.brand img {
  aspect-ratio: 640 / 194;
  object-fit: contain;
  width: 100%;
  height: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .95rem;
}
.site-nav a:hover,
.site-nav a:focus { background: var(--brand-aqua-soft); }
.header-actions,
.cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.header-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}
.header-actions .btn {
  white-space: nowrap;
}
.nav-toggle { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}
.btn--primary { background: var(--brand-aqua); color: #ffffff; }
.btn--secondary { background: var(--paper); color: var(--teal); border-color: var(--teal); }
.btn--ghost { background: var(--wash); color: var(--teal); border-color: var(--teal); }
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  background-image: url("../images/hero-apoyo-emocional.webp");
  background-image: image-set(
    url("../images/hero-apoyo-emocional.avif") type("image/avif"),
    url("../images/hero-apoyo-emocional.webp") type("image/webp")
  );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 90px 5vw;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 79, 115, .82) 0%, rgba(10, 79, 115, .58) 48%, rgba(10, 79, 115, .28) 100%);
}
.hero__inner,
.page-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}
.hero p,
.hero li { color: #ffffff; }
.hero .lead { max-width: 760px; font-size: 1.25rem; }
.eyebrow {
  color: var(--teal);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.hero .eyebrow { color: var(--brand-aqua); }
.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.12rem;
}
.trust-list,
.check-list {
  padding-left: 0;
  list-style: none;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}
.trust-list li,
.check-list li {
  position: relative;
  padding-left: 28px;
}
.trust-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.proof-strip div {
  background: var(--paper);
  padding: 28px 5vw;
}
.proof-strip strong {
  display: block;
  color: var(--teal);
  font-size: 1.8rem;
  line-height: 1;
}
.proof-strip span { color: var(--muted); }
.section,
.page-hero > div,
.split,
.contact-layout,
.team-grid,
.faq-list,
.legal,
.final-cta > div,
.grid {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.section,
.split,
.contact-layout,
.team-grid,
.faq-list,
.legal,
.grid { padding: 76px 0; }
.section--tint {
  width: 100%;
  max-width: none;
  background: var(--wash);
  padding-left: max(20px, calc((100% - 1120px) / 2));
  padding-right: max(20px, calc((100% - 1120px) / 2));
}
.section__head {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}
.grid {
  display: grid;
  gap: 20px;
  padding-top: 0;
}
.grid--two { grid-template-columns: repeat(2, 1fr); }
.grid--three { grid-template-columns: repeat(3, 1fr); }
.grid--four { grid-template-columns: repeat(4, 1fr); }
.service-card,
.price-card,
.feature-card,
.specialty-card,
.member-card,
.testimonial-card,
.contact-panel,
.contact-form,
details,
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.service-card a,
.price-card a,
.specialty-card a { font-weight: 800; }
.specialty-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.specialty-card h3 a:hover,
.specialty-card h3 a:focus {
  color: var(--teal);
  text-decoration: underline;
}
.specialty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 900;
}
.price {
  color: var(--coral);
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.team-preview,
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.member-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  scroll-margin-top: 110px;
}
.member-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.member-details-btn {
  align-self: flex-start;
  margin-top: auto;
}
.member-card img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--wash);
}
.member-photo-link {
  display: block;
  line-height: 0;
  border-radius: 8px;
}
.member-photo-link:focus-visible,
.member-name-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.member-name-link {
  color: var(--ink);
  text-decoration: none;
}
.member-name-link:hover,
.member-name-link:focus { color: var(--teal); text-decoration: underline; }
.role { color: var(--teal); font-weight: 800; margin-bottom: 6px; }
.license,
.microcopy,
.initials {
  color: var(--muted);
  font-size: .92rem;
}
.testimonial-card img {
  width: 112px;
  height: 112px;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}
blockquote {
  margin: 0 0 16px;
  color: var(--ink);
}
.page-hero {
  padding: 92px 5vw;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}
.profile-hero {
  width: min(1120px, calc(100% - clamp(56px, 8vw, 96px)));
  margin: 0 auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 48px;
  align-items: center;
}
.profile-hero img {
  width: min(100%, 420px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  justify-self: end;
  background: var(--wash);
}
.profile-layout {
  width: min(1120px, calc(100% - clamp(56px, 8vw, 96px)));
  margin: 0 auto;
  padding: 0 0 76px;
  display: grid;
  grid-template-columns: minmax(260px, .34fr) minmax(0, .66fr);
  gap: 28px;
  align-items: start;
}
.profile-panel,
.profile-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.profile-panel {
  position: sticky;
  top: 110px;
}
.profile-content {
  display: grid;
  gap: 18px;
}
.profile-section .check-list {
  margin: 0;
}
.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--teal);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 900;
  margin-bottom: 14px;
}
details { margin-bottom: 14px; }
summary {
  cursor: pointer;
  font-weight: 900;
}
details p { margin-top: 14px; }
.contact-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: start;
}
.cta-row--stack { align-items: stretch; flex-direction: column; }
.cta-row--stack .btn { width: 100%; }
label {
  display: block;
  font-weight: 800;
  margin: 14px 0 6px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
textarea { resize: vertical; }
.legal { max-width: 850px; }
.final-cta {
  text-align: center;
  background: var(--teal-2);
  color: #ffffff;
  padding: 76px 20px;
}
.final-cta p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}
.final-cta .cta-row { justify-content: center; }
.center {
  text-align: center;
  margin-top: 24px;
}
.site-footer {
  background: var(--ink);
  color: #ffffff;
  padding: 46px 5vw 64px;
}
.site-footer a { color: #ffffff; }
.site-footer p { color: #ffffff; }
.site-footer h2 {
  font-size: 1.05rem;
  color: #ffffff;
}
.footer-logo {
  aspect-ratio: 640 / 194;
  object-fit: contain;
  width: min(220px, 100%);
  height: auto;
  margin-bottom: 14px;
}
.footer-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, .10);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.social-link:hover,
.social-link:focus {
  background: var(--coral);
  border-color: #ffffff;
  transform: translateY(-1px);
}
.social-links--header {
  flex-wrap: nowrap;
}
.social-links--header .social-link {
  color: var(--teal);
  background: var(--paper);
  border-color: var(--line);
}
.social-links--header .social-link:hover,
.social-links--header .social-link:focus {
  color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
}
.social-icon,
.social-link svg {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.social-icon rect,
.social-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.social-icon circle:last-child { fill: currentColor; stroke: none; }
@media (min-width: 980px) {
  h1 { font-size: 3.45rem; }
  h2 { font-size: 2.45rem; }
}
@media (max-width: 1100px) {
  .header-actions { display: none; }
  .site-header { padding: 8px 20px; }
  .brand {
    flex-basis: clamp(190px, 30vw, 230px);
    min-width: 0;
  }
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 800;
  }
  .site-nav {
    position: fixed;
    inset: 84px 0 auto 0;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 14px; }
  .grid--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .brand {
    flex-basis: clamp(190px, 52vw, 240px);
  }
  .hero { min-height: 680px; padding: 76px 20px; }
  .proof-strip,
  .grid--two,
  .grid--three,
  .grid--four,
  .split,
  .contact-layout,
  .profile-hero,
  .profile-layout,
  .team-preview,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .proof-strip div { padding: 22px 20px; }
  .section,
  .split,
  .contact-layout,
  .profile-hero,
  .profile-layout,
  .team-grid,
  .faq-list,
  .legal,
  .grid {
    width: calc(100% - 40px);
    padding: 54px 0;
  }
  .section--tint {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .profile-hero img {
    justify-self: start;
    width: min(260px, 100%);
  }
  .profile-panel {
    position: static;
  }
  .profile-panel,
  .profile-section {
    padding: 22px;
  }
  .member-card { grid-template-columns: 92px 1fr; padding: 18px; }
  .member-card img { width: 92px; height: 92px; }
}
@media (max-width: 520px) {
  .member-card { grid-template-columns: 1fr; }
  .member-card img { width: 120px; height: 120px; }
  .member-details-btn { align-self: stretch; }
  .cta-row .btn { width: 100%; }
}
