:root {
      --navy: #123F79;
      --navy-2: #18519A;
      --blue: #1555A3;
      --blue-dark: #103F7C;
      --turquoise: #15bdca;
      --turquoise-soft: #DDF8FA;
      --orange: #FF991F;
      --orange-soft: #FFF1DD;
      --orange-gradient-start: #FF6428;
      --orange-gradient-end: #FFB126;
      --sky: #EAF4FF;
      --white: #FFFFFF;
      --surface: #FAFBFC;
      --surface-2: #EFF4F8;
      --text: #111827;
      --muted: #667085;
      --border: rgba(11, 31, 58, 0.10);
      --shadow-sm: 0 10px 30px rgba(25, 51, 87, 0.08);
      --shadow-lg: 0 30px 70px rgba(20, 50, 90, 0.14);
      --radius-sm: 14px;
      --radius-md: 22px;
      --radius-lg: 34px;
      --container: 1180px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "DM Sans", sans-serif;
      color: var(--text);
      background: var(--white);
      line-height: 1.6;
      overflow-x: hidden;
    }

    body.menu-open {
      overflow: hidden;
    }

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

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

    button,
    input,
    select,
    textarea {
      font: inherit;
    }

    button {
      cursor: pointer;
    }

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

    .section {
      padding: 108px 0;
    }

    .section-soft {
      background: var(--surface);
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 18px;
      color: var(--blue);
      font-size: .79rem;
      font-weight: 800;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 28px;
      height: 2px;
      border-radius: 99px;
      background: linear-gradient(90deg, var(--blue), var(--turquoise));
    }

    h1, h2, h3, h4 {
      font-family: "Manrope", sans-serif;
      color: var(--navy);
      line-height: 1.08;
      letter-spacing: -0.035em;
    }

    h1 {
      max-width: 760px;
      font-size: clamp(3rem, 6vw, 5.7rem);
      font-weight: 800;
    }

    h2 {
      font-size: clamp(2.2rem, 4vw, 3.7rem);
      font-weight: 800;
    }

    h3 {
      font-size: 1.35rem;
      font-weight: 700;
    }

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

    .lead {
      max-width: 680px;
      font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    }

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

    .section-heading.center {
      margin-inline: auto;
      text-align: center;
    }

    .section-heading.center .eyebrow {
      justify-content: center;
    }

    .section-heading p {
      margin-top: 18px;
      font-size: 1.08rem;
    }

    .btn {
      min-height: 52px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 0 23px;
      border: 1px solid transparent;
      border-radius: 999px;
      font-weight: 700;
      transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
    }

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

    .btn-primary {
      color: var(--white);
      background: linear-gradient(135deg, var(--blue), var(--turquoise));
      box-shadow: 0 15px 32px rgba(32, 103, 216, .25);
    }

    .btn-primary:hover {
      box-shadow: 0 20px 40px rgba(32, 103, 216, .32);
    }

    .header-cta {
      background: linear-gradient(135deg, var(--blue), var(--turquoise));
      box-shadow: 0 15px 32px rgba(21, 85, 163, .28);
    }

    .header-cta:hover {
      box-shadow: 0 20px 40px rgba(21, 85, 163, .36);
    }

    .btn-secondary {
      color: var(--navy);
      background: rgba(255, 255, 255, .8);
      border-color: var(--border);
      backdrop-filter: blur(10px);
    }

    .btn-secondary:hover {
      background: var(--white);
      box-shadow: var(--shadow-sm);
    }

    .btn-light {
      color: var(--navy);
      background: var(--white);
    }

    .icon {
      width: 22px;
      height: 22px;
      flex: 0 0 auto;
    }

    .site-header {
      position: fixed;
      top: 16px;
      left: 0;
      right: 0;
      z-index: 1000;
    }

    .navbar {
      min-height: 74px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 16px 0 22px;
      border: 1px solid rgba(255, 255, 255, .8);
      border-radius: 999px;
      background: rgba(255, 255, 255, .82);
      box-shadow: 0 10px 40px rgba(20, 50, 90, .08);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 11px;
      font-family: "Manrope", sans-serif;
      font-weight: 800;
      color: var(--navy);
    }


    .brand-logo-link {
      flex: 0 0 auto;
      line-height: 0;
    }

    .brand-logo {
      width: 148px;
      height: 58px;
      object-fit: contain;
      object-position: left center;
      mix-blend-mode: multiply;
    }

    .footer .brand-logo {
      width: 166px;
      height: 78px;
      padding: 7px;
      border-radius: 14px;
      background: var(--white);
      mix-blend-mode: normal;
    }

    .brand-mark {
      position: relative;
      width: 40px;
      height: 40px;
      border-radius: 13px;
      background: linear-gradient(145deg, var(--orange), var(--turquoise));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
    }

    .brand-mark::before,
    .brand-mark::after {
      content: "";
      position: absolute;
      border: 3px solid var(--white);
      border-radius: 50%;
    }

    .brand-mark::before {
      width: 17px;
      height: 17px;
      left: 7px;
      top: 7px;
      border-right-color: transparent;
    }

    .brand-mark::after {
      width: 10px;
      height: 10px;
      right: 6px;
      bottom: 6px;
      background: rgba(255,255,255,.18);
    }

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

    .nav-links {
      display: flex;
      align-items: center;
      gap: 30px;
      list-style: none;
    }

    .nav-links a {
      position: relative;
      font-size: .94rem;
      font-weight: 600;
      color: #41516a;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      right: 100%;
      bottom: -7px;
      height: 2px;
      background: linear-gradient(90deg, var(--blue), var(--turquoise));
      transition: right .25s ease;
    }

    .nav-links a:hover::after {
      right: 0;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .menu-toggle {
      width: 46px;
      height: 46px;
      display: none;
      place-items: center;
      border: 0;
      border-radius: 50%;
      color: var(--navy);
      background: var(--surface);
    }

    .hero {
      position: relative;
      min-height: 790px;
      display: flex;
      align-items: center;
      padding: 125px 0 90px;
      overflow: hidden;
      background:
        radial-gradient(circle at 84% 28%, rgba(40, 200, 196, .18), transparent 27%),
        radial-gradient(circle at 13% 13%, rgba(32, 103, 216, .12), transparent 30%),
        linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .36;
      background-image:
        linear-gradient(rgba(32,103,216,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32,103,216,.05) 1px, transparent 1px);
      background-size: 55px 55px;
      mask-image: linear-gradient(to bottom, black, transparent 78%);
    }

    .hero-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.08fr .92fr;
      align-items: center;
      gap: 68px;
    }

    .hero-copy .eyebrow {
      padding: 9px 14px;
      border: 1px solid rgba(32,103,216,.12);
      border-radius: 999px;
      background: rgba(255,255,255,.72);
      box-shadow: var(--shadow-sm);
    }

    .hero-copy .eyebrow::before {
      width: 8px;
      height: 8px;
      border-radius: 50%;
    }

    .hero-copy .lead {
      margin: 28px 0 32px;
    }

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

    .hero-trust {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 31px;
      color: #52627a;
      font-size: .9rem;
      font-weight: 600;
    }

    .hero-trust span {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .check-dot {
      width: 20px;
      height: 20px;
      display: inline-grid;
      place-items: center;
      border-radius: 50%;
      color: var(--blue);
      background: var(--turquoise-soft);
      font-size: .75rem;
      font-weight: 800;
    }

    .hero-visual {
      position: relative;
      min-height: 560px;
    }

    .visual-orb {
      position: absolute;
      width: 510px;
      height: 510px;
      top: 24px;
      left: 50%;
      transform: translateX(-50%);
      border-radius: 50%;
      background: linear-gradient(145deg, rgba(32,103,216,.12), rgba(40,200,196,.18));
      filter: blur(.2px);
    }

    .learning-card {
      position: absolute;
      inset: 42px 18px 22px 18px;
      z-index: 2;
      padding: 20px;
      border: 1px solid rgba(255,255,255,.9);
      border-radius: 38px;
      background: rgba(255,255,255,.77);
      box-shadow: var(--shadow-lg);
      backdrop-filter: blur(18px);
      transform: rotate(1.4deg);
    }

    .learning-window {
      height: 100%;
      overflow: hidden;
      border-radius: 28px;
      background:
        linear-gradient(145deg, rgba(11,31,58,.15), rgba(11,31,58,.02)),
        linear-gradient(145deg, #cde8ff, #dffafa);
    }

    .window-bar {
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 19px;
      background: rgba(255,255,255,.73);
    }

    .window-dots {
      display: flex;
      gap: 7px;
    }

    .window-dots i {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #c3ccda;
    }

    .window-logo {
      font-size: .78rem;
      font-weight: 800;
      color: var(--blue);
    }

    .classroom {
      position: relative;
      height: calc(100% - 52px);
      display: grid;
      place-items: center;
      padding: 28px;
    }

    .student {
      position: relative;
      width: min(100%, 340px);
      aspect-ratio: 1 / 1.13;
      border-radius: 45% 45% 30px 30px;
      background:
        radial-gradient(circle at 50% 29%, #f1c7a4 0 12%, transparent 12.4%),
        radial-gradient(circle at 50% 25%, #3a2c2d 0 18%, transparent 18.5%),
        linear-gradient(to bottom, transparent 42%, #246ddb 42% 74%, #153c77 74%);
      box-shadow: inset 0 -30px 60px rgba(9,38,75,.18);
    }

    .student::before {
      content: "";
      position: absolute;
      width: 86%;
      height: 30%;
      left: 7%;
      bottom: 7%;
      border-radius: 18px 18px 8px 8px;
      background: linear-gradient(145deg, #ffffff, #dce8f6);
      box-shadow: 0 20px 40px rgba(20,50,90,.25);
      transform: perspective(400px) rotateX(9deg);
    }

    .student::after {
      content: "GO";
      position: absolute;
      z-index: 2;
      left: 50%;
      bottom: 18%;
      transform: translateX(-50%);
      color: var(--blue);
      font-family: "Manrope", sans-serif;
      font-weight: 800;
      font-size: 1.2rem;
    }

    .class-pill,
    .progress-card,
    .mentor-card {
      position: absolute;
      z-index: 4;
      border: 1px solid rgba(255,255,255,.9);
      background: rgba(255,255,255,.88);
      box-shadow: var(--shadow-sm);
      backdrop-filter: blur(14px);
    }

    .class-pill {
      top: 150px;
      left: -22px;
      display: flex;
      align-items: center;
      gap: 11px;
      padding: 13px 16px;
      border-radius: 18px;
      font-size: .85rem;
      font-weight: 700;
      color: var(--navy);
    }

    .mini-icon {
      width: 35px;
      height: 35px;
      display: grid;
      place-items: center;
      border-radius: 11px;
      color: var(--white);
      background: linear-gradient(135deg, var(--blue), var(--turquoise));
      box-shadow: 0 8px 18px rgba(21, 85, 163, .24);
    }

    .progress-card {
      right: -24px;
      bottom: 86px;
      width: 190px;
      padding: 17px;
      border-radius: 20px;
    }

    .progress-card small {
      color: var(--muted);
      font-size: .73rem;
    }

    .progress-card strong {
      display: block;
      margin-top: 3px;
      color: var(--navy);
    }

    .progress-line {
      height: 7px;
      margin-top: 12px;
      overflow: hidden;
      border-radius: 999px;
      background: var(--surface-2);
    }

    .progress-line span {
      display: block;
      width: 84%;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--blue), var(--turquoise));
    }

    .mentor-card {
      left: -9px;
      bottom: 23px;
      display: flex;
      align-items: center;
      gap: 11px;
      padding: 12px 15px;
      border-radius: 18px;
    }

    .avatar {
      width: 39px;
      height: 39px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: var(--white);
      font-weight: 800;
      background: linear-gradient(145deg, #ffb391, #cf6d76);
    }

    .mentor-card small {
      display: block;
      font-size: .68rem;
      color: var(--muted);
    }

    .mentor-card strong {
      font-size: .82rem;
      color: var(--navy);
    }

    .trust-strip {
      position: relative;
      z-index: 3;
      margin-top: -35px;
    }

    .trust-panel {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border: 1px solid var(--border);
      border-radius: 25px;
      background: rgba(255,255,255,.94);
      box-shadow: var(--shadow-sm);
    }

    .trust-item {
      padding: 25px 26px;
      text-align: center;
    }

    .trust-item + .trust-item {
      border-left: 1px solid var(--border);
    }

    .trust-item strong {
      display: block;
      font-family: "Manrope", sans-serif;
      color: var(--navy);
      font-size: 1.2rem;
    }

    .trust-item span {
      color: var(--muted);
      font-size: .85rem;
    }

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

    .feature-card {
      min-height: 278px;
      padding: 30px;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      background: var(--white);
      transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    }

    .feature-card:hover {
      transform: translateY(-8px);
      border-color: rgba(32,103,216,.2);
      box-shadow: var(--shadow-lg);
    }

    .feature-icon {
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      margin-bottom: 55px;
      border-radius: 17px;
      color: var(--blue);
      background: linear-gradient(145deg, var(--sky), var(--turquoise-soft));
    }

    .feature-card p {
      margin-top: 12px;
      font-size: .94rem;
    }

    .split {
      display: grid;
      grid-template-columns: .95fr 1.05fr;
      align-items: center;
      gap: 78px;
    }

    .experience-visual {
      position: relative;
      min-height: 590px;
      padding: 28px;
      border-radius: var(--radius-lg);
      background:
        radial-gradient(circle at 20% 15%, rgba(255,255,255,.9), transparent 25%),
        linear-gradient(145deg, #dbeaff, #d7fbf7);
      overflow: hidden;
    }

    .dashboard {
      position: absolute;
      inset: 62px 35px 62px 35px;
      padding: 22px;
      border: 1px solid rgba(255,255,255,.9);
      border-radius: 27px;
      background: rgba(255,255,255,.89);
      box-shadow: var(--shadow-lg);
      transform: rotate(-2deg);
    }

    .dash-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--border);
    }

    .dash-header strong {
      color: var(--navy);
    }

    .status {
      padding: 7px 10px;
      border-radius: 999px;
      color: #087e78;
      background: var(--turquoise-soft);
      font-size: .72rem;
      font-weight: 800;
    }

    .dash-hero {
      margin-top: 20px;
      padding: 22px;
      border-radius: 20px;
      color: var(--white);
      background: linear-gradient(135deg, var(--navy), var(--blue));
    }

    .dash-hero p,
    .dash-hero small {
      color: rgba(255,255,255,.72);
    }

    .dash-hero strong {
      display: block;
      margin: 7px 0;
      font-family: "Manrope", sans-serif;
      font-size: 1.3rem;
    }

    .dash-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 13px;
    }

    .dash-block {
      min-height: 107px;
      padding: 16px;
      border: 1px solid var(--border);
      border-radius: 18px;
      background: var(--surface);
    }

    .dash-block span {
      display: block;
      color: var(--muted);
      font-size: .72rem;
    }

    .dash-block strong {
      display: block;
      margin-top: 7px;
      font-size: 1.4rem;
      color: var(--navy);
    }

    .floating-note {
      position: absolute;
      right: 8px;
      top: 22px;
      padding: 16px 18px;
      border: 1px solid rgba(255,255,255,.9);
      border-radius: 17px;
      background: rgba(255,255,255,.9);
      box-shadow: var(--shadow-sm);
      transform: rotate(4deg);
      font-size: .8rem;
      font-weight: 700;
      color: var(--navy);
    }

    .benefits-list {
      display: grid;
      gap: 16px;
      margin: 31px 0 34px;
    }

    .benefit {
      display: grid;
      grid-template-columns: 46px 1fr;
      gap: 15px;
      align-items: start;
    }

    .benefit .check {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 13px;
      color: var(--blue);
      background: var(--sky);
      font-weight: 800;
    }

    .benefit strong {
      display: block;
      margin-bottom: 4px;
      color: var(--navy);
    }

    .benefit p {
      font-size: .92rem;
    }

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

    .program-card {
      position: relative;
      min-height: 460px;
      display: flex;
      flex-direction: column;
      padding: 32px;
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: 27px;
      background: var(--white);
      transition: transform .3s ease, box-shadow .3s ease;
    }

    .program-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-lg);
    }

    .program-card.featured {
      color: var(--white);
      background:
        radial-gradient(circle at 100% 0, rgba(40,200,196,.45), transparent 34%),
        linear-gradient(145deg, var(--navy), var(--blue));
    }

    .program-card.featured h3,
    .program-card.featured strong {
      color: var(--white);
    }

    .program-card.featured p,
    .program-card.featured li {
      color: rgba(255,255,255,.74);
    }

    .program-number {
      width: 49px;
      height: 49px;
      display: grid;
      place-items: center;
      margin-bottom: 48px;
      border-radius: 16px;
      color: var(--blue);
      background: var(--sky);
      font-family: "Manrope", sans-serif;
      font-weight: 800;
    }

    .featured .program-number {
      color: var(--navy);
      background: var(--turquoise);
    }

    .program-card p {
      margin: 13px 0 24px;
      font-size: .94rem;
    }

    .program-card ul {
      display: grid;
      gap: 10px;
      margin-bottom: 29px;
      list-style: none;
    }

    .program-card li {
      position: relative;
      padding-left: 20px;
      color: var(--muted);
      font-size: .88rem;
    }

    .program-card li::before {
      content: "•";
      position: absolute;
      left: 0;
      color: var(--turquoise);
      font-size: 1.25rem;
      line-height: 1;
    }

    .program-link {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-top: auto;
      color: var(--blue);
      font-weight: 800;
    }

    .featured .program-link {
      color: var(--white);
    }

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

    .method-step {
      position: relative;
      padding: 27px 20px 26px;
      border: 1px solid var(--border);
      border-radius: 20px;
      background: var(--white);
      counter-increment: steps;
    }

    .method-step::before {
      content: "0" counter(steps);
      display: block;
      margin-bottom: 48px;
      color: var(--blue);
      font-family: "Manrope", sans-serif;
      font-size: .82rem;
      font-weight: 800;
    }

    .method-step:not(:last-child)::after {
      content: "→";
      position: absolute;
      z-index: 2;
      top: 50%;
      right: -12px;
      width: 25px;
      height: 25px;
      display: grid;
      place-items: center;
      border: 1px solid var(--border);
      border-radius: 50%;
      color: var(--blue);
      background: var(--white);
      font-size: .75rem;
    }

    .method-step p {
      margin-top: 8px;
      font-size: .84rem;
    }

    .skills-layout {
      display: grid;
      grid-template-columns: .8fr 1.2fr;
      align-items: start;
      gap: 80px;
    }

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

    .skill {
      min-height: 130px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 21px;
      border: 1px solid var(--border);
      border-radius: 18px;
      background: var(--white);
    }

    .skill span {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      color: var(--blue);
      background: var(--sky);
      font-weight: 800;
    }

    .skill strong {
      color: var(--navy);
    }

    .testimonial-stage {
      position: relative;
      overflow: hidden;
    }

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

    .testimonial {
      display: flex;
      flex-direction: column;
      min-height: 360px;
      padding: 30px;
      border: 1px solid var(--border);
      border-radius: 25px;
      background: var(--white);
    }

    .quote-mark {
      color: var(--turquoise);
      font-family: Georgia, serif;
      font-size: 3.8rem;
      line-height: .75;
    }

    .testimonial blockquote {
      margin: 24px 0;
      color: #40506a;
      font-size: 1.02rem;
    }

    .testimonial footer {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: auto;
    }

    .student-avatar {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: var(--white);
      background: linear-gradient(145deg, var(--blue), var(--turquoise));
      font-weight: 800;
    }

    .testimonial footer strong,
    .testimonial footer span {
      display: block;
    }

    .testimonial footer strong {
      color: var(--navy);
    }

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

    .faq-layout {
      display: grid;
      grid-template-columns: .75fr 1.25fr;
      gap: 80px;
      align-items: start;
    }

    .faq-aside {
      position: sticky;
      top: 120px;
    }

    .faq-aside p {
      margin: 20px 0 28px;
    }

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

    .faq-item {
      border-bottom: 1px solid var(--border);
    }

    .faq-question {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
      padding: 25px 0;
      border: 0;
      color: var(--navy);
      background: transparent;
      text-align: left;
      font-family: "Manrope", sans-serif;
      font-weight: 700;
      font-size: 1rem;
    }

    .faq-plus {
      width: 31px;
      height: 31px;
      flex: 0 0 auto;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: var(--blue);
      background: var(--sky);
      transition: transform .25s ease;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height .35s ease;
    }

    .faq-answer p {
      max-width: 690px;
      padding: 0 45px 25px 0;
      font-size: .94rem;
    }

    .faq-item.active .faq-plus {
      transform: rotate(45deg);
    }

    .cta-card {
      position: relative;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 45px;
      padding: 72px;
      overflow: hidden;
      border-radius: var(--radius-lg);
      color: var(--white);
      background:
        radial-gradient(circle at 88% 20%, rgba(40,200,196,.4), transparent 28%),
        radial-gradient(circle at 10% 100%, rgba(32,103,216,.6), transparent 34%),
        var(--navy);
    }

    .cta-card::before {
      content: "";
      position: absolute;
      width: 320px;
      height: 320px;
      right: -140px;
      bottom: -180px;
      border: 1px solid rgba(255,255,255,.2);
      border-radius: 50%;
      box-shadow: 0 0 0 55px rgba(255,255,255,.04), 0 0 0 110px rgba(255,255,255,.025);
    }

    .cta-card h2 {
      max-width: 740px;
      color: var(--white);
    }

    .cta-card p {
      max-width: 650px;
      margin-top: 18px;
      color: rgba(255,255,255,.7);
    }

    .contact-panel {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 2000;
      place-items: center;
      padding: 20px;
      background: rgba(5,17,35,.62);
      backdrop-filter: blur(9px);
    }

    .contact-panel.active {
      display: grid;
    }

    .modal {
      position: relative;
      width: min(100%, 650px);
      max-height: 92vh;
      overflow-y: auto;
      padding: 38px;
      border-radius: 28px;
      background: var(--white);
      box-shadow: var(--shadow-lg);
    }

    .modal h2 {
      font-size: 2.15rem;
    }

    .modal > p {
      margin: 12px 0 27px;
    }

    .modal-close {
      position: absolute;
      top: 17px;
      right: 17px;
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: 50%;
      color: var(--navy);
      background: var(--surface);
      font-size: 1.25rem;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15px;
    }

    .form-field {
      display: grid;
      gap: 7px;
    }

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

    .form-field label {
      color: var(--navy);
      font-size: .82rem;
      font-weight: 700;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
      width: 100%;
      min-height: 50px;
      padding: 13px 14px;
      border: 1px solid var(--border);
      border-radius: 13px;
      outline: none;
      color: var(--text);
      background: var(--surface);
      transition: border-color .2s ease, box-shadow .2s ease;
    }

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

    .form-field input:focus,
    .form-field select:focus,
    .form-field textarea:focus {
      border-color: rgba(32,103,216,.55);
      box-shadow: 0 0 0 4px rgba(32,103,216,.09);
    }

    .form-submit {
      width: 100%;
      margin-top: 18px;
    }

    .form-note {
      margin-top: 12px;
      text-align: center;
      font-size: .75rem;
    }

    .footer {
      padding: 65px 0 28px;
      background: #08182d;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr repeat(3, .7fr);
      gap: 50px;
      padding-bottom: 45px;
    }

    .footer .brand {
      color: var(--white);
    }

    .footer-copy {
      max-width: 350px;
      margin-top: 17px;
      color: rgba(255,255,255,.58);
      font-size: .9rem;
    }

    .footer h4 {
      margin-bottom: 17px;
      color: var(--white);
      font-size: .92rem;
    }

    .footer-links {
      display: grid;
      gap: 10px;
      list-style: none;
    }

    .footer-links a {
      color: rgba(255,255,255,.58);
      font-size: .87rem;
    }

    .footer-links a:hover {
      color: var(--turquoise);
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 25px;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,.09);
      color: rgba(255,255,255,.42);
      font-size: .78rem;
    }

    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity .7s ease, transform .7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    

    .hero-potential {
      position: relative;
      display: inline-block;
      z-index: 1;
      margin-left: .08em;
      padding: 0 .06em .12em;
      color: #FF6A1F;
      font-family: "Caveat", cursive;
      font-size: 1.3em;
      font-weight: 700;
      line-height: .82;
      letter-spacing: .01em;
      transform: rotate(-4deg) translateY(.03em);
      transform-origin: left center;
      white-space: nowrap;
    }

    .hero-potential::after {
      content: "";
      position: absolute;
      z-index: -1;
      left: 8%;
      bottom: -.1em;
      width: 102%;
      height: .18em;
      border-radius: 999px 65% 75% 999px;
      background:
        linear-gradient(
          90deg,
          rgba(255, 106, 31, .95) 0%,
          rgba(255, 132, 35, .92) 55%,
          rgba(255, 164, 40, .88) 100%
        );
      transform: rotate(-1.5deg) scaleX(0);
      transform-origin: left center;
      animation: drawPotentialHighlight .85s cubic-bezier(.22, .8, .25, 1) .45s forwards;
      filter: saturate(1.05);
      clip-path: polygon(
        0 42%,
        8% 34%,
        18% 41%,
        28% 31%,
        41% 39%,
        55% 30%,
        69% 38%,
        82% 33%,
        93% 40%,
        100% 35%,
        99% 70%,
        88% 63%,
        76% 72%,
        63% 64%,
        49% 72%,
        35% 65%,
        21% 73%,
        9% 66%,
        0 72%
      );
    }

    @keyframes drawPotentialHighlight {
      from {
        transform: rotate(-1.5deg) scaleX(0);
      }

      to {
        transform: rotate(-1.5deg) scaleX(1);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-potential::after {
        animation: none;
        transform: rotate(-1.5deg) scaleX(1);
      }
    }

@media (max-width: 1050px) {
      .nav-links {
        gap: 18px;
      }

      .hero-grid,
      .split,
      .skills-layout,
      .faq-layout {
        grid-template-columns: 1fr;
      }

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

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

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

      .programs-grid {
        grid-template-columns: 1fr;
      }

      .program-card {
        min-height: auto;
      }

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

      .method-step:not(:last-child)::after {
        display: none;
      }

      .testimonials {
        grid-template-columns: 1fr;
      }

      .faq-aside {
        position: static;
      }
    }

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

      .nav-links,
      .nav-actions .btn {
        display: none;
      }

      .menu-toggle {
        display: grid;
      }

      .nav-links.open {
        position: fixed;
        top: 101px;
        left: 20px;
        right: 20px;
        z-index: 1001;
        display: grid;
        gap: 0;
        padding: 16px;
        border: 1px solid var(--border);
        border-radius: 22px;
        background: var(--white);
        box-shadow: var(--shadow-lg);
      }

      .nav-links.open li a {
        display: block;
        padding: 15px;
      }

      .hero {
        padding-top: 125px;
      }

      .hero-grid {
        gap: 35px;
      }

      .hero-visual {
        min-height: 510px;
      }

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

      .trust-item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--border);
      }

      .trust-item:nth-child(4) {
        border-top: 1px solid var(--border);
      }

      .cta-card {
        grid-template-columns: 1fr;
        padding: 48px 35px;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

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

      .site-header {
        top: 10px;
      }

      .navbar {
        min-height: 64px;
      }

      .brand {
        font-size: .9rem;
      }

      .brand-logo {
        width: 126px;
        height: 48px;
      }

      .brand-mark {
        width: 36px;
        height: 36px;
      }

      h1 {
        font-size: clamp(2.55rem, 12vw, 3.7rem);
      }

      h2 {
        font-size: 2.25rem;
      }

      .hero-actions,
      .hero-actions .btn {
        width: 100%;
      }

      .hero-trust {
        display: grid;
      }

      .hero-visual {
        min-height: 420px;
      }

      .visual-orb {
        width: 360px;
        height: 360px;
      }

      .learning-card {
        inset: 35px 5px 15px;
        padding: 12px;
      }

      .class-pill {
        top: 72px;
        left: -3px;
        transform: scale(.88);
        transform-origin: left;
      }

      .progress-card {
        right: -3px;
        bottom: 45px;
        width: 165px;
        transform: scale(.9);
        transform-origin: right;
      }

      .mentor-card {
        display: none;
      }

      .trust-panel,
      .features-grid,
      .method-grid,
      .skills-grid,
      .form-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .trust-item + .trust-item,
      .trust-item:nth-child(3),
      .trust-item:nth-child(4) {
        border-left: 0;
        border-top: 1px solid var(--border);
      }

      .feature-icon {
        margin-bottom: 35px;
      }

      .experience-visual {
        min-height: 500px;
        padding: 15px;
      }

      .dashboard {
        inset: 45px 15px;
      }

      .floating-note {
        display: none;
      }

      .dash-grid {
        grid-template-columns: 1fr;
      }

      .dash-block {
        min-height: 80px;
      }

      .cta-card {
        padding: 40px 25px;
      }

      .modal {
        padding: 31px 20px 24px;
      }

      .form-field.full {
        grid-column: auto;
      }

      .footer-bottom {
        flex-direction: column;
      }
    }

    /* Fotografía principal de la tarjeta del hero */
    .classroom {
      padding: 0;
      overflow: hidden;
    }

    .student-photo {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
      border-radius: 0 0 28px 28px;
    }

    .student {
      display: none;
    }

    /* Hero móvil: título, imagen, descripción, acciones y beneficios */
    .hero-visual-mobile {
      display: none;
    }

    @media (max-width: 580px) {

      .hero-potential {
        font-size: 1.4em;
        margin-left: .03em;
        transform: rotate(-3deg);
      }

      .hero-grid {
        display: block;
      }

      .hero-copy {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
          "title"
          "visual"
          "description"
          "actions"
          "trust";
      }

      .hero-copy h1 {
        grid-area: title;
        font-size: clamp(2.35rem, 10.8vw, 3.25rem);
        margin-bottom: 22px;
      }

      .hero-visual-mobile {
        grid-area: visual;
        display: block;
        width: 100%;
        min-height: 330px;
        margin: 0 0 28px;
      }

      .hero-visual-desktop {
        display: none;
      }

      .hero-copy .lead {
        grid-area: description;
        margin: 0 0 28px;
      }

      .hero-actions {
        grid-area: actions;
      }

      .hero-trust {
        grid-area: trust;
      }
    }

