/* ==============================
   Romina Ávila · Sitio institucional
   ============================== */

:root {
  --blue-950: #183143;
  --blue-900: #203a4c;
  --blue-800: #294c65;
  --blue-700: #0b68b2;
  --blue-600: #0b68b2;
  --blue-200: #cfe1eb;
  --blue-100: #dceaf2;
  --blue-50: #f2f8fb;
  --white: #ffffff;
  --ink: #65b7ee;
  --muted: #60717d;
  --line: #dbe6ec;
  --shadow: 0 24px 70px rgba(32, 58, 76, 0.13);
  --shadow-soft: 0 15px 42px rgba(32, 58, 76, 0.08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3 {
  color: var(--blue-950);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  font-weight: 720;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  font-weight: 700;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.28rem;
}

p {
  color: var(--muted);
}

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

.section {
  padding: 110px 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--blue-100);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue-950);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(219, 230, 236, 0.78);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-950);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: var(--blue-900);
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--blue-600);
}

.main-nav .nav-cta {
  padding: 11px 18px;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 999px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  width: 24px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--blue-950);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 118px;
  background:
    linear-gradient(135deg, rgba(242, 248, 251, 0.95), rgba(255, 255, 255, 0.96));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.82fr;
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 14px 28px rgba(49, 91, 120, 0.22);
}

.button-primary:hover {
  background: var(--blue-800);
  box-shadow: 0 18px 34px rgba(49, 91, 120, 0.3);
}

.button-secondary {
  color: var(--blue-900);
  background: var(--white);
  border-color: var(--line);
}

.hero-facts {
  display: flex;
  gap: 34px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: grid;
}

.hero-facts strong {
  color: var(--blue-950);
  font-size: 0.95rem;
}

.hero-facts span {
  color: var(--muted);
  font-size: 0.79rem;
}

.hero-photo-wrap {
  position: relative;
}

.photo-frame {
  position: relative;
  aspect-ratio: 0.82;
  overflow: hidden;
  background: var(--blue-100);
  border: 12px solid rgba(255, 255, 255, 0.82);
  border-radius: 48% 48% 28px 28px;
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.credential-card {
  position: absolute;
  right: -34px;
  bottom: 40px;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(219, 230, 236, 0.84);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.credential-icon {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 50%;
  font-weight: 900;
}

.credential-card strong,
.credential-card span {
  display: block;
}

.credential-card strong {
  color: var(--blue-950);
  line-height: 1.2;
}

.credential-card div > span {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  width: 420px;
  height: 420px;
  top: -170px;
  right: -120px;
  background: rgba(207, 225, 235, 0.54);
}

.hero-glow-two {
  width: 220px;
  height: 220px;
  bottom: -100px;
  left: 42%;
  background: rgba(220, 234, 242, 0.78);
}

/* Generic sections */

.section-heading {
  max-width: 700px;
  margin-bottom: 54px;
}

.section-heading > p:last-child {
  max-width: 620px;
  font-size: 1.08rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.support-card {
  min-height: 290px;
  padding: 30px;
  background: var(--blue-50);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.support-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-soft);
}

.card-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  color: var(--blue-700);
  background: var(--white);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 850;
}

.support-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

/* Counseling */

.counseling-section {
  color: var(--white);
  background: var(--blue-600);
}

.counseling-section h2 {
  color: var(--white);
}

.counseling-section .eyebrow {
  color: var(--blue-200);
}

.counseling-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
}

.counseling-copy > p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.09rem;
}

.scope-note {
  margin-top: 34px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
}

.scope-note strong {
  color: var(--white);
}

.scope-note p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.88rem;
}

/* About */

.about-section {
  background: var(--blue-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(55px, 8vw, 110px);
}

.about-photo {
  aspect-ratio: 0.84;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 27%;
}

.about-intro {
  color: var(--blue-800);
  font-size: 1.25rem;
  font-weight: 560;
}

.professional-data {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.professional-data div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
}

.professional-data span {
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.professional-data strong {
  color: var(--blue-950);
  font-size: 0.94rem;
}

/* Process */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  position: relative;
  padding: 32px 30px;
  border-left: 1px solid var(--blue-200);
}

.step > span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--blue-600);
  font-size: 2rem;
  font-weight: 300;
}

.step p {
  margin-bottom: 0;
}

.availability {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 64px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.availability > div {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background: var(--blue-50);
}

.availability-label {
  margin-bottom: 8px;
  color: var(--blue-600);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.availability strong {
  color: var(--blue-950);
}

.availability small {
  margin-top: 5px;
  color: var(--muted);
}

/* FAQ */

.faq-section {
  background: #fbfdfe;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 90px;
}

.faq-intro {
  position: sticky;
  top: 125px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 25px 48px 25px 0;
  color: var(--blue-950);
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 4px;
  color: var(--blue-600);
  font-size: 1.7rem;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 680px;
  margin: -4px 0 24px;
  padding-right: 38px;
}

/* Contact */

.contact-section {
  padding: 95px 0;
  background: var(--blue-50);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  padding: 56px 62px;
  color: var(--white);
  background: var(--blue-700);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin-bottom: 14px;
  color: var(--white);
}

.contact-card p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
  display: grid;
  justify-items: stretch;
  gap: 16px;
}

.button-light {
  color: var(--blue-950);
  background: var(--white);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.instagram-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Footer */

.site-footer {
  padding: 35px 0;
  background: var(--white);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-grid > div {
  display: grid;
}

.footer-grid strong {
  color: var(--blue-950);
}

.footer-grid span {
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-grid > div:last-child {
  text-align: right;
}

/* Floating WhatsApp */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #247c57;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(22, 85, 57, 0.26);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

/* Responsive */

@media (max-width: 980px) {
  .section {
    padding: 88px 0;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 10px 12px;
  }

  .main-nav .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-grid,
  .about-grid,
  .counseling-grid,
  .faq-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-photo-wrap {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .credential-card {
    right: 18px;
  }

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

  .counseling-grid,
  .faq-grid {
    gap: 38px;
  }

  .faq-intro {
    position: static;
  }

  .about-photo {
    width: min(100%, 590px);
  }

  .contact-card {
    padding: 48px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .main-nav {
    top: 74px;
    right: 14px;
    left: 14px;
  }

  .hero {
    padding: 56px 0 82px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.1rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hero-facts li {
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .hero-facts span {
    line-height: 1.3;
  }

  .photo-frame {
    border-width: 8px;
    border-radius: 44% 44% 22px 22px;
  }

  .credential-card {
    right: 12px;
    bottom: 18px;
    min-width: 0;
    max-width: calc(100% - 24px);
  }

  .cards-grid,
  .steps-grid,
  .availability {
    grid-template-columns: 1fr;
  }

  .support-card {
    min-height: 0;
  }

  .step {
    padding: 26px 24px;
  }

  .availability {
    gap: 1px;
  }

  .professional-data div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-section {
    padding: 58px 0;
  }

  .contact-card {
    gap: 34px;
    padding: 38px 25px;
    border-radius: 24px;
  }

  .footer-grid {
    display: grid;
  }

  .footer-grid > div:last-child {
    text-align: left;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

