/* Kees Goebel · Sastrería a medida */

@font-face {
    font-family: "Montserrat";
    src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("/assets/fonts/opensans-latin.woff2") format("woff2");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: only light;
    --ink: #111;
    --text: #333;
    --muted: #6a6a6a;
    --line: #e3e3e3;
    --soft: #f6f7fb;
    --grey: #f0f0f0;
    --stone: #f1f0ee;
    --navy: #22405a;
    --navy-dark: #1a3246;
    --olive: #55554d;
    --frame: #33332d;
    --error: #b3261e;
    --ff-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --ff-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    --gutter: clamp(18px, 3vw, 40px);
    --max: 1480px;
    --radius: 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 104px;
}

body {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

img {
    height: auto;
}

a {
    color: inherit;
    text-underline-offset: 3px;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    line-height: 1.15;
    text-wrap: balance;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 3px;
}

.icon {
    flex: none;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: 980px;
}

.skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 18px;
    background: #111;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
}

.skip:focus {
    top: 12px;
}

/* ------------------------------------------------------------ Botones */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 600 15px/1.2 var(--ff-body);
    letter-spacing: 0.04em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn--hero {
    padding: 21px 56px;
    border-color: #fff;
    background: transparent;
    color: #fff;
    font: 400 16px/1 var(--ff-head);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.btn--hero:hover {
    background: #fff;
    color: #111;
}

.btn--hero:focus-visible {
    outline-color: #fff;
}

.btn--olive {
    background: var(--olive);
    color: #fff;
}

.btn--olive:hover {
    background: #3e3e38;
}

.btn--navy {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 8px 20px rgba(34, 64, 90, 0.2);
}

.btn--navy:hover {
    background: var(--navy-dark);
}

.btn--dark {
    background: #111;
    color: #fff;
}

.btn--dark:hover {
    background: #333;
}

.btn--outline {
    border-color: #111;
    background: #fff;
    color: #111;
}

.btn--outline:hover {
    background: #111;
    color: #fff;
}

.btn--sm {
    padding: 11px 22px;
    font-size: 14px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.text-link .icon {
    transition: transform 0.2s ease;
}

.text-link:hover .icon {
    transform: translateX(4px);
}

/* ------------------------------------------------------------ Cabecera */

.topbar {
    background: #333;
    color: #fff;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.topbar p {
    margin: 0;
    padding: 9px var(--gutter);
    line-height: 1.4;
}

.topbar a {
    text-decoration: underline;
}

.header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #fff;
    border-bottom: 1px solid #ececec;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1800px;
    margin-inline: auto;
    padding: 0 clamp(18px, 3.2vw, 58px);
    min-height: 80px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111;
    text-decoration: none;
}

.logo__text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo__name {
    font: 800 25px/1 var(--ff-head);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo__sub {
    font: 600 7.5px/1 var(--ff-head);
    letter-spacing: 0.31em;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo__mark {
    width: 50px;
    height: auto;
    transform: rotate(-28deg);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav__link {
    display: block;
    padding: 12px 10px;
    font-size: 14px;
    line-height: 1.3;
    color: #111;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.nav__link:hover,
.nav__link.is-active {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.nav__link--cta {
    font-weight: 700;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.nav-toggle__close {
    display: none;
}

@media (max-width: 979px) {
    .header__inner {
        min-height: 68px;
    }

    .logo__name {
        font-size: 21px;
    }

    .logo__sub {
        font-size: 6.5px;
    }

    .logo__mark {
        width: 42px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-open .nav-toggle__open {
        display: none;
    }

    .nav-open .nav-toggle__close {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - 68px);
        max-height: calc(100dvh - 68px);
        overflow-y: auto;
        padding: 12px var(--gutter) 32px;
        background: #fff;
        border-top: 1px solid #ececec;
        box-shadow: 0 24px 40px rgba(0, 0, 0, 0.12);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    }

    .nav-open .nav {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav__link {
        padding: 12px 0;
        font-size: 24px;
        border-bottom: 1px solid #f0f0f0;
    }
}

/* ---------------------------------------------------------------- Hero */

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: clamp(520px, calc(100vh - 114px), 860px);
    min-height: clamp(520px, calc(100svh - 114px), 860px);
    overflow: hidden;
    background: #15171b;
    color: #fff;
    text-align: center;
}

.hero__media {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr);
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__img--b {
    object-position: center 20%;
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 var(--gutter) clamp(56px, 16vh, 140px);
}

.hero__title {
    color: #fff;
    font: 400 clamp(2.1rem, 6.3vw, 6rem)/1.1 var(--ff-head);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero__sub {
    margin: clamp(14px, 2.4vw, 30px) 0 0;
    font: 300 clamp(1rem, 2vw, 1.875rem)/1.2 var(--ff-head);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: clamp(32px, 5vw, 52px);
}

@media (max-width: 799px) {
    .hero__media {
        grid-template-columns: 1fr;
    }

    .hero__img--a {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .btn--hero {
        width: min(100%, 300px);
        padding: 18px 28px;
        font-size: 14px;
        letter-spacing: 0.16em;
    }
}

/* ---------------------------------------------------------- Secciones */

.section {
    padding: clamp(56px, 7vw, 96px) 0;
}

.section--tight {
    padding: clamp(28px, 4vw, 52px) 0;
}

.section--flush {
    padding-top: 0;
}

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

.section__title {
    font: 800 clamp(1.5rem, 2.4vw, 1.875rem)/1.15 var(--ff-head);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1a1a1a;
}

.eyebrow {
    margin: 0 0 12px;
    font: 600 13px/1.3 var(--ff-body);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--olive);
}

.lead {
    margin: 14px 0 0;
    max-width: 30em;
    font-size: clamp(1.05rem, 1.5vw, 1.375rem);
    line-height: 1.45;
    color: var(--text);
}

.lead--narrow {
    max-width: 34em;
}

.intro {
    max-width: 38em;
    margin: 0 auto;
    font-size: clamp(1.1rem, 1.7vw, 1.4rem);
    line-height: 1.5;
    text-align: center;
    color: var(--ink);
}

.note {
    margin: 36px auto 0;
    max-width: 52em;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}

.note--left {
    margin: 22px 0 0;
    text-align: left;
}

/* --------------------------------------------------------- Ventajas */

.features {
    padding: clamp(52px, 6.5vw, 84px) 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
    max-width: 1400px;
    text-align: center;
}

.feature .icon {
    margin: 0 auto 30px;
    stroke-width: 1;
    color: #111;
}

.feature__title {
    font: 600 18px/1.2 var(--ff-head);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #000;
}

.feature__text {
    margin: 16px 0 0;
    font: 300 16px/1.6 var(--ff-head);
    color: #000;
}

@media (max-width: 799px) {
    .features__grid {
        grid-template-columns: 1fr;
    }

    .feature .icon {
        margin-bottom: 18px;
        width: 46px;
        height: 46px;
    }
}

/* --------------------------------------------------------- Servicios */

.services__panel {
    display: grid;
    grid-template-columns: minmax(280px, 432px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 4vw, 52px);
    padding: clamp(20px, 5vw, 70px) clamp(16px, 2vw, 24px);
    background: var(--soft);
}

.services__photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 432 / 680;
    border-radius: var(--radius);
    background: #222;
}

.services__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services__photo::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.services__caption {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 1;
    margin: 0;
    color: #fff;
    font: 700 clamp(1.3rem, 2.1vw, 1.75rem)/1.15 var(--ff-body);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.services__body {
    padding-top: clamp(0px, 2vw, 26px);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: clamp(28px, 4vw, 48px);
}

.card {
    display: flex;
    flex-direction: column;
    padding: 8px 8px 24px;
    background: #fff;
    border: 2px solid var(--frame);
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    color: var(--text);
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.card__img {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    background: var(--stone);
}

.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__title {
    margin-top: 18px;
    padding: 0 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.card__text {
    flex: 1;
    margin-top: 8px;
    padding: 0 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

.card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--frame);
}

@media (max-width: 1099px) {
    .services__panel {
        grid-template-columns: 1fr;
    }

    .services__photo {
        aspect-ratio: 16 / 11;
    }

    .services__photo img {
        object-position: center 18%;
    }
}

@media (max-width: 699px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .services__photo {
        aspect-ratio: 4 / 5;
    }
}

/* ----------------------------------------------------------- Tejidos */

.fabrics {
    padding: clamp(48px, 6vw, 76px) 0;
    background: var(--grey);
}

.fabrics__title {
    margin-bottom: clamp(28px, 4vw, 44px);
    font: 600 13px/1.3 var(--ff-head);
    letter-spacing: 0.24em;
    text-align: center;
    text-transform: uppercase;
    color: var(--olive);
}

.fabrics__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 28px 16px;
}

.fabric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.fabric__img {
    width: clamp(84px, 9vw, 124px);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.fabric__name {
    font: 500 12px/1.4 var(--ff-head);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #222;
}

@media (max-width: 899px) {
    .fabrics__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 479px) {
    .fabric__name {
        font-size: 10.5px;
        letter-spacing: 0.1em;
    }
}

/* ----------------------------------------------------------- Atelier */

.atelier {
    padding-top: 34px;
}

.atelier__inner {
    position: relative;
    overflow: hidden;
    padding: clamp(20px, 5vw, 72px) clamp(14px, 14vw, 256px);
    background: #cfd3d9;
}

.atelier__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atelier__card {
    position: relative;
    max-width: 560px;
    padding: clamp(24px, 3.2vw, 44px);
    background: #fff;
    border: 2px solid var(--frame);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.atelier__card .eyebrow {
    margin-bottom: 4px;
    font-size: 14px;
    color: #333;
}

.atelier__title {
    margin-bottom: 18px;
    font: 700 clamp(2.4rem, 4.2vw, 3.5rem)/1.05 var(--ff-head);
    color: #1a1a1a;
}

.atelier__addr {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 600;
    color: #111;
}

.atelier__addr .icon {
    margin-top: 4px;
    color: var(--error);
}

.hours {
    margin: 24px 0 28px;
    padding: 20px;
    background: var(--soft);
    border-radius: 16px;
}

.hours__title {
    margin-bottom: 8px;
    font: 700 14px/1.3 var(--ff-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hours__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 8px 0;
    font-size: 15px;
}

.hours__row + .hours__row {
    border-top: 1px solid #dfe1e8;
}

.hours__row strong {
    color: #111;
    white-space: nowrap;
}

.hours--plain {
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
}

@media (max-width: 699px) {
    .atelier__inner {
        padding: 18px 12px;
    }
}

/* ----------------------------------------------------------- Proceso */

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 32px;
    margin-top: clamp(36px, 5vw, 60px);
    counter-reset: none;
}

.steps--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
    padding-top: 26px;
    border-top: 1px solid #cfcfcf;
}

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    background: var(--olive);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.step__title {
    margin-bottom: 10px;
    font: 700 19px/1.25 var(--ff-body);
}

.step p {
    margin: 0;
    font-size: 15px;
    color: #4a4a4a;
}

.process__more {
    margin: 36px 0 0;
}

.process-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}

.process-head__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius);
}

@media (max-width: 999px) {
    .steps,
    .steps--six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-head {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 599px) {
    .steps,
    .steps--six {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* --------------------------------------------------------------- FAQ */

.faq-section {
    padding-top: 0;
}

.faq__title {
    margin-bottom: 14px;
    font: 600 20px/1.2 var(--ff-head);
    color: #000;
}

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

.faq--group {
    margin-bottom: 48px;
}

.faq__title--grid {
    margin-bottom: 28px;
}

.faq__item {
    border-bottom: 1px solid var(--line);
}

.faq__q {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    font-size: 18px;
    line-height: 1.35;
    color: #111;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}

.faq__q::-webkit-details-marker {
    display: none;
}

.faq__q .icon {
    transition: transform 0.2s ease;
}

.faq__item[open] .faq__q .icon {
    transform: rotate(180deg);
}

.faq__q:hover span {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.faq__a {
    max-width: 46em;
    padding: 0 0 18px;
}

.faq__a p:last-child {
    margin-bottom: 0;
}

@media (max-width: 699px) {
    .faq__q {
        gap: 12px;
        font-size: 15px;
    }
}

/* -------------------------------------------------------------- Cita */

.cita {
    padding: clamp(56px, 7vw, 96px) 0;
    background: var(--soft);
}

.cita__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
    gap: clamp(32px, 6vw, 88px);
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 32px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #111;
}

.contact-list .icon {
    margin-top: 3px;
    color: var(--navy);
}

.cita__form,
.contact__form {
    padding: clamp(22px, 3.4vw, 40px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.form {
    display: grid;
    gap: 18px;
}

.form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}

.field {
    min-width: 0;
}

.field__label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.field__input {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #c9c9cf;
    border-radius: 12px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea.field__input {
    min-height: 132px;
    resize: vertical;
}

.field__input::placeholder {
    color: #8a8a8a;
}

.field__input:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(34, 64, 90, 0.16);
}

.field--error .field__input {
    border-color: var(--error);
}

.field__error {
    margin: 6px 0 0;
    font-size: 13.5px;
    color: var(--error);
}

.form__alert {
    margin: 0;
    padding: 12px 16px;
    background: #fdeceb;
    border-radius: 12px;
    font-size: 14.5px;
    color: #7a1a14;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    cursor: pointer;
}

.check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--navy);
}

.form .btn {
    justify-self: start;
}

.form__note {
    margin: 4px 0 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--muted);
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-success {
    padding: 12px 0;
    text-align: center;
}

.form-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    background: var(--navy);
    border-radius: 50%;
    color: #fff;
}

.form-success h3 {
    margin-bottom: 10px;
    font: 700 22px/1.2 var(--ff-head);
}

.form-success p {
    max-width: 30em;
    margin: 0 auto 24px;
}

@media (max-width: 899px) {
    .cita__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 559px) {
    .form__row {
        grid-template-columns: 1fr;
    }

    .form .btn {
        justify-self: stretch;
    }
}

/* ------------------------------------------------- Cabeceras internas */

.page-head {
    padding: clamp(44px, 6vw, 80px) 0 clamp(32px, 4vw, 52px);
    text-align: center;
}

.page-head--soft {
    background: var(--soft);
    padding-bottom: clamp(20px, 3vw, 36px);
}

.page-head__kicker {
    margin: 0 0 14px;
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.page-head__title {
    font: 700 clamp(1.9rem, 4.4vw, 3.25rem)/1.1 var(--ff-head);
    letter-spacing: -0.005em;
}

.page-head__intro {
    max-width: 40em;
    margin: 18px auto 0;
    font-size: clamp(1rem, 1.3vw, 1.125rem);
}

.banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(280px, 40vw, 500px);
    overflow: hidden;
    background: #222;
    color: #fff;
    text-align: center;
}

.banner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.46);
}

.banner__content {
    position: relative;
    z-index: 1;
    padding: 0 var(--gutter);
}

.banner__eyebrow {
    margin: 0 0 14px;
    font: 300 clamp(0.9rem, 1.6vw, 1.25rem)/1.2 var(--ff-head);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.banner__title {
    color: #fff;
    font: 400 clamp(2.4rem, 6vw, 5rem)/1.05 var(--ff-head);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* -------------------------------------------------------------- Split */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 6vw, 96px);
    max-width: 1280px;
    margin-inline: auto;
}

.split__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius);
}

.split--rev .split__media {
    order: 2;
}

.split__title,
.story__title {
    display: inline-block;
    margin-bottom: 26px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--olive);
    font: 700 clamp(1.5rem, 2.4vw, 1.875rem)/1.2 var(--ff-body);
}

.ticks {
    display: grid;
    gap: 9px;
    margin: 22px 0 28px;
}

.ticks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ticks .icon {
    margin-top: 4px;
    color: var(--navy);
    stroke-width: 2;
}

@media (max-width: 899px) {
    .split {
        grid-template-columns: 1fr;
    }

    .split--rev .split__media {
        order: 0;
    }
}

/* ----------------------------------------------------------- Nosotros */

.stories {
    padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 7vw, 96px);
    background: var(--soft);
}

.story {
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(36px, 7vw, 96px);
    max-width: 1140px;
    margin-inline: auto;
    padding: clamp(28px, 4.5vw, 60px) 0;
}

.story--rev .story__media {
    order: 2;
}

.story__media {
    position: relative;
    padding: 8px;
    background: #fff;
    border: 2px solid var(--frame);
    border-radius: 10px;
}

.story__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 4px;
}

.story__media--arch,
.story__media--arch img {
    border-radius: 999px 999px 8px 8px;
}

.story__num {
    position: absolute;
    right: -26px;
    bottom: -26px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    background: var(--olive);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}

.story--rev .story__num {
    right: auto;
    left: -26px;
}

.story__body p {
    max-width: 36em;
    font-size: 16px;
    line-height: 1.8;
}

.values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: clamp(28px, 4vw, 48px);
}