/* Corrección responsive de la tarjeta Mi experiencia GO */
.hero-visual-mobile { display: none; }
.hero-visual-desktop {
  display: block;
  position: relative;
  width: 100%;
  min-height: 560px;
  justify-self: center;
}

@media (min-width: 581px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
  }
  .hero-visual-desktop {
    display: block !important;
    width: 100%;
    min-height: 560px;
    margin: 0 auto;
    overflow: visible;
  }
  .hero-visual-desktop .visual-orb {
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-visual-desktop .learning-card {
    inset: 42px 18px 22px;
  }
}

@media (max-width: 580px) {
  .hero-visual-desktop { display: none !important; }
  .hero-visual-mobile {
    grid-area: visual;
    display: block !important;
    position: relative;
    width: min(100%, 390px);
    min-height: 360px;
    margin: 0 auto 30px;
    justify-self: center;
    overflow: visible;
  }
  .hero-visual-mobile .visual-orb {
    width: 330px;
    height: 330px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-visual-mobile .learning-card {
    inset: 34px 18px 18px;
    transform: none;
  }
  .hero-visual-mobile .class-pill {
    top: 82px;
    left: 2px;
  }
  .hero-visual-mobile .progress-card {
    right: 0;
    bottom: 34px;
  }
}


/* Ajustes exclusivos para celular */
@media (max-width: 580px) {
  /* Desplaza la palabra "potencial" junto con su highlight */
  .hero-potential {
    margin-left: .22em;
  }

  /* Reduce el espacio general del hero para mostrar más contenido en la primera vista */
  .hero {
    padding-top: 78px;
    padding-bottom: 54px;
  }

  .hero-copy h1 {
    margin-bottom: 14px;
  }

  /* Reduce y centra la tarjeta "Mi experiencia GO" */
  .hero-visual-mobile {
    width: min(92vw, 330px);
    min-height: 275px;
    margin: 0 auto 18px;
  }

  .hero-visual-mobile .visual-orb {
    width: 260px;
    height: 260px;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-visual-mobile .learning-card {
    inset: 24px 16px 12px;
    padding: 10px;
    border-radius: 26px;
    transform: none;
  }

  .hero-visual-mobile .learning-window {
    border-radius: 19px;
  }

  .hero-visual-mobile .window-bar {
    height: 38px;
    padding: 0 12px;
  }

  .hero-visual-mobile .window-logo {
    font-size: .62rem;
  }

  .hero-visual-mobile .classroom {
    height: calc(100% - 38px);
  }

  .hero-visual-mobile .student-photo {
    border-radius: 0 0 19px 19px;
  }

  .hero-visual-mobile .class-pill {
    top: 58px;
    left: 0;
    gap: 7px;
    padding: 9px 11px;
    border-radius: 14px;
    font-size: .68rem;
    transform: scale(.9);
    transform-origin: left top;
  }

  .hero-visual-mobile .mini-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: .78rem;
  }

  .hero-visual-mobile .progress-card {
    right: -2px;
    bottom: 20px;
    width: 138px;
    padding: 12px;
    border-radius: 15px;
    transform: scale(.88);
    transform-origin: right bottom;
  }

  .hero-visual-mobile .progress-card small {
    font-size: .62rem;
  }

  .hero-visual-mobile .progress-card strong {
    font-size: .82rem;
  }

  .hero-copy .lead {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    min-height: 48px;
  }

  .hero-trust {
    margin-top: 22px;
  }
}



/* Navegación: se oculta al bajar y reaparece al subir */
.site-header {
  transition: transform .32s ease, opacity .32s ease;
  will-change: transform;
}

.site-header.site-header-hidden {
  transform: translateY(calc(-100% - 26px));
  opacity: 0;
  pointer-events: none;
}

/* Beneficios del hero: animación tipo cortina hacia arriba */
.hero-trust {
  overflow: hidden;
}

.hero-trust-item {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transform: translateY(24px);
  animation: heroTrustCurtainUp .72s cubic-bezier(.2, .75, .25, 1) forwards;
}

.hero-trust-item-1 { animation-delay: .25s; }
.hero-trust-item-2 { animation-delay: .42s; }
.hero-trust-item-3 { animation-delay: .59s; }

@keyframes heroTrustCurtainUp {
  from {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .hero-trust-item {
    transition: none;
    animation: none;
  }

  .hero-trust-item {
    opacity: 1;
    clip-path: none;
    transform: none;
  }
}


/* Barra de confianza dividida en dos bloques iguales */
.trust-panel {
  grid-template-columns: repeat(2, 1fr);
}

.trust-item:nth-child(2) {
  border-left: 1px solid var(--border);
}

@media (max-width: 820px) {
  .trust-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-left: 1px solid var(--border);
    border-top: 0;
  }
}

@media (max-width: 580px) {
  .trust-panel {
    grid-template-columns: 1fr;
  }

  .trust-item:nth-child(2) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}


/* Palabra "escuela" con el mismo estilo tipográfico y color de "potencial" */
.school-word {
  color: #FF6A1F;
  font-family: "Caveat", cursive;
  font-style: cursive;
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: -.018em;
}


/* Ajustes de espaciado para la sección "Una nueva forma de aprender" */
#beneficios.section {
  padding-top: 54px;
}

