
/* ========================================
   DULZURA — PASTELERÍA ARTESANAL
   Identidad visual: manteca, frambuesa y chocolate
======================================== */

:root {
    --butter: #F8F1E7;
    --butter-light: #FFFDF8;
    --cream: #EFE3D2;
    --raspberry: #B83D59;
    --raspberry-dark: #8F2942;
    --raspberry-light: #E8B8C3;
    --chocolate: #39251F;
    --chocolate-soft: #5E453B;
    --muted: #8E7A70;
    --white: #FFFFFF;
    --border: rgba(57, 37, 31, 0.14);
    --shadow: 0 18px 50px rgba(57, 37, 31, 0.09);
    --font-body: "DM Sans", sans-serif;
    --font-heading: "Playfair Display", Georgia, serif;
    --container: 1240px;
    --transition: 300ms ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--butter-light);
    color: var(--chocolate);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

body,
button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    color: inherit;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

::selection {
    background: var(--raspberry);
    color: var(--white);
}

.container {
    width: min(var(--container), calc(100% - 80px));
    margin-inline: auto;
}

.section-padding {
    padding-block: 120px;
}

.eyebrow {
    display: inline-block;
    color: var(--raspberry);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.4px;
    line-height: 1.5;
}

/* ========================================
   BOTONES Y ENLACES
======================================== */

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 14px 23px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.35px;
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.button span {
    font-size: 16px;
    transition: transform var(--transition);
}

.button:hover span {
    transform: translate(3px, -3px);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--raspberry);
    color: var(--white);
}

.button-primary:hover {
    background: var(--raspberry-dark);
}

.button-dark {
    background: var(--chocolate);
    color: var(--white);
}

.button-dark:hover {
    background: var(--raspberry);
}

.button-light {
    background: var(--butter-light);
    color: var(--chocolate);
}

.button-light:hover {
    background: var(--raspberry-light);
    border-color: var(--raspberry-light);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    transition: color var(--transition);
}

.text-link span {
    font-size: 17px;
    transition: transform var(--transition);
}

.text-link:hover {
    color: var(--raspberry);
}

.text-link:hover span {
    transform: translateX(4px);
}

/* ========================================
   AVISO SUPERIOR
======================================== */

.announcement {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    background: var(--raspberry);
    color: var(--white);
    text-align: center;
}

.announcement p {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.1px;
}

.announcement span {
    margin-left: 6px;
    font-size: 12px;
}

/* ========================================
   NAVEGACIÓN
======================================== */

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 253, 248, 0.96);
    border-bottom: 1px solid rgba(57, 37, 31, 0.08);
    backdrop-filter: blur(16px);
}

.navbar {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 35px;
    font-weight: 600;
    letter-spacing: -1.8px;
    line-height: 1;
}

.brand-dot {
    color: var(--raspberry);
}

