/*
Theme Name: Attesa Child
Template: attesa
Version: 1.0
*/

    /* =============================================
       TOKENS & RESET
    ============================================= */
    :root {
      --forest:   #5E6C5B;
      --cream:    #FEFCF6;
      --stone:    #686867;
      --linen:    #F4EFE6;
      --mist:     #D6E0E2;
      --midnight: #162A2C;

      --ff-title: 'Cormorant Garamond', Georgia, serif;
      --ff-body:  'Poppins', sans-serif;

      --radius-sm: 4px;
      --radius-md: 32px;
      --radius-lg: 60px;

      --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
      --dur: 0.35s;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

    body {
      background: var(--cream);
      color: var(--midnight);
      font-family: var(--ff-body);
      font-weight: 300;
      font-size: 16px;
      line-height: 1.75;
      overflow-x: hidden;
    }

    img { display: block; max-width: 100%; }
    a   { text-decoration: none; color: inherit; }
    ul  { list-style: none; }

    /* =============================================
       TYPOGRAPHY HELPERS
    ============================================= */
    .t-display {
      font-family: var(--ff-title);
      font-weight: 400;
      line-height: 1.08;
      letter-spacing: -0.01em;
    }
    .t-display--italic { font-style: italic; }

    .t-label {
      font-family: var(--ff-body);
      font-size: 0.65rem;
      font-weight: 500;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--forest);
    }

    .t-body {
      font-family: var(--ff-body);
      font-weight: 300;
      color: var(--stone);
      line-height: 1.8;
    }

    /* =============================================
       LAYOUT
    ============================================= */
    .container {
      width: min(1160px, 92%);
      margin-inline: auto;
    }

    section { overflow: hidden; }

    /* =============================================
       BUTTONS
    ============================================= */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-family: var(--ff-body);
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 1rem 2.2rem;
      border-radius: var(--radius-lg);
      border: 1.5px solid transparent;
      cursor: pointer;
      transition: background var(--dur) var(--ease),
                  color var(--dur) var(--ease),
                  border-color var(--dur) var(--ease),
                  transform var(--dur) var(--ease);
    }
    .btn:hover { transform: translateY(-2px); }

    .btn--primary {
      background: var(--forest);
      color: var(--cream);
      border-color: var(--forest);
    }
    .btn--primary:hover {
      background: var(--midnight);
      border-color: var(--midnight);
    }

    .btn--ghost {
      background: transparent;
      color: var(--midnight);
      border-color: var(--midnight);
    }
    .btn--ghost:hover {
      background: var(--midnight);
      color: var(--cream);
    }

    .btn--ghost-light {
      background: transparent;
      color: var(--cream);
      border-color: rgba(254,252,246,0.55);
    }
    .btn--ghost-light:hover {
      background: var(--cream);
      color: var(--midnight);
    }

    /* =============================================
       HEADER / NAV
    ============================================= */
    .header {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 1.4rem 0;
      transition: background var(--dur) var(--ease),
                  padding var(--dur) var(--ease),
                  box-shadow var(--dur) var(--ease);
    }

    .header.scrolled {
      background: rgba(254,252,246,0.96);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      padding: 0.9rem 0;
      box-shadow: 0 1px 0 rgba(22,42,44,0.08);
    }

    .header__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
    }

    .header__logo img {
      height: 40px;
      width: auto;
      transition: opacity var(--dur) var(--ease);
    }

    .header__logo .logo--dark  { display: none; }
    .header__logo .logo--light { display: block; }

    .header.scrolled .logo--dark  { display: block; }
    .header.scrolled .logo--light { display: none; }

    .header__nav {
      display: flex;
      align-items: center;
      gap: 2.4rem;
    }

    .header__nav a {
      font-family: var(--ff-body);
      font-size: 0.7rem;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(254,252,246,0.85);
      transition: color var(--dur) var(--ease);
    }
    .header.scrolled .header__nav a { color: var(--stone); }
    .header__nav a:hover { color: var(--cream); }
    .header.scrolled .header__nav a:hover { color: var(--midnight); }

    .header__cta .btn--primary {
      padding: 0.75rem 1.6rem;
      font-size: 0.67rem;
    }

    /* Hamburger */
    .header__burger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
    }
    .header__burger span {
      display: block;
      width: 24px;
      height: 1.5px;
      background: var(--cream);
      transition: background var(--dur) var(--ease);
    }
    .header.scrolled .header__burger span { background: var(--midnight); }

    .mobile-nav {
      display: none;
      position: fixed;
      inset: 0;
      background: var(--midnight);
      z-index: 99;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2.8rem;
    }
    .mobile-nav.open { display: flex; }
    .mobile-nav a {
      font-family: var(--ff-title);
      font-size: 2.4rem;
      font-weight: 300;
      color: var(--cream);
      letter-spacing: 0.02em;
      transition: color var(--dur) var(--ease);
    }
    .mobile-nav a:hover { color: var(--mist); }
    .mobile-nav__close {
      position: absolute;
      top: 2rem; right: 2rem;
      background: none;
      border: none;
      color: var(--cream);
      font-size: 1.8rem;
      cursor: pointer;
    }

    /* =============================================
       HERO
    ============================================= */
    .hero {
      position: relative;
      height: 100svh;
      min-height: 680px;
      display: flex;
      align-items: flex-end;
      padding-bottom: 7vh;
    }

    .hero__bg {
      position: absolute;
      inset: 0;
      background-image: url('https://draelviracediel.com/wp-content/uploads/2026/04/dra-oficina-final.png');
      background-size: cover;
      background-position: center 20%;
      z-index: 0;
    }

    .hero__overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(22,42,44,0.28) 0%,
        rgba(22,42,44,0.18) 30%,
        rgba(22,42,44,0.55) 75%,
        rgba(22,42,44,0.80) 100%
      );
      z-index: 1;
    }

    .hero__content {
      position: relative;
      z-index: 2;
      max-width: 780px;
    }

    .hero__eyebrow {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      margin-bottom: 1.6rem;
    }
    .hero__eyebrow::before {
      content: '';
      display: block;
      width: 32px;
      height: 1px;
      background: rgba(214,224,226,0.7);
    }
    .hero__eyebrow span {
      font-family: var(--ff-body);
      font-size: 0.62rem;
      font-weight: 400;
      letter-spacing: 0.26em;
      text-transform: uppercase;
      color: var(--mist);
    }

    .hero__title {
      font-size: clamp(3rem, 7vw, 5.8rem);
      color: var(--cream);
      margin-bottom: 1.6rem;
      font-weight: 300;
    }

    .hero__title em {
      font-style: italic;
      color: var(--mist);
    }

    .hero__sub {
      font-family: var(--ff-body);
      font-size: clamp(0.85rem, 1.2vw, 0.95rem);
      font-weight: 300;
      color: rgba(254,252,246,0.75);
      max-width: 460px;
      line-height: 1.85;
      margin-bottom: 2.6rem;
    }

    .hero__actions {
      display: flex;
      align-items: center;
      gap: 1.4rem;
      flex-wrap: wrap;
    }

    .hero__scroll {
      position: absolute;
      bottom: 2.8rem;
      right: 0;
      z-index: 2;
      display: flex;
      align-items: center;
      gap: 0.8rem;
      color: rgba(254,252,246,0.5);
      font-size: 0.6rem;
      font-weight: 400;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      writing-mode: vertical-rl;
      transform: rotate(180deg);
    }

    .hero__scroll::before {
      content: '';
      display: block;
      width: 1px;
      height: 48px;
      background: rgba(254,252,246,0.25);
      animation: scrollLine 2s ease infinite;
    }

    @keyframes scrollLine {
      0%   { transform: scaleY(0); transform-origin: top; }
      50%  { transform: scaleY(1); transform-origin: top; }
      50.01% { transform-origin: bottom; }
      100% { transform: scaleY(0); transform-origin: bottom; }
    }

    /* =============================================
       PILARES / PROPUESTA DE VALOR
    ============================================= */
    .pillars {
      background: var(--cream);
      padding: 7rem 0 6rem;
    }

    .pillars__intro {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: end;
      margin-bottom: 5.5rem;
    }

    .pillars__title {
      font-size: clamp(2.4rem, 4vw, 3.6rem);
    }

    .pillars__text {
      font-size: 0.9rem;
      color: var(--stone);
    }
    .pillars__text p + p { margin-top: 1rem; }

    .pillars__grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: rgba(22,42,44,0.08);
      border: 1px solid rgba(22,42,44,0.08);
    }

    .pillar {
      background: var(--cream);
      padding: 3rem 2rem;
      position: relative;
      transition: background var(--dur) var(--ease);
    }
    .pillar:hover { background: var(--linen); }

    .pillar__num {
      font-family: var(--ff-title);
      font-size: 3.5rem;
      font-weight: 300;
      color: rgba(94,108,91,0.18);
      line-height: 1;
      margin-bottom: 1.5rem;
    }

    .pillar__icon {
      width: 36px;
      height: 36px;
      border: 1px solid var(--forest);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.4rem;
    }

    .pillar__icon svg {
      width: 16px;
      height: 16px;
      stroke: var(--forest);
      fill: none;
      stroke-width: 1.4;
    }

    .pillar__label {
      margin-bottom: 0.6rem;
    }

    .pillar__title {
      font-family: var(--ff-title);
      font-size: 1.45rem;
      font-weight: 400;
      margin-bottom: 0.8rem;
      line-height: 1.2;
    }

    .pillar__desc {
      font-size: 0.82rem;
      color: var(--stone);
      line-height: 1.8;
    }

    /* =============================================
       SOBRE LA DOCTORA
    ============================================= */
    .about {
      background: var(--midnight);
      padding: 7rem 0;
      position: relative;
    }

    .about__inner {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 6rem;
      align-items: center;
    }

    .about__image-wrap {
      position: relative;
    }

    .about__img {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
      object-position: center top;
      filter: grayscale(15%) contrast(1.03);
    }

    .about__img-border {
      position: absolute;
      top: -18px;
      left: -18px;
      right: 18px;
      bottom: 18px;
      border: 1px solid rgba(214,224,226,0.2);
      pointer-events: none;
    }

    .about__badge {
      position: absolute;
      bottom: -1.5rem;
      right: -1.5rem;
      background: var(--forest);
      color: var(--cream);
      padding: 1.4rem 1.6rem;
      text-align: center;
    }

    .about__badge-num {
      font-family: var(--ff-title);
      font-size: 2.6rem;
      font-weight: 300;
      display: block;
      line-height: 1;
    }
    .about__badge-text {
      font-size: 0.62rem;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      opacity: 0.8;
    }

    .about__content .t-label { color: var(--mist); opacity: 0.6; margin-bottom: 1.2rem; }

    .about__title {
      font-size: clamp(2.2rem, 3.5vw, 3.2rem);
      color: var(--cream);
      margin-bottom: 2rem;
    }

    .about__title em {
      font-style: italic;
      color: var(--mist);
    }

    .about__text {
      color: rgba(214,224,226,0.75);
      font-size: 0.88rem;
      line-height: 1.9;
    }
    .about__text p + p { margin-top: 1.1rem; }

    .about__quote {
      margin-top: 2.4rem;
      padding-left: 1.4rem;
      border-left: 1px solid var(--forest);
    }
    .about__quote p {
      font-family: var(--ff-title);
      font-size: 1.3rem;
      font-style: italic;
      font-weight: 300;
      color: var(--mist);
      line-height: 1.5;
    }

    .about__cta { margin-top: 2.6rem; }

    /* =============================================
       SERVICIOS
    ============================================= */
    .services {
      background: var(--cream);
      padding: 7rem 0 6rem;
    }

    .services__header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 2rem;
      margin-bottom: 4rem;
    }

    .services__title {
      font-size: clamp(2.4rem, 4vw, 3.6rem);
      max-width: 520px;
    }

    .services__link {
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--forest);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      white-space: nowrap;
      border-bottom: 1px solid var(--forest);
      padding-bottom: 2px;
      transition: color var(--dur) var(--ease);
    }
    .services__link:hover { color: var(--midnight); border-color: var(--midnight); }

    .services__grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }

    .service-card {
      background: var(--linen);
      padding: 3rem 2.8rem;
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      position: relative;
      overflow: hidden;
      transition: background var(--dur) var(--ease);
      cursor: default;
    }

    .service-card::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 100%;
      height: 2px;
      background: var(--forest);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.5s var(--ease);
    }
    .service-card:hover::after { transform: scaleX(1); }
    .service-card:hover { background: var(--mist); }

    .service-card__num {
      font-family: var(--ff-title);
      font-size: 5rem;
      font-weight: 300;
      color: rgba(22,42,44,0.07);
      line-height: 1;
      position: absolute;
      top: 1.5rem;
      right: 2rem;
    }

    .service-card__label { margin-bottom: 0; }

    .service-card__title {
      font-family: var(--ff-title);
      font-size: 1.9rem;
      font-weight: 400;
      line-height: 1.15;
      color: var(--midnight);
    }

    .service-card__desc {
      font-size: 0.85rem;
      color: var(--stone);
      line-height: 1.8;
      max-width: 440px;
    }

    .service-card__footer {
      margin-top: auto;
      padding-top: 1.4rem;
      border-top: 1px solid rgba(22,42,44,0.1);
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .service-card__tag {
      font-size: 0.66rem;
      font-weight: 400;
      letter-spacing: 0.08em;
      padding: 0.3rem 0.9rem;
      border: 1px solid rgba(94,108,91,0.3);
      border-radius: var(--radius-lg);
      color: var(--forest);
    }

    /* =============================================
       FILOSOFÍA
    ============================================= */
    .philosophy {
      background: var(--linen);
      padding: 7rem 0;
    }

    .philosophy__inner {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 6rem;
      align-items: center;
    }

    .philosophy__label { margin-bottom: 1rem; }

    .philosophy__title {
      font-size: clamp(2.4rem, 4vw, 3.6rem);
      margin-bottom: 2.5rem;
    }

    .philosophy__text {
      font-size: 0.88rem;
      color: var(--stone);
      line-height: 1.9;
    }
    .philosophy__text p + p { margin-top: 1rem; }

    .philosophy__cta { margin-top: 2.4rem; }

    .philosophy__visual {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .philosophy__item {
      background: var(--cream);
      padding: 1.8rem 2rem;
      display: flex;
      gap: 1.4rem;
      align-items: flex-start;
      transition: box-shadow var(--dur) var(--ease);
    }
    .philosophy__item:hover {
      box-shadow: 0 4px 24px rgba(22,42,44,0.06);
    }

    .philosophy__item-icon {
      width: 40px;
      height: 40px;
      background: var(--forest);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .philosophy__item-icon svg {
      width: 18px;
      height: 18px;
      stroke: var(--cream);
      fill: none;
      stroke-width: 1.4;
    }

    .philosophy__item-body {}

    .philosophy__item-title {
      font-family: var(--ff-title);
      font-size: 1.1rem;
      font-weight: 500;
      margin-bottom: 0.3rem;
    }

    .philosophy__item-text {
      font-size: 0.8rem;
      color: var(--stone);
      line-height: 1.7;
    }

    /* =============================================
       TESTIMONIOS
    ============================================= */
    .testimonials {
      background: var(--cream);
      padding: 7rem 0;
    }

    .testimonials__header {
      text-align: center;
      margin-bottom: 4.5rem;
    }

    .testimonials__label { margin-bottom: 1rem; }

    .testimonials__title {
      font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    }

    .testimonials__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .testimonial {
      background: var(--linen);
      padding: 2.4rem 2rem;
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      position: relative;
    }

    .testimonial__quote-mark {
      font-family: var(--ff-title);
      font-size: 5rem;
      line-height: 0.5;
      color: rgba(94,108,91,0.15);
      font-weight: 300;
    }

    .testimonial__text {
      font-family: var(--ff-title);
      font-size: 1.1rem;
      font-weight: 400;
      font-style: italic;
      color: var(--midnight);
      line-height: 1.6;
      flex: 1;
    }

    .testimonial__stars {
      display: flex;
      gap: 3px;
    }
    .testimonial__star {
      width: 12px;
      height: 12px;
      color: var(--forest);
    }

    .testimonial__author {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(22,42,44,0.08);
    }

    .testimonial__initials {
      width: 36px;
      height: 36px;
      background: var(--mist);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 500;
      color: var(--midnight);
      letter-spacing: 0.05em;
    }

    .testimonial__name {
      font-size: 0.78rem;
      font-weight: 500;
      color: var(--midnight);
      letter-spacing: 0.04em;
    }

    .testimonial__detail {
      font-size: 0.7rem;
      color: var(--stone);
    }

    /* =============================================
       CTA FINAL
    ============================================= */
    .cta-final {
      background: var(--midnight);
      padding: 8rem 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta-final__bg {
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0.04;
      background-image: url('https://draelviracediel.com/wp-content/uploads/2026/04/dra-oficina-final.png');
      background-size: cover;
      background-position: center;
    }

    .cta-final__deco {
      position: absolute;
      width: 420px;
      height: 420px;
      border-radius: 50%;
      border: 1px solid rgba(214,224,226,0.06);
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }
    .cta-final__deco--2 {
      width: 680px;
      height: 680px;
      border-color: rgba(214,224,226,0.03);
    }

    .cta-final__content { position: relative; }

    .cta-final__label { margin-bottom: 1.4rem; color: var(--mist); opacity: 0.5; }

    .cta-final__title {
      font-size: clamp(2.6rem, 5vw, 4.4rem);
      color: var(--cream);
      max-width: 660px;
      margin: 0 auto 1.6rem;
    }
    .cta-final__title em { color: var(--mist); }

    .cta-final__sub {
      font-size: 0.9rem;
      color: rgba(214,224,226,0.55);
      max-width: 440px;
      margin: 0 auto 3rem;
      line-height: 1.85;
    }

    .cta-final__actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.2rem;
      flex-wrap: wrap;
    }

    .cta-final__wa {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.7rem;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(214,224,226,0.5);
      margin-top: 2rem;
      transition: color var(--dur) var(--ease);
    }
    .cta-final__wa:hover { color: var(--cream); }
    .cta-final__wa svg { width: 18px; height: 18px; fill: currentColor; }

    /* =============================================
       FOOTER
    ============================================= */
    .footer {
      background: #0E1F21;
      padding: 5rem 0 2.5rem;
    }

    .footer__top {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1fr;
      gap: 3rem;
      padding-bottom: 3.5rem;
      border-bottom: 1px solid rgba(214,224,226,0.08);
    }

    .footer__brand-logo {
      height: 38px;
      width: auto;
      margin-bottom: 1.4rem;
    }

    .footer__brand-text {
      font-size: 0.8rem;
      color: rgba(214,224,226,0.45);
      line-height: 1.85;
      max-width: 260px;
    }

    .footer__socials {
      display: flex;
      gap: 0.8rem;
      margin-top: 1.8rem;
    }

    .footer__social-link {
      width: 36px;
      height: 36px;
      border: 1px solid rgba(214,224,226,0.15);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(214,224,226,0.45);
      transition: border-color var(--dur) var(--ease),
                  color var(--dur) var(--ease);
    }
    .footer__social-link:hover {
      border-color: var(--forest);
      color: var(--cream);
    }
    .footer__social-link svg {
      width: 15px;
      height: 15px;
      fill: currentColor;
    }

    .footer__col-title {
      font-family: var(--ff-body);
      font-size: 0.62rem;
      font-weight: 500;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(214,224,226,0.3);
      margin-bottom: 1.4rem;
    }

    .footer__col ul {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .footer__col a {
      font-size: 0.82rem;
      color: rgba(214,224,226,0.55);
      transition: color var(--dur) var(--ease);
    }
    .footer__col a:hover { color: var(--cream); }

    .footer__address {
      font-size: 0.82rem;
      color: rgba(214,224,226,0.55);
      line-height: 1.8;
      font-style: normal;
    }

    .footer__bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 2rem;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .footer__copy {
      font-size: 0.72rem;
      color: rgba(214,224,226,0.25);
    }

    .footer__made {
      font-size: 0.72rem;
      color: rgba(214,224,226,0.2);
    }

    /* =============================================
       FOTO MOSAICO — sección Sobre mí
    ============================================= */
    .about__mosaic {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      margin-top: 6px;
    }

    .about__mosaic img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      object-position: 0px -70px;
      filter: grayscale(15%) contrast(1.03);
      display: block;
    }

    /* =============================================
       BLOQUE EDITORIAL — sección Servicios
    ============================================= */
    .services__editorial {
      display: grid;
      grid-template-columns: 1fr 1.6fr;
      gap: 3rem;
      align-items: center;
      margin-bottom: 4rem;
      background: var(--linen);
      overflow: hidden;
    }

    .services__editorial img {
      width: 100%;
      height: 320px;
      object-fit: cover;
      object-position: 0px -270px;
      display: block;
      filter: grayscale(10%) contrast(1.02);
    }

    .services__editorial-caption {
      padding: 2rem 2.5rem 2rem 0;
    }

    .services__editorial-caption .t-label {
      margin-bottom: 0.8rem;
    }

    .services__editorial-caption p {
      font-size: 0.88rem;
      color: var(--stone);
      line-height: 1.85;
    }

    @media (max-width: 768px) {
      .services__editorial {
        grid-template-columns: 1fr;
      }
      .services__editorial img {
        height: 240px;
      }
      .services__editorial-caption {
        padding: 1.5rem;
      }
    }

    /* =============================================
       FOTO INLINE — sección Filosofía (col izquierda)
    ============================================= */
    .philosophy__inline-img {
      margin: 2rem 0;
      overflow: hidden;
    }

    .philosophy__inline-img img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      object-position: 0px -240px;
      display: block;
      filter: grayscale(10%) contrast(1.02);
    }

    /* =============================================
       FOTO LATERAL — sección Filosofía (col derecha)
    ============================================= */
    .philosophy__side-img {
      overflow: hidden;
      margin-bottom: 1rem;
    }

    .philosophy__side-img img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      object-position: 10px -180px;
      display: block;
      filter: grayscale(10%) contrast(1.02);
    }

    /* =============================================
       DIVIDER
    ============================================= */
    .divider-line {
      height: 1px;
      background: rgba(22,42,44,0.08);
    }

    /* =============================================
       WHATSAPP FLOAT
    ============================================= */
    .wa-float {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      z-index: 90;
      width: 52px;
      height: 52px;
      background: #25D366;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(37,211,102,0.35);
      transition: transform var(--dur) var(--ease),
                  box-shadow var(--dur) var(--ease);
    }
    .wa-float:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 28px rgba(37,211,102,0.45);
    }
    .wa-float svg {
      width: 26px;
      height: 26px;
      fill: white;
    }

    /* =============================================
       FADE-IN ANIMATION
    ============================================= */
    .fade-up {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .fade-up:nth-child(2) { transition-delay: 0.1s; }
    .fade-up:nth-child(3) { transition-delay: 0.18s; }
    .fade-up:nth-child(4) { transition-delay: 0.26s; }

    /* =============================================
       RESPONSIVE
    ============================================= */
    @media (max-width: 1024px) {
      .pillars__grid { grid-template-columns: repeat(2, 1fr); }
      .about__inner { grid-template-columns: 1fr; gap: 3rem; }
      .about__image-wrap { max-width: 420px; }
      .philosophy__inner { grid-template-columns: 1fr; gap: 3rem; }
      .footer__top { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 768px) {
      .header__nav, .header__cta { display: none; }
      .header__burger { display: flex; }

      .pillars__intro { grid-template-columns: 1fr; gap: 2rem; }
      .pillars__grid { grid-template-columns: 1fr; }

      .services__header { flex-direction: column; align-items: flex-start; }
      .services__grid { grid-template-columns: 1fr; }

      .testimonials__grid { grid-template-columns: 1fr; }

      .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
      .footer__bottom { flex-direction: column; text-align: center; }

      .hero__scroll { display: none; }
      
      .hero {
        align-items: center;
        padding-bottom: 0;
      }
    
      .hero__bg {
        background-position: 65% center;
      }

    }

    @media (max-width: 480px) {
      .hero__title { font-size: 2.6rem; }
      .cta-final__title { font-size: 2.2rem; }
      .hero__actions { flex-direction: column; align-items: flex-start; }
    }
    
    /* ============================================================
       VIDEO CAROUSEL
    ============================================================ */
    
    .services__videos {
      margin-top: 6rem;
    }
    
    .services__videos-header {
      margin-bottom: 2rem;
    }
    
    .services__videos-title {
      font-size: 1.8rem;
      margin: 0.5rem 0 0;
    }
    
    .video-carousel {
      position: relative;
      display: flex;
      align-items: center;
    }
    
    .video-carousel__track {
      display: flex;
      gap: 1.5rem;
      overflow-x: auto;
      scroll-behavior: smooth;
      padding: 1rem 0;
    }
    
    .video-carousel__track::-webkit-scrollbar {
      display: none;
    }
    
    .video-item {
      flex: 0 0 calc(25% - 1rem);
      max-width: 320px;
      border-radius: 20px;
      overflow: hidden;
      background: #000;
      position: relative;
    }
    
    .video-item video {
      width: 100%;
      height: auto;
      display: block;
      aspect-ratio: 9 / 16;
      object-fit: cover;
    }
    
    .video-item {
      flex: 0 0 calc(25% - 1rem);
      max-width: 320px;
      border-radius: 20px;
      overflow: hidden;
      background: #000;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    
    .video-item:hover {
      transform: translateY(-8px) scale(1.03);
      box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    }
    
    .video-item::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to top,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0) 40%
      );
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    
    .video-item:hover::after {
      opacity: 1;
    }
    
    .video-carousel__btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      background: rgba(255, 255, 255, 0.25);
      border: 1px solid rgba(255,255,255,0.4);
      color: #fff;
      font-size: 1.8rem;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 10;
      transition: all 0.3s ease;
    }
    
    .video-carousel__btn:hover {
      background: rgba(255,255,255,0.4);
      transform: translateY(-50%) scale(1.1);
    }
    
    .video-carousel__btn--prev {
      left: -20px;
    }
    
    .video-carousel__btn--next {
      right: -20px;
    }
    
    /* Responsive */
    
    @media (max-width: 1024px) {
      .video-item {
        flex: 0 0 45%;
      }
    }
    
    @media (max-width: 640px) {
      .video-item {
        flex: 0 0 80%;
      }
    }
    