#beneficios .section-heading {
  margin-bottom: 46px;
}

#beneficios .section-heading .eyebrow {
  margin-bottom: 14px;
}

#beneficios .benefits-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  text-align: center;
}

#beneficios .benefits-title-main {
  display: block;
  position: relative;
  z-index: 2;
  font-size: 0.8em;
}

#beneficios .benefits-title-accent {
  display: block;
  margin-top: .20em;
}

@media (max-width: 820px) {
  #beneficios.section {
    padding-top: 42px;
  }

  #beneficios .benefits-title-accent {
    margin-top: .24em;
  }
}

@media (max-width: 580px) {
  #beneficios.section {
    padding-top: 34px;
  }

  #beneficios .section-heading {
    margin-bottom: 38px;
  }

  #beneficios .benefits-title-accent {
    margin-top: .28em;
  }
}


/* Tarjetas visuales de la sección "Una nueva forma de aprender" */
.feature-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.02) 0%,
      rgba(255,255,255,.08) 38%,
      rgba(255,255,255,.86) 69%,
      rgba(255,255,255,.98) 100%
    );
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(255,255,255,.04);
}

.feature-card .feature-icon,
.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 2;
}

.feature-card .feature-icon {
  margin-bottom: auto;
  background: rgba(221, 248, 250, .90);
  box-shadow: 0 10px 24px rgba(20, 50, 90, .10);
  backdrop-filter: blur(8px);
}

.feature-card h3 {
  margin-top: 130px;
  text-shadow: 0 1px 0 rgba(255,255,255,.75);
}

.feature-card p {
  color: #5b6b82;
}

.feature-personalized {
  background-image: url("assets/feature-aprendizaje-personalizado.png");
}

.feature-live {
  background-image: url("assets/feature-clases-en-vivo.png");
}

.feature-global {
  background-image: url("assets/feature-idiomas.png");
}

.feature-support {
  background-image: url("assets/feature-acompanamiento-integral.png");
}

@media (max-width: 1050px) {
  .feature-card {
    min-height: 460px;
  }
}

@media (max-width: 580px) {
  .feature-card {
    min-height: 520px;
    background-position: center top;
  }

  .feature-card h3 {
    margin-top: 210px;
  }
}


/* Ajuste compacto de la sección "Una nueva forma de aprender" */
#beneficios.section {
  padding-top: 40px;
  padding-bottom: 72px;
}

#beneficios .section-heading {
  margin-bottom: 34px;
}

#beneficios .section-heading p {
  margin-top: 14px;
  font-size: 1rem;
}

#beneficios .features-grid {
  gap: 16px;
}

#beneficios .feature-card {
  min-height: 350px;
  padding: 20px;
  border-radius: 22px;
  justify-content: flex-end;
}