.value {
    padding-top: 22px;
    border-top: 2px solid #111;
}

.value__title {
    margin-bottom: 10px;
    font: 700 19px/1.25 var(--ff-body);
}

.value p {
    margin: 0;
    color: #4a4a4a;
}

@media (max-width: 899px) {
    .story {
        grid-template-columns: 1fr;
    }

    .story__media {
        max-width: 420px;
        margin-inline: auto;
    }

    .story--rev .story__media {
        order: 0;
    }

    .story__num,
    .story--rev .story__num {
        right: -6px;
        left: auto;
        bottom: -22px;
        width: 68px;
        height: 68px;
        font-size: 22px;
    }

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

/* ----------------------------------------------------------- Galería */

.gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2px;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.gallery--spaced {
    margin-top: clamp(48px, 6vw, 80px);
}

.gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

@media (max-width: 899px) {
    .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ---------------------------------------------------------- CTA final */

.cta-band {
    padding: clamp(56px, 7vw, 92px) 0;
    background: var(--navy);
    color: #fff;
    text-align: center;
}

.cta-band__title {
    color: #fff;
    font: 400 clamp(1.5rem, 3.2vw, 2.5rem)/1.2 var(--ff-head);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cta-band p {
    max-width: 36em;
    margin: 18px auto 32px;
    color: rgba(255, 255, 255, 0.88);
}

/* ----------------------------------------------------------- Catálogo */

.filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.filters__list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 26px;
}

.filters__link {
    display: block;
    padding: 6px 0;
    font-size: 15px;
    color: #111;
    text-transform: uppercase;
    text-decoration: none;
}

.filters__link:hover,
.filters__link.is-active {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.filters__link.is-active {
    font-weight: 700;
}

.filters__count {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
    text-transform: uppercase;
}

.grid-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 16px;
}

.product-card {
    display: flex;
    flex-direction: column;
    color: #111;
    text-decoration: none;
}

.product-card__img {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    margin-bottom: 16px;
    background: var(--stone);
}

.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__img img {
    transform: scale(1.04);
}

.product-card__cat {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.product-card__name {
    margin-top: 4px;
    font: 400 17px/1.25 var(--ff-head);
}

.product-card__price {
    margin-top: 6px;
    font: 700 19px/1.2 var(--ff-head);
}

@media (max-width: 1099px) {
    .grid-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 699px) {
    .grid-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 12px;
    }

    .product-card__name {
        font-size: 15px;
    }

    .product-card__price {
        font-size: 16px;
    }

    .filters__list {
        gap: 2px 18px;
    }

    .filters__link,
    .filters__count {
        font-size: 13.5px;
    }
}

/* ----------------------------------------------------------- Producto */

.section--product {
    padding-top: 24px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #111;
    text-decoration: underline;
}

.product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(28px, 6vw, 88px);
}

.product__media {
    overflow: hidden;
    background: var(--stone);
    border-radius: var(--radius);
}

.product__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.product__info {
    max-width: 560px;
    padding-top: clamp(0px, 2vw, 28px);
}

.product__title {
    font: 700 clamp(1.7rem, 3.2vw, 2.6rem)/1.12 var(--ff-head);
}

.product__price {
    margin: 16px 0 24px;
    font: 700 26px/1.2 var(--ff-head);
    color: #111;
}

.product__price small {
    margin-left: 8px;
    font: 400 13px/1 var(--ff-body);
    color: var(--muted);
}

.specs {
    margin: 26px 0 30px;
    border-top: 1px solid var(--line);
}

.specs__row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.specs dt {
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 3px;
}

.specs dd {
    margin: 0;
    color: #111;
}

@media (max-width: 899px) {
    .product {
        grid-template-columns: 1fr;
    }

    .product__info {
        max-width: none;
    }
}

@media (max-width: 479px) {
    .specs__row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

/* ----------------------------------------------------------- Contacto */

.contact {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
    gap: clamp(32px, 6vw, 88px);
}

.contact__block {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.contact__block p:last-child {
    margin-bottom: 0;
}

.contact__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font: 700 14px/1.3 var(--ff-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact__title .icon {
    color: var(--navy);
}

.contact__photo {
    margin-top: 12px;
}

.contact__photo img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius);
}

.contact__form-title {
    margin-bottom: 22px;
    font: 700 22px/1.2 var(--ff-head);
}

@media (max-width: 899px) {
    .contact {
        grid-template-columns: 1fr;
    }

    .contact__form {
        order: -1;
    }
}

/* -------------------------------------------------------------- Legal */

.prose {
    max-width: 820px;
    margin-inline: auto;
    overflow-wrap: break-word;
}

.prose h2 {
    margin: 44px 0 14px;
    font: 700 22px/1.25 var(--ff-head);
}

.prose h3 {
    margin: 28px 0 10px;
    font: 700 17px/1.3 var(--ff-body);
}

.prose ul {
    margin: 0 0 1em;
    padding-left: 22px;
    list-style: disc;
}

.prose li {
    margin-bottom: 6px;
}

.prose a {
    color: var(--navy);
}

.prose__meta {
    font-size: 14px;
    color: var(--muted);
}

.table-wrap {
    margin: 0 0 1.4em;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.prose table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 14.5px;
}

.prose th,
.prose td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose th {
    background: var(--soft);
    color: #111;
    font-weight: 700;
}

.prose tr:last-child td {
    border-bottom: 0;
}

/* ---------------------------------------------------------------- 404 */

.notfound {
    padding: clamp(64px, 10vw, 140px) 0;
    text-align: center;
}

.notfound__code {
    margin: 0;
    font: 300 clamp(5rem, 16vw, 11rem)/1 var(--ff-head);
    letter-spacing: 0.06em;
    color: #111;
}

.notfound__title {
    margin: 10px 0 16px;
    font: 700 clamp(1.5rem, 3vw, 2.2rem)/1.2 var(--ff-head);
}

.notfound p {
    max-width: 34em;
    margin-inline: auto;
}

.notfound__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

/* ---------------------------------------------------------------- Pie */

.footer {
    border-top: 1px solid var(--line);
    padding-top: clamp(44px, 5vw, 68px);
    font-size: 15px;
    color: #111;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1.4fr 1.1fr 1fr 1.2fr;
    gap: 36px 32px;
    padding-bottom: clamp(40px, 5vw, 60px);
}

.footer__col p {
    margin-bottom: 0.7em;
}

.footer__col--brand p {
    max-width: 22em;
    margin-top: 18px;
    color: #4a4a4a;
}

.logo--footer .logo__name {
    font-size: 22px;
}

.logo--footer .logo__mark {
    width: 44px;
}

.footer__title {
    margin-bottom: 18px;
    font: 400 16px/1.3 var(--ff-body);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer a {
    text-decoration: none;
}

.footer a:hover,
.link-btn:hover {
    text-decoration: underline;
}

.footer__links {
    display: grid;
    gap: 9px;
}

.footer__cta {
    font-weight: 700;
    text-decoration: underline !important;
}

.link-btn {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    text-align: left;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 24px;
    padding: 22px 0 26px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}

.footer__bottom p {
    margin: 0;
}

@media (max-width: 1099px) {
    .footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

@media (max-width: 439px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------ Cookies */

.cookies {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 100;
    max-width: 1000px;
    margin-inline: auto;
    padding: clamp(18px, 2.4vw, 26px);
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.cookies__inner {
    display: flex;
    align-items: center;
    gap: 20px 32px;
}

.cookies__text {
    flex: 1;
    min-width: 0;
}

.cookies h2 {
    margin-bottom: 6px;
    font: 700 16px/1.3 var(--ff-head);
}

.cookies p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.cookies__prefs {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.switch {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.switch input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--navy);
}

.cookies__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 859px) {
    .cookies__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookies__actions .btn {
        flex: 1 1 auto;
    }
}

@media (max-width: 479px) {
    .cookies {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
    }

    .cookies p {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
