/*
Theme Name: Eje Cognitivo
Theme URI: https://ejecognitivo.com
Author: Eje Cognitivo
Author URI: https://ejecognitivo.com
Description: Tema institucional de Eje Cognitivo — psicoterapia online basada en evidencia. Diseño extraído del bundle estático, integrado con WordPress para Home, Blog y entradas individuales.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eje-cognitivo
*/

/* ============================================================
   FUENTES (Inter — autoalojadas desde el bundle)
   ============================================================ */
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/6edbf945-fe18-4a78-afa2-211ad3cc6f11.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/4e364c52-b0e3-42b6-be55-e99b65f9e7e8.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/d5a187a0-098f-4877-988e-2ca495ac2e45.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/c3199a91-ed19-4d3b-8834-6115f13bce5b.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/841e1a9b-32c3-46a2-9ffe-a60eb9f87f8b.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/528b871c-8e33-4089-a6c4-072fdd293611.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/4040fffd-91be-45fb-b73f-b10ae2398f76.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/6edbf945-fe18-4a78-afa2-211ad3cc6f11.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/4e364c52-b0e3-42b6-be55-e99b65f9e7e8.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/d5a187a0-098f-4877-988e-2ca495ac2e45.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/c3199a91-ed19-4d3b-8834-6115f13bce5b.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/841e1a9b-32c3-46a2-9ffe-a60eb9f87f8b.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/528b871c-8e33-4089-a6c4-072fdd293611.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/4040fffd-91be-45fb-b73f-b10ae2398f76.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/6edbf945-fe18-4a78-afa2-211ad3cc6f11.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/4e364c52-b0e3-42b6-be55-e99b65f9e7e8.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/d5a187a0-098f-4877-988e-2ca495ac2e45.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/c3199a91-ed19-4d3b-8834-6115f13bce5b.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/841e1a9b-32c3-46a2-9ffe-a60eb9f87f8b.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/528b871c-8e33-4089-a6c4-072fdd293611.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/4040fffd-91be-45fb-b73f-b10ae2398f76.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/6edbf945-fe18-4a78-afa2-211ad3cc6f11.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/4e364c52-b0e3-42b6-be55-e99b65f9e7e8.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/d5a187a0-098f-4877-988e-2ca495ac2e45.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/c3199a91-ed19-4d3b-8834-6115f13bce5b.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/841e1a9b-32c3-46a2-9ffe-a60eb9f87f8b.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/528b871c-8e33-4089-a6c4-072fdd293611.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/4040fffd-91be-45fb-b73f-b10ae2398f76.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/6edbf945-fe18-4a78-afa2-211ad3cc6f11.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/4e364c52-b0e3-42b6-be55-e99b65f9e7e8.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/d5a187a0-098f-4877-988e-2ca495ac2e45.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/c3199a91-ed19-4d3b-8834-6115f13bce5b.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/841e1a9b-32c3-46a2-9ffe-a60eb9f87f8b.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/528b871c-8e33-4089-a6c4-072fdd293611.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/4040fffd-91be-45fb-b73f-b10ae2398f76.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   ESTILOS DEL SITIO (replicados del bundle Home)
   ============================================================ */
