:root {
    --mc-black: #171717;
    --mc-black-2: #202020;
    --mc-cream: #f4f0e9;
    --mc-cream-2: #eee8df;
    --mc-gold: #c99545;
    --mc-gold-light: #d8ae67;
    --mc-ink: #1d1b19;
    --mc-muted: #625e58;
    --mc-white: #ffffff;
    --mc-line: rgba(29, 27, 25, .12);
    --mc-container: 1280px;
    --mc-shadow: 0 18px 45px rgba(20, 15, 10, .12);
    /* wood-panel palette for the stats section */
    --mc-wood-1: #1c1712;
    --mc-wood-2: #171310;
    --mc-wood-3: #120e0b;
    --mc-glow: rgba(201, 149, 69, .16);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--mc-ink);
    background: var(--mc-cream);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--mc-gold);
    outline-offset: 3px;
}

button {
    font: inherit;
}

.about-page {
    overflow-x: hidden;
}

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

/*  HEADER  */
/* Fondo sólido siempre (antes era degradado transparente pensado
   para flotar sobre el hero de foto completa; ahora el hero es una
   tarjeta más angosta, así que arriba del todo ya hay fondo crema,
   y el header necesita su propio contraste desde el inicio). */
.about-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 50px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 100%);
    transition: background .25s ease, padding .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.about-header.scrolled {
    padding: 14px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.about-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #fff;
    flex-shrink: 0;
}

.about-logo img {
    display: block;
    width: min(100%, 52px);
    max-height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .65));
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: .95;
    letter-spacing: .01em;
    transform: translateY(-1px);
}

.brand-text strong {
    display: block;
    font-family: "Zilla Slab", serif;
    font-size: clamp(.95rem, 1.3vw, 1.6rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .7);
}

.brand-text span {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: clamp(.6rem, .9vw, .82rem);
    font-weight: 600;
    letter-spacing: .18em;
    color: rgba(255, 255, 255, .8);
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .7);
}

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

.main-nav a {
    position: relative;
    padding: 10px 0;
    color: rgb(255, 250, 250);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: color .2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--mc-gold);
    transition: transform .22s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--mc-gold-light);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.header-quote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    background: var(--mc-gold);
    color: #fff;
    border: 1.5px solid var(--mc-gold);
    font-weight: 600;
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 18px 26px rgba(201, 149, 69, .28);
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}

.header-quote:hover {
    transform: translateY(-1px);
    background: #b98236;
}

.header-quote span {
    font-size: 1em;
}

.gold-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    background: var(--mc-gold);
    color: #fff;
    border: 1px solid var(--mc-gold);
    border-radius: 10px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.gold-button:hover {
    transform: translateY(-2px);
    background: #b98236;
    box-shadow: 0 10px 24px rgba(201, 149, 69, .28);
}

.gold-button span {
    font-size: 1.1em;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.nav-toggle svg {
    width: 26px;
    height: 26px;
}

/*  HERO  */
/* Ahora es una tarjeta centrada (mismo ancho que .about-container)
   en vez de una foto de borde a borde: por eso lleva su propio
   width/margin en lugar de heredar .about-container, y un
   margin-top que la despega del header fijo. */
.about-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(8, 7, 6, .88) 0%, rgba(8, 7, 6, .65) 32%, rgba(8, 7, 6, .23) 65%, rgba(8, 7, 6, .08)),
        url("../assets/img/nuevasindatos.webp") center top / cover no-repeat;
    background-attachment: scroll;
    will-change: background-position;
}


.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 8, 6, .35), transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 56px 0 0 26px;
}