.brand-subtitle {
    margin-top: 6px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2.15px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links > a:not(.nav-order) {
    position: relative;
    padding-block: 8px;
    color: var(--chocolate-soft);
    font-size: 11px;
    font-weight: 600;
    transition: color var(--transition);
}

.nav-links > a:not(.nav-order)::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: var(--raspberry);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-links > a:not(.nav-order):hover {
    color: var(--raspberry);
}

.nav-links > a:not(.nav-order):hover::after {
    transform: scaleX(1);
}

.nav-order {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    background: var(--chocolate);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    transition: background var(--transition);
}

.nav-order:hover {
    background: var(--raspberry);
}

.nav-order span {
    font-size: 14px;
}

.menu-toggle {
    display: none;
}

/* ========================================
   PORTADA
======================================== */

.hero {
    position: relative;
    display: flex;
    min-height: 690px;
    align-items: center;
    overflow: hidden;
    background: var(--chocolate);
    color: var(--white);
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-image img {
    object-position: center 53%;
    animation: heroZoom 1.4s ease-out both;
}

.hero-shade {
    background:
        linear-gradient(
            90deg,
            rgba(37, 23, 20, 0.88) 0%,
            rgba(37, 23, 20, 0.70) 42%,
            rgba(37, 23, 20, 0.18) 100%
        ),
        linear-gradient(
            0deg,
            rgba(37, 23, 20, 0.24),
            transparent 40%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 45px;
    padding-bottom: 55px;
    animation: heroContentIn 900ms 100ms both;
}

.hero-eyebrow {
    color: #F0C3CC;
}

.hero h1 {
    max-width: 760px;
    margin-top: 24px;
    font-family: var(--font-heading);
    font-size: clamp(48px, 6.5vw, 82px);
    font-weight: 400;
    letter-spacing: -2.4px;
    line-height: 1.08;
}

.hero h1 em {
    color: #F0B8C5;
    font-weight: 400;
}

.hero-content > p {
    max-width: 475px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
    margin-top: 32px;
}

.hero .text-link {
    color: var(--white);
}

.hero .text-link:hover {
    color: #F0B8C5;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 55px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 10px;
    letter-spacing: 0.5px;
}

.note-heart {
    color: #F0B8C5;
    font-size: 23px;
}

.hero-side-label {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 32px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    transform: translateY(-50%);
}

.scroll-cue {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    display: flex;
    width: 150px;
    min-height: 105px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--butter);
    color: var(--chocolate);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.scroll-cue span {
    display: block;
    width: 1px;
    height: 25px;
    background: var(--raspberry);
    animation: cueMove 1.5s infinite;
}

/* ========================================
   FRASE DE MARCA
======================================== */

.brand-statement {
    padding-block: 43px;
    background: var(--butter);
}

.statement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    text-align: center;
}

.statement-inner p {
    font-family: var(--font-heading);
    font-size: clamp(19px, 2.3vw, 28px);
    line-height: 1.6;
}

.statement-inner p em {
    color: var(--raspberry);
    font-weight: 400;
}

.statement-decoration {
    color: var(--raspberry);
    font-size: 22px;
}

/* ========================================
   ENCABEZADOS DE SECCIÓN
======================================== */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.section-heading-copy {
    max-width: 660px;
}

.section-heading h2,
.story-content h2,
.visit-content h2 {
    margin-top: 14px;
    font-family: var(--font-heading);
    font-size: clamp(37px, 4.5vw, 57px);
    font-weight: 400;
    letter-spacing: -1.2px;
    line-height: 1.16;
}

.section-heading h2 em,
.story-content h2 em,
.visit-content h2 em {
    color: var(--raspberry);
    font-weight: 400;
}

.section-heading-copy > p {
    max-width: 520px;
    margin-top: 15px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.heading-link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--raspberry-light);
    font-size: 10px;
    font-weight: 700;
    transition: color var(--transition);
}

.heading-link:hover {
    color: var(--raspberry);
}

.heading-link span {
    font-size: 15px;
}

/* ========================================
   PRODUCTOS Y FILTROS
======================================== */

.products-section {
    background: var(--butter-light);
}

.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 34px;
}

.filter-button {
    min-height: 38px;
    padding: 9px 18px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    color: var(--chocolate-soft);
    font-size: 10px;
    font-weight: 600;
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.filter-button:hover,
.filter-button.active {
    border-color: var(--raspberry);
    background: var(--raspberry);
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 42px;
}

.product-card {
    min-width: 0;
    animation: productIn 500ms both;
}

.product-image {
    position: relative;
    display: block;
    height: 340px;
    overflow: hidden;
    background: var(--cream);
    isolation: isolate;
}

.product-image img {
    transition:
        transform 800ms cubic-bezier(0.2, 0.65, 0.3, 1),
        filter 500ms ease;
}

.product-card:hover .product-image img {
    transform: scale(1.055);
}

.product-tag {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    padding: 7px 10px;
    background: var(--raspberry);
    color: var(--white);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-tag-dark {
    background: var(--chocolate);
}

.product-quick-view {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    background: var(--butter-light);
    color: var(--chocolate);
    font-size: 10px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity var(--transition),
        transform var(--transition),
        background var(--transition);
}

.product-card:hover .product-quick-view,
.product-image:focus-visible .product-quick-view {
    opacity: 1;
    transform: translateY(0);
}

.product-quick-view:hover {
    background: var(--raspberry-light);
}

.product-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-top: 17px;
}

.product-info > div {
    min-width: 0;
}

.product-type {
    color: var(--raspberry);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.product-info h3 {
    margin-top: 5px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
}

.product-info p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.8;
}

.product-price {
    flex-shrink: 0;
    padding-top: 21px;
    color: var(--chocolate-soft);
    font-size: 9px;
    font-weight: 700;
}

.products-disclaimer {
    margin-top: 30px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}

.products-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 55px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.products-bottom > span {
    font-family: var(--font-heading);
    font-size: 22px;
}

/* Los filtros de JavaScript usan el atributo hidden. */
.product-card[hidden] {
    display: none !important;
}

/* ========================================
   PEDIDOS PERSONALIZADOS
======================================== */

.custom-order {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 530px;
    background: var(--raspberry);
    color: var(--white);
}

.custom-order-image {
    min-height: 530px;
    overflow: hidden;
}

.custom-order-image img {
    transition: transform 900ms ease;
}

.custom-order:hover .custom-order-image img {
    transform: scale(1.025);
}

.custom-order-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 75px clamp(35px, 7vw, 105px);
}