:root {
    --white: #ffffff;
    --off-white: #fcfcfd;
    --canvas: #f7f7f9;
    --canvas-2: #ececef;
    --line: #e6e6e9;
    --line-strong: #d2d2d7;
    --ease: cubic-bezier(.2,.7,.2,1);

    --ink: #1d1d1f;
    --ink-2: #4a4a4f;
    --ink-3: #86868b;

    --brand: #2b6cb0;
    --brand-deep: #1e4d80;
    --brand-soft: #e8f0f8;
    --brand-mist: #f3f6fa;
    --slate: #26333f;
    --slate-2: #2f3e4c;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 4px 14px rgba(0,0,0,0.04);
    --shadow: 0 18px 50px -16px rgba(15,30,60,0.12), 0 2px 6px rgba(0,0,0,0.04);
    --max: 1200px;
    --nav-h: 60px;
    --display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    --mono: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--display);
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.011em;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  .container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
  .mono { font-family: var(--mono); }

  /* ===== NAV ===== */
  .nav {
    position: sticky; top: 0; z-index: 50;
    height: var(--nav-h);
    background: var(--slate);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-inner {
    max-width: 1080px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px;
  }
  .nav-logo img { height: 30px; width: auto; display: block; }
  .nav-links { display: flex; gap: 28px; align-items: center; }
  .nav-links a {
    font-size: 13px; color: var(--white); opacity: 0.92;
    position: relative; transition: opacity .25s var(--ease);
  }
  .nav-links a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 2px;
    background: var(--white); transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ease);
  }
  .nav-links a:not(.nav-cta):hover { opacity: 1; }
  .nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
  .nav-links a.nav-cta {
    position: relative; overflow: hidden; z-index: 0;
    font-size: 13px; padding: 8px 16px; border-radius: 999px;
    background: var(--white); color: var(--ink);
    opacity: 1;
    border: 1px solid var(--white);
    transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  }
  .nav-links a.nav-cta::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--brand); transform: translateX(-101%);
    transition: transform .45s var(--ease);
  }
  .nav-links a.nav-cta:hover { color: var(--white); border-color: var(--brand); transform: translateY(-2px); }
  .nav-links a.nav-cta:hover::before { transform: translateX(0); }
  .nav-burger { display: none; }
  @media (max-width: 760px) {
    .nav-links { display: none; }
    .nav-burger {
      display: inline-flex; width: 32px; height: 32px;
      align-items: center; justify-content: center; border-radius: 8px;
      color: var(--white);
    }
    .nav-burger:hover { background: rgba(255,255,255,0.12); }
  }

  /* ===== HERO ===== */
  .hero {
    text-align: center;
    padding: 56px 20px 64px;
    position: relative;
    overflow: hidden;
    background: var(--white);
  }
  @media (min-width: 760px) { .hero { padding: 96px 24px 88px; } }
  .hero-logo {
    width: clamp(220px, 32vw, 380px);
    margin: 0 auto 32px;
    opacity: 0; transform: translateY(8px);
    animation: rise .9s .05s ease forwards;
  }
  .hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin: 0 auto 22px;
    max-width: 17ch;
    text-wrap: balance;
    opacity: 0; transform: translateY(12px);
    animation: rise 1s .15s ease forwards;
  }
  .hero p.lead {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--ink-2);
    max-width: 56ch;
    margin: 0 auto 36px;
    text-wrap: pretty;
    opacity: 0; transform: translateY(12px);
    animation: rise 1s .25s ease forwards;
  }
  .hero-ctas {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    opacity: 0; transform: translateY(12px);
    animation: rise 1s .35s ease forwards;
  }
  .hero-meta {
    margin-top: 56px;
    display: inline-flex; gap: 18px; align-items: center;
    padding: 10px 18px; border-radius: 999px;
    background: var(--canvas);
    font-family: var(--mono); font-size: 11.5px;
    color: var(--ink-2); letter-spacing: 0.06em; text-transform: uppercase;
    opacity: 0; animation: rise 1s .45s ease forwards;
  }
  .hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }

  .btn {
    position: relative; overflow: hidden; z-index: 0;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px;
    font-size: 14.5px; font-weight: 500;
    transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  }
  .btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    transform: translateX(-101%);
    transition: transform .55s var(--ease);
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary { background: var(--slate); color: var(--white); }
  .btn-primary::before { background: var(--brand); }
  .btn-primary:hover { color: var(--white); }
  .btn-primary:hover::before { transform: translateX(0); }
  .btn-ghost { background: transparent; color: var(--slate); border: 1px solid var(--line-strong); }
  .btn-ghost::before { background: var(--slate); }
  .btn-ghost:hover { color: var(--white); border-color: var(--slate); }
  .btn-ghost:hover::before { transform: translateX(0); }
  .btn .arrow { transition: transform .4s var(--ease); }
  .btn:hover .arrow { transform: translateX(4px); }

  @keyframes rise { to { opacity: 1; transform: translateY(0); } }

  /* ===== SECTIONS ===== */
  section { padding: 64px 20px; }
  @media (min-width: 760px) { section { padding: 96px 24px; } }
  .eyebrow {
    font-family: var(--mono);
    font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--brand); font-weight: 500;
    margin-bottom: 18px;
  }
  .h2 {
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.028em;
    margin: 0 0 20px;
    text-wrap: balance;
    max-width: 22ch;
  }
  .section-lead {
    font-size: clamp(17px, 1.5vw, 19px);
    color: var(--ink-2);
    max-width: 60ch;
    text-wrap: pretty;
    margin: 0 0 48px;
  }

  /* ===== MISSION (light card with subtle border) ===== */
  .mission-wrap { padding: 12px 24px; }
  .mission {
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 88px 64px;
    text-align: center;
  }
  .mission-inner { max-width: 780px; margin: 0 auto; }
  .mission p { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; margin: 0 auto 32px; }
  @media (max-width: 720px) { .mission { padding: 56px 24px; border-radius: var(--radius); } }

  /* ===== TRATAMIENTOS ===== */
  .tabs-wrap {
    margin: 0 0 32px;
    position: relative;
  }
  .tabs-wrap::after {
    content: "";
    position: absolute; top: 0; right: -20px; bottom: 0;
    width: 24px; pointer-events: none; z-index: 1;
    background: linear-gradient(to right, transparent, var(--white));
    display: none;
  }
  @media (min-width: 760px) {
    .tabs-wrap { margin: 0 -24px 32px; }
    .tabs-wrap::after { display: block; right: 0; }
  }
  .tabs {
    display: flex; gap: 8px;
    padding: 5px 0; background: transparent;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  @media (min-width: 760px) { .tabs { padding: 5px 24px; } }
  .tabs::-webkit-scrollbar { display: none; }
  .tab {
    flex-shrink: 0;
    padding: 10px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
    color: var(--ink-2);
    background: var(--canvas);
    border: 1px solid var(--line);
    transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
    letter-spacing: -0.005em;
    scroll-snap-align: start;
    white-space: nowrap;
  }
  .tab:hover { color: var(--brand-deep); border-color: var(--brand); background: var(--brand-soft); transform: translateY(-2px); }
  .tab.active { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: var(--shadow-sm); }

  .treatment-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; min-height: 440px; }
  @media (max-width: 880px) { .treatment-grid { grid-template-columns: 1fr; } }

  .treatment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid var(--line);
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
  }
  @media (min-width: 760px) { .treatment-card { padding: 48px; } }
  .treatment-card .tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono);
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--brand); font-weight: 500;
    margin-bottom: 24px;
  }
  .treatment-card .tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
  .treatment-card h3 {
    font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; letter-spacing: -0.024em;
    line-height: 1.1; margin: 0 0 14px;
    text-wrap: balance;
  }
  .treatment-card .pull { font-size: 18px; font-weight: 500; color: var(--ink); margin: 0 0 16px; max-width: 36ch; }
  .treatment-card .desc { color: var(--ink-2); font-size: 15.5px; margin: 0 0 32px; max-width: 50ch; text-wrap: pretty; }
  .treatment-card .meta { display: flex; gap: 28px; margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
  .treatment-card .meta div { display: flex; flex-direction: column; }
  .treatment-card .meta .k { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin-bottom: 4px; letter-spacing: 0.08em; text-transform: uppercase; }
  .treatment-card .meta .v { font-size: 14.5px; font-weight: 500; }

  .treatment-visual {
    border-radius: var(--radius-lg); overflow: hidden; position: relative;
    background: var(--brand-mist);
    border: 1px solid var(--line);
    display: grid; place-items: center;
    min-height: 380px;
  }
  .visual-shape { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand-deep); }
  .visual-shape svg { width: 60%; height: 60%; overflow: visible; }
  /* line-art draws itself in, holds, then redraws — like a looping video */
  .visual-shape svg [stroke] {
    stroke-dasharray: 1400;
    animation: vsDraw 6.5s ease-in-out infinite;
  }
  @keyframes vsDraw {
    0%   { stroke-dashoffset: 1400; opacity: 1; }
    45%  { stroke-dashoffset: 0;    opacity: 1; }
    82%  { stroke-dashoffset: 0;    opacity: 1; }
    100% { stroke-dashoffset: 0;    opacity: 0; }
  }
  /* solid accents fade + grow in after the strokes, then fade out together */
  .visual-shape svg [fill]:not([stroke]) {
    transform-box: fill-box;
    transform-origin: center;
    animation: vsForm 6.5s ease-in-out infinite;
  }
  @keyframes vsForm {
    0%   { opacity: 0; transform: scale(0.4); }
    30%  { opacity: 0; transform: scale(0.4); }
    52%  { opacity: 1; transform: scale(1); }
    82%  { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1); }
  }
  /* slight stagger so the mark builds up element by element */
  .visual-shape svg > *:nth-child(2) { animation-delay: .35s; }
  .visual-shape svg > *:nth-child(3) { animation-delay: .7s; }
  .visual-shape svg > *:nth-child(4) { animation-delay: 1.05s; }
  @media (prefers-reduced-motion: reduce) {
    .visual-shape svg [stroke],
    .visual-shape svg [fill]:not([stroke]) { animation: none; stroke-dashoffset: 0; opacity: 1; transform: none; }
  }
  .visual-meta {
    position: absolute; left: 24px; bottom: 22px; right: 24px;
    color: var(--brand-deep);
    display: flex; justify-content: space-between; align-items: end;
    font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  }
  .visual-meta .name { font-weight: 500; }

  /* ===== FEATURES STRIP ===== */
  .features {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    margin-top: 56px;
  }
  .feature { background: var(--white); padding: 36px 32px; }
  .feature .num { font-family: var(--mono); font-size: 12px; color: var(--brand); margin-bottom: 18px; letter-spacing: 0.1em; }
  .feature h4 { margin: 0 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.012em; }
  .feature p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
  @media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

  /* ===== EQUIPO ===== */
  .team {
    background: var(--canvas);
    padding: 64px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  @media (min-width: 760px) { .team { padding: 96px 0; } }
  .team .container { padding-right: 0; padding-left: 20px; }
  @media (min-width: 760px) { .team .container { padding-left: 24px; } }
  .team-scroll {
    margin-top: 8px;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 24px 24px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .team-scroll::-webkit-scrollbar { display: none; }
  .person {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .3s ease, box-shadow .3s ease;
  }
  @media (min-width: 720px) { .person { flex-basis: 320px; } }
  .person:hover { transform: scale(1.02) translateY(-4px); box-shadow: var(--shadow); }
  .person-photo {
    aspect-ratio: 4/5;
    background: var(--canvas-2);
    position: relative;
    display: grid; place-items: center;
    overflow: hidden;
  }
  .person-photo .avatar {
    display: grid; place-items: center;
    width: 100%; height: 100%;
    color: var(--ink-3);
  }
  .person-photo .avatar svg { width: 36%; height: 36%; }
  .person-photo .initials {
    position: absolute; top: 16px; left: 16px;
    font-family: var(--mono); font-size: 11px; color: var(--ink-3);
    letter-spacing: 0.1em; text-transform: uppercase;
  }
  .person-body { padding: 22px 22px 24px; }
  .person-body h4 { margin: 0 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.014em; }
  .person-body .role { color: var(--ink-3); font-size: 13px; margin-bottom: 14px; }
  .person-body .mn { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); text-transform: uppercase; }

  /* ===== FAQ ===== */
  .faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .faq-item { border-bottom: 1px solid var(--line); }
  .faq-q {
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    width: 100%; text-align: left;
    padding: 28px 0;
    font-size: clamp(18px, 1.8vw, 21px); font-weight: 500; letter-spacing: -0.014em;
    transition: color .2s ease;
  }
  .faq-q:hover { color: var(--brand); }
  .faq-q .plus {
    width: 28px; height: 28px; flex-shrink: 0;
    border-radius: 50%; border: 1px solid var(--line-strong);
    display: grid; place-items: center;
    transition: transform .35s ease, background .25s ease, color .25s ease, border-color .25s ease;
    font-size: 16px; color: var(--ink-2);
  }
  .faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--ink); color: var(--white); border-color: var(--ink); }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .45s ease, padding .35s ease;
    color: var(--ink-2); font-size: 16px;
  }
  .faq-item.open .faq-a { max-height: 800px; padding: 0 0 28px; }
  .faq-a p { margin: 0 0 12px; max-width: 70ch; }

  /* ===== BIG CTA ===== */
  .big-cta {
    text-align: center;
    padding: 80px 20px;
  }
  @media (min-width: 760px) { .big-cta { padding: 120px 24px; } }
  .big-cta h2 {
    font-size: clamp(40px, 5.6vw, 76px);
    font-weight: 600; letter-spacing: -0.034em;
    line-height: 1.02;
    margin: 0 0 28px;
    text-wrap: balance;
    max-width: 16ch;
    margin-left: auto; margin-right: auto;
  }

  /* ===== CONTACTO ===== */
  .contact-wrap { padding: 12px 24px 24px; }
  .contact {
    background: var(--slate); color: #f0f0f3;
    border-radius: var(--radius-lg);
    padding: 48px 24px;
  }
  @media (min-width: 760px) { .contact { padding: 80px 64px; } }
  .contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; max-width: 1100px; margin: 0 auto; }
  @media (max-width: 880px) { .contact { padding: 56px 24px; border-radius: var(--radius); } .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
  .contact .h2 { color: var(--white); margin-bottom: 16px; }
  .contact p { color: rgba(240,240,243,0.65); }
  .contact .eyebrow { color: #8fb1d7; }
  .contact-info { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
  .contact-info a {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    transition: background .2s ease, border-color .2s ease;
    font-size: 14.5px;
  }
  .contact-info a:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.18); }
  .contact-info .ico { width: 18px; height: 18px; opacity: 0.7; }

  .form { display: grid; gap: 14px; }
  .form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field label { font-family: var(--mono); font-size: 11px; color: rgba(240,240,243,0.55); letter-spacing: 0.08em; text-transform: uppercase; }
  .field input, .field select, .field textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #f0f0f3;
    padding: 12px 14px;
    border-radius: 10px;
    font-family: inherit; font-size: 15px;
    transition: border-color .2s ease, background .2s ease;
  }
  .field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06);
  }
  .field textarea { min-height: 120px; resize: vertical; }
  .form-submit {
    background: var(--white); color: var(--ink);
    padding: 13px 22px; border-radius: 999px;
    font-size: 14.5px; font-weight: 500;
    transition: transform .2s ease, background .2s ease;
    justify-self: start;
    margin-top: 8px;
  }
  .form-submit:hover { background: #f0f0f3; transform: translateY(-1px); }
  .form-msg { font-size: 13px; color: #8fb1d7; margin-top: 6px; min-height: 16px; }

  /* ===== FOOTER ===== */
  footer { padding: 48px 24px 56px; }
  .foot-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
  .foot-inner .copy { font-size: 13px; color: var(--ink-3); }
  .foot-inner nav { display: flex; gap: 22px; }
  .foot-inner nav a { font-size: 13px; color: var(--ink-2); position: relative; transition: color .25s var(--ease); }
  .foot-inner nav a::after {
    content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease);
  }
  .foot-inner nav a:hover { color: var(--ink); }
  .foot-inner nav a:hover::after { transform: scaleX(1); }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }

  /* Mobile menu — branded (fondo --slate, logo blanco arriba, CTA al final).
     Padding lateral aplicado en CADA elemento interno (no en el contenedor)
     para que ningún reset externo lo coma. */
  .mobile-menu {
    position: fixed; inset: 0; z-index: 60;
    background: var(--slate);
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    padding: 0 0 32px;
    color: var(--white);
    overflow-y: auto;
  }
  .mobile-menu.open { display: flex; }
  /* Logo alineado a la misma altura que en el nav: contenedor de var(--nav-h)
     (60px), padding lateral 24px, logo de 30px (idéntico al nav). */
  .mobile-menu-logo {
    height: var(--nav-h);
    padding: 0 24px;
    display: flex; align-items: center;
    margin-bottom: 16px;
  }
  .mobile-menu-logo img {
    height: 30px; width: auto; display: block;
  }
  .mobile-menu-list { width: 100%; }
  .mobile-menu a,
  .mobile-menu li a {
    display: block;
    color: var(--white);
    font-size: 17px;
    font-weight: 500;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    letter-spacing: -0.012em;
    text-decoration: none;
    transition: opacity .2s var(--ease);
  }
  .mobile-menu a:hover,
  .mobile-menu li a:hover { opacity: 0.65; }
  .mobile-menu a:active,
  .mobile-menu li a:active { opacity: 0.4; }
  .mobile-close {
    position: absolute; top: 10px; right: 18px;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--white);
    background: rgba(255,255,255,0.06);
  }
  .mobile-close:hover { background: rgba(255,255,255,0.14); }

  /* CTA "Solicitar turno" destacado al final del menú móvil */
  .mobile-menu a.nav-cta,
  .mobile-menu .menu-item-cta a {
    margin: 28px 24px 0;
    background: var(--white);
    color: var(--ink);
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.005em;
    transition: background .3s var(--ease), color .3s var(--ease), transform .25s var(--ease);
  }
  .mobile-menu a.nav-cta:hover,
  .mobile-menu .menu-item-cta a:hover {
    background: var(--brand);
    color: var(--white);
    transform: translateY(-2px);
    opacity: 1;
  }

