/* ============================================
   VIVE MÁS NUTRITION — Brand Styles
   Palette: Terracotta + Sand
   ============================================ */

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

:root {
    --color-terracotta: #C0603A;
    --color-terracotta-dark: #A04E2E;
    --color-terracotta-light: #D4845E;
    --color-sand: #FDF0E5;
    --color-sand-mid: #F5E0CC;
    --color-sand-dark: #E8CDB8;
    --color-cream: #FFFAF5;
    --color-warm-white: #FFF9F3;
    --color-dark: #2C1810;
    --color-dark-mid: #4A2C20;
    --color-text: #3D2218;
    --color-text-muted: #7A5C50;
    --color-text-light: #A08070;
    --color-border: #E8D5C5;
    --color-white: #FFFFFF;

    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(44, 24, 16, 0.06), 0 1px 2px rgba(44, 24, 16, 0.04);
    --shadow-md: 0 4px 16px rgba(44, 24, 16, 0.08), 0 2px 4px rgba(44, 24, 16, 0.04);
    --shadow-lg: 0 12px 40px rgba(44, 24, 16, 0.12), 0 4px 12px rgba(44, 24, 16, 0.06);
    --shadow-xl: 0 24px 60px rgba(44, 24, 16, 0.14);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--color-terracotta);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 200;
    font-weight: 500;
}

.skip-link:focus {
    top: var(--space-sm);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 240, 229, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: -0.01em;
}

.logo-dot {
    color: var(--color-terracotta);
    font-weight: 700;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.01em;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-terracotta);
    transition: width var(--transition-base);
}

.nav-menu a:hover {
    color: var(--color-terracotta);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 110;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    padding: 0.8125rem 1.75rem;
    border-radius: 50px;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-terracotta);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(192, 96, 58, 0.3);
}

.btn-primary:hover {
    background: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 96, 58, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-dark);
    border: 1.5px solid var(--color-dark);
}

.btn-outline:hover {
    background: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5625rem 1.25rem;
    font-size: 0.8125rem;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-sm);
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-dark);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-headline em {
    font-style: italic;
    color: var(--color-terracotta);
}

.section-subtext {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 560px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    padding-top: calc(80px + var(--space-xl));
    padding-bottom: var(--space-xl);
    background: var(--color-sand);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle at 2px 2px, var(--color-terracotta) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--color-dark);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
}

.hero-headline em {
    font-style: italic;
    color: var(--color-terracotta);
}

.hero-subheadline {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 520 / 640;
    width: 100%;
    max-width: 480px;
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 2;
}

.floating-card-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-terracotta);
    line-height: 1;
}

.floating-card-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.floating-card--1 {
    bottom: 12%;
    left: -12%;
}

.floating-card--2 {
    top: 10%;
    right: -8%;
}

/* Hero Stats Bar */
.hero-stats {
    background: var(--color-dark);
    padding: var(--space-lg) 0;
    margin-top: auto;
}

.hero-stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-sand);
    letter-spacing: -0.01em;
}

.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(253, 240, 229, 0.2);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-image-col img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--color-terracotta);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.15;
}

.about-text-col {
    padding: var(--space-md) 0;
}

.about-text-col p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.about-values {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.value-icon {
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.value-item span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
    padding: var(--space-3xl) 0;
    background: var(--color-sand);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header .section-subtext {
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-card-image {
    overflow: hidden;
    aspect-ratio: 480 / 360;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card-body {
    padding: var(--space-md);
}

.product-card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.product-card-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

.philosophy-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.philosophy-text p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.philosophy-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 520 / 620;
}

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

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: var(--space-3xl) 0;
    background: var(--color-dark);
    color: var(--color-sand);
}

.visit .section-eyebrow {
    color: var(--color-terracotta-light);
}

.visit .section-headline {
    color: var(--color-sand);
}

.visit .section-headline em {
    color: var(--color-terracotta-light);
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.visit-detail-icon {
    color: var(--color-terracotta-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.visit-detail-value {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-sand);
}

.visit-detail-value a {
    color: var(--color-sand);
    transition: color var(--transition-fast);
}

.visit-detail-value a:hover {
    color: var(--color-terracotta-light);
}

.visit-cta {
    margin-top: var(--space-lg);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    min-height: 420px;
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-dark);
    border-top: 1px solid rgba(253, 240, 229, 0.08);
    padding: var(--space-xl) 0 var(--space-md);
    color: var(--color-sand);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(253, 240, 229, 0.08);
}

.footer-brand .logo-text {
    color: var(--color-sand);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-top: var(--space-sm);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-terracotta-light);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

.footer-contact a {
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--color-terracotta-light);
}

.footer-bottom {
    padding-top: var(--space-md);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    opacity: 0.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-layout {
        gap: var(--space-lg);
    }

    .floating-card--1 {
        left: -5%;
    }

    .floating-card--2 {
        right: -4%;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background: var(--color-sand);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-md);
        padding: var(--space-xl);
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: 105;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu a {
        font-size: 1.125rem;
        color: var(--color-text);
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu .btn {
        margin-top: var(--space-sm);
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(44, 24, 16, 0.4);
        z-index: 100;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Hero mobile */
    .hero {
        min-height: auto;
        padding-top: calc(80px + var(--space-lg));
        padding-bottom: var(--space-lg);
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-subheadline {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-card {
        max-width: 360px;
        margin: 0 auto;
    }

    .floating-card--1 {
        left: 2%;
        bottom: 5%;
    }

    .floating-card--2 {
        right: 2%;
        top: 5%;
    }

    .hero-stats-grid {
        gap: var(--space-md);
    }

    .hero-stat-number {
        font-size: 1.25rem;
    }

    /* About mobile */
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-image-col {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-image-accent {
        display: none;
    }

    /* Products mobile */
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    /* Philosophy mobile */
    .philosophy-layout {
        grid-template-columns: 1fr;
    }

    .philosophy-image {
        max-width: 480px;
        margin: 0 auto;
        aspect-ratio: 480 / 560;
    }

    /* Visit mobile */
    .visit-layout {
        grid-template-columns: 1fr;
    }

    .visit-map {
        min-height: 300px;
    }

    .visit-map iframe {
        min-height: 300px;
    }

    /* Footer mobile */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .hero-headline {
        font-size: 2.25rem;
    }

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

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .floating-card {
        padding: 0.625rem 1rem;
    }

    .floating-card-number {
        font-size: 1.25rem;
    }

    .about-values {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .hero-stats-grid {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .product-card:hover .product-card-image img {
        transform: scale(1.04);
    }
}

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

    html {
        scroll-behavior: auto;
    }

    .product-card:hover .product-card-image img {
        transform: none;
    }

    .product-card:hover {
        transform: none;
    }
}