.custom-order-content .eyebrow {
    color: #F9DDE3;
}

.custom-order-content h2 {
    margin-top: 18px;
    font-family: var(--font-heading);
    font-size: clamp(37px, 4.5vw, 58px);
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.15;
}

.custom-order-content h2 em {
    color: #F9DDE3;
    font-weight: 400;
}

.custom-order-content > p {
    max-width: 420px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    line-height: 2;
}

.custom-order-content .button {
    margin-top: 29px;
}

.custom-order-note {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 9px;
    letter-spacing: 0.3px;
}

/* ========================================
   NUESTRA HISTORIA
======================================== */

.story-section {
    background: var(--butter);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: clamp(55px, 9vw, 125px);
}

.story-visual {
    position: relative;
    min-height: 550px;
    padding: 0 48px 35px 0;
}

.story-image {
    overflow: hidden;
    background: var(--cream);
}

.story-image img {
    transition: transform 800ms ease;
}

.story-image:hover img {
    transform: scale(1.04);
}

.story-image-main {
    width: 83%;
    height: 490px;
}

.story-image-small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 43%;
    height: 230px;
    border: 8px solid var(--butter);
}

.story-stamp {
    position: absolute;
    top: 35px;
    right: 0;
    display: flex;
    width: 106px;
    height: 106px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--raspberry);
    border-radius: 50%;
    background: var(--butter-light);
    color: var(--raspberry);
    transform: rotate(9deg);
}

.story-stamp span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.story-stamp strong {
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.1;
}

.story-content h2 {
    font-size: clamp(37px, 4.2vw, 53px);
}

.story-content > p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 12px;
    line-height: 2.1;
}

.story-signature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.signature-line {
    width: 35px;
    height: 1px;
    background: var(--raspberry);
}

.story-signature > div {
    display: flex;
    flex-direction: column;
}

.story-signature strong {
    font-family: var(--font-heading);
    font-size: 17px;
    font-style: italic;
    font-weight: 400;
}

.story-signature > div span {
    color: var(--muted);
    font-size: 9px;
}

.signature-heart {
    margin-left: auto;
    color: var(--raspberry);
    font-size: 30px;
}

.story-link {
    margin-top: 30px;
}

/* ========================================
   VALORES
======================================== */

.values-section {
    padding-block: 46px;
    border-block: 1px solid var(--border);
    background: var(--butter-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 8px 28px;
    border-right: 1px solid var(--border);
}

.value-item:first-child {
    padding-left: 0;
}

.value-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.value-number {
    color: var(--raspberry);
    font-family: var(--font-heading);
    font-size: 25px;
    line-height: 1.3;
}

.value-item h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
}

.value-item p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.9;
}

/* ========================================
   CONTACTO
======================================== */

.visit-section {
    background: var(--butter);
}

.visit-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    align-items: center;
    gap: clamp(55px, 9vw, 125px);
}

.visit-content > p {
    max-width: 435px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
}

.visit-content .button {
    margin-top: 30px;
}

.visit-card {
    padding: 37px;
    border: 1px solid rgba(57, 37, 31, 0.12);
    background: var(--butter-light);
    box-shadow: var(--shadow);
}

.visit-card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border);
    color: var(--raspberry);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.visit-icon {
    font-size: 28px;
}

.visit-detail {
    padding-block: 22px;
}