/* ============================================================
   BLOG + ENTRADAS INDIVIDUALES
   Estilos adicionales para mantener la estética del bundle en
   las plantillas dinámicas de WordPress (home.php, single.php).
   ============================================================ */

.page-hero {
  text-align: center;
  padding: 88px 24px 56px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0 auto;
  max-width: 22ch;
  text-wrap: balance;
}
.page-hero p.lead {
  margin: 18px auto 0;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
  font-size: clamp(16px, 1.4vw, 18px);
}

.blog-wrap { padding: 64px 20px 96px; }
@media (min-width: 760px) { .blog-wrap { padding: 96px 24px 128px; } }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 8px;
}
.post-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s var(--ease);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.post-card .thumb {
  display: block;
  aspect-ratio: 16/10;
  background: var(--canvas);
  overflow: hidden;
  position: relative;
}
.post-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .thumb-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--ink-3);
  background: linear-gradient(135deg, var(--brand-mist), var(--canvas));
}
.post-card .body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.post-card h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.18;
  margin: 0 0 12px;
  text-wrap: balance;
}
.post-card h2 a { transition: color .25s var(--ease); }
.post-card h2 a:hover { color: var(--brand); }
.post-card p.excerpt {
  color: var(--ink-2);
  font-size: 15.5px;
  margin: 0 0 20px;
  text-wrap: pretty;
}
.post-card .read-more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  transition: gap .3s var(--ease);
}
.post-card .read-more:hover { gap: 10px; }

