
:root {
    --color-cyan: #3fe2cc;
    --color-text-dark: #333333;
    --color-text-gray: #666666;
    --color-text-light: #999999;
    --color-border: #eaeaea;
    --color-accent-red: #e83b46;
    --color-accent-olive: #859c27;
    --color-accent-green: #5d8e7e;
    --color-accent-yellow: #f6a623;
    --color-accent-orange: #ef5c28;
    
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: clip;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    position: relative;
}

.top-bar {
    background-color: #f2f9f6;
    padding: 10px 0;
    width: 100%;
}

.top-facebook-btn {
    color: #1877f2;
    background-color: rgba(24, 119, 242, 0.12);
    padding: 6px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.top-facebook-btn:hover {
    background-color: #1877f2;
    color: #fff;
    transform: translateY(-2px);
}

.logo-container {
    text-align: center;
    padding: 30px 40px 10px;
}

.logo {
    max-width: 250px;
    height: auto;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px 20px;
    position: relative;
}

.search-icon {
    position: absolute;
    right: 40px;
    cursor: pointer;
}

.mobile-menu-btn {
    display: none;
    border: 2px solid var(--color-cyan);
    border-radius: 6px;
    padding: 9px 15px;
    min-height: 44px;
    background: #fff;
    color: var(--color-text-gray);
    font-size: 14px;
    font-family: var(--font-body);
    cursor: pointer;
}

.mobile-menu-btn:focus-visible,
.search-submit:focus-visible,
.scroll-top:focus-visible,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
    outline: 3px solid var(--color-cyan);
    outline-offset: 3px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 18px;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.main-nav a.active, .main-nav a:hover {
    color: var(--color-cyan);
}

.search-icon {
    cursor: pointer;
}

/* Colored Header Border */
.header-border {
    display: flex;
    height: 8px;
    width: 100%;
}
.border-segment {
    flex: 1;
}
.segment-1 { background-color: var(--color-accent-red); }
.segment-2 { background-color: var(--color-accent-olive); }
.segment-3 { background-color: var(--color-accent-green); }
.segment-4 { background-color: var(--color-accent-yellow); }
.segment-5 { background-color: var(--color-accent-orange); }

/* Hero Video */
.hero-video {
    width: 100%;
    margin-bottom: 60px;
}

.bg-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh;
    object-fit: cover;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.card {
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card > img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    padding: 30px;
    background-color: #fafafa;
    border-bottom: 1px solid var(--color-border);
    display: block;
}

.card-image {
    aspect-ratio: 16 / 9;
    height: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f2f9f6;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

/* Placeholders for backgrounds - assuming these will be the downloaded images */
.bg-conoceme { background-image: url('assets/images/header648-hd.png'); }
.bg-tips { background-image: url('assets/images/header23.png'); }
.bg-recetas { background-image: url('assets/images/recetas-1220x600.png'); }

.overlay-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--color-accent-red);
    letter-spacing: 2px;
}

.card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.card-excerpt {
    font-size: 15px;
    color: var(--color-text-gray);
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 2px solid #00e676;
    border-radius: 6px;
    background-color: #00e676;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.read-more:hover,
.read-more:focus-visible {
    border-color: #00c853;
    background-color: #00c853;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.card-actions {
    margin-top: auto;
    padding-top: 24px;
}

.cards-grid .card-actions .read-more {
    width: 190px;
    max-width: 100%;
}

.meta-icon {
    width: 20px;
    height: 20px;
}

.meta-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-gray);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 0;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 56px;
    color: #2c3e50;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.btn-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #00e676; /* Bright green */
    color: #fff;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.whatsapp-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: currentColor;
}

.btn-green:hover {
    background-color: #00c853;
}

