@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url(../fonts/fraunces-normal.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 400 600;
    font-display: swap;
    src: url(../fonts/fraunces-italic.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Karla';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url(../fonts/karla.woff2) format('woff2');
  }

  :root {
    /* ground */
    --paper: #faf7f1;
    --paper-raised: #ffffff;
    --paper-deep: #f0ebe0;
    --ink: #1f2e2b;
    --ink-soft: #52625d;
    --ink-faint: #8b988f;
    --hairline: #e2dccd;

    /* Ser — muted sage-teal, matching the logo's real flat color */
    --ser: #40776e;
    --ser-deep: #2b5a52;
    --ser-glow: #d9e8e6;
    --ser-glow-soft: #f0f5f4;

    /* Sentir — coral, the heart */
    --sentir: #d97a5f;
    --sentir-deep: #b85c43;
    --sentir-glow: #f6ded4;
    --sentir-glow-soft: #fbf0ea;

    /* fixed emblem chip: independent of theme, matches the glow logo's own dark field */
    --emblem-bg: #0f2a27;
    --emblem-ring: #1c433e;

    --shadow-soft: 0 1px 2px rgba(31,46,43,0.05), 0 12px 28px -16px rgba(31,46,43,0.18);
    --shadow-card: 0 1px 1px rgba(31,46,43,0.04), 0 6px 16px -10px rgba(31,46,43,0.14);
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --paper: #14201e;
      --paper-raised: #1a2926;
      --paper-deep: #0f1917;
      --ink: #eef3f1;
      --ink-soft: #a8b8b2;
      --ink-faint: #6d7d77;
      --hairline: #29403b;

      --ser: #6eb9ad;
      --ser-deep: #94d1c7;
      --ser-glow: #1d3430;
      --ser-glow-soft: #192927;

      --sentir: #e8977d;
      --sentir-deep: #f0ab93;
      --sentir-glow: #3a2620;
      --sentir-glow-soft: #2c1d19;

      --shadow-soft: 0 1px 2px rgba(0,0,0,0.35), 0 14px 32px -18px rgba(0,0,0,0.55);
      --shadow-card: 0 1px 1px rgba(0,0,0,0.3), 0 8px 18px -12px rgba(0,0,0,0.5);
    }
  }

  :root[data-theme="dark"] {
    --paper: #14201e;
    --paper-raised: #1a2926;
    --paper-deep: #0f1917;
    --ink: #eef3f1;
    --ink-soft: #a8b8b2;
    --ink-faint: #6d7d77;
    --hairline: #29403b;

    --ser: #6eb9ad;
    --ser-deep: #94d1c7;
    --ser-glow: #1d3430;
    --ser-glow-soft: #192927;

    --sentir: #e8977d;
    --sentir-deep: #f0ab93;
    --sentir-glow: #3a2620;
    --sentir-glow-soft: #2c1d19;

    --shadow-soft: 0 1px 2px rgba(0,0,0,0.35), 0 14px 32px -18px rgba(0,0,0,0.55);
    --shadow-card: 0 1px 1px rgba(0,0,0,0.3), 0 8px 18px -12px rgba(0,0,0,0.5);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

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

  .wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
  }

  h1, h2, h3 {
    font-family: 'Fraunces', ui-serif, Georgia, serif;
    font-weight: 560;
    color: var(--ink);
    margin: 0;
    text-wrap: balance;
  }

  em.mark-ser {
    font-style: italic;
    font-weight: 500;
    color: var(--ser-deep);
  }
  em.mark-sentir {
    font-style: italic;
    font-weight: 500;
    color: var(--sentir-deep);
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 14px;
  }
  .eyebrow.ser { color: var(--ser-deep); }
  .eyebrow.sentir { color: var(--sentir-deep); }
  .eyebrow::before {
    content: "";
    width: 20px;
    height: 1.5px;
    background: currentColor;
    opacity: 0.6;
  }

  /* ---------- header ---------- */
  header.site {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hairline);
  }
  .nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }
  .emblem {
    background: radial-gradient(circle at 35% 30%, var(--emblem-ring), var(--emblem-bg) 72%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    box-shadow: var(--shadow-soft);
  }
  .emblem img { border-radius: 50%; }
  .emblem.sm { width: 42px; height: 42px; padding: 6px; }
  .emblem.lg { width: 172px; height: 172px; padding: 24px; }
  .emblem.md { width: 64px; height: 64px; padding: 9px; }

  .wordmark {
    font-family: 'Fraunces', serif;
    font-size: 18.5px;
    letter-spacing: 0.01em;
    line-height: 1.1;
  }
  .wordmark small {
    display: block;
    font-family: 'Karla', sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 600;
    margin-top: 2px;
  }

  nav.links {
    display: flex;
    gap: 26px;
    font-size: 14.5px;
    font-weight: 600;
  }
  nav.links a { text-decoration: none; color: var(--ink-soft); }
  nav.links a:hover { color: var(--ser-deep); }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: 999px;
    padding: 12px 24px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    border: 1.5px solid transparent;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn:focus-visible { outline: 2px solid var(--ser-deep); outline-offset: 2px; }
  .btn-ser {
    background: var(--ser);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
  }
  .btn-ser:hover { background: var(--ser-deep); }
  .btn-ghost-sentir {
    background: transparent;
    color: var(--sentir-deep);
    border-color: var(--sentir);
  }
  .btn-ghost-sentir:hover { background: var(--sentir-glow-soft); }
  .btn-sm { padding: 9px 18px; font-size: 13px; }

  /* ---------- mobile nav (checkbox + :has(), no JS) ---------- */
  .nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
  .nav-toggle-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1.5px solid var(--hairline);
    cursor: pointer;
    flex: none;
    color: var(--ink);
  }
  .nav-toggle-btn .icon-close { display: none; }
  header.site:has(.nav-toggle-input:checked) .nav-toggle-btn .icon-open { display: none; }
  header.site:has(.nav-toggle-input:checked) .nav-toggle-btn .icon-close { display: block; }

  .mobile-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px 28px 20px;
    border-top: 1px solid var(--hairline);
  }
  .mobile-nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 15.5px;
    padding: 11px 4px;
    border-bottom: 1px solid var(--hairline);
  }
  .mobile-nav a:last-of-type { border-bottom: none; }

  @media (max-width: 760px) {
    nav.links { display: none; }
    .nav-toggle-btn { display: flex; }
    header.site:has(.nav-toggle-input:checked) .mobile-nav { display: flex; }
  }

  /* ---------- modalidad chips ---------- */
  .modality-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 26px;
  }
  .modality-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--paper-raised);
    border: 1px solid var(--hairline);
    color: var(--ink-soft);
    box-shadow: var(--shadow-card);
  }
  .modality-chip svg { color: var(--ser-deep); }

  /* ---------- floating whatsapp button ---------- */
  .wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 20px -6px rgba(0,0,0,0.4);
  }
  .wa-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    animation: wa-pulse 2.4s ease-out infinite;
    z-index: -1;
  }
  @keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.55; }
    100% { transform: scale(1.7); opacity: 0; }
  }

  /* ---------- proceso / como funciona ---------- */
  .process-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: step;
  }
  @media (max-width: 720px) {
    .process-row { grid-template-columns: 1fr; }
  }
  .process-step { position: relative; }
  .process-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--ser-glow-soft);
    color: var(--ser-deep);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 16px;
  }
  .process-step h3 { font-size: 17px; margin-bottom: 6px; }
  .process-step p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

  /* ---------- faq ---------- */
  .faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
  .faq-item {
    background: var(--paper-raised);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: 4px 22px;
    box-shadow: var(--shadow-card);
  }
  .faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 17px 0;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary .chev {
    flex: none;
    transition: transform 0.18s ease;
    color: var(--sentir-deep);
  }
  .faq-item[open] summary .chev { transform: rotate(180deg); }
  .faq-item p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 18px; }

  /* ---------- privacy strip ---------- */
  .privacy-strip { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 22px; padding-top: 20px; }
  .privacy-strip summary {
    cursor: pointer;
    list-style: none;
    font-size: 12.5px;
    color: rgba(223,234,231,0.7);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .privacy-strip summary::-webkit-details-marker { display: none; }
  .privacy-strip p {
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(223,234,231,0.65);
    max-width: 70ch;
    margin: 12px 0 0;
  }

  /* ---------- hero ---------- */
  .hero {
    position: relative;
    padding: 88px 0 96px;
    text-align: center;
    overflow: hidden;
    background:
      radial-gradient(ellipse 60% 50% at 30% 0%, var(--ser-glow-soft), transparent 60%),
      radial-gradient(ellipse 55% 45% at 75% 15%, var(--sentir-glow-soft), transparent 60%);
  }
  .hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
  .hero .emblem { margin: 0 auto 28px; }
  .hero h1 {
    font-size: clamp(34px, 5.4vw, 54px);
    line-height: 1.14;
    margin-bottom: 20px;
  }
  .hero p.lede {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 52ch;
    margin: 0 auto 34px;
  }
  .hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ---------- divider glyph: brain line flowing into a heart ---------- */
  .divider {
    display: flex;
    justify-content: center;
    padding: 6px 0 2px;
  }
  .divider svg { width: 92px; height: 30px; }

  /* ---------- section scaffolding ---------- */
  section { padding: 84px 0; }
  section.tint { background: var(--paper-deep); }
  .section-head {
    max-width: 620px;
    margin: 0 0 44px;
  }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
  .section-head h2 { font-size: clamp(26px, 3.4vw, 34px); }
  .section-head p { color: var(--ink-soft); margin: 14px 0 0; font-size: 16px; }

  /* ---------- conozcame ---------- */
  .about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: start;
  }
  @media (max-width: 820px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
  }
  blockquote.pull {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(20px, 2.4vw, 25px);
    line-height: 1.5;
    color: var(--ink);
    margin: 0 0 18px;
    text-wrap: balance;
  }
  .about-copy p { color: var(--ink-soft); font-size: 15.5px; }

  .bio-card {
    background: var(--paper-raised);
    border: 1px solid var(--hairline);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-card);
  }
  .avatar-ring {
    width: 104px; height: 104px;
    border-radius: 50%;
    background: conic-gradient(from 210deg, var(--ser-glow), var(--sentir-glow), var(--ser-glow));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
  }
  .avatar-ring span {
    width: 92px; height: 92px;
    border-radius: 50%;
    background: var(--paper-raised);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 26px;
    color: var(--ser-deep);
  }
  .bio-card h3 { font-size: 21px; margin-bottom: 2px; }
  .bio-card .role { color: var(--sentir-deep); font-weight: 700; font-size: 13.5px; letter-spacing: 0.03em; margin-bottom: 16px; }
  .bio-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--ink-soft); }
  .bio-list li { display: flex; gap: 9px; }
  .bio-list li::before { content: "◆"; font-size: 6px; color: var(--ser); margin-top: 6px; }
  .bio-card p.bio-note { font-size: 14px; color: var(--ink-soft); margin: 0; }

  .mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
  }
  @media (max-width: 760px) {
    .mv-grid { grid-template-columns: 1fr; }
  }
  .mv-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 28px 26px;
    border-radius: 18px;
    border: 1px solid var(--hairline);
  }
  .mv-card.ser { background: var(--ser-glow-soft); border-color: var(--ser-glow); }
  .mv-card.sentir { background: var(--sentir-glow-soft); border-color: var(--sentir-glow); }
  .mv-icon {
    flex: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--paper-raised);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-card);
  }
  .mv-card.ser .mv-icon { color: var(--ser-deep); }
  .mv-card.sentir .mv-icon { color: var(--sentir-deep); }
  .mv-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
  @media (max-width: 560px) {
    .mv-card { flex-direction: column; }
  }

  /* ---------- servicios ---------- */
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
  }
  .service-card {
    background: var(--paper-raised);
    border: 1px solid var(--hairline);
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: var(--shadow-card);
  }
  .service-icon {
    width: 42px; height: 42px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
  }
  .service-icon.ser { background: var(--ser-glow-soft); color: var(--ser-deep); }
  .service-icon.sentir { background: var(--sentir-glow-soft); color: var(--sentir-deep); }
  .service-card h3 { font-size: 16.5px; margin-bottom: 6px; }
  .service-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

  /* ---------- talleres ---------- */
  .workshop-block { margin-bottom: 56px; }
  .workshop-block:last-child { margin-bottom: 0; }
  .workshop-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 22px;
  }
  .workshop-head h3 { font-size: 22px; }
  .topic-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .topic-card {
    flex: none;
    width: 220px;
    height: 160px;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    position: relative;
    overflow: hidden;
  }
  .topic-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .topic-card::after {
    content: "";
    position: absolute;
    inset: 0;
  }
  .topic-card span {
    position: relative;
    z-index: 1;
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1.3;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
  }
  .topic-card.a { background: linear-gradient(155deg, var(--ser), var(--ser-deep)); }
  .topic-card.b { background: linear-gradient(155deg, var(--sentir), var(--sentir-deep)); }
  .topic-card.a::after { background: linear-gradient(to top, rgba(15,42,38,0.82), rgba(15,42,38,0.08) 60%); }
  .topic-card.b::after { background: linear-gradient(to top, rgba(90,42,28,0.82), rgba(90,42,28,0.08) 60%); }

  /* ---------- empresas aliadas ---------- */
  .partners-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
  }
  .partner-card {
    width: 260px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--hairline);
    background: var(--paper-raised);
    line-height: 0;
  }
  .partner-card img { width: 100%; height: auto; display: block; }

  /* ---------- contacto ---------- */
  .contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: center;
  }
  @media (max-width: 820px) {
    .contact-grid { grid-template-columns: 1fr; }
  }
  .contact-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
  .contact-list .k {
    display: block;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 700;
    margin-bottom: 3px;
  }
  .contact-list .v { font-size: 16px; }
  .social-row { display: flex; gap: 10px; }
  .social-chip {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--hairline);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-soft);
    transition: border-color 0.15s ease, color 0.15s ease;
  }
  .social-chip:hover { border-color: var(--ser); color: var(--ser-deep); }

  .map-card {
    background: var(--paper-raised);
    border: 1px solid var(--hairline);
    border-radius: 20px;
    padding: 8px;
    box-shadow: var(--shadow-card);
  }
  .map-embed {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 14px;
  }
  .map-caption {
    text-align: center;
    font-size: 12.5px;
    color: var(--ink-faint);
    padding: 12px 6px 6px;
  }

  /* ---------- footer ---------- */
  footer.site {
    background: var(--emblem-bg);
    color: #dfeae7;
    padding: 56px 0 30px;
  }
  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  footer.site .brand .wordmark { color: #f4f9f7; }
  footer.site .wordmark small { color: rgba(223,234,231,0.6); }
  .footer-links { display: flex; gap: 34px; flex-wrap: wrap; }
  .footer-links div { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
  .footer-links .h { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(223,234,231,0.5); margin-bottom: 4px; }
  .footer-links a { text-decoration: none; color: rgba(223,234,231,0.85); }
  .footer-links a:hover { color: #ffffff; }
  footer.site .social-chip { border-color: rgba(255,255,255,0.2); color: rgba(223,234,231,0.85); }
  footer.site .social-chip:hover { border-color: var(--ser); color: #ffffff; }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 22px;
    font-size: 12.5px;
    color: rgba(223,234,231,0.55);
  }