.pagination {
  margin-top: 64px;
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-grid; place-items: center;
  min-width: 40px; height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  color: var(--ink-2);
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.pagination .page-numbers:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
  background: var(--brand-soft);
  transform: translateY(-2px);
}
.pagination .page-numbers.current {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.no-posts {
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-2);
}

/* ===== ENTRADA INDIVIDUAL ===== */
.single-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 20px 96px;
}
@media (min-width: 760px) { .single-wrap { padding: 96px 24px 128px; } }
.single-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.single-title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0 0 24px;
  text-wrap: balance;
}
.single-lead {
  color: var(--ink-2);
  font-size: clamp(17px, 1.6vw, 19px);
  margin: 0 0 40px;
  text-wrap: pretty;
}
.single-thumb {
  margin: 0 -20px 48px;
  border-radius: 0;
  overflow: hidden;
}
@media (min-width: 760px) {
  .single-thumb {
    margin: 0 0 56px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
  }
}
.single-thumb img { width: 100%; height: auto; display: block; }

.entry-content {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink);
}
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-top: 2em;
  text-wrap: balance;
}
.entry-content h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.016em;
  margin-top: 1.6em;
}
.entry-content p { color: var(--ink); }
.entry-content a {
  color: var(--brand);
  border-bottom: 1px solid currentColor;
  transition: color .2s ease, border-color .2s ease;
}
.entry-content a:hover { color: var(--brand-deep); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote {
  border-left: 3px solid var(--brand);
  padding: 6px 0 6px 22px;
  margin: 1.6em 0;
  color: var(--ink-2);
  font-size: 19px;
  font-style: italic;
}
.entry-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.entry-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
  background: var(--canvas);
  padding: 2px 6px;
  border-radius: 6px;
}
.entry-content pre {
  background: var(--slate);
  color: #e6e6e9;
  padding: 18px 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 14px;
}
.entry-content pre code { background: transparent; padding: 0; color: inherit; }