/* Footer */
.site-footer {
    padding: 60px 40px 20px;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.social-icons {
    margin-bottom: 40px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 999px;
    background-color: rgba(24, 119, 242, 0.1);
    color: #1877f2;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.social-icon:hover,
.social-icon:focus-visible {
    background-color: #1877f2;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    font-size: 14px;
    color: var(--color-text-gray);
    flex-wrap: wrap;
    gap: 20px;
}

.copyright span {
    color: var(--color-accent-red);
}

.footer-links a {
    color: var(--color-text-gray);
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    color: var(--color-accent-red);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #fff;
    border: 2px solid #00e676;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e676;
    z-index: 999;
    transition: all 0.3s ease;
}

.scroll-top:hover {
    background-color: #00e676;
    color: #fff;
}

/* =========================================
   CONÓCEME PAGE STYLES
   ========================================= */

.page-conoceme {
    padding-bottom: 80px;
}

.pink-heading {
    font-family: var(--font-heading);
    color: #f72a63; /* vibrant pink */
    font-size: 42px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Intro Section */
.page-banner {
    width: 100%;
    margin-bottom: 40px;
    background-color: #fbf8eb;
}

.page-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.content-separator {
    margin-bottom: 50px;
}

.conoceme-intro {
    margin-bottom: 60px;
}

.intro-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.intro-image-col {
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
}

.intro-text-col {
    flex: 1;
}

.circle-image-wrapper {
    width: 280px;
    max-width: 100%;
}

.circle-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.intro-text {
    margin-bottom: 30px;
}

.intro-lead {
    font-size: 18px;
    line-height: 1.8;
    color: #4a4a4a;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Removed .circle-image-wrapper since the green circle was deleted */

.intro-full-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-gray);
    margin-bottom: 20px;
}

/* Alternating Sections (Misión, Visión, Valores) */
.conoceme-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.left-text-section {
    flex-direction: row;
}

.right-text-section {
    flex-direction: row;
}

/* Since right-text-section puts the image on the left, it's natural flex order */
.left-text-section {
    /* Text on left, image on right */
    justify-content: space-between;
}

.section-text {
    flex: 1;
}

.section-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-gray);
}

/* Polaroid and Icons */
.polaroid-image {
    flex: 0 0 40%;
    /* The image itself already has the polaroid border baked in */
}

.right-polaroid {
    /* No additional rotation needed if baked in, but we can leave it empty */
}

.polaroid-image:hover {
    transform: scale(1.02);
}

.polaroid-image img {
    width: 100%;
    height: auto;
    display: block;
}

.icon-image {
    flex: 0 0 25%;
    display: flex;
    justify-content: center;
}

.icon-image img {
    max-width: 150px;
    height: auto;
}

/* =========================================
   RECETAS & TIPS GALLERY PAGE
   ========================================= */
.page-gallery .page-banner {
    background-color: transparent;
    padding: 20px 0;
}

.page-gallery .page-banner img {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 60px;
}

.gallery-grid a {
    display: block;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #f2f9f6;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.3s;
}

