:root {
    --color-wine: #8f142f;
    --color-wine-dark: #5f0e1f;
    --color-gold: #d9a441;
    --color-gold-light: #f4dd8f;
    --color-coffee: #2a1912;
    --color-cream: #f8f3ea;
    --color-paper: #fffaf2;
    --color-text: #2f2926;
    --color-muted: #766a63;
    --shadow-soft: 0 24px 60px rgba(42, 25, 18, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
    top: 32px;
}

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

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    width: min(860px, calc(100% - 40px));
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
    background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0));
}

.site-header.is-scrolled,
body:not(.home) .site-header {
    background: rgba(42, 25, 18, .94);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 36px rgba(0,0,0,.14);
}

.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand img {
    width: auto;
    max-width: 160px;
    max-height: 86px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,.28));
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.primary-menu,
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.primary-menu a {
    color: #fff;
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 800;
    position: relative;
}

.primary-menu a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--color-gold);
    transition: right .25s ease;
}

.primary-menu a:hover:after {
    right: 0;
}

.menu-toggle {
    display: none;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
}

.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 46%, rgba(143, 20, 47, .14), transparent 30%),
        linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.30), rgba(0,0,0,.55));
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 150px 0 90px;
}

.hero__mark {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    font-size: 32px;
    background: rgba(0,0,0,.18);
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 7vw, 86px);
    line-height: .95;
    letter-spacing: .10em;
    text-transform: uppercase;
    margin: 0 0 24px;
    text-shadow: 0 14px 34px rgba(0,0,0,.45);
}

.hero p {
    width: min(980px, 100%);
    margin: 0 auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(20px, 2vw, 28px);
    font-style: italic;
    color: rgba(255,255,255,.92);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 24px;
    border-radius: 999px;
    letter-spacing: .13em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-coffee);
    box-shadow: 0 15px 35px rgba(217,164,65,.3);
}

.btn-ghost {
    border: 1px solid rgba(255,255,255,.7);
    color: #fff;
    background: rgba(255,255,255,.08);
}

.btn-outline {
    border: 2px solid var(--color-gold);
    color: var(--color-wine);
    background: transparent;
}

.btn-outline.dark {
    color: var(--color-coffee);
}

.section {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading.align-left {
    text-align: left;
}

.section-heading span,
.eyebrow {
    color: var(--color-wine);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 56px);
    line-height: .9;
    font-style: italic;
}

.section-heading h1,
.section-heading h2 {
    margin: 6px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #272321;
}

.section-heading p {
    width: min(680px, 100%);
    margin: 20px auto 0;
    color: var(--color-muted);
    font-size: 18px;
}

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

.line-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(42, 25, 18, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.line-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 80px rgba(42, 25, 18, .18);
}

.line-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.line-card__body {
    padding: 30px;
    text-align: center;
}

.line-card h3,
.product-card h3,
.contact-card h3 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-coffee);
}

.line-card p {
    color: var(--color-muted);
    min-height: 132px;
}

.passion-section {
    min-height: 620px;
    display: grid;
    place-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.passion-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 36, 20, .64), rgba(10, 36, 20, .68));
}

.passion-section__content {
    position: relative;
    z-index: 1;
    width: min(980px, calc(100% - 40px));
}

.passion-section h1,
.passion-section h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 70px);
    letter-spacing: .16em;
    text-transform: uppercase;
    margin: 0 0 36px;
}

.passion-section p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(20px, 2.2vw, 30px);
    line-height: 1.65;
    margin: 0 auto 32px;
}

.history-section,
.catalog-hero {
    background: var(--color-cream);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.split-layout__text p {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--color-muted);
    font-size: 19px;
    line-height: 1.9;
}

.split-layout__image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.products-section {
    background: #fff;
}

.delcafe-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.product-card {
    background: var(--color-paper);
    border: 1px solid rgba(42, 25, 18, .08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(42, 25, 18, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(42, 25, 18, .16);
}

.product-card__image {
    min-height: 285px;
    display: grid;
    place-items: center;
    padding: 28px;
    background: #fff;
}

.product-card__image img {
    max-height: 245px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}

.product-card__body {
    padding: 26px;
}

.product-card h3 {
    font-size: 19px;
    letter-spacing: .08em;
}

.product-card p {
    color: var(--color-muted);
    margin: 0 0 12px;
}

.product-card__meta {
    color: var(--color-wine) !important;
    font-weight: 800;
}

.product-card__details {
    white-space: pre-line;
}

.text-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--color-wine);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
}

.cta-section {
    background: var(--color-coffee);
    color: #fff;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 56px;
    background: linear-gradient(135deg, rgba(143,20,47,.75), rgba(217,164,65,.22));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.14);
}

.cta-card h2 {
    margin: 8px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 52px);
}

.cta-card p {
    color: rgba(255,255,255,.82);
    margin: 0;
}

.page-section {
    padding-top: 150px;
}

.entry-content {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    color: var(--color-muted);
}

.single-featured {
    margin-bottom: 32px;
}

.single-featured img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin: 0 auto;
}

.product-info-box {
    background: var(--color-cream);
    border-radius: var(--radius-md);
    padding: 26px;
    margin-bottom: 30px;
    border-left: 5px solid var(--color-gold);
}

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

.post-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.post-card__image img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.post-card__body {
    padding: 26px;
}

.post-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.2;
}

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

.contact-card {
    background: var(--color-cream);
    padding: 34px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.site-footer {
    background: var(--color-gold-light);
    color: var(--color-coffee);
    padding: 76px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .75fr 1.2fr;
    gap: 70px;
}

.site-footer h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: .18em;
    margin: 0 0 24px;
    position: relative;
}

.site-footer h3:after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    background: var(--color-wine);
    margin-top: 16px;
}

.footer-menu li {
    margin-bottom: 10px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.contact-list li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px dashed rgba(42, 25, 18, .35);
    margin-top: 50px;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: var(--color-coffee);
    color: var(--color-gold-light);
    border-radius: 50%;
    font-weight: 900;
}

@media (max-width: 1024px) {
    .cards-grid,
    .delcafe-products-grid,
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-layout,
    .footer-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .line-card p {
        min-height: auto;
    }
}