.post-tags {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.post-tags .label {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-right: 6px;
}
.post-tags a {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--canvas);
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.post-tags a:hover { background: var(--brand-soft); color: var(--brand-deep); border-color: var(--brand); }

.post-nav {
  margin-top: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } }
.post-nav a {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.post-nav a:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.post-nav .dir {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.post-nav .title-snippet {
  font-size: 16px; font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.post-nav .next { text-align: right; }

.comments-area {
  margin-top: 80px; padding-top: 40px;
  border-top: 1px solid var(--line);
}
.comments-area h3 { margin-bottom: 24px; font-size: 22px; font-weight: 600; letter-spacing: -0.018em; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-list li:last-child { border-bottom: none; }
.comment-meta {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.wp-caption { margin: 0 0 1em; }
.wp-caption-text { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 6px; }
.alignleft  { float: left;  margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}

/* ============================================================
   FIX MENÚS — quitar bullets que WordPress agrega cuando un menú
   se asigna desde Apariencia → Menús (los <li> traen list-style).
   ============================================================ */
.nav-links,
.nav-links ul,
.mobile-menu,
.mobile-menu ul,
.foot-inner nav,
.foot-inner nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li,
.mobile-menu li,
.foot-inner nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
/* Mobile menu — los <li> son block-level con padding lateral en el <a>. */
.mobile-menu li { display: block; }
.mobile-menu .menu-item-cta { border-bottom: 0; }
.mobile-menu .menu-item-cta a { border-bottom: 0; }

/* ============================================================
   MÁRGENES MOBILE — más aire lateral en celular para todas las
   secciones de contenido (blog, single, page).
   ============================================================ */
@media (max-width: 760px) {
  .blog-wrap,
  .single-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .page-hero { padding-left: 24px; padding-right: 24px; }
  .container { padding-left: 24px; padding-right: 24px; }
  section { padding-left: 24px; padding-right: 24px; }
  .single-thumb {
    margin-left: -24px;
    margin-right: -24px;
  }
  .entry-content { font-size: 16.5px; }
}

/* ============================================================
   BLOQUES DE GUTENBERG — estilos defensivos para que el contenido
   de las entradas (creado con el editor de bloques) no se rompa.
   ============================================================ */
.entry-content .wp-block-image { margin: 1.6em 0; }
.entry-content .wp-block-image img { border-radius: var(--radius-sm); }
.entry-content .wp-block-image figcaption {
  font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 8px;
}

.entry-content .wp-block-columns {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin: 1.6em 0;
}
.entry-content .wp-block-column {
  flex: 1 1 0; min-width: 220px;
}
@media (max-width: 600px) {
  .entry-content .wp-block-columns { gap: 18px; }
  .entry-content .wp-block-column { flex: 1 1 100%; }
}

.entry-content .wp-block-group { margin: 1.6em 0; }
.entry-content .wp-block-group.has-background,
.entry-content .wp-block-column.has-background {
  padding: 28px;
  border-radius: var(--radius);
}

.entry-content .wp-block-cover,
.entry-content .wp-block-cover-image {
  position: relative;
  min-height: 280px;
  display: grid; place-items: center;
  padding: 40px 28px;
  margin: 1.8em 0;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
.entry-content .wp-block-cover .wp-block-cover__inner-container,
.entry-content .wp-block-cover-image .wp-block-cover__inner-container {
  position: relative; z-index: 2; max-width: 60ch;
}
.entry-content .wp-block-cover h1,
.entry-content .wp-block-cover h2,
.entry-content .wp-block-cover h3,
.entry-content .wp-block-cover p { color: inherit; }

.entry-content .wp-block-buttons {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin: 1.4em 0;
}
.entry-content .wp-block-button__link,
.entry-content .wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--slate); color: var(--white);
  font-size: 14.5px; font-weight: 500;
  border: 0;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button .wp-block-button__link:hover {
  background: var(--brand); color: var(--white); transform: translateY(-2px);
  border-bottom: 0;
}
.entry-content .is-style-outline .wp-block-button__link {
  background: transparent; color: var(--slate);
  border: 1px solid var(--line-strong);
}

.entry-content .wp-block-quote,
.entry-content .wp-block-pullquote {
  border-left: 3px solid var(--brand);
  padding: 6px 0 6px 22px;
  margin: 1.8em 0;
  color: var(--ink-2);
  font-size: 19px;
  font-style: italic;
}
.entry-content .wp-block-quote cite,
.entry-content .wp-block-pullquote cite {
  display: block; margin-top: 10px;
  font-size: 13px; color: var(--ink-3); font-style: normal;
  font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}

.entry-content .wp-block-separator {
  border: 0; height: 1px;
  background: var(--line);
  margin: 2.4em auto;
  max-width: 80px;
}
.entry-content .wp-block-separator.is-style-wide { max-width: 100%; }

.entry-content .wp-block-table table {
  width: 100%; border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 15px;
}
.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}
.entry-content .wp-block-table th {
  font-weight: 600;
  background: var(--canvas);
}

.entry-content .wp-block-list,
.entry-content ul,
.entry-content ol { padding-left: 1.4em; margin: 1em 0; }
.entry-content li + li { margin-top: .4em; }

.entry-content .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 1.8em 0;
}
.entry-content .wp-block-gallery figure { margin: 0; }
.entry-content .wp-block-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-sm);
}

.entry-content .wp-block-embed { margin: 1.8em 0; }
.entry-content .wp-block-embed iframe {
  width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius);
}