#beneficios .feature-card .feature-icon {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 15px;
}

#beneficios .feature-card .icon {
  width: 20px;
  height: 20px;
}

#beneficios .feature-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.08;
}

#beneficios .feature-card p {
  margin-top: 0;
  font-size: .86rem;
  line-height: 1.45;
}

@media (max-width: 1050px) {
  #beneficios.section {
    padding-top: 36px;
    padding-bottom: 64px;
  }

  #beneficios .feature-card {
    min-height: 330px;
  }
}

@media (max-width: 820px) {
  #beneficios .features-grid {
    gap: 14px;
  }

  #beneficios .feature-card {
    min-height: 320px;
    padding: 18px;
  }

  #beneficios .feature-card .feature-icon {
    top: 16px;
    left: 16px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 580px) {
  #beneficios.section {
    padding-top: 30px;
    padding-bottom: 54px;
  }

  #beneficios .section-heading {
    margin-bottom: 28px;
  }

  #beneficios .feature-card {
    min-height: 300px;
    padding: 16px;
    background-position: center 22%;
  }

  #beneficios .feature-card .feature-icon {
    top: 14px;
    left: 14px;
    width: 44px;
    height: 44px;
  }

  #beneficios .feature-card h3 {
    font-size: 1.05rem;
  }

  #beneficios .feature-card p {
    font-size: .82rem;
  }
}


/* Metodología como línea de tiempo serpenteante */
.methodology-timeline-section {
  position: relative;
  overflow: hidden;
}

.method-timeline-wrap {
  position: relative;
  min-height: 560px;
  margin-top: 18px;
  padding: 48px 28px 54px;
}

.method-timeline-path {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 470px;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.timeline-track-shadow,
.timeline-track {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-track-shadow {
  stroke: rgba(21, 85, 163, .10);
  stroke-width: 22;
}

.timeline-track {
  stroke: url("#timelineGradient");
  stroke: var(--turquoise);
  stroke-width: 8;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: drawMethodTimeline 2.3s cubic-bezier(.2,.8,.25,1) .2s forwards;
  filter: drop-shadow(0 8px 14px rgba(21,85,163,.14));
}

.method-timeline-wrap::before {
  content: "";
  position: absolute;
  inset: 20px 10px 16px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 18%, rgba(17,185,196,.10), transparent 22%),
    radial-gradient(circle at 80% 72%, rgba(21,85,163,.08), transparent 28%);
  z-index: 0;
}

.methodology-timeline-section .method-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  min-height: 430px;
}

.methodology-timeline-section .timeline-step {
  position: relative;
  min-height: 230px;
  opacity: 0;
  transform: scale(.72) translateY(28px);
  animation: timelineStepPop .72s cubic-bezier(.16, 1.2, .3, 1) forwards;
  box-shadow: 0 18px 44px rgba(20,50,90,.10);
}

.methodology-timeline-section .timeline-step::before {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: 0;
  transform: translateX(-50%);
  border: 5px solid var(--white);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--turquoise));
  box-shadow: 0 0 0 6px rgba(17,185,196,.14), 0 8px 18px rgba(21,85,163,.18);
  content: "";
  z-index: 5;
}

.methodology-timeline-section .timeline-step-1 {
  margin-top: 170px;
  animation-delay: .25s;
}

.methodology-timeline-section .timeline-step-2 {
  margin-top: 26px;
  animation-delay: .45s;
}

.methodology-timeline-section .timeline-step-3 {
  margin-top: 190px;
  animation-delay: .65s;
}

.methodology-timeline-section .timeline-step-4 {
  margin-top: 18px;
  animation-delay: .85s;
}

.methodology-timeline-section .timeline-step-5 {
  margin-top: 165px;
  animation-delay: 1.05s;
}

.timeline-label {
  position: absolute;
  z-index: 3;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--blue);
  text-transform: uppercase;
}

.timeline-start {
  left: 8px;
  bottom: 42px;
}

.timeline-finish {
  right: 8px;
  bottom: 38px;
}

.timeline-start::before,
.timeline-finish::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 4px;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--turquoise));
}

@keyframes drawMethodTimeline {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes timelineStepPop {
  0% {
    opacity: 0;
    transform: scale(.72) translateY(28px);
  }

  60% {
    opacity: 1;
    transform: scale(1.06) translateY(-6px);
  }

  80% {
    transform: scale(.98) translateY(2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 1050px) {
  .method-timeline-wrap {
    min-height: 0;
    padding: 28px 0 12px 32px;
  }

  .method-timeline-path {
    display: none;
  }

  .methodology-timeline-section .method-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
    padding-left: 24px;
  }

  .methodology-timeline-section .method-grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    width: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--blue), var(--turquoise));
  }

  .methodology-timeline-section .timeline-step,
  .methodology-timeline-section .timeline-step-1,
  .methodology-timeline-section .timeline-step-2,
  .methodology-timeline-section .timeline-step-3,
  .methodology-timeline-section .timeline-step-4,
  .methodology-timeline-section .timeline-step-5 {
    margin-top: 0;
    min-height: 220px;
  }

  .methodology-timeline-section .timeline-step::before {
    top: 28px;
    left: -28px;
  }

  .timeline-label {
    position: static;
    display: block;
    margin: 8px 0 18px 16px;
  }

  .timeline-finish {
    margin-top: 22px;
  }
}

@media (max-width: 580px) {
  .method-timeline-wrap {
    padding-left: 18px;
  }

  .methodology-timeline-section .method-grid {
    padding-left: 18px;
  }

  .methodology-timeline-section .timeline-step::before {
    left: -22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-track {
    animation: none;
    stroke-dashoffset: 0;
  }

  .methodology-timeline-section .timeline-step {
    animation: none;
    opacity: 1;
    transform: none;
  }
}


/* Ajuste final de altura y progreso de la línea de tiempo */
.method-timeline-wrap {
  min-height: 470px;
  padding-top: 30px;
  padding-bottom: 20px;
}

.method-timeline-path {
  height: 390px;
  top: 18px;
}

.timeline-track-shadow {
  stroke-width: 18;
}

.timeline-track {
  stroke-width: 7;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: fillMethodTimeline 4.2s linear .25s forwards;
}

.methodology-timeline-section .method-grid {
  min-height: 360px;
}

.methodology-timeline-section .timeline-step {
  min-height: 210px;
}

.methodology-timeline-section .timeline-step-1 {
  margin-top: 134px;
}

.methodology-timeline-section .timeline-step-2 {
  margin-top: 18px;
}

.methodology-timeline-section .timeline-step-3 {
  margin-top: 148px;
}

.methodology-timeline-section .timeline-step-4 {
  margin-top: 12px;
}

.methodology-timeline-section .timeline-step-5 {
  margin-top: 126px;
}

.timeline-label {
  display: none !important;
}

@keyframes fillMethodTimeline {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 1050px) {
  .method-timeline-wrap {
    min-height: 0;
    padding-top: 22px;
    padding-bottom: 8px;
  }

  .methodology-timeline-section .method-grid {
    min-height: 0;
  }

  .methodology-timeline-section .timeline-step,
  .methodology-timeline-section .timeline-step-1,
  .methodology-timeline-section .timeline-step-2,
  .methodology-timeline-section .timeline-step-3,
  .methodology-timeline-section .timeline-step-4,
  .methodology-timeline-section .timeline-step-5 {
    min-height: 205px;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-track {
    animation: none;
    stroke-dashoffset: 0;
  }
}


/* Compactación adicional de la línea de tiempo */
#metodologia.section {
  padding-top: 108px;
  padding-bottom: 42px;
}

#metodologia .section-heading {
  margin-bottom: 18px;
}

#metodologia .section-heading .eyebrow {
  margin-bottom: 10px;
}

#metodologia .section-heading h2 {
  margin-bottom: 10px;
}

#metodologia .section-heading p {
  margin-top: 8px;
}

.method-timeline-wrap {
  min-height: 390px;
  margin-top: 4px;
  padding-top: 14px;
  padding-bottom: 6px;
}

.method-timeline-path {
  top: 4px;
  height: 318px;
}

.methodology-timeline-section .method-grid {
  min-height: 300px;
}

.methodology-timeline-section .timeline-step {
  min-height: 188px;
}

.methodology-timeline-section .timeline-step-1 {
  margin-top: 108px;
}

.methodology-timeline-section .timeline-step-2 {
  margin-top: 8px;
}

.methodology-timeline-section .timeline-step-3 {
  margin-top: 118px;
}

.methodology-timeline-section .timeline-step-4 {
  margin-top: 4px;
}

.methodology-timeline-section .timeline-step-5 {
  margin-top: 102px;
}

/* Recorrido más lento de la línea azul */
.timeline-track {
  animation-duration: 7.2s;
  animation-timing-function: linear;
  animation-delay: .35s;
}

@media (max-width: 1050px) {
  #metodologia.section {
    padding-top: 92px;
  }

  .method-timeline-wrap {
    min-height: 0;
    padding-top: 14px;
  }

  .methodology-timeline-section .timeline-step,
  .methodology-timeline-section .timeline-step-1,
  .methodology-timeline-section .timeline-step-2,
  .methodology-timeline-section .timeline-step-3,
  .methodology-timeline-section .timeline-step-4,
  .methodology-timeline-section .timeline-step-5 {
    min-height: 190px;
    margin-top: 0;
  }
}

@media (max-width: 580px) {
  #metodologia.section {
    padding-top: 82px;
  }

  #metodologia .section-heading {
    margin-bottom: 14px;
  }
}


/* Separación final entre encabezado y línea de tiempo */
#metodologia .section-heading {
  margin-bottom: 38px;
}

.method-timeline-wrap {
  margin-top: 22px;
}

/* Oculta únicamente las flechas laterales de metodología */
#metodologia .method-arrow,
#metodologia .method-step::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 1050px) {
  #metodologia .section-heading {
    margin-bottom: 30px;
  }

  .method-timeline-wrap {
    margin-top: 16px;
  }
}

@media (max-width: 580px) {
  #metodologia .section-heading {
    margin-bottom: 24px;
  }

  .method-timeline-wrap {
    margin-top: 12px;
  }
}


/* Centrado e iconografía de las tarjetas de metodología */
#metodologia .method-step {
  align-items: center;
  text-align: center;
}

#metodologia .method-step h3,
#metodologia .method-step p {
  width: 100%;
  text-align: center;
}

#metodologia .method-step h3 {
  margin-top: 12px;
}

#metodologia .method-step p {
  margin-left: auto;
  margin-right: auto;
  max-width: 22ch;
}

#metodologia .method-card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 8px auto 4px;
  border-radius: 18px;
  color: var(--blue);
  background:
    linear-gradient(145deg, rgba(234,244,255,.98), rgba(221,248,250,.96));
  border: 1px solid rgba(21,85,163,.10);
  box-shadow:
    0 10px 24px rgba(21,85,163,.10),
    inset 0 1px 0 rgba(255,255,255,.82);
}

#metodologia .method-card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Variaciones sutiles por paso */
#metodologia .timeline-step-2 .method-card-icon {
  color: #E67B28;
  background:
    linear-gradient(145deg, rgba(255,244,228,.98), rgba(255,251,245,.96));
}

#metodologia .timeline-step-3 .method-card-icon {
  color: var(--turquoise);
}

#metodologia .timeline-step-4 .method-card-icon {
  color: #D86F7A;
  background:
    linear-gradient(145deg, rgba(255,239,241,.98), rgba(255,250,251,.96));
}

#metodologia .timeline-step-5 .method-card-icon {
  color: var(--blue);
  background:
    linear-gradient(145deg, rgba(238,242,255,.98), rgba(248,250,255,.96));
}

@media (max-width: 580px) {
  #metodologia .method-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  #metodologia .method-card-icon svg {
    width: 24px;
    height: 24px;
  }
}


/* Corrección definitiva de iconos de metodología */
#metodologia .method-step {
  align-items: center;
  text-align: center;
}

#metodologia .method-step h3,
#metodologia .method-step p {
  width: 100%;
  text-align: center;
}

#metodologia .method-step p {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

#metodologia .method-card-icon {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: grid !important;
  place-items: center;
  margin: 8px auto 10px;
  border-radius: 18px;
  color: var(--blue);
  background: linear-gradient(
    145deg,
    rgba(234,244,255,.98),
    rgba(221,248,250,.96)
  );
  border: 1px solid rgba(21,85,163,.14);
  box-shadow:
    0 10px 24px rgba(21,85,163,.12),
    inset 0 1px 0 rgba(255,255,255,.86);
}

#metodologia .method-card-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Colores sutilmente diferenciados por paso */
#metodologia .timeline-step-2 .method-card-icon {
  color: #E67B28;
  background: linear-gradient(145deg, #FFF1DF, #FFF9F1);
}

#metodologia .timeline-step-3 .method-card-icon {
  color: var(--turquoise);
  background: linear-gradient(145deg, #E8FBFB, #F7FFFF);
}