.hero-kicker {
    margin-bottom: 10px;
    color: var(--mc-gold-light);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.about-hero h1 {
    font-family: "Zilla Slab", serif;
    font-size: clamp(3.2rem, 5.6vw, 5.6rem);
    font-weight: 700;
    line-height: .96;
    letter-spacing: -.015em;
    text-transform: uppercase;
}

.gold-rule {
    display: block;
    width: 53px;
    height: 3px;
    margin-top: 22px;
    background: var(--mc-gold);
}

.hero-signature {
    margin-top: 18px;
    color: var(--mc-gold-light);
    font-family: "Mrs Saint Delafield", cursive;
    font-weight: 400;
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1;
}

.hero-subtitle {
    max-width: 46ch;
    margin-top: 20px;
    color: rgba(244, 240, 233, .82);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
}

/*  PILLARS (Mission / Vision / Purpose) — compact  */
.pillars-section {
    background: var(--mc-cream);
    padding: 44px 0 8px;
}

.pillars-head h2 {
    margin-top: 14px;
    margin-bottom: 6px;
    font-family: "Libre Baskerville", serif;
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.pillars-head {
    margin-bottom: 28px;
}

.pillars-head .gold-rule {
    margin-top: 10px;
}

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

.pillar-card {
    padding: 22px 18px;
    text-align: center;
    border-radius: 12px;
    border-top: 3px solid var(--mc-gold);
    transition: transform .2s ease, box-shadow .2s ease;
}

.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(20, 15, 10, .12);
}

/* fondo de color por tarjeta, usando tu paleta */
.pillar-card--mission {
    background: var(--mc-cream-2);
    border-top-color: var(--mc-gold);
}

.pillar-card--vision {
    background: var(--mc-cream-2);
    border-top-color: var(--mc-gold);
}

.pillar-card--purpose {
    background: var(--mc-cream-2);
    border-top-color: var(--mc-gold);
}

.pillar-icon {
    display: grid;
    width: 38px;
    height: 38px;
    margin: 0 auto 12px;
    place-items: center;
    border-radius: 50%;
    background: var(--mc-black);
    color: var(--mc-gold);
}

.pillar-card--vision .pillar-icon {
    background: var(--mc-black);
    color: var(--mc-gold);
}

.pillar-icon svg {
    width: 18px;
    height: 18px;
}

.pillar-title {
    display: block;
    margin-bottom: 8px;
    font-family: "Libre Baskerville", serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: none;
    color: var(--mc-ink);
}

.pillar-card--vision .pillar-title {
    color: var(--mc-ink);
}

.pillar-text {
    max-width: 26ch;
    margin: 0 auto;
    color: var(--mc-muted);
    font-size: .78rem;
    line-height: 1.55;
}

.pillar-card--vision .pillar-text {
    color: var(--mc-muted);
}

/*  ANIMACIÓN: nacen desde el centro (Vision)  */
.pillar-card--vision {
    opacity: 0;
    transform: scale(.94);  /* antes: .85 */
    transition: opacity .7s ease, transform .7s cubic-bezier(.16, .6, .2, 1);
}

.pillar-card--vision.in-view {
    opacity: 1;
    transform: scale(1);
}

.pillar-card--mission {
    opacity: 0;
    transform: translateX(60%) scale(.96);  /* antes: 120% scale(.9) */
    transition: opacity .8s ease .2s, transform .8s cubic-bezier(.16, .6, .2, 1) .2s;
}

.pillar-card--mission.in-view {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.pillar-card--purpose {
    opacity: 0;
    transform: translateX(-60%) scale(.96);  /* antes: -120% scale(.9) */
    transition: opacity .8s ease .2s, transform .8s cubic-bezier(.16, .6, .2, 1) .2s;
}

.pillar-card--purpose.in-view {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* responsive */
@media (max-width: 820px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pillars-section {
        padding: 34px 0 4px;
    }
}

/*  STORY / SPECIALTY  */
.section-light {
    background: var(--mc-cream);
}

.story-section {
    padding: 60px 0 50px;
}

.story-grid,
.specialty-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
    gap: clamp(45px, 7vw, 105px);
    align-items: stretch;
}

.story-copy,
.specialty-copy {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-kicker {
    color: var(--mc-gold);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

h2 {
    font-family: "Zilla Slab", serif;
    font-size: clamp(2.35rem, 3.7vw, 3.7rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.01em;
    text-transform: uppercase;
}

.story-copy h2 {
    margin-top: 10px;
}

.story-copy .gold-rule {
    margin-top: 20px;
    margin-bottom: 20px;
}

.body-copy {
    max-width: 54ch;
    margin-bottom: 22px;
    color: var(--mc-muted);
    font-size: 1rem;
    line-height: 1.72;
}

/* frase de acento tipo "firma", solo para la sección Our Story */
.story-signature {
    margin: 4px 0 22px;
    color: var(--mc-gold);
    font-family: "Mrs Saint Delafield", cursive;
    font-weight: 400;
    font-size: clamp(2.1rem, 3.1vw, 2.8rem);
    line-height: 1;
}

.dark-button {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 11px 18px;
    background: var(--mc-black);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease;
    align-self: flex-start;
}

.dark-button:hover {
    transform: translateY(-2px);
    background: #2a2a2a;
}

/* Foto "Our Story": esquina superior-izquierda grande (asimetría
   en espejo respecto a specialty-photo), altura ligada al grid
   para igualar la columna de texto (align-items: stretch). */
.about-photo {
    position: relative;
    height: 100%;
    min-height: 300px;
    max-height: 460px;
    overflow: hidden;
    background: #ddd4c8;
    border-radius: 90px 24px 24px 24px;
    box-shadow: var(--mc-shadow);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.about-photo:hover img {
    transform: scale(1.035);
}

/*  STATS  */
.stats-section {
    padding: 0 0 60px;
}

/* Panel con textura tipo veta de madera: dos capas de líneas
   diagonales sutiles + degradado cálido en vez de negro plano. */
.stats-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    position: relative;
    background:
        repeating-linear-gradient(112deg,
            rgba(255, 255, 255, .022) 0px,
            rgba(255, 255, 255, .022) 1px,
            transparent 1px,
            transparent 4px),
        repeating-linear-gradient(112deg,
            rgba(0, 0, 0, .16) 0px,
            transparent 30px,
            rgba(201, 149, 69, .045) 60px,
            transparent 95px),
        linear-gradient(160deg, var(--mc-wood-1) 0%, var(--mc-wood-2) 55%, var(--mc-wood-3) 100%);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22), inset 0 0 0 1px rgba(201, 149, 69, .1);
}

.stat-item {
    position: relative;
    min-height: 190px;
    padding: 26px 22px 22px;
    text-align: center;
    transition: background .3s ease, transform .25s ease;
}

/* divisor de puntos dorados en vez de línea sólida */
.stat-item::before {
    content: "";
    position: absolute;
    top: 22%;
    bottom: 22%;
    left: 0;
    width: 1px;
    background-image: radial-gradient(var(--mc-gold) 1.4px, transparent 1.6px);
    background-size: 1px 11px;
    background-repeat: repeat-y;
    opacity: .5;
}

.stat-item:first-child::before {
    display: none;
}

.stat-item:hover {
    background: radial-gradient(circle at 50% 28%, var(--mc-glow), transparent 68%);
}

.stat-item:hover .stat-icon {
    transform: translateY(-3px);
    filter: drop-shadow(0 0 8px rgba(196, 122, 11, 0.55));
}

.stat-icon {
    width: 38px;
    height: 38px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    color: var(--mc-gold);
    transition: transform .25s ease, filter .25s ease;
}

.stat-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-item strong {
    display: block;
    font-family: "Zilla Slab", serif;
    font-size: clamp(2.1rem, 2.9vw, 2.6rem);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-item b {
    display: block;
    margin-top: 8px;
    color: var(--mc-gold);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.stat-item p {
    max-width: 21ch;
    margin: 8px auto 0;
    color: #c2c0bc;
    font-size: .74rem;
    line-height: 1.5;
}

/*  SPECIALTY  */
.specialty-section {
    background: var(--mc-cream-2);
    border-top: 1px solid var(--mc-line);
    padding: 60px 0 60px;
}

.specialty-copy .section-kicker {
    margin-bottom: 4px;
}

.specialty-copy h2 {
    margin-bottom: 0;
}

.specialty-copy .gold-rule {
    margin: 20px 0 20px;
}

.specialty-copy h3 {
    max-width: 38ch;
    margin-bottom: 17px;
    color: var(--mc-gold);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.55;
    text-transform: uppercase;
}

.specialty-copy .body-copy {
    margin-bottom: 20px;
}

/* Foto "Our Specialty": esquina inferior-izquierda grande,
   en espejo con about-photo; misma altura que su columna. */
.specialty-photo {
    position: relative;
    height: 100%;
    min-height: 300px;
    max-height: 460px;
    overflow: hidden;
    border: 3px solid var(--mc-gold);
    border-radius: 24px 24px 24px 90px;
    background: var(--mc-cream);
}

.specialty-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.specialty-photo:hover img {
    transform: scale(1.035);
}

.specialty-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.specialty-item {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
    transition: transform .25s ease;
}

.specialty-icon {
    display: grid;
    width: 53px;
    height: 53px;
    place-items: center;
    border: 1px solid rgba(29, 27, 25, .12);
    border-radius: 50%;
    background: #ebe3d7;
    color: var(--mc-gold);
    transition: transform .2s ease, background .2s ease;
}

.specialty-item:hover .specialty-icon {
    transform: translateY(-3px) rotate(-4deg);
    background: #e3d8c8;
}

.specialty-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.specialty-item b {
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.4;
    text-transform: uppercase;
}

/*  CTA  */
.cta-section-wrap {
    background: var(--mc-cream-2);
    padding: 0 clamp(20px, 4vw, 60px) 40px;
}

.cta-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 18px;
    background: url("../assets/img/Madera arbol.webp") center / cover no-repeat;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 23, .78);
}

.cta-inner {
    position: relative;
    z-index: 1;
    min-height: 116px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
}

.cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.cta-icon-img {
    display: block;
    width: 80px;
    height: 80px;
    background-color: var(--mc-gold);
    -webkit-mask-image: url("../assets/icons/martillos.webp");
    mask-image: url("../assets/icons/martillos.webp");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.cta-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cta-copy h2 {
    color: #fff;
    font-size: clamp(1.3rem, 2.2vw, 2rem);
    letter-spacing: -.005em;
}

.cta-copy p {
    margin-top: 3px;
    color: #c2c0bc;
    font-size: .78rem;
}

.cta-inner .gold-button {
    padding: 12px 19px;
    font-size: .65rem;
}

/*  FOOTER  */
.about-footer {
    padding-top: 40px;
    background: #111212;
    color: #bdbdbd;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .8fr 1.05fr 1fr;
    gap: 38px;
    padding-bottom: 30px;
}

.footer-brand p {
    max-width: 34ch;
    margin-top: 14px;
    color: #a6a6a6;
    font-size: .78rem;
    line-height: 1.65;
}

.footer-logo {
    margin-bottom: 2px;
}

.footer-logo img {
    width: 46px;
    height: 40px;
}

.footer-logo .brand-text strong {
    font-size: 1rem;
}

.footer-logo .brand-text span {
    font-size: .58rem;
}

.footer-brand .social-row {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.footer-brand .social-row a {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid var(--mc-gold);
    border-radius: 50%;
    color: var(--mc-gold);
    font-size: .75rem;
    transition: background .2s ease, color .2s ease;
}

.footer-brand .social-row a:hover {
    background: var(--mc-gold);
    color: #fff;
}

.footer-grid section:not(.footer-brand) {
    display: flex;
    flex-direction: column;
}

.footer-grid h3 {
    margin-bottom: 13px;
    color: var(--mc-gold);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-grid section:not(.footer-brand)>a,
.contact-line {
    margin-bottom: 8px;
    color: #bdbdbd;
    font-size: .74rem;
    line-height: 1.45;
    transition: color .2s ease;
}

.footer-grid section:not(.footer-brand)>a:hover {
    color: #fff;
}

.contact-line {
    display: flex;
    gap: 9px;
}

.contact-line:first-letter {
    color: var(--mc-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: #777;
    font-size: .62rem;
    letter-spacing: .03em;
}

/*  ANIMATIONS  */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal-right {
    transform: translateX(24px);
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

.hero-reveal {
    animation: heroIn .8s cubic-bezier(.2, .7, .2, 1) .08s both;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

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

.stagger-item {
    transform: translateY(18px) scale(.97);
}

.stagger-item.in-view {
    transform: none;
}

.stat-item.is-hovered {
    transform: translateY(-4px);
}

.specialty-item.is-hovered .specialty-icon {
    transform: translateY(-4px) rotate(-4deg);
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/*  RESPONSIVE  */
@media (max-width: 1050px) {
    .about-container {
        width: min(var(--mc-container), calc(100% - 52px));
    }

    .main-nav {
        gap: 19px;
    }

    .main-nav a {
        font-size: .7rem;
    }

    .header-quote {
        padding: 11px 15px;
        font-size: .63rem;
    }

    .story-grid,
    .specialty-grid {
        gap: 48px;
    }

    .about-photo,
    .specialty-photo {
        max-height: 400px;
    }

    .footer-grid {
        gap: 25px;
    }
}

@media (max-width: 980px) {
    .main-nav {
        display: none;
    }

    .header-quote {
        display: none;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav.is-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 24px 20px;
        margin: 0;
        background: rgba(18, 11, 9, .96);
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .main-nav.is-open a {
        padding: 12px 0;
        font-size: .72rem;
    }

    .main-nav.is-open a::after {
        right: auto;
        width: 34px;
    }
}

@media (max-width: 820px) {
    .about-container {
        width: calc(100% - 48px);
    }

    .about-header {
        padding: 14px 0;
    }

    .about-header.scrolled {
        padding: 10px 0;
    }

    .about-logo img {
        width: 44px;
        height: 40px;
    }

    .about-hero {
        min-height: 330px;
    }

    .hero-content {
        padding-top: 52px;
    }

    .story-grid,
    .specialty-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .story-copy,
    .specialty-copy {
        display: block;
    }

    .story-section {
        padding-top: 55px;
        padding-bottom: 40px;
    }

    .specialty-section {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .about-photo,
    .specialty-photo {
        height: 320px;
        max-height: none;
    }

    /* en móvil, esquinas asimétricas más pequeñas para no verse recortadas */
    .about-photo {
        border-radius: 56px 20px 20px 20px;
    }

    .specialty-photo {
        border-radius: 20px 20px 20px 56px;
    }

    .stats-panel {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 10px;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, .12);
    }

    .stat-item:nth-child(3)::before {
        display: none;
    }

    .cta-inner {
        grid-template-columns: auto 1fr;
        padding: 24px 0;
    }

    .cta-inner .gold-button {
        grid-column: 2;
        justify-self: start;
    }

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

@media (max-width: 560px) {
    .about-container {
        width: calc(100% - 34px);
    }

    .about-hero {
        min-height: 300px;
        background-position: 60% center;
    }

    .hero-content {
        padding-top: 50px;
    }

    .hero-kicker {
        font-size: .68rem;
    }

    .hero-subtitle {
        margin-top: 14px;
        font-size: .92rem;
    }

    .about-hero h1 {
        font-size: clamp(2.8rem, 14vw, 3.8rem);
    }

    .story-section {
        padding: 50px 0 32px;
    }

    h2 {
        font-size: clamp(2.1rem, 12vw, 2.9rem);
    }

    .about-photo,
    .specialty-photo {
        height: 260px;
    }

    .about-photo {
        border-radius: 44px 16px 16px 16px;
    }

    .specialty-photo {
        border-radius: 16px 16px 16px 44px;
    }

    .stats-section {
        padding-bottom: 28px;
    }

    .stats-panel {
        grid-template-columns: 1fr 1fr;
        border-radius: 8px;
    }

    .stat-item {
        min-height: 178px;
        padding: 24px 10px 20px;
    }

    .stat-item strong {
        font-size: 1.9rem;
    }

    .stat-item b {
        font-size: .56rem;
    }

    .stat-item p {
        font-size: .68rem;
    }

    .specialty-section {
        padding: 40px 0 36px;
    }

    .specialty-list {
        gap: 6px;
    }

    .specialty-icon {
        width: 48px;
        height: 48px;
    }

    .specialty-item b {
        font-size: .53rem;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        gap: 13px;
        padding: 26px 0;
    }

    .cta-inner .gold-button {
        grid-column: auto;
    }

    .cta-icon {
        width: 46px;
        height: 46px;
    }

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

    .about-footer {
        padding-top: 34px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }
}

/* === MODO OSCURO (ABOUT US PAGE) === */
[data-theme="dark"] {
    --mc-cream: #120B09;
    --mc-cream-2: #1f1817;
    --mc-ink: #F7F1EA;
    --mc-muted: #C9B8A8;
    --mc-white: #1E1410;
    --mc-line: rgba(255, 255, 255, 0.14);
    --mc-black: #f7eeeb;
}

[data-theme="dark"] body {
    background: #120B09;
    color: #F7F1EA;
}

[data-theme="dark"] .about-card,
[data-theme="dark"] .vision-card,
[data-theme="dark"] .mission-card,
[data-theme="dark"] .team-card {
    background: #1E1410;
    border-color: rgba(255, 255, 255, 0.12);
    color: #F7F1EA;
}