.entry-content .wp-block-code {
  background: var(--slate); color: #e6e6e9;
  padding: 18px 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  margin: 1.6em 0;
}

.entry-content .has-text-align-center { text-align: center; }
.entry-content .has-text-align-right  { text-align: right;  }
.entry-content .has-text-align-left   { text-align: left;   }

/* Alineaciones wide / full — el single-wrap es angosto, las dejamos
   "salirse" del contenedor para que cover/group con alignwide respiren. */
.entry-content .alignwide {
  margin-left: -8vw;
  margin-right: -8vw;
  max-width: calc(100% + 16vw);
}
.entry-content .alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}
@media (max-width: 760px) {
  .entry-content .alignwide,
  .entry-content .alignfull {
    margin-left: -20px;
    margin-right: -20px;
    max-width: calc(100% + 40px);
    width: auto;
  }
}

/* ============================================================
   CONTACT FORM 7 — overrides para que el form respete el diseño
   del bundle (sección de contacto, fondo oscuro --slate).
   ============================================================ */
.contact .wpcf7,
.contact .wpcf7 form,
.contact .wpcf7-form { margin: 0; padding: 0; }

/* CF7 envuelve los inputs en <span class="wpcf7-form-control-wrap"> — hay
   que hacerlos block para que el input ocupe todo el ancho del .field. */