#metodologia .timeline-step-4 .method-card-icon {
  color: #D86F7A;
  background: linear-gradient(145deg, #FFECEF, #FFF8F9);
}

#metodologia .timeline-step-5 .method-card-icon {
  color: var(--blue);
  background: linear-gradient(145deg, #EEF3FF, #F9FBFF);
}

@media (max-width: 580px) {
  #metodologia .method-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  #metodologia .method-card-icon svg {
    width: 24px;
    height: 24px;
  }
}


/* Línea de tiempo curva exclusiva para móvil */
.mobile-timeline-path {
  display: none;
}

@media (max-width: 580px) {
  .method-timeline-wrap {
    position: relative;
    padding-left: 18px;
  }

  /* Oculta la línea vertical recta anterior */
  .methodology-timeline-section .method-grid::before {
    display: none !important;
  }

  .mobile-timeline-path {
    display: block;
    position: absolute;
    top: 16px;
    left: 4px;
    width: 92px;
    height: calc(100% - 32px);
    z-index: 0;
    overflow: visible;
    pointer-events: none;
  }

  .mobile-timeline-path path {
    fill: none;
    stroke: var(--turquoise);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 6px 10px rgba(21, 85, 163, .16));
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: fillMobileTimeline 8s linear .3s forwards;
  }

  .methodology-timeline-section .method-grid {
    position: relative;
    z-index: 2;
    padding-left: 54px;
    gap: 28px;
  }

  .methodology-timeline-section .timeline-step::before {
    left: -42px;
  }
}

@keyframes fillMobileTimeline {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-timeline-path path {
    animation: none;
    stroke-dashoffset: 0;
  }
}



/* Compactación de tarjetas de metodología únicamente en móvil */
@media (max-width: 580px) {
  #metodologia .section-heading {
    margin-bottom: 18px;
  }

  .method-timeline-wrap {
    padding-left: 10px;
    padding-right: 8px;
    margin-top: 8px;
  }

  .mobile-timeline-path {
    left: 0;
    width: 74px;
  }

  .methodology-timeline-section .method-grid {
    padding-left: 48px;
    gap: 18px;
  }

  .methodology-timeline-section .timeline-step,
  .methodology-timeline-section .timeline-step-1,
  .methodology-timeline-section .timeline-step-2,
  .methodology-timeline-section .timeline-step-3,
  .methodology-timeline-section .timeline-step-4,
  .methodology-timeline-section .timeline-step-5 {
    min-height: 0;
    padding: 18px 16px 20px;
    border-radius: 22px;
    margin-top: 0;
  }

  .methodology-timeline-section .timeline-step::before {
    left: -35px;
    width: 18px;
    height: 18px;
    border-width: 4px;
  }

  #metodologia .method-card-icon {
    width: 48px;
    height: 48px;
    margin: 2px auto 10px;
    border-radius: 15px;
  }

  #metodologia .method-card-icon svg {
    width: 23px;
    height: 23px;
  }

  #metodologia .method-card-icon img {
    width: 24px;
    height: 24px;
  }

  #metodologia .method-step h3 {
    min-height: 0;
    margin: 0 0 8px;
    font-size: 1.32rem;
    line-height: 1.12;
  }

  #metodologia .method-step p {
    max-width: 26ch;
    margin: 0 auto;
    font-size: .98rem;
    line-height: 1.45;
  }
}


/* Ajuste final móvil: tres tarjetas visibles y curva alineada */
@media (max-width: 580px) {
  #metodologia.section {
    padding-top: 76px;
    padding-bottom: 36px;
  }

  #metodologia .section-heading {
    margin-bottom: 12px;
  }

  #metodologia .section-heading .eyebrow {
    margin-bottom: 8px;
  }

  #metodologia .section-heading h2 {
    margin-bottom: 8px;
  }

  #metodologia .section-heading p {
    margin-top: 6px;
    font-size: .92rem;
    line-height: 1.45;
  }

  .method-timeline-wrap {
    position: relative;
    margin-top: 4px;
    padding: 4px 8px 4px 6px;
  }

  /* Oculta cualquier línea recta anterior */
  .methodology-timeline-section .method-grid::before {
    display: none !important;
  }

  /* Curva más angosta y separada de las tarjetas */
  .mobile-timeline-path {
    display: block;
    position: absolute;
    top: 6px;
    left: 4px;
    width: 76px;
    height: calc(100% - 12px);
    z-index: 0;
    overflow: visible;
    pointer-events: none;
  }

  .mobile-timeline-path path {
    fill: none;
    stroke: var(--turquoise);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    pathLength: 1;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    filter: drop-shadow(0 5px 8px rgba(21,85,163,.14));
    animation: fillMobileTimelineFinal 9.5s linear .35s forwards;
  }

  .methodology-timeline-section .method-grid {
    position: relative;
    z-index: 2;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding-left: 64px;
  }

  .methodology-timeline-section .timeline-step,
  .methodology-timeline-section .timeline-step-1,
  .methodology-timeline-section .timeline-step-2,
  .methodology-timeline-section .timeline-step-3,
  .methodology-timeline-section .timeline-step-4,
  .methodology-timeline-section .timeline-step-5 {
    min-height: 0;
    margin-top: 0;
    padding: 12px 12px 14px;
    border-radius: 18px;
  }

  /* Los puntos quedan centrados sobre la curva */
  .methodology-timeline-section .timeline-step::before {
    top: 26px;
    left: -42px;
    width: 16px;
    height: 16px;
    margin: 0;
    border-width: 4px;
    transform: translateX(-50%);
    box-shadow:
      0 0 0 5px rgba(17,185,196,.14),
      0 5px 12px rgba(21,85,163,.16);
  }

  #metodologia .method-card-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 7px;
    border-radius: 13px;
  }

  #metodologia .method-card-icon svg {
    width: 20px;
    height: 20px;
  }

  #metodologia .method-card-icon img {
    width: 21px;
    height: 21px;
  }

  #metodologia .method-step h3 {
    min-height: 0;
    margin: 0 0 5px;
    font-size: 1.08rem;
    line-height: 1.08;
  }

  #metodologia .method-step p {
    max-width: 28ch;
    margin: 0 auto;
    font-size: .82rem;
    line-height: 1.35;
  }
}

@keyframes fillMobileTimelineFinal {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-timeline-path path {
    animation: none;
    stroke-dashoffset: 0;
  }
}


/* Puntos de la línea de tiempo en la esquina superior izquierda — solo móvil */
@media (max-width: 580px) {
  .methodology-timeline-section .method-grid {
    padding-left: 64px;
  }

  .methodology-timeline-section .timeline-step {
    position: relative;
  }

  .methodology-timeline-section .timeline-step::before {
    top: -10px;
    left: 10px;
    width: 16px;
    height: 16px;
    margin: 0;
    border-width: 4px;
    transform: translate(-50%, -50%);
    z-index: 6;
    box-shadow:
      0 0 0 5px rgba(17, 185, 196, .14),
      0 5px 12px rgba(21, 85, 163, .16);
  }

  /* Ajusta la curva para que pase detrás de los nuevos puntos */
  .mobile-timeline-path {
    left: 18px;
    width: 88px;
  }
}


/* Corrección móvil: curva separada y puntos dentro de las tarjetas */
@media (max-width: 580px) {
  .method-timeline-wrap {
    position: relative;
    padding-left: 10px;
    padding-right: 8px;
  }

  /* Regresa la curva a la izquierda, sin tocar las tarjetas */
  .mobile-timeline-path {
    left: 0;
    width: 74px;
  }

  .methodology-timeline-section .method-grid {
    padding-left: 64px;
  }

  .methodology-timeline-section .timeline-step {
    position: relative;
    overflow: visible;
  }

  /* Coloca el punto dentro de la tarjeta, en la esquina superior izquierda */
  .methodology-timeline-section .timeline-step::before {
    top: 12px;
    left: 12px;
    width: 16px;
    height: 16px;
    margin: 0;
    border-width: 4px;
    transform: none;
    z-index: 6;
    box-shadow:
      0 0 0 5px rgba(17,185,196,.14),
      0 5px 12px rgba(21,85,163,.16);
  }

  /* Deja espacio interno para que el punto no choque con el contenido */
  .methodology-timeline-section .timeline-step,
  .methodology-timeline-section .timeline-step-1,
  .methodology-timeline-section .timeline-step-2,
  .methodology-timeline-section .timeline-step-3,
  .methodology-timeline-section .timeline-step-4,
  .methodology-timeline-section .timeline-step-5 {
    padding-top: 22px;
  }
}


/* =========================================================
   MI EXPERIENCIA GO — MURO DE HISTORIAS
   ========================================================= */
.stories-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 22%, rgba(17, 185, 196, .10), transparent 22%),
    radial-gradient(circle at 92% 70%, rgba(21, 85, 163, .08), transparent 25%),
    var(--soft);
}

.stories-section::before,
.stories-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.stories-section::before {
  width: 280px;
  height: 280px;
  top: 150px;
  left: -150px;
  border: 1px solid rgba(21, 85, 163, .08);
  box-shadow:
    0 0 0 38px rgba(17, 185, 196, .025),
    0 0 0 76px rgba(21, 85, 163, .018);
}

.stories-section::after {
  width: 360px;
  height: 360px;
  right: -210px;
  bottom: -190px;
  border: 1px solid rgba(17, 185, 196, .10);
  box-shadow:
    0 0 0 52px rgba(21, 85, 163, .025),
    0 0 0 104px rgba(17, 185, 196, .018);
}

.stories-section .testimonial-stage {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.stories-accent {
  display: inline-block;
  margin-left: .08em;
  color: #ff6b21;
  font-size: 1.12em;
  transform: rotate(-2deg);
}

.stories-accent::after {
  bottom: -.03em;
}

.stories-wall {
  width: min(1120px, 100%);
  margin: 54px auto 0;
  columns: 2;
  column-gap: 22px;
}

.story-card {
  --story-color: var(--blue);
  --story-soft: rgba(234, 244, 255, .88);
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 22px;
  padding: 28px;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid rgba(21, 85, 163, .10);
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .98), rgba(250, 252, 255, .94));
  box-shadow: 0 18px 48px rgba(20, 50, 90, .08);
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.story-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: -105px;
  right: -85px;
  border-radius: 50%;
  background: var(--story-soft);
  opacity: .75;
  transition: transform .45s ease;
}

.story-card::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  right: 28px;
  bottom: 26px;
  border: 1px solid color-mix(in srgb, var(--story-color) 16%, transparent);
  border-radius: 50%;
  opacity: .5;
  pointer-events: none;
}

.story-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--story-color) 24%, transparent);
  box-shadow: 0 28px 62px rgba(20, 50, 90, .14);
}

.story-card:hover::before {
  transform: scale(1.12);
}

.story-card-english {
  --story-color: #1555a3;
  --story-soft: rgba(225, 241, 255, .88);
}

.story-card-geography {
  --story-color: #1a9f83;
  --story-soft: rgba(223, 249, 239, .92);
}

.story-card-math {
  --story-color: #e87924;
  --story-soft: rgba(255, 239, 219, .92);
}

.story-card-team {
  --story-color: #8b69bd;
  --story-soft: rgba(240, 232, 255, .92);
}

.story-card-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
}

.story-avatar {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  color: var(--story-color);
  background: var(--story-soft);
  border: 1px solid color-mix(in srgb, var(--story-color) 15%, transparent);
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.story-avatar::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  top: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: .78;
}

.story-avatar i {
  position: absolute;
  width: 34px;
  height: 18px;
  bottom: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  opacity: .78;
}

.story-avatar span {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.story-identity strong,
.story-identity span {
  display: block;
}

.story-identity strong {
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
}

.story-identity span {
  margin-top: 3px;
  color: var(--muted);
  font-size: .76rem;
}

.story-type {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--story-color);
  background: var(--story-soft);
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
}

.story-highlight {
  position: relative;
  z-index: 2;
  margin: 24px 0 18px;
  padding: 15px 17px;
  border-left: 3px solid var(--story-color);
  border-radius: 0 16px 16px 0;
  background: color-mix(in srgb, var(--story-soft) 64%, white);
}

.story-highlight-label {
  display: block;
  margin-bottom: 4px;
  color: var(--story-color);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.story-highlight strong {
  color: var(--navy);
  font-size: .93rem;
}

.story-quote-mark {
  position: absolute;
  top: 124px;
  right: 24px;
  color: var(--story-color);
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  opacity: .08;
  pointer-events: none;
}

.story-card blockquote {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #354760;
  font-family: "DM Sans", sans-serif;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.55;
}

.story-tags {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.story-tags span {
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--story-color) 13%, transparent);
  border-radius: 999px;
  color: var(--story-color);
  background: color-mix(in srgb, var(--story-soft) 60%, white);
  font-size: .7rem;
  font-weight: 700;
}