@media (max-width: 820px) {
    body.admin-bar .site-header { top: 46px; }

    .header-inner {
        min-height: 78px;
    }

    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(42, 25, 18, .98);
        padding: 24px;
        transform: translateY(-120%);
        transition: transform .25s ease;
        box-shadow: 0 20px 50px rgba(0,0,0,.25);
    }

    .primary-nav.is-open {
        transform: translateY(0);
    }

    .primary-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .hero {
        min-height: 760px;
    }

    .hero__content {
        padding-top: 125px;
    }

    .section {
        padding: 76px 0;
    }

    .cards-grid,
    .delcafe-products-grid,
    .post-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-card,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-card {
        padding: 34px;
    }

    .passion-section p {
        font-size: 21px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand img {
        max-width: 122px;
    }

    .hero h1 {
        letter-spacing: .06em;
    }

    .section-heading h1,
    .section-heading h2 {
        letter-spacing: .08em;
    }
}


/* =========================================================
   Delcafé Moderno v1.1
   Ajustes de escala visual: títulos más compactos, secciones
   menos altas y mejor lectura en desktop/laptop.
   ========================================================= */

.site-header {
    background: linear-gradient(to bottom, rgba(0,0,0,.48), rgba(0,0,0,.05));
}

.header-inner {
    min-height: 78px;
}

.brand img {
    max-width: 138px;
    max-height: 72px;
}

.primary-menu {
    gap: 24px;
}

.primary-menu a {
    font-size: 12px;
    letter-spacing: .15em;
}

.hero {
    min-height: 84vh;
    max-height: 820px;
}

.hero__content {
    padding: 122px 0 72px;
}

.hero__mark {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    font-size: 26px;
}

.hero h1 {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: .09em;
}

.hero p {
    max-width: 920px;
    font-size: clamp(18px, 1.65vw, 24px);
    line-height: 1.55;
}

.hero__actions {
    margin-top: 30px;
}

.btn {
    min-height: 44px;
    padding: 12px 22px;
    font-size: 11px;
    letter-spacing: .12em;
}

.section {
    padding: 76px 0;
}

.section-heading {
    margin-bottom: 38px;
}

.section-heading span,
.eyebrow {
    font-size: clamp(30px, 3.8vw, 46px);
    line-height: 1;
}

.section-heading h1,
.section-heading h2 {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(34px, 3.7vw, 52px);
    line-height: 1.08;
    letter-spacing: .11em;
}

.section-heading.align-left h1,
.section-heading.align-left h2 {
    margin-left: 0;
}

.section-heading p {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.55;
}

.cards-grid {
    gap: 26px;
}

.line-card {
    border-radius: 24px;
}

.line-card img {
    height: 218px;
}

.line-card__body {
    padding: 26px 24px 30px;
}

.line-card h3,
.product-card h3,
.contact-card h3 {
    font-size: 21px;
    letter-spacing: .15em;
}

.line-card p {
    min-height: 104px;
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.65;
}

.passion-section {
    min-height: 500px;
}

.passion-section__content {
    max-width: 980px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.passion-section h1,
.passion-section h2 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.12;
    letter-spacing: .14em;
    margin-bottom: 28px;
}

.passion-section p {
    max-width: 970px;
    font-size: clamp(19px, 1.7vw, 24px);
    line-height: 1.58;
    margin-bottom: 24px;
}

.page-passion {
    min-height: 560px;
    padding-top: 110px;
    align-items: center;
}

.split-layout {
    gap: 54px;
}

.split-layout__text p {
    font-size: 18px;
    line-height: 1.75;
}

.split-layout__image img {
    border-radius: 24px;
}

.products-section .section-heading h1,
.products-section .section-heading h2 {
    max-width: 980px;
}

.delcafe-products-grid {
    gap: 22px;
}

.product-card {
    border-radius: 22px;
}

.product-card__image {
    min-height: 245px;
    padding: 24px;
}

.product-card__image img {
    max-height: 205px;
}

.product-card__body {
    padding: 24px;
}

.product-card h3 {
    font-size: 18px;
    line-height: 1.25;
}

.product-card p {
    font-size: 15px;
    line-height: 1.55;
}

.cta-section {
    padding: 70px 0;
}

.cta-card {
    padding: 44px 50px;
    border-radius: 24px;
}

.cta-card h2 {
    font-size: clamp(34px, 3.7vw, 54px);
    line-height: 1.18;
}

.page-section {
    padding-top: 132px;
}

.contact-card {
    padding: 30px 26px;
    border-radius: 22px;
}

.site-footer {
    padding: 64px 0 26px;
}

.footer-grid {
    gap: 54px;
}

/* Ajustes para pantallas tipo laptop: 1366-1600 px */
@media (max-width: 1600px) {
    .container {
        width: min(1120px, calc(100% - 44px));
    }

    .hero h1 {
        font-size: clamp(40px, 4.6vw, 62px);
        max-width: 860px;
    }

    .hero p {
        max-width: 850px;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: clamp(32px, 3.4vw, 48px);
    }

    .section-heading span,
    .eyebrow {
        font-size: clamp(28px, 3.4vw, 42px);
    }

    .passion-section h1,
    .passion-section h2 {
        font-size: clamp(36px, 3.6vw, 52px);
    }

    .passion-section p {
        font-size: clamp(18px, 1.55vw, 22px);
    }
}