.visit-detail-label {
    color: var(--raspberry);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.visit-detail p {
    margin-top: 6px;
    font-family: var(--font-heading);
    font-size: 22px;
}

.visit-detail-note {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.visit-divider {
    height: 1px;
    background: var(--border);
}

.visit-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 5px;
    padding-top: 21px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-family: var(--font-heading);
    font-size: 15px;
    font-style: italic;
}

.visit-card-footer > span:last-child {
    color: var(--raspberry);
    font-size: 25px;
}

/* ========================================
   LLAMADA FINAL
======================================== */

.final-cta {
    padding-block: 100px;
    background: var(--chocolate);
    color: var(--white);
    text-align: center;
}

.final-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.final-cta .eyebrow {
    color: #F0B8C5;
}

.final-cta h2 {
    margin-top: 20px;
    font-family: var(--font-heading);
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 400;
    letter-spacing: -1.6px;
    line-height: 1.17;
}

.final-cta h2 em {
    color: #F0B8C5;
    font-weight: 400;
}

.final-cta .button {
    margin-top: 30px;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    background: #2E1F1A;
    color: var(--white);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.25fr 0.7fr 0.85fr 1fr;
    gap: 50px;
    padding-block: 68px 60px;
}

.footer-brand .brand-name {
    font-size: 34px;
}

.footer-brand .brand-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand > p {
    max-width: 230px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
    line-height: 1.9;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-title,
.footer-note > span:first-child {
    margin-bottom: 7px;
    color: #E8B8C3;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: #F0B8C5;
}

.footer-note {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-note > span:first-child {
    display: block;
}

.footer-note p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.74);
    font-family: var(--font-heading);
    font-size: 17px;
    line-height: 1.6;
}

.footer-note-heart {
    display: block;
    margin-top: 10px;
    color: #E8B8C3;
    font-size: 25px;
}

.footer-bottom {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.56);
    font-size: 9px;
}

.footer-bottom a {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.82);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: #F0B8C5;
}

.footer-demo-note {
    text-align: center;
}

/* ========================================
   ANIMACIONES
======================================== */

@keyframes heroZoom {
    from {
        transform: scale(1.06);
    }

    to {
        transform: scale(1);
    }
}