.contact .wpcf7-form-control-wrap { display: block; width: 100%; }

/* Aplicar el estilo del bundle a TODO input/select/textarea generado por CF7,
   no solo a los que están directamente dentro de .field. */
.contact .wpcf7 input[type="text"],
.contact .wpcf7 input[type="email"],
.contact .wpcf7 input[type="tel"],
.contact .wpcf7 input[type="url"],
.contact .wpcf7 input[type="number"],
.contact .wpcf7 select,
.contact .wpcf7 textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #f0f0f3;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .2s ease, background .2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.contact .wpcf7 input::placeholder,
.contact .wpcf7 textarea::placeholder {
  color: rgba(240,240,243,0.4);
}
.contact .wpcf7 input:focus,
.contact .wpcf7 select:focus,
.contact .wpcf7 textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}
.contact .wpcf7 textarea { min-height: 140px; resize: vertical; }

/* Flecha custom en el <select> (CF7 lo deja con apariencia default del
   browser, que rompe el look). */
.contact .wpcf7 select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23f0f0f3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 38px;
}
.contact .wpcf7 select option { background: var(--slate); color: #f0f0f3; }

/* CF7 mete <p> tags entre campos por defecto — los neutralizamos. */
.contact .wpcf7 p { margin: 0; padding: 0; }

/* Botón submit — replica .form-submit del bundle. */
.contact .wpcf7 input[type="submit"],
.contact .wpcf7 button[type="submit"],
.contact .wpcf7 .form-submit {
  background: var(--white);
  color: var(--ink);
  border: 0;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  margin-top: 8px;
  transition: transform .2s ease, background .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.contact .wpcf7 input[type="submit"]:hover,
.contact .wpcf7 button[type="submit"]:hover,
.contact .wpcf7 .form-submit:hover {
  background: #f0f0f3;
  transform: translateY(-1px);
}

/* Spinner mientras envía. */
.contact .wpcf7 .wpcf7-spinner {
  background-color: rgba(255,255,255,0.6);
  margin-left: 12px;
}

/* Mensajes de validación / respuesta. */
.contact .wpcf7-not-valid-tip {
  color: #e8a298;
  font-size: 12.5px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.contact .wpcf7-response-output {
  color: var(--white);
  font-size: 14px;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  padding: 14px 18px !important;
  border-radius: 10px;
  margin: 18px 0 0 !important;
}
.contact .wpcf7 form.invalid .wpcf7-response-output,
.contact .wpcf7 form.unaccepted .wpcf7-response-output,
.contact .wpcf7 form.payment-required .wpcf7-response-output {
  color: var(--white);
  border-color: rgba(232,162,152,0.45) !important;
}
.contact .wpcf7 form.sent .wpcf7-response-output {
  color: var(--white);
  border-color: rgba(255,255,255,0.35) !important;
}

/* El input que sale "no válido" en rojo */
.contact .wpcf7 input.wpcf7-not-valid,
.contact .wpcf7 textarea.wpcf7-not-valid,
.contact .wpcf7 select.wpcf7-not-valid {
  border-color: rgba(232,162,152,0.6);
}