@media (max-width: 1280px) {
    .hero {
        min-height: 760px;
    }

    .cards-grid {
        gap: 22px;
    }

    .line-card img {
        height: 200px;
    }

    .line-card__body {
        padding: 24px 22px 28px;
    }

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

@media (max-width: 1024px) {
    .hero {
        min-height: 720px;
    }

    .line-card p {
        min-height: auto;
    }

    .passion-section {
        min-height: 520px;
    }

    .page-passion {
        padding-top: 120px;
    }
}

@media (max-width: 820px) {
    .header-inner {
        min-height: 74px;
    }

    .brand img {
        max-width: 118px;
        max-height: 64px;
    }

    .primary-nav {
        top: 74px;
    }

    .hero {
        min-height: 680px;
        max-height: none;
    }

    .hero__content {
        padding-top: 118px;
        padding-bottom: 54px;
    }

    .hero h1 {
        font-size: clamp(38px, 9vw, 54px);
        letter-spacing: .06em;
    }

    .hero p {
        font-size: 19px;
    }

    .section {
        padding: 62px 0;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: clamp(30px, 8vw, 42px);
        letter-spacing: .08em;
    }

    .section-heading span,
    .eyebrow {
        font-size: clamp(28px, 8vw, 40px);
    }

    .passion-section h1,
    .passion-section h2 {
        font-size: clamp(34px, 8vw, 48px);
    }

    .passion-section p {
        font-size: 19px;
    }

    .page-section {
        padding-top: 112px;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

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

    .hero__actions .btn {
        width: min(100%, 280px);
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: 32px;
    }
}


/* =========================================================
   Delcafé Moderno v1.2
   Botón externo Café Porfirio del Águila en header.
   ========================================================= */

.primary-nav {
    gap: 18px;
}

.primary-menu {
    gap: 18px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--color-gold);
    color: var(--color-coffee);
    font-size: 10px;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.15;
    box-shadow: 0 10px 24px rgba(217, 164, 65, .22);
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    background: #efc45c;
    box-shadow: 0 14px 30px rgba(217, 164, 65, .30);
}

@media (max-width: 1500px) {
    .primary-menu {
        gap: 14px;
    }

    .primary-menu a {
        font-size: 11px;
        letter-spacing: .12em;
    }

    .header-cta {
        padding: 9px 13px;
        font-size: 9.5px;
        letter-spacing: .08em;
    }
}

@media (max-width: 1180px) {
    .primary-menu {
        gap: 10px;
    }

    .primary-menu a {
        font-size: 10px;
    }

    .header-cta {
        padding: 9px 11px;
        max-width: 170px;
        text-align: center;
        white-space: normal;
    }
}

@media (max-width: 820px) {
    .header-cta {
        margin-top: 12px;
        min-height: 44px;
        padding: 12px 18px;
        max-width: 100%;
        width: fit-content;
        font-size: 11px;
    }
}


/* =========================================================
   Delcafé Moderno v1.3
   Formulario de contacto compatible con Contact Form 7.
   ========================================================= */

.contact-form-section {
    margin-top: 56px;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 34px;
    align-items: start;
}

.contact-form-copy {
    background: linear-gradient(145deg, var(--color-coffee), var(--color-wine-dark));
    color: #fff;
    border-radius: 24px;
    padding: 42px;
    min-height: 100%;
    box-shadow: var(--shadow-soft);
}

.contact-form-copy span {
    display: block;
    color: var(--color-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 38px;
    line-height: 1;
    margin-bottom: 8px;
}

.contact-form-copy h2 {
    margin: 0 0 16px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.1;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.contact-form-copy p {
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 17px;
}

.delcafe-form-card {
    background: var(--color-paper);
    border: 1px solid rgba(42, 25, 18, .08);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow-soft);
}

/* Contact Form 7 */
.delcafe-form-card .wpcf7 form {
    display: grid;
    gap: 16px;
}

.delcafe-form-card .wpcf7 p {
    margin: 0;
}

.delcafe-form-card label {
    display: block;
    color: var(--color-coffee);
    font-weight: 800;
    letter-spacing: .05em;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.delcafe-form-card input[type="text"],
.delcafe-form-card input[type="email"],
.delcafe-form-card input[type="tel"],
.delcafe-form-card textarea,
.delcafe-form-card select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(42, 25, 18, .18);
    border-radius: 14px;
    background: #fff;
    color: var(--color-text);
    font: inherit;
    padding: 13px 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.delcafe-form-card textarea {
    min-height: 135px;
    resize: vertical;
}

.delcafe-form-card input:focus,
.delcafe-form-card textarea:focus,
.delcafe-form-card select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(217,164,65,.16);
}

.delcafe-form-card input[type="submit"],
.delcafe-form-card .wpcf7-submit {
    width: auto;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--color-gold);
    color: var(--color-coffee);
    padding: 13px 26px;
    cursor: pointer;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
    box-shadow: 0 14px 32px rgba(217,164,65,.25);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.delcafe-form-card input[type="submit"]:hover,
.delcafe-form-card .wpcf7-submit:hover {
    transform: translateY(-2px);
    background: #efc45c;
    box-shadow: 0 18px 38px rgba(217,164,65,.32);
}

.delcafe-form-card .wpcf7-not-valid-tip {
    color: var(--color-wine);
    font-size: 13px;
    margin-top: 6px;
}

.delcafe-form-card .wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 13px 16px !important;
    border-radius: 14px;
    border-width: 1px !important;
    font-size: 14px;
}

.form-placeholder {
    border: 1px dashed rgba(42, 25, 18, .25);
    border-radius: 18px;
    padding: 28px;
    background: #fff;
}

.form-placeholder h3 {
    margin-top: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    color: var(--color-coffee);
}

.form-placeholder p {
    margin-bottom: 0;
    color: var(--color-muted);
}

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

    .contact-form-copy,
    .delcafe-form-card {
        padding: 30px;
    }
}


/* =========================================================
   Delcafé Moderno v1.4
   Formulario nativo sin plugin.
   ========================================================= */

.delcafe-native-form {
    display: grid;
    gap: 16px;
}

.delcafe-native-form p {
    margin: 0;
}

.delcafe-native-form label {
    display: block;
    color: var(--color-coffee);
    font-weight: 800;
    letter-spacing: .05em;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.delcafe-native-form input,
.delcafe-native-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(42, 25, 18, .18);
    border-radius: 14px;
    background: #fff;
    color: var(--color-text);
    font: inherit;
    padding: 13px 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.delcafe-native-form textarea {
    min-height: 135px;
    resize: vertical;
}

.delcafe-native-form input:focus,
.delcafe-native-form textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(217,164,65,.16);
}

.delcafe-submit {
    width: auto;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--color-gold);
    color: var(--color-coffee);
    padding: 13px 26px;
    cursor: pointer;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
    box-shadow: 0 14px 32px rgba(217,164,65,.25);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.delcafe-submit:hover {
    transform: translateY(-2px);
    background: #efc45c;
    box-shadow: 0 18px 38px rgba(217,164,65,.32);
}

.delcafe-form-alert {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.45;
    border: 1px solid transparent;
}

.delcafe-form-alert.success {
    background: #edf8ef;
    color: #1d5d2b;
    border-color: #bfe7c7;
}

.delcafe-form-alert.warning {
    background: #fff7e5;
    color: #7a4c00;
    border-color: #efd49b;
}

.delcafe-form-alert.error {
    background: #fff0f0;
    color: #8f142f;
    border-color: #edc0c9;
}


/* =========================================================
   Delcafé Moderno v1.5
   Crédito Black Cat Marketing Studio en footer.
   ========================================================= */

.footer-copyright {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
}

.footer-credit:before {
    content: "•";
    margin-right: 14px;
    color: var(--color-wine);
    font-weight: 900;
}

.footer-credit a {
    color: var(--color-wine);
    font-weight: 900;
    text-decoration: none;
    border-bottom: 1px solid rgba(143, 20, 47, .35);
    transition: color .2s ease, border-color .2s ease;
}

.footer-credit a:hover {
    color: var(--color-coffee);
    border-color: var(--color-coffee);
}