.story-toggle {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 15px 0 0;
  border: 0;
  border-top: 1px solid rgba(21, 85, 163, .10);
  color: var(--navy);
  background: transparent;
  text-align: left;
  font-family: "Manrope", sans-serif;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}

.story-toggle i {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--story-color);
  background: var(--story-soft);
  font-style: normal;
  font-size: 1.2rem;
  transition: transform .3s ease;
}

.story-card.is-open .story-toggle i {
  transform: rotate(45deg);
}

.story-full {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows .45s ease,
    opacity .3s ease,
    margin-top .45s ease;
}

.story-full-inner {
  min-height: 0;
  overflow: hidden;
}

.story-full p {
  margin-top: 13px;
  color: #53627a;
  font-size: .88rem;
  line-height: 1.65;
}

.story-card.is-open .story-full {
  grid-template-rows: 1fr;
  margin-top: 5px;
  opacity: 1;
}

.story-card.reveal {
  opacity: 0;
  transform: translateY(38px) scale(.96);
}

.story-card.reveal.visible {
  animation: storyCardReveal .7s cubic-bezier(.16, 1.1, .3, 1)
    calc(var(--story-index) * .13s) both;
}

@keyframes storyCardReveal {
  0% {
    opacity: 0;
    transform: translateY(38px) scale(.96);
  }

  65% {
    opacity: 1;
    transform: translateY(-5px) scale(1.012);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stories-footer {
  width: min(780px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px auto 0;
  padding: 18px 24px;
  border: 1px solid rgba(21, 85, 163, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(10px);
}

.stories-footer-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), var(--turquoise));
}

.stories-footer p {
  color: #52627a;
  font-size: .9rem;
}

@media (max-width: 820px) {
  .stories-wall {
    columns: 1;
    max-width: 620px;
    margin-top: 38px;
  }

  .story-card {
    padding: 24px;
  }
}

@media (max-width: 580px) {
  .stories-section {
    padding-top: 76px;
    padding-bottom: 68px;
  }

  .stories-accent {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: .04em auto 0;
  }

  .stories-wall {
    margin-top: 30px;
  }

  .story-card {
    margin-bottom: 16px;
    padding: 20px;
    border-radius: 23px;
  }

  .story-card-top {
    grid-template-columns: auto 1fr;
  }

  .story-type {
    grid-column: 2;
    width: max-content;
    margin-top: -5px;
  }

  .story-avatar {
    grid-row: 1 / span 2;
    width: 52px;
    height: 52px;
    border-radius: 17px;
  }

  .story-highlight {
    margin: 19px 0 15px;
    padding: 13px 15px;
  }

  .story-card blockquote {
    font-size: 1rem;
  }

  .story-tags {
    margin-top: 18px;
  }

  .story-toggle {
    margin-top: 20px;
    font-size: .78rem;
  }

  .stories-footer {
    align-items: flex-start;
    padding: 16px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-card,
  .story-card.reveal,
  .story-card.reveal.visible {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .story-full,
  .story-toggle i {
    transition: none;
  }
}


/* =========================================================
   TESTIMONIOS COMPACTOS SIN PALABRAS CLAVE
   ========================================================= */
.stories-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  columns: auto;
  column-gap: normal;
  width: min(1180px, 100%);
  margin-top: 38px;
}

.story-card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 20px;
  border-radius: 23px;
}

.story-card-top {
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.story-type {
  grid-column: 2;
  width: max-content;
  margin-top: -4px;
  padding: 6px 9px;
}

.story-avatar {
  grid-row: 1 / span 2;
  width: 50px;
  height: 50px;
  border-radius: 16px;
}

.story-identity strong {
  font-size: .96rem;
}

.story-identity span {
  font-size: .7rem;
}

.story-highlight {
  margin: 17px 0 14px;
  padding: 12px 14px;
}

.story-highlight-label {
  font-size: .64rem;
}

.story-highlight strong {
  font-size: .84rem;
}

.story-quote-mark {
  top: 108px;
  right: 18px;
  font-size: 5.8rem;
}

.story-card blockquote {
  font-size: .94rem;
  line-height: 1.48;
}

.story-toggle {
  margin-top: 18px;
  padding-top: 13px;
  font-size: .74rem;
}

.story-toggle i {
  width: 27px;
  height: 27px;
}

.story-full p {
  margin-top: 10px;
  font-size: .8rem;
  line-height: 1.52;
}

@media (max-width: 1050px) {
  .stories-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .stories-section {
    padding-top: 70px;
    padding-bottom: 52px;
  }

  .stories-wall {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .story-card {
    min-height: 0;
    padding: 14px 15px 15px;
    border-radius: 19px;
  }

  .story-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .story-avatar::before {
    width: 17px;
    height: 17px;
    top: 8px;
  }

  .story-avatar i {
    width: 27px;
    height: 14px;
    bottom: 5px;
  }

  .story-identity strong {
    font-size: .9rem;
  }

  .story-identity span {
    font-size: .65rem;
  }

  .story-type {
    padding: 5px 8px;
    font-size: .6rem;
  }

  .story-highlight {
    margin: 12px 0 10px;
    padding: 9px 11px;
    border-radius: 0 12px 12px 0;
  }

  .story-highlight-label {
    margin-bottom: 2px;
    font-size: .58rem;
  }

  .story-highlight strong {
    font-size: .76rem;
  }

  .story-quote-mark {
    top: 87px;
    right: 14px;
    font-size: 4.5rem;
  }

  .story-card blockquote {
    font-size: .84rem;
    line-height: 1.4;
  }

  .story-toggle {
    margin-top: 12px;
    padding-top: 10px;
    font-size: .68rem;
  }

  .story-toggle i {
    width: 24px;
    height: 24px;
    font-size: 1rem;
  }

  .story-full p {
    font-size: .74rem;
    line-height: 1.45;
  }

  .stories-footer {
    margin-top: 18px;
    padding: 13px 15px;
  }

  .stories-footer-icon {
    width: 32px;
    height: 32px;
  }

  .stories-footer p {
    font-size: .78rem;
  }
}


/* =========================================================
   CARRUSEL DE TESTIMONIOS — CONSERVA EL DISEÑO DE LAS TARJETAS
   ========================================================= */
.stories-carousel {
  position: relative;
  width: min(1240px, 100%);
  margin: 38px auto 0;
  padding: 0 52px 34px;
}

.stories-carousel .stories-wall {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  columns: auto;
  column-gap: normal;
  overscroll-behavior-inline: contain;
}

.stories-carousel .stories-wall::-webkit-scrollbar {
  display: none;
}

.stories-carousel .story-card {
  flex: 0 0 calc((100% - 32px) / 3);
  max-width: calc((100% - 32px) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  margin: 0;
}

.stories-carousel-button {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 85, 163, .12);
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(20, 50, 90, .12);
  cursor: pointer;
  transform: translateY(-70%);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    opacity .25s ease;
}

.stories-carousel-button:hover {
  transform: translateY(-70%) scale(1.06);
  box-shadow: 0 16px 34px rgba(20, 50, 90, .18);
}

.stories-carousel-button:disabled {
  opacity: .35;
  cursor: default;
}

.stories-carousel-prev {
  left: 0;
}

.stories-carousel-next {
  right: 0;
}

.stories-carousel-button span {
  font-size: 1.25rem;
  line-height: 1;
}

.stories-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.stories-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(21, 85, 163, .20);
  cursor: pointer;
  transition:
    width .25s ease,
    background .25s ease;
}

.stories-carousel-dot.is-active {
  width: 26px;
  background: linear-gradient(90deg, var(--blue), var(--turquoise));
}

@media (max-width: 1050px) {
  .stories-carousel .story-card {
    flex-basis: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
}

@media (max-width: 580px) {
  .stories-carousel {
    width: 100%;
    margin-top: 24px;
    padding: 0 0 28px;
  }

  .stories-carousel .stories-wall {
    gap: 12px;
    padding: 0 18px;
    scroll-padding-left: 18px;
  }

  .stories-carousel .story-card {
    flex: 0 0 calc(100% - 42px);
    max-width: calc(100% - 42px);
  }

  .stories-carousel-button {
    display: none;
  }

  .stories-carousel-dots {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stories-carousel .stories-wall {
    scroll-behavior: auto;
  }

  .stories-carousel-button,
  .stories-carousel-dot {
    transition: none;
  }
}


/* =========================================================
   CORRECCIÓN DE CARRUSEL Y ALTURA DE TESTIMONIOS EN ESCRITORIO
   ========================================================= */
@media (min-width: 1051px) {
  #experiencias.section {
    padding-top: 88px;
    padding-bottom: 34px;
  }

  #experiencias .section-heading {
    margin-bottom: 14px;
  }

  #experiencias .section-heading .eyebrow {
    margin-bottom: 6px;
  }

  #experiencias .section-heading h2 {
    margin-bottom: 6px;
    line-height: .95;
  }

  #experiencias .section-heading p {
    margin-top: 6px;
    font-size: .92rem;
  }

  .stories-carousel {
    margin-top: 18px;
    padding-bottom: 12px;
  }

  .stories-carousel .story-card {
    min-height: 0;
    padding: 14px 16px 15px;
    border-radius: 19px;
  }

  .story-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .story-avatar::before {
    width: 16px;
    height: 16px;
    top: 7px;
  }

  .story-avatar i {
    width: 26px;
    height: 13px;
    bottom: 5px;
  }

  .story-identity strong {
    font-size: .86rem;
  }

  .story-identity span {
    font-size: .62rem;
  }

  .story-type {
    padding: 4px 7px;
    font-size: .58rem;
  }

  .story-highlight {
    margin: 10px 0 8px;
    padding: 8px 10px;
  }

  .story-highlight-label {
    margin-bottom: 2px;
    font-size: .54rem;
  }

  .story-highlight strong {
    font-size: .71rem;
  }

  .story-quote-mark {
    top: 78px;
    right: 12px;
    font-size: 4rem;
  }

  .story-card blockquote {
    font-size: .77rem;
    line-height: 1.32;
  }

  .story-toggle {
    margin-top: 9px;
    padding-top: 8px;
    font-size: .63rem;
  }

  .story-toggle i {
    width: 22px;
    height: 22px;
    font-size: .95rem;
  }

  .story-full p {
    margin-top: 8px;
    font-size: .69rem;
    line-height: 1.38;
  }

  .stories-carousel-dots {
    margin-top: 10px;
  }

  .stories-footer {
    margin-top: 10px;
    padding: 10px 14px;
  }
}

/* Los botones deben quedar por encima del área desplazable */
.stories-carousel-button {
  z-index: 30;
  pointer-events: auto;
}

.stories-carousel .stories-wall {
  position: relative;
  z-index: 1;
}



/* Subdivisiones de testimonios */
.testimonial-subsection {
  width: min(1240px, 100%);
  margin: 52px auto 0;
}

.testimonial-subheading {
  width: min(760px, 100%);
  margin: 0 auto 18px;
  text-align: center;
}