/* =============================================
   MODAL BASE (oculto por defecto)
    ============================================= */
    
    .modal {
      display: none; /* ← AÑADIR ESTO */
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: 99999;
    }
    
    .modal.active {
      display: flex; /* ← flex siempre, no solo en desktop */
      align-items: center;
      justify-content: center;
    }
    
    .modal__overlay {
      position: fixed;
      inset: 0;
      background: rgba(22, 42, 44, 0.75);
      backdrop-filter: blur(6px);
      z-index: 0;
    }
    
    .modal__content {
      position: relative;
      background: #fff;
      width: 100%;
      max-width: 720px;
      margin: 0 auto;
      border-radius: 24px;
      padding: 2.5rem;
      box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
      animation: modalFade 0.35s ease;
      z-index: 1;
      max-height: 90vh;
      overflow-y: auto;
    }
    
    .modal__close {
      position: absolute;
      top: 16px;
      right: 20px;
      background: none;
      border: none;
      font-size: 2rem;
      cursor: pointer;
      color: #162a2c;
    }
    
    /* =============================================
       ANIMACIONES
    ============================================= */
    
    @keyframes modalFade {
      from { opacity: 0; transform: scale(0.97); }
      to   { opacity: 1; transform: scale(1); }
    }
    
    @keyframes modalSlideUp {
      from { transform: translateY(100%); }
      to   { transform: translateY(0); }
    }
    
    /* =============================================
       MOBILE
    ============================================= */
    
    @media (max-width: 768px) {
    
      .modal.active {
        align-items: flex-end; /* ← sheet desde abajo */
        justify-content: stretch;
      }
    
      .modal__content {
        width: 100%;
        max-width: 100%;
        max-height: 92vh;
        border-radius: 24px 24px 0 0;
        padding: 2rem 1.5rem 2.5rem;
        animation: modalSlideUp 0.35s ease;
        margin: 0; /* ← quitar margin: auto en mobile */
      }
    
      .modal__close {
        top: 14px;
        right: 16px;
        font-size: 1.8rem;
      }
    }
    
    @media (max-width: 480px) {
      .modal__content {
        padding: 1.8rem 1.2rem 2.2rem;
      }
    }