@media (max-width: 820px) {
    .footer-copyright {
        display: block;
    }

    .footer-credit {
        display: block;
        margin-top: 8px;
    }

    .footer-credit:before {
        display: none;
    }
}


/* =========================================================
   Delcafé Moderno v1.6
   Hero más amplio, ícono taza estilo web original y animaciones sutiles.
   ========================================================= */

.hero {
    min-height: 100vh;
    max-height: none;
    background-image: none !important;
    isolation: isolate;
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    animation: delcafeHeroZoom 18s ease-in-out infinite alternate;
    will-change: transform;
}

.hero__overlay {
    z-index: -1;
}

.hero__content {
    padding-top: 150px;
    padding-bottom: 94px;
    animation: delcafeHeroTextIn .95s ease-out both;
}

.hero__mark {
    width: 88px;
    height: 88px;
    margin-bottom: 26px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    animation: delcafeHeroIconIn 1s ease-out both;
}

.hero-cup-icon {
    width: 118px;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.32));
}

.hero-cup-icon path {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cup-body {
    fill: #fff !important;
    stroke-width: 0;
}

.cup-handle {
    stroke-width: 8;
}

.cup-saucer {
    stroke-width: 5;
}

.cup-line {
    stroke-width: 4;
}

.cup-steam {
    stroke-width: 5;
    opacity: .92;
    animation: delcafeSteam 2.9s ease-in-out infinite alternate;
}

.steam-two {
    animation-delay: .5s;
}

.hero h1 {
    animation: delcafeHeroTitleIn .9s ease-out .12s both;
}

.hero p {
    animation: delcafeHeroSubtitleIn .9s ease-out .24s both;
}

.hero__actions {
    animation: delcafeHeroButtonsIn .9s ease-out .38s both;
}

@keyframes delcafeHeroZoom {
    from {
        transform: scale(1.02);
    }
    to {
        transform: scale(1.075);
    }
}

@keyframes delcafeHeroTextIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes delcafeHeroIconIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes delcafeHeroTitleIn {
    from {
        opacity: 0;
        transform: translateY(24px);
        letter-spacing: .16em;
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes delcafeHeroSubtitleIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes delcafeHeroButtonsIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes delcafeSteam {
    from {
        transform: translateY(2px);
        opacity: .55;
    }
    to {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@media (max-width: 1600px) {
    .hero {
        min-height: 92vh;
    }

    .hero__content {
        padding-top: 132px;
        padding-bottom: 82px;
    }

    .hero__mark {
        width: 76px;
        height: 76px;
        margin-bottom: 22px;
    }

    .hero-cup-icon {
        width: 104px;
    }
}

@media (max-width: 1280px) {
    .hero {
        min-height: 88vh;
    }
}

@media (max-width: 820px) {
    .hero {
        min-height: 760px;
    }

    .hero__content {
        padding-top: 124px;
        padding-bottom: 64px;
    }

    .hero__mark {
        width: 68px;
        height: 68px;
    }

    .hero-cup-icon {
        width: 94px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero:before,
    .hero__content,
    .hero__mark,
    .hero h1,
    .hero p,
    .hero__actions,
    .cup-steam {
        animation: none !important;
    }
}


/* =========================================================
   Delcafé Moderno v1.7
   Catálogo dinámico desde Excel + filtros por línea.
   ========================================================= */

.product-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: -8px auto 42px;
}

.product-filter-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    border: 1px solid rgba(143, 20, 47, .18);
    border-radius: 999px;
    background: #fff;
    color: var(--color-coffee);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(42, 25, 18, .05);
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.product-filter-tab:hover,
.product-filter-tab.is-active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #1e140f;
    transform: translateY(-2px);
}

.product-card__linea {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 13px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(143, 20, 47, .09);
    color: var(--color-wine);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.product-card__price {
    margin: 0 0 12px !important;
    color: var(--color-wine) !important;
    font-family: var(--font-sans);
    font-size: 22px !important;
    line-height: 1.1 !important;
    font-weight: 900;
}

.product-card__details {
    font-size: 14px !important;
    color: rgba(42, 25, 18, .68) !important;
}

.product-card__details strong {
    color: var(--color-coffee);
}

.product-info-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
}

.product-info-box p {
    margin: 0;
}

@media (max-width: 820px) {
    .product-filter-tabs {
        justify-content: flex-start;
        gap: 10px;
        margin-bottom: 30px;
    }

    .product-filter-tab {
        min-height: 40px;
        padding: 9px 16px;
        font-size: 11px;
    }

    .product-info-box {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   Delcafé Moderno v1.8
   Filtros sin recarga, tarjetas más anchas y ficha de producto con imagen.
   ========================================================= */

.products-section > .container,
.product-single-container {
    width: min(1480px, calc(100% - 56px));
}

.product-filter-tabs {
    margin: -6px auto 46px;
}

.product-filter-tab {
    border: 0;
    cursor: pointer;
    font-family: var(--font-sans);
}

.delcafe-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
    gap: 30px;
    align-items: stretch;
}

.product-card[hidden] {
    display: none !important;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.product-card__image {
    min-height: 250px;
    padding: 26px;
}

.product-card__image img {
    max-height: 210px;
}

.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 30px 30px;
}

.product-card h3 {
    font-size: 21px;
    line-height: 1.24;
    letter-spacing: .13em;
    overflow-wrap: anywhere;
}

.product-card p {
    font-size: 16px;
}

.product-card .text-link {
    margin-top: auto;
    padding-top: 10px;
}

.product-single-page {
    padding-top: 152px;
}

.product-single-hero {
    display: grid;
    grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
    gap: 58px;
    align-items: center;
    margin-bottom: 44px;
}

.product-single-visual {
    min-height: 500px;
    display: grid;
    place-items: center;
    padding: 48px;
    background: #fff;
    border: 1px solid rgba(42, 25, 18, .08);
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 72px rgba(42, 25, 18, .10);
}

.product-single-visual img {
    width: auto;
    max-height: 420px;
    object-fit: contain;
}

.product-single-summary .section-heading {
    margin-bottom: 20px;
}

.product-single-summary .section-heading h1 {
    font-size: clamp(36px, 4vw, 62px);
    line-height: 1.08;
}

.product-single-line {
    width: auto !important;
    margin: 18px 0 0 !important;
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(143, 20, 47, .09);
    color: var(--color-wine) !important;
    font-family: var(--font-sans);
    font-size: 12px !important;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.product-single-price {
    margin: 0 0 22px;
    color: var(--color-wine);
    font-family: var(--font-sans);
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1;
    font-weight: 900;
}

.product-info-box--single {
    margin: 0;
    padding: 30px 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-description-panel {
    margin-top: 22px;
    padding: 34px 38px;
    background: #fff;
    border: 1px solid rgba(42, 25, 18, .08);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 44px rgba(42, 25, 18, .07);
}

.product-description-panel p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1280px) {
    .products-section > .container,
    .product-single-container {
        width: min(1240px, calc(100% - 44px));
    }

    .delcafe-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    }
}

@media (max-width: 980px) {
    .product-single-hero {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .product-single-visual {
        min-height: 360px;
        padding: 36px;
    }

    .product-single-visual img {
        max-height: 320px;
    }
}

@media (max-width: 680px) {
    .products-section > .container,
    .product-single-container {
        width: min(100% - 28px, 1180px);
    }

    .delcafe-products-grid {
        grid-template-columns: 1fr;
    }

    .product-card__image {
        min-height: 220px;
    }

    .product-card__body {
        padding: 24px;
    }

    .product-single-page {
        padding-top: 118px;
    }

    .product-info-box--single {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .product-description-panel {
        padding: 26px 24px;
    }
}


/* =========================================================
   Delcafé Moderno v1.9
   Productos con estética de las tarjetas principales: 3 columnas, más aire y ficha individual premium.
   ========================================================= */

.products-section > .container {
    width: min(1280px, calc(100% - 44px));
}

.delcafe-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.product-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(42, 25, 18, .10);
    border: 1px solid rgba(42, 25, 18, .07);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 32px 76px rgba(42, 25, 18, .15);
}

.product-card__image {
    min-height: 230px;
    height: 230px;
    padding: 24px 28px;
    background: #fff;
}

.product-card__image img {
    max-height: 176px;
    max-width: 78%;
    object-fit: contain;
}

.product-card__body {
    flex: 1;
    padding: 30px 34px 32px;
    background: var(--color-paper);
    text-align: left;
}

.product-card__linea {
    margin-bottom: 16px;
}

.product-card h3 {
    min-height: auto;
    margin: 0 0 14px;
    font-size: clamp(22px, 1.5vw, 28px);
    line-height: 1.16;
    letter-spacing: .16em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.product-card__price {
    font-size: 25px !important;
    margin-bottom: 12px !important;
}

.product-card__meta {
    font-size: 16px !important;
    line-height: 1.58 !important;
}

.product-card__details {
    font-size: 15px !important;
}

.product-card p:not(.product-card__price):not(.product-card__meta):not(.product-card__details) {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-muted);
}

.product-card .text-link {
    margin-top: auto;
    padding-top: 18px;
}

.product-single-container {
    width: min(1280px, calc(100% - 44px));
}

.product-single-hero {
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: stretch;
}

.product-single-visual {
    min-height: 470px;
    padding: 48px;
    background: #fff;
}

.product-single-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info-box--single {
    background: var(--color-paper);
    box-shadow: 0 18px 46px rgba(42, 25, 18, .07);
}

@media (min-width: 981px) and (max-width: 1180px) {
    .delcafe-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .product-single-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .products-section > .container,
    .product-single-container {
        width: min(100% - 28px, 1180px);
    }

    .delcafe-products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-card__image {
        height: 210px;
        min-height: 210px;
    }

    .product-card__image img {
        max-height: 158px;
        max-width: 82%;
    }

    .product-card__body {
        padding: 26px 24px 28px;
    }

    .product-card h3 {
        font-size: 23px;
    }
}


/* v2.2: Ajuste mínimo para las fotos temporales de líneas destacadas. */
.line-card > img {
    object-position: center center;
    filter: brightness(1.06) contrast(1.02) saturate(1.02);
}


/* v2.6 approved feature card section */
.feature-lines {
    padding-top: 82px;
    padding-bottom: 96px;
    background: linear-gradient(180deg, #fff 0%, #fbfaf8 100%);
}

.feature-lines .section-heading {
    margin-bottom: 46px;
}

.feature-lines .section-heading span {
    font-size: clamp(38px, 4.4vw, 60px);
    line-height: .9;
}

.feature-lines .section-heading h2 {
    margin-top: 8px;
    font-size: clamp(38px, 4.1vw, 64px);
    line-height: 1.02;
    letter-spacing: .15em;
}

.feature-lines .cards-grid {
    gap: 36px;
    align-items: stretch;
}

.feature-lines .line-card {
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(42, 25, 18, .06);
    box-shadow: 0 24px 58px rgba(42, 25, 18, .10);
}

.feature-lines .line-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 72px rgba(42, 25, 18, .13);
}

.feature-lines .line-card img {
    display: block;
    width: 100%;
    height: clamp(275px, 21vw, 315px);
    object-fit: cover;
    object-position: center center;
}

.feature-lines .line-card__body {
    padding: 34px 30px 44px;
    text-align: center;
}

.feature-lines .line-card h3 {
    margin-bottom: 22px;
    font-size: clamp(22px, 1.55vw, 28px);
    letter-spacing: .14em;
    line-height: 1.05;
}

.feature-lines .line-card p {
    width: min(350px, 100%);
    min-height: 118px;
    margin: 0 auto 28px;
    font-size: 17px;
    line-height: 1.62;
    color: #6f5a4d;
}

.feature-lines .line-card .btn-outline {
    padding: 12px 34px;
    border-radius: 999px;
    letter-spacing: .14em;
}

@media (max-width: 1024px) {
    .feature-lines .cards-grid {
        gap: 24px;
    }

    .feature-lines .line-card img {
        height: 260px;
    }

    .feature-lines .line-card__body {
        padding: 30px 24px 40px;
    }
}

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

    .feature-lines .line-card {
        max-width: 520px;
        margin-inline: auto;
    }

    .feature-lines .line-card img {
        height: 300px;
    }

    .feature-lines .line-card p {
        min-height: 0;
    }
}

@media (max-width: 560px) {
    .feature-lines {
        padding-top: 64px;
        padding-bottom: 76px;
    }

    .feature-lines .section-heading h2 {
        letter-spacing: .09em;
    }

    .feature-lines .line-card img {
        height: 245px;
    }
}


/* v2.7 exact approved feature section */
.feature-lines {
    padding-top: 72px;
    padding-bottom: 92px;
}

.feature-lines > .container {
    width: min(1440px, calc(100% - 56px));
}

.feature-lines .section-heading {
    margin-bottom: 46px;
}

.feature-lines .section-heading span {
    font-size: clamp(40px, 4.35vw, 60px);
    line-height: .92;
}

.feature-lines .section-heading h2 {
    font-size: clamp(40px, 4.35vw, 64px);
    line-height: 1;
    letter-spacing: .145em;
}

.feature-lines .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    align-items: stretch;
}

.feature-lines .line-card {
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(42, 25, 18, .055);
    box-shadow: 0 24px 58px rgba(42, 25, 18, .09);
}

.feature-lines .line-card img {
    width: 100%;
    height: auto !important;
    aspect-ratio: 468 / 348;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: none;
}

.feature-lines .line-card__body {
    padding: 34px 32px 44px;
    text-align: center;
}

.feature-lines .line-card h3 {
    margin: 0 0 22px;
    font-size: clamp(22px, 1.42vw, 27px);
    line-height: 1.05;
    letter-spacing: .12em;
    white-space: nowrap;
}

.feature-lines .line-card p {
    width: min(372px, 100%);
    min-height: 112px;
    margin: 0 auto 28px;
    font-size: 17px;
    line-height: 1.62;
    color: #6f5a4d;
}

.feature-lines .line-card .btn-outline {
    padding: 12px 34px;
    border-radius: 999px;
    letter-spacing: .14em;
}

@media (max-width: 1180px) {
    .feature-lines > .container {
        width: min(1180px, calc(100% - 40px));
    }
    .feature-lines .cards-grid {
        gap: 24px;
    }
    .feature-lines .line-card__body {
        padding: 30px 24px 40px;
    }
    .feature-lines .line-card h3 {
        font-size: clamp(20px, 2.05vw, 24px);
        letter-spacing: .105em;
    }
    .feature-lines .line-card p {
        font-size: 16px;
        line-height: 1.58;
    }
}

@media (max-width: 820px) {
    .feature-lines .cards-grid {
        grid-template-columns: 1fr;
    }
    .feature-lines .line-card {
        max-width: 520px;
        margin-inline: auto;
    }
    .feature-lines .line-card p {
        min-height: 0;
    }
}

@media (max-width: 560px) {
    .feature-lines {
        padding-top: 58px;
        padding-bottom: 74px;
    }
    .feature-lines > .container {
        width: min(520px, calc(100% - 28px));
    }
    .feature-lines .section-heading span {
        font-size: 38px;
    }
    .feature-lines .section-heading h2 {
        font-size: 33px;
        letter-spacing: .09em;
    }
    .feature-lines .line-card__body {
        padding: 28px 22px 36px;
    }
    .feature-lines .line-card h3 {
        white-space: normal;
        font-size: 22px;
    }
}


/* =========================================================
   Delcafé Moderno v2.9
   Ajustes cliente: logo más grande, Productos -> Tienda,
   y página ¿Quiénes somos? con línea gráfica nueva.
   ========================================================= */

.site-header .brand img,
.brand img {
    max-width: 178px;
    max-height: 92px;
}

.header-inner {
    min-height: 96px;
}

.site-header.is-scrolled .header-inner,
body:not(.home) .header-inner {
    min-height: 86px;
}

.site-header.is-scrolled .brand img,
body:not(.home) .brand img {
    max-width: 160px;
    max-height: 82px;
}

.about-page {
    background: #fff;
}

.about-hero {
    min-height: 620px;
    position: relative;
    display: grid;
    place-items: center;
    padding: 150px 0 96px;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

.about-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(217,164,65,.14), transparent 32%),
        linear-gradient(90deg, rgba(42,25,18,.82), rgba(42,25,18,.48), rgba(42,25,18,.76));
    z-index: 0;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.10);
    z-index: 0;
}

.about-hero__content {
    position: relative;
    z-index: 1;
    width: min(1040px, calc(100% - 40px));
    text-align: center;
}

.about-hero__content span {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--color-gold-light);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.about-hero__content h1 {
    margin: 0 0 24px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 400;
    line-height: .98;
    text-shadow: 0 18px 42px rgba(0,0,0,.42);
}

.about-hero__content p {
    width: min(920px, 100%);
    margin: 0 auto;
    color: rgba(255,255,255,.94);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(20px, 2.1vw, 30px);
    line-height: 1.58;
}

.about-story {
    position: relative;
}

.about-story--cream {
    background:
        radial-gradient(circle at 8% 14%, rgba(217,164,65,.14), transparent 28%),
        var(--color-cream);
}

.about-story--white {
    background: #fff;
}

.about-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(44px, 5vw, 78px);
    align-items: center;
}

.about-split--text-left {
    grid-template-columns: .92fr 1.08fr;
}

.about-copy {
    position: relative;
}

.about-copy .section-heading {
    margin-bottom: 24px;
}

.about-copy .section-heading span {
    color: var(--color-wine);
}

.about-copy .section-heading h2 {
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.05;
}

.about-copy p {
    margin: 0 0 22px;
    color: #4d403a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.88;
    text-align: left;
}

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

.about-copy--card {
    padding: clamp(30px, 4vw, 48px);
    background: #fff;
    border: 1px solid rgba(42,25,18,.08);
    border-radius: 30px;
    box-shadow: 0 24px 62px rgba(42,25,18,.08);
}

.about-year {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(143,20,47,.09);
    color: var(--color-wine);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.about-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(42,25,18,.16);
    background: #fff;
}

.about-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
    border-radius: inherit;
}