.testimonial-subheading h3 {
  margin-top: 9px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.testimonial-subheading p {
  margin-top: 9px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.testimonial-subsection .stories-carousel {
  margin-top: 16px;
}

@media (max-width: 580px) {
  .testimonial-subsection {
    margin-top: 36px;
  }

  .testimonial-subheading {
    padding: 0 16px;
    margin-bottom: 13px;
  }

  .testimonial-subheading h3 {
    font-size: 1.48rem;
  }

  .testimonial-subheading p {
    font-size: .79rem;
  }
}

/* FAQ rediseño escolar */
.faq-section{position:relative;overflow:hidden;background:radial-gradient(circle at 2% 8%,rgba(38,145,218,.08),transparent 20%),radial-gradient(circle at 92% 15%,rgba(255,171,78,.05),transparent 20%),#fff}.faq-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(300px,.82fr) minmax(520px,1.45fr);gap:clamp(48px,7vw,96px);align-items:start}.faq-intro{position:sticky;top:150px}.faq-intro h2{max-width:520px;margin-top:20px;color:var(--navy);font-family:"Manrope",sans-serif;font-size:clamp(2.8rem,5.2vw,5rem);line-height:.94;letter-spacing:-.04em}.faq-accent{display:block;width:max-content;max-width:100%;margin-top:.04em;color:#ff6b21;font-size:1.12em;transform:rotate(-2deg)}.faq-intro>p{max-width:430px;margin-top:28px;color:var(--muted);font-size:1.05rem;line-height:1.7}.faq-cta{width:max-content;display:inline-flex;align-items:center;gap:18px;margin-top:30px;padding:10px 10px 10px 24px;border-radius:999px}.faq-cta-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.92)}.faq-list{display:grid;gap:14px}.faq-card{--faq-color:var(--blue);--faq-soft:rgba(231,243,255,.88);overflow:hidden;border:1px solid rgba(21,85,163,.08);border-radius:24px;background:rgba(255,255,255,.92);box-shadow:0 14px 34px rgba(20,50,90,.07);transition:.25s}.faq-card:hover{transform:translateY(-3px);box-shadow:0 20px 42px rgba(20,50,90,.11)}.faq-card-orange{--faq-color:#e87924;--faq-soft:rgba(255,240,222,.92)}.faq-card-green{--faq-color:#1a9f83;--faq-soft:rgba(226,248,240,.92)}.faq-card-purple{--faq-color:#7b61c8;--faq-soft:rgba(239,234,255,.92)}.faq-question{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:20px 24px;border:0;color:var(--navy);background:transparent;text-align:left;font-family:"Manrope",sans-serif;font-size:1rem;font-weight:700;cursor:pointer}.faq-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:18px;color:var(--faq-color);background:var(--faq-soft);border:1px solid color-mix(in srgb,var(--faq-color) 11%,transparent)}.faq-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.faq-control{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;color:var(--blue);background:rgba(232,243,255,.82);font-size:1.2rem;font-weight:700}.faq-answer{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .4s ease,opacity .25s ease}.faq-answer-inner{min-height:0;overflow:hidden}.faq-answer p{margin:0 24px 20px 94px;padding:18px 20px;border-radius:18px;color:#586882;background:linear-gradient(145deg,color-mix(in srgb,var(--faq-soft) 58%,white),rgba(255,255,255,.96));font-size:.95rem;line-height:1.65}.faq-card.is-open .faq-answer{grid-template-rows:1fr;opacity:1}.faq-school-illustration{position:relative;width:330px;height:230px;margin-top:36px}.faq-books{position:absolute;left:8px;bottom:8px;width:190px;height:100px}.faq-book{position:absolute;left:0;width:170px;height:28px;border-radius:6px 12px 12px 6px;box-shadow:0 8px 18px rgba(20,50,90,.10)}.faq-book:after{content:"";position:absolute;inset:5px 8px 5px 18px;border-radius:3px 10px 10px 3px;background:rgba(255,255,255,.9)}.faq-book-orange{top:0;left:12px;background:#ff8b2e;transform:rotate(2deg)}.faq-book-green{top:34px;background:#47b69d;transform:rotate(-1deg)}.faq-book-blue{top:68px;left:8px;background:#286bd8}.faq-pencil-cup{position:absolute;left:220px;bottom:8px;width:66px;height:82px;border-radius:8px 8px 18px 18px;background:linear-gradient(160deg,#2f7bdc,#1854a4);box-shadow:0 10px 22px rgba(20,50,90,.14)}.faq-pencil-cup i{position:absolute;width:7px;height:72px;bottom:58px;border-radius:4px 4px 0 0;background:#ffb52d;transform-origin:bottom}.faq-pencil-cup i:nth-child(1){left:12px;transform:rotate(-10deg)}.faq-pencil-cup i:nth-child(2){left:27px;background:#2467c6;transform:rotate(-2deg)}.faq-pencil-cup i:nth-child(3){left:40px;background:#30b8bb;transform:rotate(7deg)}.faq-pencil-cup i:nth-child(4){left:50px;background:#ef6d27;transform:rotate(13deg)}.faq-paper-plane{position:absolute;left:150px;top:2px;width:0;height:0;border-top:17px solid transparent;border-bottom:17px solid transparent;border-left:52px solid #ffb52d;transform:rotate(-18deg)}.faq-doodle{position:absolute;color:rgba(21,85,163,.10);font-family:"Manrope",sans-serif}.faq-doodle-star{right:22px;top:18px;font-size:4rem;transform:rotate(10deg)}.faq-doodle-abc{right:12px;top:100px;font-size:2rem;letter-spacing:.12em;transform:rotate(-7deg)}@media(max-width:980px){.faq-layout{grid-template-columns:1fr;gap:42px}.faq-intro{position:static;text-align:center}.faq-intro h2,.faq-intro>p{margin-left:auto;margin-right:auto}.faq-accent,.faq-cta,.faq-school-illustration{margin-left:auto;margin-right:auto}}@media(max-width:580px){.faq-section{padding-top:78px;padding-bottom:64px}.faq-layout{gap:28px}.faq-intro h2{margin-top:14px;font-size:2.7rem}.faq-intro>p{margin-top:18px;font-size:.92rem}.faq-cta{margin-top:22px;padding-left:19px;font-size:.86rem}.faq-school-illustration{display:none}.faq-list{gap:10px}.faq-card{border-radius:20px}.faq-question{gap:12px;padding:14px 15px;font-size:.86rem}.faq-icon{width:44px;height:44px;border-radius:14px}.faq-icon svg{width:23px;height:23px}.faq-control{width:30px;height:30px}.faq-answer p{margin:0 14px 14px;padding:14px 15px;font-size:.8rem;line-height:1.5}}


/* =========================================================
   AJUSTE DE ALTURA FAQ Y BOTÓN DE ASESOR
   ========================================================= */
#faq.faq-section {
  scroll-margin-top: 120px;
  padding-top: 112px;
  padding-bottom: 56px;
}

#faq .faq-layout {
  gap: clamp(38px, 5vw, 72px);
}

#faq .faq-intro {
  top: 128px;
}

#faq .faq-intro h2 {
  margin-top: 14px;
  font-size: clamp(2.55rem, 4.45vw, 4.35rem);
  line-height: .92;
}

#faq .faq-intro > p {
  margin-top: 20px;
  font-size: .98rem;
  line-height: 1.58;
}

#faq .faq-list {
  gap: 11px;
}

#faq .faq-question {
  padding: 15px 20px;
}

#faq .faq-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
}

#faq .faq-icon svg {
  width: 24px;
  height: 24px;
}

#faq .faq-control {
  width: 32px;
  height: 32px;
}

#faq .faq-answer p {
  margin: 0 20px 15px 84px;
  padding: 14px 17px;
  font-size: .88rem;
  line-height: 1.52;
}

/* Mismo lenguaje visual del botón "Solicitar información" */
#faq .faq-cta {
  width: max-content;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, var(--blue), var(--turquoise));
  box-shadow: 0 14px 30px rgba(21, 85, 163, .18);
  font-family: "Manrope", sans-serif;
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease;
}

#faq .faq-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(21, 85, 163, .24);
  filter: saturate(1.05);
}

#faq .faq-cta-icon {
  display: none;
}

#faq .faq-school-illustration {
  height: 178px;
  margin-top: 24px;
  transform: scale(.84);
  transform-origin: left top;
}

@media (max-width: 980px) {
  #faq.faq-section {
    padding-top: 96px;
  }

  #faq .faq-intro {
    position: static;
  }

  #faq .faq-school-illustration {
    transform-origin: center top;
  }
}

@media (max-width: 580px) {
  #faq.faq-section {
    scroll-margin-top: 92px;
    padding-top: 82px;
    padding-bottom: 48px;
  }

  #faq .faq-layout {
    gap: 24px;
  }

  #faq .faq-intro h2 {
    margin-top: 10px;
    font-size: 2.42rem;
  }

  #faq .faq-intro > p {
    margin-top: 14px;
    font-size: .88rem;
  }

  #faq .faq-cta {
    min-height: 48px;
    margin-top: 18px;
    padding: 0 21px;
    font-size: .85rem;
  }

  #faq .faq-question {
    padding: 12px 13px;
  }

  #faq .faq-icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  #faq .faq-icon svg {
    width: 21px;
    height: 21px;
  }

  #faq .faq-answer p {
    margin: 0 12px 12px;
    padding: 12px 13px;
    font-size: .76rem;
  }
}


/* =========================================================
   CORRECCIÓN FINAL DE ANCLA Y ALTURA DE PREGUNTAS FRECUENTES
   ========================================================= */
#faq.faq-section {
  scroll-margin-top: 86px;
  min-height: 100vh;
  padding-top: 82px;
  padding-bottom: 44px;
}

#faq .faq-layout {
  align-items: start;
}

#faq .faq-intro {
  top: 102px;
}

#faq .faq-school-illustration {
  height: 206px;
  margin-top: 20px;
  overflow: visible;
  transform: scale(.78);
  transform-origin: left top;
}

#faq .faq-list {
  gap: 9px;
}

#faq .faq-question {
  padding-top: 13px;
  padding-bottom: 13px;
}

#faq .faq-answer p {
  margin-bottom: 12px;
}

@media (max-width: 980px) {
  #faq.faq-section {
    scroll-margin-top: 92px;
    padding-top: 92px;
  }

  #faq .faq-school-illustration {
    transform-origin: center top;
  }
}

@media (max-width: 580px) {
  #faq.faq-section {
    scroll-margin-top: 76px;
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 42px;
  }

  #faq .faq-layout {
    gap: 22px;
  }
}


/* =========================================================
   FAQ SIN ILUSTRACIÓN Y CON ANCLA CORREGIDA
   ========================================================= */
#faq.faq-section {
  scroll-margin-top: 104px;
  min-height: auto;
  padding-top: 126px;
  padding-bottom: 56px;
}

#faq .faq-layout {
  align-items: start;
  gap: clamp(42px, 5.5vw, 78px);
}

#faq .faq-intro {
  top: 136px;
}

#faq .faq-school-illustration {
  display: none !important;
}

#faq .faq-intro h2 {
  margin-top: 12px;
}

#faq .faq-intro > p {
  margin-top: 18px;
}

#faq .faq-list {
  padding-top: 12px;
}

@media (max-width: 980px) {
  #faq.faq-section {
    scroll-margin-top: 94px;
    padding-top: 104px;
  }

  #faq .faq-intro {
    position: static;
  }

  #faq .faq-list {
    padding-top: 0;
  }
}

@media (max-width: 580px) {
  #faq.faq-section {
    scroll-margin-top: 82px;
    padding-top: 88px;
    padding-bottom: 46px;
  }

  #faq .faq-layout {
    gap: 24px;
  }
}


/* =========================================================
   REDUCCIÓN DEL ESPACIO SUPERIOR EN FAQ
   ========================================================= */
#faq.faq-section {
  scroll-margin-top: 96px;
  padding-top: 72px;
}

#faq .faq-intro {
  top: 112px;
}

#faq .faq-list {
  padding-top: 0;
}

@media (max-width: 980px) {
  #faq.faq-section {
    scroll-margin-top: 88px;
    padding-top: 82px;
  }
}

@media (max-width: 580px) {
  #faq.faq-section {
    scroll-margin-top: 76px;
    padding-top: 74px;
  }
}



/* =========================================================
   CORRECCIÓN DEFINITIVA DEL ACORDEÓN FAQ
   ========================================================= */
#faq .faq-answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height .38s ease, opacity .24s ease, visibility 0s linear .38s;
}

#faq .faq-card.is-open .faq-answer {
  opacity: 1;
  visibility: visible;
  transition: max-height .38s ease, opacity .24s ease, visibility 0s;
}

#faq .faq-answer-inner {
  overflow: visible;
}

#faq .faq-control {
  pointer-events: none;
}


/* =========================================================
   AJUSTE DE ESPACIO ENTRE TESTIMONIOS Y FAQ
   ========================================================= */
#faq.faq-section {
  margin-top: -72px;
  padding-top: 58px;
  scroll-margin-top: 88px;
}

#faq .faq-layout {
  margin-top: 0;
}

#faq .faq-list {
  padding-top: 0;
}

@media (max-width: 980px) {
  #faq.faq-section {
    margin-top: -48px;
    padding-top: 64px;
    scroll-margin-top: 82px;
  }
}

@media (max-width: 580px) {
  #faq.faq-section {
    margin-top: -28px;
    padding-top: 60px;
    scroll-margin-top: 74px;
  }
}


/* =========================================================
   POSICIÓN CORREGIDA DE "MÁS LEJOS" EN CTA FINAL
   ========================================================= */
@media (min-width: 981px) {
  .cta-card {
    position: relative;
  }

  .cta-card .hero-potential.benefits-title-accent {
    position: absolute !important;
    left: 53% !important;
    top: 52% !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) rotate(-2deg) !important;
    z-index: 4;
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .cta-card .hero-potential.benefits-title-accent {
    position: static !important;
    margin: 0 !important;
    transform: none !important;
  }
}


/* =========================================================
   AJUSTE FINAL DE POSICIÓN — "MÁS LEJOS"
   ========================================================= */
@media (min-width: 981px) {
  .cta-card {
    position: relative;
  }

  .cta-card .hero-potential.benefits-title-accent {
    position: absolute !important;
    left: 61% !important;
    top: 59% !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) rotate(-2deg) !important;
    z-index: 4 !important;
    white-space: nowrap;
    pointer-events: none;
  }
}

@media (max-width: 980px) {
  .cta-card .hero-potential.benefits-title-accent {
    position: static !important;
    margin: 0 !important;
    transform: none !important;
  }
}