@keyframes zoom {
    from {transform:scale(0.8)} 
    to {transform:scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s;
    user-select: none;
    text-decoration: none;
    z-index: 10000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: #bbb;
}

/* =========================================
   ENCUÉNTRANOS PAGE STYLES
   ========================================= */
.page-title-banner {
    background-color: #f2f9f6; /* Pale green from screenshot */
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.page-title-banner h1 {
    font-family: var(--font-heading);
    color: #435b66; /* grayish blue */
    font-size: 48px;
    margin: 0;
}

.encuentranos-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.map-column {
    flex: 0 0 60%;
}

.map-column iframe {
    width: 100%;
    height: 450px;
    border: 1px solid #eaeaea;
    display: block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.pin-column {
    flex: 1;
    display: flex;
    justify-content: center;
}

.pin-column img {
    max-width: 350px;
    width: 100%;
    height: auto;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(37,211,102,0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(37,211,102,0.4);
    color: #fff;
    text-decoration: none;
}

/* =========================================
   SEARCH UI & RESULTS PAGE
   ========================================= */
.header-search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.header-search-form .search-input {
    width: 0;
    padding: 0;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    transition: all 0.3s ease;
    opacity: 0;
    font-size: 16px;
    outline: none;
    font-family: var(--font-body);
}

.search-icon:hover .search-input,
.header-search-form .search-input:focus {
    width: 200px;
    padding: 5px 10px;
    border-bottom: 2px solid var(--color-cyan);
    opacity: 1;
}

.search-submit {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #435b66;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.search-submit:hover {
    color: var(--color-cyan);
}

.page-search .search-header-area {
    background-color: #f2f9f6;
    padding: 60px 0 40px;
    text-align: left;
}

.page-search .search-header-area h1 {
    font-family: var(--font-body);
    font-size: 20px;
    color: #435b66;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-search .page-search-form {
    background: #fff;
    padding: 10px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.page-search .page-search-form .search-input {
    width: 100%;
    opacity: 1;
    border: none;
    font-size: 24px;
    font-family: var(--font-heading);
    color: #435b66;
    padding: 10px;
}

.page-search .page-search-form .search-submit {
    color: var(--color-cyan);
}

.search-count {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.search-results-list {
    max-width: 800px;
    margin: 60px 0;
}

/* Responsive hardening */
.cards-grid > *,
.conoceme-section > *,
.intro-grid > *,
.encuentranos-content > * {
    min-width: 0;
}

.card h3,
.card-title,
.pink-heading,
.cta-title,
.page-title-banner h1 {
    overflow-wrap: anywhere;
}

.page-servicios .card h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.25;
}

.page-servicios .card > img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.page-conoceme .conoceme-section {
    width: 100%;
}

@media (max-width: 900px) {
    .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .logo-container {
        padding: 24px 20px 10px;
    }

    .nav-container {
        padding: 0 20px 20px;
        align-items: stretch;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: center;
    }

    .main-nav {
        display: none;
        width: 100%;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        width: 100%;
    }

    .main-nav li {
        min-width: 0;
    }

    .main-nav a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 8px 10px;
        font-size: 16px;
    }

    .search-icon {
        position: static;
        align-self: center;
        margin-left: auto;
    }

    .header-search-form {
        max-width: 100%;
    }

    .header-search-form .search-input,
    .search-icon:hover .search-input,
    .header-search-form .search-input:focus {
        width: min(200px, calc(100vw - 110px));
    }

    .intro-grid,
    .conoceme-section,
    .encuentranos-content {
        gap: 30px;
    }

    .footer-bottom {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .top-bar .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .logo {
        max-width: min(250px, 80vw);
    }

    .nav-container {
        padding-left: 16px;
        padding-right: 16px;
        gap: 12px;
    }

    .main-nav ul {
        grid-template-columns: 1fr;
    }

    .search-icon {
        min-width: 44px;
    }

    .header-search-form .search-input,
    .search-icon:hover .search-input,
    .header-search-form .search-input:focus {
        width: calc(100vw - 112px);
        max-width: 180px;
    }

    .main-content {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .hero-video {
        margin-bottom: 36px;
    }

    .bg-video {
        min-height: 180px;
        object-fit: cover;
    }

    .card-content {
        padding: 20px;
    }

    .card-title {
        font-size: clamp(1.35rem, 7vw, 2rem);
    }

    .cta-section {
        padding: 36px 16px;
    }

    .cta-title {
        font-size: clamp(2rem, 11vw, 3.5rem);
    }

    .page-title-banner {
        padding: 40px 16px;
    }

    .page-title-banner h1,
    .pink-heading {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .page-servicios .cards-grid {
        gap: 20px;
    }

    .page-servicios .card h3 {
        font-size: clamp(1.2rem, 6vw, 1.7rem);
    }

    .page-servicios .card > img {
        height: 180px;
        padding: 20px;
    }

    .whatsapp-btn,
    .btn-green {
        width: min(100%, 320px);
        min-height: 48px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-links {
        line-height: 2;
        text-align: center;
    }

    .scroll-top {
        right: 16px;
        bottom: 16px;
    }
}

.search-result-card {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--color-cyan);
}

.search-result-card h2 {
    font-family: var(--font-heading);
    margin-top: 0;
    margin-bottom: 10px;
}

.search-result-card h2 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.search-result-card h2 a:hover {
    color: var(--color-cyan);
}

.search-result-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.search-result-card .read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 20px;
    border: 2px solid #00e676;
    border-radius: 6px;
    background-color: #00e676;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.search-result-card .read-more:hover,
.search-result-card .read-more:focus-visible {
    border-color: #00c853;
    background-color: #00c853;
    color: #fff;
    transform: translateY(-1px);
}

.no-results {
    font-size: 18px;
    color: #666;
    text-align: center;
    padding: 40px;
}

/* Media Queries */
@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Conoceme Responsive */
    .intro-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .conoceme-section {
        flex-direction: column !important;
        text-align: center;
        gap: 30px;
    }
    
    .polaroid-image, .icon-image {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Gallery Responsive */
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Encuentranos Responsive */
    .encuentranos-content {
        flex-direction: column;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .main-nav ul {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* =========================================================
   NUTRA PUBLIC SITE - VISUAL SYSTEM
   A final, shared layer for the six public sections.
   ========================================================= */
:root {
    --nutra-olive: #8f9c24;
    --nutra-olive-dark: #68771c;
    --nutra-green: #3e6f58;
    --nutra-green-soft: #eaf2e8;
    --nutra-cream: #f7f8f3;
    --nutra-surface: #ffffff;
    --nutra-ink: #173b3b;
    --nutra-muted: #617170;
    --nutra-coral: #cf5360;
    --nutra-line: #dbe5dd;
    --nutra-shadow: 0 18px 48px rgba(31, 71, 58, 0.11);
    --nutra-shadow-soft: 0 8px 24px rgba(31, 71, 58, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--nutra-cream);
    color: var(--nutra-ink);
    line-height: 1.65;
}

.container {
    max-width: 1240px;
}

/* Shared navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 26px rgba(31, 71, 58, 0.09);
}

.top-bar {
    padding: 8px 0;
    background: var(--nutra-green);
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.top-facebook-btn {
    gap: 7px;
    min-height: 32px;
    padding: 5px 13px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.02em;
}

.top-facebook-btn span {
    margin-left: 0 !important;
}

.top-facebook-btn:hover {
    background: #fff;
    color: var(--nutra-green);
}

.logo-container {
    padding: 16px 20px 12px;
    background: #fff;
}

.logo {
    width: min(222px, 68vw);
    max-width: none;
}

.nav-container {
    min-height: 62px;
    padding: 0 76px;
    border-top: 1px solid #edf1ec;
    border-bottom: 1px solid var(--nutra-line);
    background: #fff;
}

.main-nav ul {
    align-items: center;
    gap: 5px;
}

.main-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 15px;
    border-radius: 999px;
    color: var(--nutra-ink);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus-visible {
    background: var(--nutra-green-soft);
    color: var(--nutra-green);
    transform: translateY(-1px);
}

.search-icon {
    right: 28px;
}

.search-submit {
    border-radius: 50%;
    color: var(--nutra-green);
}

.search-submit:hover {
    color: var(--nutra-olive-dark);
    background: var(--nutra-green-soft);
}

.header-search-form .search-input {
    color: var(--nutra-ink);
}

.search-icon:hover .search-input,
.header-search-form .search-input:focus {
    border-bottom-color: var(--nutra-olive);
}

.header-border {
    height: 5px;
}

/* Shared page rhythm and content surfaces */
.main-content {
    padding: 26px 0 76px;
}

.hero-video {
    max-width: 1440px;
    margin: 0 auto 64px;
    overflow: hidden;
    border-radius: 0 0 28px 28px;
    box-shadow: var(--nutra-shadow);
    background: #dfeade;
}

.bg-video {
    width: 100%;
    max-height: min(66vh, 700px);
    object-fit: cover;
}

.cards-section {
    padding: 0 24px;
}

.cards-grid {
    gap: 24px;
    margin-bottom: 64px;
}

.card {
    min-height: 100%;
    border: 1px solid var(--nutra-line);
    border-radius: 20px;
    background: var(--nutra-surface);
    box-shadow: var(--nutra-shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
    border-color: rgba(143, 156, 36, .45);
    box-shadow: var(--nutra-shadow);
    transform: translateY(-5px);
}

.card-image {
    min-height: 215px;
    border-bottom: 0;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 26px 26px 28px;
}

.card-title {
    margin-bottom: 10px;
    color: var(--nutra-ink);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.2;
}

.card-excerpt,
.card-content p {
    color: var(--nutra-muted);
    font-size: 15px;
    line-height: 1.75;
}

.card-meta {
    justify-content: flex-start;
    padding-top: 10px;
}

.meta-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.meta-text {
    color: var(--nutra-green);
    font-size: 13px;
}

.card-actions {
    padding-top: 24px;
}

.read-more,
.btn-green {
    border: 0;
    border-radius: 999px;
    background: var(--nutra-olive);
    box-shadow: 0 8px 18px rgba(143, 156, 36, .2);
    color: #fff;
    font-weight: 700;
}

.read-more {
    min-height: 46px;
    padding: 11px 22px;
}

.read-more:hover,
.read-more:focus-visible,
.btn-green:hover,
.btn-green:focus-visible {
    border-color: transparent;
    background: var(--nutra-olive-dark);
    color: #fff;
    box-shadow: 0 11px 22px rgba(104, 119, 28, .25);
}

.cta-section {
    width: min(100% - 48px, 900px);
    margin: 12px auto 0;
    padding: 52px 32px;
    border: 1px solid rgba(143, 156, 36, .28);
    border-radius: 26px;
    background: linear-gradient(135deg, #eef4e6 0%, #fff 58%, #fff7ed 100%);
    box-shadow: var(--nutra-shadow-soft);
}

.cta-title {
    margin-bottom: 24px;
    color: var(--nutra-ink);
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.1;
}

.btn-green {
    padding: 13px 28px;
    background: linear-gradient(135deg, #25b967, #16806f);
}

/* Shared internal-page banner */
.page-banner,
.page-title-banner {
    width: min(100% - 48px, 1240px);
    margin: 24px auto 32px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--nutra-shadow);
}

.page-banner {
    height: clamp(190px, 27vw, 330px);
    padding: 0;
    background: var(--nutra-green-soft);
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-title-banner {
    position: relative;
    padding: clamp(46px, 8vw, 86px) 24px;
    background: linear-gradient(120deg, var(--nutra-green) 0%, #6f8f4a 56%, var(--nutra-olive) 100%);
}

.page-title-banner::after {
    position: absolute;
    right: -35px;
    bottom: -65px;
    width: 240px;
    height: 170px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    content: "";
    transform: rotate(-15deg);
}

.page-title-banner h1 {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    line-height: 1.12;
    text-shadow: 0 3px 14px rgba(23, 59, 59, .22);
}

.content-separator {
    height: 5px;
    margin: 0 0 46px;
    border-radius: 999px;
    overflow: hidden;
}

/* Conóceme: readable editorial blocks */
.page-conoceme {
    padding-bottom: 76px;
}

.page-conoceme > .container {
    max-width: 1060px;
}

.intro-grid {
    gap: clamp(28px, 6vw, 74px);
    margin-bottom: 30px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--nutra-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--nutra-shadow-soft);
}

.circle-image-wrapper {
    width: min(310px, 100%);
    padding: 12px;
    border: 1px solid rgba(143, 156, 36, .3);
    border-radius: 50%;
    background: var(--nutra-green-soft);
}

.pink-heading {
    margin-bottom: 14px;
    color: var(--nutra-coral);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.intro-lead {
    color: var(--nutra-ink);
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    line-height: 1.6;
}

.intro-full-text {
    padding: 0 10px 18px;
}

.intro-full-text p,
.section-text p {
    color: var(--nutra-muted);
    line-height: 1.85;
}

.conoceme-section {
    gap: clamp(28px, 6vw, 74px);
    margin-bottom: 30px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--nutra-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--nutra-shadow-soft);
}

.polaroid-image {
    flex-basis: 42%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(31, 71, 58, .12);
}

.polaroid-image img {
    transition: transform .3s ease;
}

.polaroid-image:hover img {
    transform: scale(1.035);
}

.icon-image {
    flex-basis: 28%;
}

.icon-image img {
    max-width: 180px;
}

/* Recipes and Nutra tips discovery grid */
.page-gallery .page-banner {
    background: var(--nutra-green-soft);
}

.page-gallery > .container {
    max-width: 1240px;
}

.gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 34px;
}

.gallery-grid a {
    position: relative;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--nutra-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--nutra-shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.gallery-grid a::after {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    background: rgba(23, 59, 59, .72);
    color: #fff;
    content: "+";
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    opacity: 0;
    transition: opacity .25s ease;
}

.gallery-grid img {
    height: 100%;
    border-radius: 17px;
}

.gallery-grid a:hover,
.gallery-grid a:focus-visible {
    border-color: var(--nutra-olive);
    box-shadow: var(--nutra-shadow);
    transform: translateY(-4px);
}

.gallery-grid a:hover::after,
.gallery-grid a:focus-visible::after {
    opacity: 1;
}

/* Lightbox */
.lightbox-modal {
    padding: 28px;
    background: rgba(17, 43, 39, .94);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    border-radius: 12px;
    box-shadow: 0 22px 80px rgba(0, 0, 0, .35);
}

.lightbox-close {
    top: 20px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    font-size: 34px;
    line-height: 40px;
    text-align: center;
}

.lightbox-prev,
.lightbox-next {
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    font-size: 30px;
    line-height: 42px;
    text-align: center;
}

/* Encuéntranos */
.page-encuentranos > .container {
    max-width: 1120px;
}

.encuentranos-content {
    align-items: stretch;
    gap: 24px;
    margin-bottom: 30px;
    padding: 24px;
    border: 1px solid var(--nutra-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--nutra-shadow-soft);
}

.map-column {
    flex-basis: 64%;
}

.map-column iframe {
    height: 455px;
    border: 0;
    border-radius: 16px;
    box-shadow: none;
}

.pin-column {
    min-height: 300px;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--nutra-green-soft), #fff8ed);
}

.pin-column img {
    max-width: 300px;
}

/* Servicios */
.page-servicios > .container {
    max-width: 1100px;
}

.page-servicios .cards-grid {
    gap: 24px;
}

.page-servicios .card > img {
    height: 205px;
    padding: 22px;
    border-bottom: 1px solid var(--nutra-line);
    background: var(--nutra-green-soft);
}

.page-servicios .card h3 {
    margin-bottom: 10px;
    color: var(--nutra-ink);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    line-height: 1.25;
}

.page-servicios .container > div[style*="text-align"] {
    margin: 44px 0 12px !important;
}

/* Footer and utility controls */
.site-footer {
    align-items: stretch;
    padding: 48px max(24px, calc((100% - 1160px) / 2)) 24px;
    border-top: 0;
    background: #edf3eb;
}

.footer-logo-container,
.social-icons {
    align-self: center;
}

.footer-logo {
    width: min(180px, 60vw);
    max-width: none;
    margin-bottom: 18px;
}

.social-icons {
    margin-bottom: 34px;
}

.social-icon {
    border: 1px solid rgba(24, 119, 242, .18);
    background: #fff;
    box-shadow: 0 5px 14px rgba(31, 71, 58, .06);
}

.footer-bottom {
    padding-top: 22px;
    border-top-color: #d7e2d8;
    color: var(--nutra-muted);
}

.footer-links a:hover {
    color: var(--nutra-green);
}

.scroll-top {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--nutra-green);
    color: #fff;
    box-shadow: 0 9px 20px rgba(31, 71, 58, .2);
}

.scroll-top:hover {
    background: var(--nutra-olive);
    color: #fff;
}

/* Search results inherit the same surface language. */
.page-search .search-header-area {
    background: transparent;
    padding: 34px 24px 24px;
}

.page-search .search-header-area h1 {
    color: var(--nutra-ink);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.page-search .page-search-form,
.search-result-card {
    border: 1px solid var(--nutra-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--nutra-shadow-soft);
}

.search-result-card {
    border-left: 4px solid var(--nutra-olive);
}

@media (max-width: 900px) {
    .site-header {
        position: relative;
    }

    .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        min-height: 60px;
        padding: 8px 20px;
    }

    .mobile-menu-btn {
        display: inline-flex;
        border: 1px solid var(--nutra-line);
        border-radius: 999px;
        background: var(--nutra-green-soft);
        color: var(--nutra-green);
        font-weight: 700;
    }

    .main-nav {
        order: 3;
    }

    .main-nav ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 8px 0 2px;
    }

    .main-nav a {
        justify-content: center;
        font-size: 12px;
    }

    .search-icon {
        position: static;
        margin-left: auto;
    }

    .search-icon:hover .search-input,
    .header-search-form .search-input:focus {
        width: min(210px, calc(100vw - 170px));
    }

    .hero-video {
        margin-bottom: 46px;
        border-radius: 0 0 22px 22px;
    }

    .bg-video {
        max-height: 52vh;
    }

    .page-banner,
    .page-title-banner {
        width: min(100% - 32px, 1240px);
        margin-top: 16px;
        border-radius: 18px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .encuentranos-content {
        flex-direction: column;
    }

    .map-column iframe {
        height: 360px;
    }

    .pin-column {
        min-height: 250px;
    }
}

@media (max-width: 600px) {
    .top-bar-inner {
        padding: 0 16px;
    }

    .logo-container {
        padding: 14px 16px 10px;
    }

    .logo {
        width: min(190px, 62vw);
    }

    .nav-container {
        padding: 8px 16px;
    }

    .main-nav ul {
        grid-template-columns: 1fr;
    }

    .main-nav a {
        justify-content: flex-start;
        padding-left: 18px;
    }

    .search-icon:hover .search-input,
    .header-search-form .search-input:focus {
        width: min(170px, calc(100vw - 150px));
    }

    .main-content {
        padding-top: 16px;
        padding-bottom: 48px;
    }

    .cards-section {
        padding: 0 16px;
    }

    .cards-grid {
        gap: 18px;
        margin-bottom: 42px;
    }

    .card-image {
        min-height: 190px;
    }

    .card-content {
        padding: 22px;
    }

    .cta-section {
        width: calc(100% - 32px);
        padding: 40px 20px;
        border-radius: 20px;
    }

    .page-banner,
    .page-title-banner {
        width: calc(100% - 32px);
        margin-bottom: 24px;
        border-radius: 16px;
    }

    .page-banner {
        height: 185px;
    }

    .page-title-banner {
        padding: 48px 20px;
    }

    .content-separator {
        margin-bottom: 30px;
    }

    .intro-grid,
    .conoceme-section,
    .encuentranos-content {
        padding: 20px;
        border-radius: 18px;
    }

    .intro-full-text {
        padding: 0 4px 12px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .gallery-grid a {
        border-radius: 14px;
    }

    .gallery-grid img {
        border-radius: 13px;
    }

    .gallery-grid a::after {
        right: 8px;
        bottom: 8px;
        width: 28px;
        height: 28px;
        font-size: 19px;
        line-height: 24px;
    }

    .map-column iframe {
        height: 300px;
    }

    .page-servicios .card > img {
        height: 175px;
    }

    .site-footer {
        padding: 38px 16px 20px;
    }
}

/* =========================================================
   TICKET POLISH PASS
   Preserve the original artwork while improving the visual
   containers, hierarchy and interaction feedback.
   ========================================================= */
.cards-grid {
    align-items: start;
}

.cards-grid > .card {
    align-self: start;
}

.card-content {
    flex: none;
}

.card-image {
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #eef5eb;
}

.page-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e7f2e8, #fff8ed);
}

.page-banner img {
    padding: 12px;
    object-fit: contain;
}

/* Conóceme: the person and her story become the visual focus. */
.page-conoceme .intro-grid {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #fff 0%, #fff 66%, #eff5e9 100%);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.page-conoceme .intro-grid::after {
    position: absolute;
    right: -88px;
    bottom: -108px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(143, 156, 36, .2);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.page-conoceme .intro-image-col,
.page-conoceme .intro-text-col {
    position: relative;
    z-index: 1;
}

.page-conoceme .intro-image-col {
    transition: transform .3s ease;
}

.page-conoceme .intro-text-col {
    padding: 10px 0 10px 28px;
    transition: transform .3s ease;
}

.page-conoceme .intro-text-col::before {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(var(--nutra-coral), var(--nutra-olive));
    content: "";
}

.page-conoceme .intro-grid:hover,
.page-conoceme .intro-grid:focus,
.page-conoceme .intro-grid:focus-within {
    border-color: rgba(143, 156, 36, .55);
    box-shadow: var(--nutra-shadow);
    transform: translateY(-3px);
}

.page-conoceme .intro-grid:hover .intro-image-col,
.page-conoceme .intro-grid:focus .intro-image-col,
.page-conoceme .intro-grid:focus-within .intro-image-col {
    transform: translateY(-5px) scale(1.02);
}

.page-conoceme .intro-grid:hover .intro-text-col,
.page-conoceme .intro-grid:focus .intro-text-col,
.page-conoceme .intro-grid:focus-within .intro-text-col {
    transform: translateX(5px);
}

.page-conoceme .conoceme-section {
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.page-conoceme .conoceme-section:hover,
.page-conoceme .conoceme-section:focus-within {
    border-color: rgba(143, 156, 36, .46);
    box-shadow: var(--nutra-shadow);
    transform: translateY(-3px);
}

.page-conoceme .section-text {
    padding: 4px 0;
}

/* Recipe and tip dashboards: visible frames, complete artwork and clear focus. */
.gallery-grid {
    align-items: start;
}

.gallery-grid a {
    aspect-ratio: 1 / 1;
    padding: 8px;
    border: 1px solid rgba(62, 111, 88, .24);
    background: #fff;
    box-shadow: 0 4px 0 rgba(143, 156, 36, .16), var(--nutra-shadow-soft);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f1f6ef;
}

.gallery-grid a::before {
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(207, 83, 96, .22);
    border-radius: 15px;
    content: "";
    pointer-events: none;
}

.gallery-grid a::after {
    right: 16px;
    bottom: 16px;
}

.gallery-grid a:hover,
.gallery-grid a:focus-visible {
    border-color: var(--nutra-olive);
    box-shadow: 0 5px 0 var(--nutra-olive), var(--nutra-shadow);
    transform: translateY(-5px);
}

/* Encuéntranos: a centered map-and-location panel with a gentle interaction cue. */
.page-encuentranos .encuentranos-content {
    justify-content: center;
    align-items: center;
}

.page-encuentranos .map-column,
.page-encuentranos .pin-column {
    min-width: 0;
}

.page-encuentranos .pin-column {
    position: relative;
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}

.page-encuentranos .pin-column::after {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(62, 111, 88, .22);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.page-encuentranos .pin-column:hover,
.page-encuentranos .pin-column:focus-within {
    box-shadow: 0 14px 30px rgba(62, 111, 88, .14);
    transform: translateY(-3px);
}

.page-encuentranos .pin-column img {
    position: relative;
    z-index: 1;
    transition: transform .3s ease;
}

.page-encuentranos .pin-column:hover img {
    transform: scale(1.04) translateY(-4px);
}

/* Servicios: stronger service cards without changing their content. */
.page-servicios .cards-grid {
    align-items: stretch;
}

.page-servicios .card {
    position: relative;
    overflow: hidden;
}

.page-servicios .card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--nutra-coral), var(--nutra-olive), var(--nutra-green));
    content: "";
    z-index: 1;
}

.page-servicios .card > img {
    object-fit: contain;
    background: linear-gradient(145deg, #f2f7ee, #fff8ed);
}

.page-servicios .card-content {
    padding-top: 24px;
}

@media (max-width: 600px) {
    .page-banner img {
        padding: 8px;
    }

    .page-conoceme .intro-text-col {
        padding-left: 20px;
    }

    .gallery-grid a {
        padding: 6px;
    }

    .gallery-grid a::before {
        inset: 3px;
        border-radius: 11px;
    }

    .gallery-grid a::after {
        right: 11px;
        bottom: 11px;
    }
}

/* =========================================================
   TICKET 3 - FULL-WIDTH COMPOSITION AND VIDEO TRANSITION
   ========================================================= */
.top-bar {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
}

.logo-container {
    position: absolute;
    top: 0;
    left: max(24px, calc((100% - 1540px) / 2));
    z-index: 2;
    width: auto;
    padding: 0;
    background: transparent;
    text-align: left;
}

.logo {
    width: min(232px, 22vw);
    max-width: none;
}

.nav-container {
    min-height: 164px;
    align-items: center;
    padding: 0 max(24px, calc((100% - 1540px) / 2));
    padding-left: max(330px, calc((100% - 1540px) / 2 + 330px));
    justify-content: flex-start;
}

.main-nav ul {
    gap: 3px;
}

.main-nav a {
    padding: 9px 13px;
    font-size: 12px;
}

.hero-video {
    position: relative;
    max-width: none;
    margin-bottom: 54px;
    border-radius: 0 0 30px 30px;
}

.hero-video::after {
    position: absolute;
    bottom: 18px;
    left: 50%;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: rgba(23, 59, 59, .72);
    color: #fff;
    content: "↓";
    font-size: 29px;
    line-height: 38px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
}

.hero-video.is-finished::after {
    opacity: 1;
    animation: nudge-down .65s ease-in-out 1;
}

@keyframes nudge-down {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 9px); }
}

#home-sections {
    scroll-margin-top: 178px;
}

.cards-section {
    width: 100%;
    max-width: 1580px;
    padding-right: clamp(24px, 4vw, 64px);
    padding-left: clamp(24px, 4vw, 64px);
}

.cards-grid {
    gap: clamp(24px, 2.5vw, 42px);
}

/* Full-bleed artwork bands; the art remains complete inside the band. */
.page-banner,
.page-title-banner {
    width: 100%;
    max-width: none;
    margin: 14px 0 32px;
    border-radius: 0;
}

.page-banner {
    height: clamp(220px, 31vw, 430px);
}

.page-banner img {
    width: 100%;
    height: 100%;
    padding: 10px clamp(16px, 5vw, 80px);
    object-fit: contain;
}

.page-title-banner {
    padding-top: clamp(55px, 8vw, 105px);
    padding-bottom: clamp(55px, 8vw, 105px);
}

.content-separator {
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
}

.page-conoceme > .container {
    max-width: 1420px;
}

.page-gallery > .container {
    width: 100%;
    max-width: 1580px;
    padding-right: clamp(24px, 4vw, 64px);
    padding-left: clamp(24px, 4vw, 64px);
}

.gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(22px, 2.2vw, 38px);
}

.gallery-grid a {
    min-width: 0;
}

.page-encuentranos > .container,
.page-servicios > .container {
    width: 100%;
    max-width: 1580px;
    padding-right: clamp(24px, 4vw, 64px);
    padding-left: clamp(24px, 4vw, 64px);
}

.page-encuentranos .encuentranos-content {
    max-width: 1420px;
    margin-right: auto;
    margin-left: auto;
}

.page-servicios .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .logo-container {
        left: 24px;
    }

    .nav-container {
        padding-left: 285px;
    }

    .main-nav a {
        padding-right: 9px;
        padding-left: 9px;
    }

    .page-servicios .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-header {
        position: relative;
    }

    .logo-container {
        position: static;
        width: 100%;
        padding: 14px 20px 10px;
        text-align: center;
    }

    .logo {
        width: min(222px, 68vw);
    }

    .nav-container {
        min-height: 60px;
        padding: 8px 20px;
    }

    .page-servicios .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .hero-video {
        margin-bottom: 38px;
        border-radius: 0 0 20px 20px;
    }

    .page-banner {
        height: 185px;
    }

    .page-banner img {
        padding: 8px 12px;
    }

    .page-servicios .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Navegación pública: tipografía serif de la referencia visual. */
.main-nav a {
    color: #111;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

@media (max-width: 900px) {
    .main-nav a { font-size: 16px; }
}

/* Gallery banners: enlarge the complete artwork instead of constraining it
   to the old narrow 700px presentation. */
.page-gallery .page-banner {
    height: clamp(220px, 31vw, 430px);
    padding: 0;
}

.page-gallery .page-banner img {
    width: min(100%, 1400px);
    max-width: none;
    height: 100%;
    margin: 0 auto;
    padding: 12px clamp(14px, 3vw, 46px);
    border-radius: 0;
    object-fit: contain;
}

@media (max-width: 600px) {
    .page-gallery .page-banner {
        height: 185px;
    }

    .page-gallery .page-banner img {
        padding: 8px 12px;
    }
}

/* Public home: preserve the original video size while guiding the first scroll. */
.hero-video {
    height: auto;
    margin-bottom: 54px;
}

.hero-video .bg-video {
    width: 100%;
    height: auto;
    max-height: min(66vh, 700px);
}

@media (max-width: 600px) {
    .hero-video {
        height: auto;
        margin-bottom: 38px;
    }

    .hero-video .bg-video {
        height: auto;
        max-height: 52vh;
    }
}