.about-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .55s ease;
}

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

.about-photo--large {
    aspect-ratio: 1.18 / 1;
}

.about-photo--wide {
    aspect-ratio: 1.48 / 1;
}

.about-who {
    border-bottom: 4px solid var(--color-gold);
}

@media (min-width: 1025px) {
    .about-split--image-right .about-photo {
        order: 2;
    }
}

@media (max-width: 1180px) {
    .site-header .brand img,
    .brand img {
        max-width: 160px;
        max-height: 84px;
    }

    .primary-menu {
        gap: 20px;
    }

    .primary-menu a {
        letter-spacing: .13em;
    }
}

@media (max-width: 960px) {
    .about-split,
    .about-split--text-left {
        grid-template-columns: 1fr;
    }

    .about-photo--large,
    .about-photo--wide {
        aspect-ratio: 16 / 10;
    }

    .about-copy p {
        text-align: left;
    }
}

@media (max-width: 820px) {
    .site-header .brand img,
    .brand img,
    .site-header.is-scrolled .brand img,
    body:not(.home) .brand img {
        max-width: 132px;
        max-height: 74px;
    }

    .header-inner,
    .site-header.is-scrolled .header-inner,
    body:not(.home) .header-inner {
        min-height: 78px;
    }

    .about-hero {
        min-height: 560px;
        padding: 128px 0 72px;
    }

    .about-copy--card {
        padding: 28px 24px;
    }
}