/* =========================================================
   AJUSTE DE POSICIÓN DEL TEXTO DESCRIPTIVO EN CTA FINAL
   ========================================================= */
@media (min-width: 981px) {
  .cta-card .cta-description {
    position: relative;
    top: 34px;
    margin-top: 0 !important;
  }
}

@media (max-width: 980px) {
  .cta-card .cta-description {
    position: static;
    top: auto;
  }
}


/* =========================================================
   ESPACIO ENTRE "MÁS LEJOS" Y TEXTO DESCRIPTIVO
   ========================================================= */
@media (min-width: 981px) {
  .cta-card .cta-description {
    position: absolute !important;
    left: 6.4% !important;
    top: 71% !important;
    width: 56% !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 3;
  }
}

@media (max-width: 980px) {
  .cta-card .cta-description {
    position: static !important;
    width: auto !important;
    margin-top: 28px !important;
    transform: none !important;
  }
}


/* =========================================================
   FOOTER ACTUALIZADO
   ========================================================= */
.footer {
  position: relative;
  overflow: hidden;
  padding: 70px 0 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(18, 180, 196, .12), transparent 28%),
    linear-gradient(135deg, #07182d 0%, #09213d 62%, #0b2847 100%);
}

.footer::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -175px;
  bottom: -205px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255, 255, 255, .025),
    0 0 0 90px rgba(255, 255, 255, .018);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid-updated {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(145px, .72fr));
  gap: clamp(32px, 4.5vw, 64px);
  padding-bottom: 46px;
}

.footer-brand-column {
  max-width: 390px;
}

.footer-brand-link {
  width: 112px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .13);
}

.footer-logo {
  width: 76px;
  height: auto;
  object-fit: contain;
}

.footer-copy {
  max-width: 390px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .66);
  font-size: .9rem;
  line-height: 1.7;
}

.footer-whatsapp {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, rgba(30, 107, 190, .95), rgba(17, 185, 196, .95));
  box-shadow: 0 12px 26px rgba(0, 0, 0, .14);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.footer-whatsapp:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .2);
}

.footer-column h4,
.footer h4 {
  margin-bottom: 18px;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: .93rem;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, .62);
  font-size: .86rem;
  line-height: 1.5;
  text-decoration: none;
  transition:
    color .2s ease,
    transform .2s ease;
}

.footer-links a:hover {
  display: inline-block;
  color: var(--turquoise);
  transform: translateX(3px);
}

.footer-social-copy {
  max-width: 220px;
  color: rgba(255, 255, 255, .58);
  font-size: .82rem;
  line-height: 1.55;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  text-decoration: none;
  transition:
    color .25s ease,
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.footer-social-link:hover {
  color: #fff;
  border-color: rgba(19, 184, 196, .55);
  background: linear-gradient(145deg, rgba(27, 107, 190, .9), rgba(16, 181, 194, .9));
  transform: translateY(-3px);
}

.footer-social-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-link:nth-child(2) svg,
.footer-social-link:nth-child(3) svg {
  fill: currentColor;
  stroke: none;
}

.footer-social-link:nth-child(3) .footer-social-play {
  fill: #0a2038;
  stroke: none;
}

.footer-linktree {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 17px;
  color: var(--turquoise);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-linktree:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .43);
  font-size: .76rem;
}

@media (max-width: 1050px) {
  .footer-grid-updated {
    grid-template-columns: 1.25fr repeat(2, .75fr);
  }

  .footer-social-column {
    grid-column: 2 / -1;
  }
}

@media (max-width: 760px) {
  .footer {
    padding-top: 54px;
  }

  .footer-grid-updated {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
  }

  .footer-social-column {
    grid-column: auto;
  }
}

@media (max-width: 580px) {
  .footer {
    padding: 46px 0 24px;
  }

  .footer-grid-updated {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 34px;
  }

  .footer-brand-column,
  .footer-social-column {
    grid-column: auto;
  }

  .footer-brand-link {
    width: 100px;
    height: 78px;
  }

  .footer-logo {
    width: 68px;
  }

  .footer-copy {
    font-size: .83rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: .7rem;
  }
}



.footer-brand-link{
 background:transparent !important;
 box-shadow:none !important;
 border:none !important;
 padding:0 !important;
}
.footer-logo{
 filter:drop-shadow(0 8px 18px rgba(0,0,0,.18));
}


/* =========================================================
   LOGO TRANSPARENTE EN FOOTER
   ========================================================= */
.footer-brand-link {
  width: 118px;
  height: auto;
  min-height: 0;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.footer-logo {
  width: 104px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .16));
}

@media (max-width: 580px) {
  .footer-brand-link {
    width: 104px;
  }

  .footer-logo {
    width: 92px;
  }
}


/* =========================================================
   ANIMACIONES ACTIVADAS AL ENTRAR AL VIEWPORT
   ========================================================= */
.animate-on-view {
  animation-play-state: paused !important;
}

.animate-on-view.is-in-view {
  animation-play-state: running !important;
}

.reveal.animate-on-view {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .72s ease,
    transform .72s cubic-bezier(.2, .75, .25, 1);
}

.reveal.animate-on-view.is-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* El subrayado/highlight se dibuja únicamente al entrar a pantalla */
.hero-potential.animate-on-view::after,
.benefits-title-accent.animate-on-view::after {
  transform: scaleX(0) !important;
  transform-origin: left center;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}

.hero-potential.animate-on-view.is-in-view::after,
.benefits-title-accent.animate-on-view.is-in-view::after {
  transform: scaleX(1) !important;
}

/* Reinicia y ejecuta el recorrido de la línea del tiempo al verla */
.methodology-path-progress.animate-on-view,
.methodology-mobile-progress.animate-on-view {
  stroke-dashoffset: var(--path-length, 2200);
  transition: stroke-dashoffset 7.5s linear;
}

.methodology-path-progress.animate-on-view.is-in-view,
.methodology-mobile-progress.animate-on-view.is-in-view {
  stroke-dashoffset: 0;
}

/* =========================================================
   ZONA SUPERIOR PARA MOSTRAR NAVEGACIÓN EN ESCRITORIO
   ========================================================= */
.desktop-nav-hover-zone {
  display: none;
}

@media (min-width: 981px) {
  .desktop-nav-hover-zone {
    position: fixed;
    inset: 0 0 auto;
    height: 34px;
    display: block;
    z-index: 9998;
    background: transparent;
  }

  .site-header,
  .header,
  header {
    transition:
      transform .28s ease,
      opacity .28s ease;
  }

  .site-header.is-hover-visible,
  .header.is-hover-visible,
  header.is-hover-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-view,
  .animate-on-view::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal.animate-on-view {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-potential.animate-on-view::after,
  .benefits-title-accent.animate-on-view::after {
    transform: scaleX(1) !important;
  }

  .methodology-path-progress.animate-on-view,
  .methodology-mobile-progress.animate-on-view {
    stroke-dashoffset: 0 !important;
  }
}


/* =========================================================
   CONTROL REAL DE ANIMACIONES POR SECCIÓN
   ========================================================= */

/*
  La clase está escrita directamente en <html>, por lo que estas reglas
  se aplican antes del primer render y evitan que las animaciones corran
  durante la carga inicial.
*/
.animations-controlled section.animation-section-pending .reveal {
  opacity: 0 !important;
  transform: translateY(22px) !important;
  transition: none !important;
}

/* Aunque el observador antiguo agregue .visible, la sección sigue en espera. */
.animations-controlled section.animation-section-pending .reveal.visible {
  opacity: 0 !important;
  transform: translateY(22px) !important;
}

.animations-controlled section.section-is-in-view .reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition:
    opacity .7s ease var(--section-reveal-delay, 0ms),
    transform .7s ease var(--section-reveal-delay, 0ms) !important;
}

/* Highlights: no se dibujan hasta que su propia sección sea visible. */
.animations-controlled section.animation-section-pending .hero-potential::after,
.animations-controlled section.animation-section-pending .benefits-title-accent::after,
.animations-controlled section.animation-section-pending .stories-accent::after {
  animation: none !important;
  transform: rotate(-1.5deg) scaleX(0) !important;
  transform-origin: left center !important;
}

.animations-controlled section.section-is-in-view .hero-potential::after,
.animations-controlled section.section-is-in-view .benefits-title-accent::after,
.animations-controlled section.section-is-in-view .stories-accent::after {
  animation: drawPotentialHighlight .9s cubic-bezier(.22, .8, .25, 1) .25s forwards !important;
}

/* Metodología escritorio: línea sin llenar hasta entrar a la sección. */
.animations-controlled #metodologia.animation-section-pending .timeline-track {
  animation: none !important;
  stroke-dasharray: 1800 !important;
  stroke-dashoffset: 1800 !important;
}

.animations-controlled #metodologia.section-is-in-view .timeline-track {
  stroke-dasharray: 1800 !important;
  stroke-dashoffset: 1800;
  animation: drawMethodTimeline 7.5s linear .2s forwards !important;
}

/* Las tarjetas de metodología tampoco explotan/rebotan antes de tiempo. */
.animations-controlled #metodologia.animation-section-pending .timeline-step {
  animation: none !important;
  opacity: 0 !important;
  transform: scale(.72) translateY(28px) !important;
}

.animations-controlled #metodologia.section-is-in-view .timeline-step {
  animation-name: timelineStepPop !important;
  animation-duration: .72s !important;
  animation-timing-function: cubic-bezier(.16, 1.2, .3, 1) !important;
  animation-fill-mode: forwards !important;
}

/* Retraso progresivo de las cinco tarjetas. */
.animations-controlled #metodologia.section-is-in-view .timeline-step-1 { animation-delay: .35s !important; }
.animations-controlled #metodologia.section-is-in-view .timeline-step-2 { animation-delay: .55s !important; }
.animations-controlled #metodologia.section-is-in-view .timeline-step-3 { animation-delay: .75s !important; }
.animations-controlled #metodologia.section-is-in-view .timeline-step-4 { animation-delay: .95s !important; }
.animations-controlled #metodologia.section-is-in-view .timeline-step-5 { animation-delay: 1.15s !important; }

/* Metodología móvil: la curva también espera a que llegue la sección. */
@media (max-width: 580px) {
  .animations-controlled #metodologia.animation-section-pending .mobile-timeline-path path {
    animation: none !important;
    stroke-dasharray: 1 !important;
    stroke-dashoffset: 1 !important;
  }

  .animations-controlled #metodologia.section-is-in-view .mobile-timeline-path path {
    stroke-dasharray: 1 !important;
    stroke-dashoffset: 1;
    animation: fillMobileTimeline 8s linear .25s forwards !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animations-controlled section .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .animations-controlled section .hero-potential::after,
  .animations-controlled section .benefits-title-accent::after,
  .animations-controlled section .stories-accent::after {
    animation: none !important;
    transform: rotate(-1.5deg) scaleX(1) !important;
  }

  .animations-controlled #metodologia .timeline-track,
  .animations-controlled #metodologia .mobile-timeline-path path {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }

  .animations-controlled #metodologia .timeline-step {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* =========================================================
   NAVEGACIÓN DESKTOP — MOSTRAR SOLO EN ZONA SUPERIOR/HOVER
   ========================================================= */
@media (min-width: 981px) {
  .site-header.is-hover-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .site-header.site-header-hidden:not(.is-hover-visible) {
    transform: translateY(calc(-100% - 24px)) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .desktop-nav-hover-zone {
    height: 42px !important;
  }
}


/* =========================================================
   METODOLOGÍA — ANIMACIÓN DE DIBUJADO DE LA LÍNEA CURVA
   ========================================================= */

/* Estado inicial: la línea azul permanece sin dibujar. */
.animations-controlled #metodologia.animation-section-pending .timeline-track {
  stroke-dasharray: 1 !important;
  stroke-dashoffset: 1 !important;
  animation: none !important;
  transition: none !important;
}

/* Al entrar la sección en pantalla, la línea se dibuja en ~4.5 s. */
.animations-controlled #metodologia.section-is-in-view .timeline-track {
  stroke-dasharray: 1 !important;
  stroke-dashoffset: 1;
  animation: drawMethodologyCurve 6s linear 0.5s forwards !important;
}

@keyframes drawMethodologyCurve {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

/* Misma animación para la curva vertical de móvil. */
@media (max-width: 580px) {
  .animations-controlled #metodologia.animation-section-pending .mobile-timeline-path path {
    stroke-dasharray: 1 !important;
    stroke-dashoffset: 1 !important;
    animation: none !important;
    transition: none !important;
  }

  .animations-controlled #metodologia.section-is-in-view .mobile-timeline-path path {
    stroke-dasharray: 1 !important;
    stroke-dashoffset: 1;
    animation: drawMethodologyCurve 6s linear 0.5s forwards !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animations-controlled #metodologia .timeline-track,
  .animations-controlled #metodologia .mobile-timeline-path path {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
}