@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cueMove {
    0%, 100% {
        transform: scaleY(0.65);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}

@keyframes productIn {
    from {
        opacity: 0.4;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Preparado para las animaciones de aparición del JavaScript. */
.reveal {
    opacity: 1;
    transform: none;
}

.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 700ms ease,
        transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE — TABLETS
======================================== */

@media (max-width: 1050px) {
    .container {
        width: min(var(--container), calc(100% - 48px));
    }

    .navbar {
        gap: 20px;
    }

    .nav-links {
        gap: 17px;
    }

    .nav-links > a:not(.nav-order) {
        font-size: 10px;
    }

    .brand-name {
        font-size: 31px;
    }

    .hero {
        min-height: 620px;
    }

    .products-grid {
        column-gap: 18px;
        row-gap: 34px;
    }

    .product-image {
        height: 285px;
    }

    .product-info {
        flex-direction: column;
        gap: 4px;
    }

    .product-price {
        padding-top: 0;
    }

    .story-grid,
    .visit-grid {
        gap: 55px;
    }

    .story-visual {
        min-height: 475px;
    }

    .story-image-main {
        height: 420px;
    }

    .story-image-small {
        height: 185px;
    }

    .footer-main {
        grid-template-columns: 1.2fr 0.8fr 0.9fr;
        gap: 35px;
    }

    .footer-note {
        grid-column: 1 / -1;
    }
}

/* ========================================
   RESPONSIVE — MÓVILES
======================================== */

@media (max-width: 700px) {
    html {
        scroll-padding-top: 78px;
    }

    .container {
        width: calc(100% - 40px);
    }

    .section-padding {
        padding-block: 78px;
    }

    .announcement {
        min-height: 29px;
    }

    .announcement p {
        font-size: 8px;
        letter-spacing: 0.6px;
    }

    .navbar {
        min-height: 75px;
    }

    .brand-name {
        font-size: 31px;
    }

    .brand-subtitle {
        font-size: 7px;
        letter-spacing: 1.8px;
    }

    .menu-toggle {
        display: flex;
        width: 43px;
        height: 43px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: 1px solid var(--border);
        background: transparent;
    }

    .menu-toggle span {
        display: block;
        width: 19px;
        height: 1px;
        background: var(--chocolate);
        transition:
            transform var(--transition),
            width var(--transition);
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 22px;
        border-top: 1px solid var(--border);
        background: var(--butter-light);
        box-shadow: 0 18px 25px rgba(57, 37, 31, 0.08);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition:
            opacity var(--transition),
            transform var(--transition),
            visibility var(--transition);
    }

    .nav-links.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links > a:not(.nav-order) {
        padding: 13px 0;
        border-bottom: 1px solid var(--border);
        font-size: 12px;
    }

    .nav-links > a:not(.nav-order)::after {
        display: none;
    }

    .nav-order {
        justify-content: space-between;
        margin-top: 14px;
        padding: 13px 15px;
    }

    .hero {
        min-height: 650px;
        align-items: flex-end;
    }

    .hero-image img {
        object-position: 58% center;
    }

    .hero-shade {
        background: linear-gradient(
            0deg,
            rgba(37, 23, 20, 0.92) 0%,
            rgba(37, 23, 20, 0.72) 48%,
            rgba(37, 23, 20, 0.18) 100%
        );
    }

    .hero-content {
        padding-top: 100px;
        padding-bottom: 110px;
    }

    .hero h1 {
        margin-top: 17px;
        font-size: clamp(43px, 11vw, 62px);
        letter-spacing: -1.5px;
    }

    .hero-content > p {
        max-width: 390px;
        font-size: 12px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 19px;
        margin-top: 26px;
    }

    .hero-actions .button {
        width: 100%;
        justify-content: space-between;
    }

    .hero-note {
        margin-top: 32px;
        font-size: 9px;
    }

    .hero-side-label {
        display: none;
    }

    .scroll-cue {
        width: 104px;
        min-height: 80px;
        font-size: 7px;
    }

    .scroll-cue span {
        height: 17px;
    }

    .statement-inner {
        gap: 13px;
    }

    .statement-inner p {
        font-size: 19px;
    }

    .statement-decoration {
        flex-shrink: 0;
        font-size: 15px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 28px;
    }

    .section-heading h2,
    .story-content h2,
    .visit-content h2 {
        font-size: clamp(35px, 9vw, 47px);
    }

    .section-heading-copy > p {
        font-size: 11px;
    }

    .heading-link {
        font-size: 10px;
    }

    .product-filters {
        gap: 7px;
        margin-bottom: 24px;
    }

    .filter-button {
        min-height: 35px;
        padding: 8px 12px;
        font-size: 9px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 13px;
        row-gap: 28px;
    }

    .product-image {
        height: auto;
        aspect-ratio: 0.78;
    }

    .product-tag {
        top: 8px;
        left: 8px;
        max-width: calc(100% - 16px);
        padding: 5px 6px;
        font-size: 7px;
        letter-spacing: 0.5px;
    }

    .product-quick-view {
        right: 7px;
        bottom: 7px;
        min-height: 32px;
        padding: 7px 9px;
        font-size: 8px;
        opacity: 1;
        transform: none;
    }

    .product-info {
        gap: 6px;
        padding-top: 12px;
    }

    .product-type {
        font-size: 7px;
        letter-spacing: 1.2px;
    }

    .product-info h3 {
        font-size: 17px;
        line-height: 1.35;
    }

    .product-info p {
        font-size: 9px;
        line-height: 1.7;
    }

    .product-price {
        font-size: 9px;
    }

    .products-disclaimer {
        margin-top: 23px;
        font-size: 9px;
    }

    .products-bottom {
        align-items: stretch;
        flex-direction: column;
        gap: 17px;
        margin-top: 35px;
        padding-top: 22px;
    }

    .products-bottom > span {
        font-size: 20px;
    }

    .products-bottom .button {
        width: 100%;
        justify-content: space-between;
    }

    .custom-order {
        grid-template-columns: 1fr;
    }

    .custom-order-image {
        min-height: 0;
        aspect-ratio: 1.2;
    }

    .custom-order-content {
        padding: 55px 25px 60px;
    }

    .custom-order-content h2 {
        font-size: clamp(38px, 10vw, 50px);
    }

    .custom-order-content > p {
        font-size: 11px;
    }

    .custom-order-content .button {
        width: 100%;
        justify-content: space-between;
    }

    .story-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .story-visual {
        min-height: 410px;
        padding-right: 30px;
        padding-bottom: 30px;
    }

    .story-image-main {
        width: 84%;
        height: 370px;
    }

    .story-image-small {
        width: 43%;
        height: 155px;
        border-width: 6px;
    }

    .story-stamp {
        top: 20px;
        width: 82px;
        height: 82px;
    }

    .story-stamp span {
        font-size: 7px;
    }

    .story-stamp strong {
        font-size: 18px;
    }

    .story-content > p {
        font-size: 11px;
    }

    .values-section {
        padding-block: 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-item,
    .value-item:first-child,
    .value-item:last-child {
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .value-item:last-child {
        border-bottom: 0;
    }

    .value-item h3 {
        font-size: 18px;
    }

    .value-item p {
        font-size: 10px;
    }

    .visit-content > p {
        font-size: 11px;
    }

    .visit-content .button {
        width: 100%;
        justify-content: space-between;
    }

    .visit-card {
        padding: 25px 21px;
    }

    .visit-detail p {
        font-size: 20px;
    }

    .final-cta {
        padding-block: 75px;
    }

    .final-cta h2 {
        font-size: clamp(37px, 10vw, 53px);
        letter-spacing: -0.8px;
    }

    .final-cta .button {
        width: 100%;
        justify-content: space-between;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 37px 25px;
        padding-block: 50px 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand > p {
        max-width: 290px;
    }

    .footer-note {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding-block: 20px;
        font-size: 8px;
    }

    .footer-demo-note {
        text-align: left;
    }
}

/* ========================================
   MÓVILES PEQUEÑOS
======================================== */

@media (max-width: 380px) {
    .container {
        width: calc(100% - 30px);
    }

    .hero h1 {
        font-size: 41px;
    }

    .products-grid {
        column-gap: 10px;
    }

    .product-info h3 {
        font-size: 15px;
    }

    .product-info p {
        font-size: 8px;
    }

    .product-quick-view {
        font-size: 7px;
        padding-inline: 7px;
    }

    .story-visual {
        min-height: 350px;
    }

    .story-image-main {
        height: 320px;
    }

    .story-image-small {
        height: 130px;
    }

    .visit-card {
        padding-inline: 17px;
    }
}

/* ========================================
   ACCESIBILIDAD
======================================== */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--raspberry);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-ready .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   COLLAGE DEL HERO
   (sello + dos fotos de la plantilla:
   composición a dos columnas sobre la
   banda chocolate, con marcos butter)
======================================== */

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-copy {
    flex: 0 1 700px;
}

.hero-copy > p {
    max-width: 475px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.9;
}

.hero-collage {
    position: relative;
    flex: 0 0 380px;
    height: 480px;
    margin-right: 30px;
}

.collage-main {
    position: absolute;
    inset: 0 0 40px 48px;
    margin: 0;
    overflow: hidden;
    border: 8px solid var(--butter);
    border-radius: 150px 150px 16px 16px;
}

.collage-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-small {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 150px;
    height: 150px;
    margin: 0;
    overflow: hidden;
    border: 8px solid var(--butter);
    border-radius: 50%;
}

.collage-small img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-seal {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 2px;
    display: flex;
    width: 104px;
    height: 104px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--raspberry);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.7;
    text-align: center;
    transform: rotate(-8deg);
}

@media (max-width: 1150px) {
    /* La etiqueta vertical chocaría con el collage en tablets. */
    .hero-side-label {
        display: none;
    }
}

@media (max-width: 1050px) {
    .hero-copy {
        flex: 0 1 56%;
    }

    .hero-collage {
        flex: 0 0 335px;
        height: 430px;
        margin-right: 16px;
    }

    .collage-main {
        inset: 0 0 36px 42px;
        border-radius: 130px 130px 14px 14px;
    }

    .collage-small {
        width: 128px;
        height: 128px;
    }

    .collage-seal {
        width: 92px;
        height: 92px;
        font-size: 9px;
    }
}

@media (max-width: 700px) {
    .hero-content {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .hero-copy {
        flex: 0 0 auto;
        max-width: 560px;
    }

    .hero-copy > p {
        max-width: 390px;
        font-size: 12.5px;
    }

    .hero-collage {
        flex: 0 0 auto;
        width: 100%;
        max-width: 430px;
        height: 420px;
        margin: 48px 0 0;
        align-self: center;
    }

    .collage-main {
        inset: 0 0 36px 44px;
        border-radius: 140px 140px 14px 14px;
    }

    .collage-small {
        width: 124px;
        height: 124px;
    }

    .collage-seal {
        width: 90px;
        height: 90px;
        font-size: 10px;
        letter-spacing: 1px;
    }
}

@media (max-width: 380px) {
    .hero-collage {
        height: 360px;
        margin-top: 40px;
    }

    .collage-main {
        inset: 0 0 30px 38px;
        border-radius: 120px 120px 12px 12px;
    }

    .collage-small {
        width: 104px;
        height: 104px;
        border-width: 6px;
    }

    .collage-seal {
        width: 80px;
        height: 80px;
        font-size: 9px;
        letter-spacing: 0.5px;
    }
}