@media (max-width: 600px) {
    .about-hero__content h1 {
        font-size: 44px;
    }

    .about-hero__content p {
        font-size: 19px;
    }

    .about-photo {
        border-radius: 24px;
    }

    .about-copy p {
        font-size: 17px;
        line-height: 1.78;
    }
}


/* =========================================================
   Delcafé Moderno v3.0 - Header y menú final
   ========================================================= */
.site-header .brand,
.brand {
    flex: 0 0 auto;
}

.site-header .brand img,
.site-header .brand .custom-logo,
.brand img,
.brand .custom-logo {
    width: auto;
    max-width: 238px;
    max-height: 122px;
    object-fit: contain;
    image-rendering: auto;
}

.header-inner {
    min-height: 112px;
}

.site-header.is-scrolled .header-inner,
body:not(.home) .header-inner {
    min-height: 100px;
}

.site-header.is-scrolled .brand img,
.site-header.is-scrolled .brand .custom-logo,
body:not(.home) .brand img,
body:not(.home) .brand .custom-logo {
    max-width: 215px;
    max-height: 108px;
}

.primary-menu {
    gap: 24px;
}

@media (max-width: 1180px) {
    .site-header .brand img,
    .site-header .brand .custom-logo,
    .brand img,
    .brand .custom-logo {
        max-width: 205px;
        max-height: 105px;
    }

    .primary-menu {
        gap: 17px;
    }

    .primary-menu a,
    .header-cta {
        font-size: 12px;
        letter-spacing: .12em;
    }
}

@media (max-width: 820px) {
    .site-header .brand img,
    .site-header .brand .custom-logo,
    .brand img,
    .brand .custom-logo,
    .site-header.is-scrolled .brand img,
    .site-header.is-scrolled .brand .custom-logo,
    body:not(.home) .brand img,
    body:not(.home) .brand .custom-logo {
        max-width: 150px;
        max-height: 82px;
    }
}


/* =========================================================
   Delcafé Moderno v3.1
   Header, redes sociales y hero zoom-out.
   ========================================================= */

.header-inner {
    min-height: 112px;
    gap: 28px;
}

.brand img,
.site-header .brand img,
.site-header .custom-logo {
    width: auto;
    max-width: 230px;
    max-height: 126px;
    object-fit: contain;
    image-rendering: auto;
    filter: drop-shadow(0 10px 16px rgba(0,0,0,.34));
}

.site-header.is-scrolled .brand img,
.site-header.is-scrolled .custom-logo,
body:not(.home) .brand img,
body:not(.home) .custom-logo {
    max-width: 198px;
    max-height: 104px;
}

.primary-nav {
    gap: 18px;
}

.primary-menu {
    gap: 24px;
}

.header-cta {
    white-space: nowrap;
}

.social-links--header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 4px;
}

.social-links--header .social-link {
    width: auto;
    height: auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    border-radius: 0;
    font-weight: 900;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .02em;
    opacity: .95;
    transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

.social-links--header .social-link:hover {
    color: var(--color-gold-light);
    opacity: 1;
    transform: translateY(-1px);
}

.social-links--header .social-link--facebook span {
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-transform: lowercase;
}

.social-links--header .social-link--instagram span {
    font-size: 11px;
    letter-spacing: .08em;
}

.social-links--header .social-link--tiktok span {
    font-size: 18px;
}

.social-links--header .social-link--whatsapp span {
    font-size: 10px;
    letter-spacing: .06em;
}

.footer-social-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social-wrap > span {
    color: var(--color-coffee);
    font-weight: 800;
}

.social-links--footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links--footer .social-link {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--color-coffee);
    color: var(--color-gold-light);
    border-radius: 50%;
    font-weight: 900;
    font-size: 11px;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.social-links--footer .social-link:hover {
    transform: translateY(-2px);
    background: var(--color-wine);
    color: #fff;
}

/* Hero: inicia ligeramente cerca y se aleja con movimiento sutil */
.hero:before {
    transform: scale(1.09);
    animation: delcafeHeroZoomOut 22s ease-out infinite alternate;
    transform-origin: center center;
}

@keyframes delcafeHeroZoomOut {
    from {
        transform: scale(1.09);
    }
    to {
        transform: scale(1.015);
    }
}

/* Compatibilidad: si algún bloque antiguo usa el keyframe anterior, queda en zoom-out también. */
@keyframes delcafeHeroZoom {
    from {
        transform: scale(1.09);
    }
    to {
        transform: scale(1.015);
    }
}

@media (max-width: 1280px) {
    .brand img,
    .site-header .brand img,
    .site-header .custom-logo {
        max-width: 204px;
        max-height: 112px;
    }

    .primary-menu {
        gap: 18px;
    }

    .primary-menu a {
        font-size: 12px;
        letter-spacing: .12em;
    }

    .header-cta {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 11px;
    }
}

@media (max-width: 1120px) {
    .social-links--header {
        display: none;
    }

    .brand img,
    .site-header .brand img,
    .site-header .custom-logo {
        max-width: 184px;
        max-height: 100px;
    }
}

@media (max-width: 820px) {
    .header-inner {
        min-height: 84px;
    }

    .brand img,
    .site-header .brand img,
    .site-header .custom-logo,
    .site-header.is-scrolled .brand img,
    .site-header.is-scrolled .custom-logo,
    body:not(.home) .brand img,
    body:not(.home) .custom-logo {
        max-width: 150px;
        max-height: 84px;
    }

    .primary-nav.is-open .social-links--header {
        display: flex;
        padding: 12px 24px 24px;
        justify-content: center;
    }

    .primary-nav.is-open .social-links--header .social-link {
        color: var(--color-coffee);
    }
}


.social-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.social-link svg,
.social-link svg * {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-link--facebook svg *,
.social-link--tiktok svg *,
.social-link--whatsapp svg * {
    fill: currentColor;
    stroke: none;
}

.social-links--header .social-link--facebook span,
.social-links--header .social-link--instagram span,
.social-links--header .social-link--tiktok span,
.social-links--header .social-link--whatsapp span {
    font-size: inherit;
    letter-spacing: inherit;
}


/* =========================================================
   Delcafé Moderno v3.2
   Corrección de logo e imágenes base internas.
   ========================================================= */

.brand .delcafe-theme-logo,
.site-header .brand .delcafe-theme-logo {
    width: 190px;
    max-width: 190px;
    max-height: 142px;
    height: auto;
    object-fit: contain;
}

.site-header.is-scrolled .brand .delcafe-theme-logo,
body:not(.home) .brand .delcafe-theme-logo {
    width: 172px;
    max-width: 172px;
    max-height: 128px;
}

@media (max-width: 1120px) {
    .brand .delcafe-theme-logo,
    .site-header .brand .delcafe-theme-logo {
        width: 168px;
        max-width: 168px;
        max-height: 124px;
    }
}

@media (max-width: 820px) {
    .brand .delcafe-theme-logo,
    .site-header .brand .delcafe-theme-logo,
    .site-header.is-scrolled .brand .delcafe-theme-logo,
    body:not(.home) .brand .delcafe-theme-logo {
        width: 142px;
        max-width: 142px;
        max-height: 104px;
    }
}



/* =========================================================
   Delcafé Moderno v3.3
   Slider principal: zoom-out real, de cerca a lejos y se detiene.
   ========================================================= */

/*
 * El efecto anterior era demasiado leve y alternaba.
 * Este override fuerza una sola animación: inicia bastante cerca,
 * se aleja suavemente y queda detenido en el encuadre final.
 */
.home .hero:before,
.hero:before {
    transform: scale(1.24);
    transform-origin: center center;
    animation-name: delcafeHeroZoomOutOnce !important;
    animation-duration: 10.5s !important;
    animation-timing-function: cubic-bezier(.16, .72, .18, 1) !important;
    animation-delay: .15s !important;
    animation-iteration-count: 1 !important;
    animation-direction: normal !important;
    animation-fill-mode: forwards !important;
    will-change: transform;
}

@keyframes delcafeHeroZoomOutOnce {
    0% {
        transform: scale(1.24);
    }
    70% {
        transform: scale(1.055);
    }
    100% {
        transform: scale(1.015);
    }
}

/* Compatibilidad: si alguna regla anterior llama al keyframe viejo, también queda en zoom-out y no en zoom-in. */
@keyframes delcafeHeroZoomOut {
    0% {
        transform: scale(1.24);
    }
    70% {
        transform: scale(1.055);
    }
    100% {
        transform: scale(1.015);
    }
}

@keyframes delcafeHeroZoom {
    0% {
        transform: scale(1.24);
    }
    70% {
        transform: scale(1.055);
    }
    100% {
        transform: scale(1.015);
    }
}

@media (max-width: 820px) {
    .home .hero:before,
    .hero:before {
        transform: scale(1.18);
        animation-duration: 9s !important;
    }

    @keyframes delcafeHeroZoomOutOnce {
        0% {
            transform: scale(1.18);
        }
        100% {
            transform: scale(1.02);
        }
    }
}


/* =========================================================
   Delcafé Moderno v3.4
   Catálogo/Tienda corregidos contra Excel oficial.
   ========================================================= */
.products-section > .container {
    width: min(1320px, calc(100% - 44px));
}

.product-card__image {
    height: 260px;
    min-height: 260px;
    padding: 22px 24px;
}

.product-card__image img {
    max-height: 220px;
    max-width: 88%;
    width: auto;
    object-fit: contain;
}

.product-card h3 {
    font-size: clamp(20px, 1.36vw, 26px);
    line-height: 1.16;
    letter-spacing: .13em;
    overflow-wrap: anywhere;
    word-break: normal;
}

.product-card__meta {
    line-height: 1.48 !important;
}

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

@media (max-width: 680px) {
    .product-card__image {
        height: 230px;
        min-height: 230px;
    }

    .product-card__image img {
        max-height: 190px;
        max-width: 90%;
    }
}


/* =========================================================
   Delcafé Moderno v3.5
   Header alineado: logo a la izquierda, navegación a la derecha
   y menú sin partidas de línea.
   ========================================================= */
.site-header .header-inner,
.header-inner {
    width: min(1540px, calc(100% - 72px));
    max-width: 1540px;
    justify-content: flex-start;
    gap: 34px;
}

.site-header .brand,
.brand {
    flex: 0 0 auto;
    margin-right: auto;
}

.brand .delcafe-theme-logo,
.site-header .brand .delcafe-theme-logo {
    width: 210px;
    max-width: 210px;
    max-height: 154px;
}

.site-header.is-scrolled .brand .delcafe-theme-logo,
body:not(.home) .brand .delcafe-theme-logo {
    width: 188px;
    max-width: 188px;
    max-height: 136px;
}

.primary-nav {
    flex: 0 1 auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 18px;
    min-width: 0;
}

.primary-menu {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 22px;
    min-width: 0;
}

.primary-menu li {
    flex: 0 0 auto;
    white-space: nowrap;
}

.primary-menu a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
    font-size: 13px;
    letter-spacing: .135em;
}

.header-cta {
    flex: 0 0 auto;
    white-space: nowrap;
}

.social-links--header {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 1380px) {
    .site-header .header-inner,
    .header-inner {
        width: min(1480px, calc(100% - 48px));
        gap: 26px;
    }

    .brand .delcafe-theme-logo,
    .site-header .brand .delcafe-theme-logo {
        width: 190px;
        max-width: 190px;
    }

    .primary-menu {
        gap: 17px;
    }

    .primary-menu a {
        font-size: 12px;
        letter-spacing: .105em;
    }

    .header-cta {
        padding-left: 18px;
        padding-right: 18px;
        font-size: 11px;
    }

    .social-links--header {
        gap: 10px;
    }

    .social-link svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 1180px) {
    .site-header .header-inner,
    .header-inner {
        width: min(100%, calc(100% - 36px));
        gap: 18px;
    }

    .brand .delcafe-theme-logo,
    .site-header .brand .delcafe-theme-logo {
        width: 168px;
        max-width: 168px;
    }

    .primary-menu {
        gap: 13px;
    }

    .primary-menu a {
        font-size: 11px;
        letter-spacing: .075em;
    }
}

@media (max-width: 1024px) {
    .primary-nav {
        margin-left: 0;
    }

    .primary-menu {
        flex-wrap: wrap;
    }

    .primary-menu li,
    .primary-menu a {
        white-space: normal;
    }
}

@media (max-width: 820px) {
    .site-header .brand,
    .brand {
        margin-right: 0;
    }

    .brand .delcafe-theme-logo,
    .site-header .brand .delcafe-theme-logo,
    .site-header.is-scrolled .brand .delcafe-theme-logo,
    body:not(.home) .brand .delcafe-theme-logo {
        width: 142px;
        max-width: 142px;
    }
}


/* v3.7: ocultar cualquier rastro público de Fardo de versiones anteriores */
.product-card__details,
.product-card__fardo,
.product-card__pack {
    display: none !important;
}

.product-info-box--single p:nth-child(4) {
    display: none !important;
}
