/* Yirvo - Smart Meals | Senior-friendly */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --font-body: 'DM Serif Text', Georgia, serif;
    --font-head: 'DM Sans', 'Segoe UI', sans-serif;
    --color-bg: #f0f4f8;
    --color-text: #1a2d3a;
    --color-accent: #0d9488;
    --color-accent-light: #14b8a6;
    --color-card: #ffffff;
    --color-footer: #0f766e;
    --line-height: 1.75;
    --font-size-body: 18px;
    --font-size-small: 16px;
    --font-size-h1: 2.25rem;
    --font-size-h2: 1.75rem;
    --font-size-h3: 1.35rem;
}

html { font-size: 100%; scroll-behavior: smooth; }

body { font-family: var(--font-body); font-size: var(--font-size-body); line-height: var(--line-height); color: var(--color-text); background: var(--color-bg); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.navbar { background: var(--color-footer); padding: 1rem 0; box-shadow: 0 2px 12px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }

.navbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }

.logo h1 { color: #ccfbf1; font-size: var(--font-size-h1); font-weight: 700; letter-spacing: 1px; }

.nav-links { display: flex; list-style: none; gap: 2rem; flex-wrap: wrap; }

.nav-links a { color: #ccfbf1; text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: var(--font-size-small); transition: color 0.2s; }

.nav-links a:hover { color: #99f6e4; }

.hero { background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%); color: #f0fdfa; padding: 3.5rem 24px; text-align: center; }

.hero-content h2 { font-size: 2rem; margin-bottom: 1rem; letter-spacing: 0.5px; }

.hero-content p { font-size: 1.2rem; margin-bottom: 1.5rem; opacity: 0.95; max-width: 600px; margin-left: auto; margin-right: auto; }

.cta-button { display: inline-block; background: var(--color-accent); color: white; padding: 0.9rem 2rem; border-radius: 8px; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1rem; transition: background 0.2s; }

.cta-button:hover { background: var(--color-accent-light); }

.products-section { background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-footer) 100%); padding: 3rem 24px; color: #f0fdfa; }

.products-section.bottom { margin-top: 0; }

.products-header { text-align: center; margin-bottom: 2rem; }

.promo-badge { display: inline-block; background: rgba(255,255,255,0.2); color: white; padding: 0.5rem 1.25rem; border-radius: 8px; font-weight: 700; font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 1px; }

.promo-badge.urgent { animation: pulse 1.5s infinite; }

.products-header h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }

.products-header p { font-size: 1.1rem; opacity: 0.95; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }

.product-card { background: white; border-radius: 10px; padding: 1.5rem 1rem; text-align: center; text-decoration: none; color: var(--color-text); transition: all 0.3s; border: 2px solid transparent; position: relative; overflow: hidden; }

.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }

.product-card.featured { border-color: var(--color-accent); transform: scale(1.02); }

.product-card.best-value { border-color: var(--color-footer); background: #f0f4f8; }

.product-ribbon { position: absolute; top: 1rem; right: -2.25rem; background: var(--color-accent); color: white; padding: 0.4rem 2.5rem; font-size: 0.7rem; font-weight: 700; transform: rotate(45deg); }

.product-ribbon.gold { background: var(--color-footer); }

.product-badge { display: inline-block; background: var(--color-footer); color: white; padding: 0.4rem 1rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; margin-bottom: 0.75rem; }

.best-value .product-badge { background: var(--color-accent); }

.product-image { margin-bottom: 1rem; }

.product-image img { max-width: 180px; height: auto; }

.bottles-count { font-size: 1.25rem; font-weight: 700; color: var(--color-footer); margin-bottom: 0.25rem; }

.supply { color: #666; font-size: 0.9rem; margin-bottom: 0.75rem; }

.price-box { margin-bottom: 0.5rem; }

.price { font-size: 2.25rem; font-weight: 700; color: var(--color-accent); }

.per-bottle { font-size: 0.95rem; color: #666; }

.savings { color: var(--color-footer); font-weight: 700; margin-bottom: 0.5rem; font-size: 0.95rem; }

.savings.highlight { font-size: 1rem; color: var(--color-accent); }

.savings i { margin-right: 0.25rem; }

.total { font-size: 1rem; margin-bottom: 0.5rem; }

.total s { color: #999; }

.shipping { color: #666; font-size: 0.9rem; margin-bottom: 1rem; }

.shipping.free { color: var(--color-footer); font-weight: 700; }

.product-cta { background: var(--color-accent); color: white; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; display: inline-block; transition: background 0.2s; }

.best-value .product-cta { background: var(--color-footer); }

.product-card:hover .product-cta { background: var(--color-accent-light); }

.best-value .product-card:hover .product-cta { background: #0d5d56; }

.pulse { animation: pulse 2s infinite; }

@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.guarantee-box { display: flex; align-items: center; justify-content: center; gap: 1.5rem; background: rgba(255,255,255,0.1); padding: 1.5rem 2rem; border-radius: 10px; max-width: 700px; margin: 0 auto 2rem; border: 2px solid rgba(255,255,255,0.2); }

.guarantee-img { width: 100px; height: auto; }

.guarantee-text h4 { font-size: 1.2rem; margin-bottom: 0.5rem; color: #f0fdfa; }

.guarantee-text p { opacity: 0.95; line-height: 1.6; font-size: 1rem; }

.trust-badges { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }

.trust-badges img { height: 50px; opacity: 0.9; }

.recipes-section { padding: 3rem 24px 4rem; }

.section-title { text-align: center; font-size: var(--font-size-h2); margin-bottom: 0.75rem; color: var(--color-footer); }

.section-subtitle { text-align: center; font-size: 1.1rem; color: var(--color-accent); margin-bottom: 2.5rem; }

.recipe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }

.recipe-card { background: var(--color-card); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: box-shadow 0.3s; cursor: pointer; border: 1px solid #e2e8f0; }

.recipe-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); }

.recipe-card > img { width: 100%; height: 220px; object-fit: cover; }

.recipe-content { padding: 1.5rem; }

.recipe-content h3 { font-size: var(--font-size-h3); margin-bottom: 0.75rem; color: var(--color-footer); }

.recipe-content p { color: #444; margin-bottom: 1rem; font-size: var(--font-size-small); }

.recipe-meta { display: flex; gap: 1.5rem; color: var(--color-accent); font-weight: 600; font-size: var(--font-size-small); }

.view-recipe-btn { margin-top: 1rem; padding: 0.75rem 1.5rem; background: var(--color-accent); color: white; border: none; border-radius: 8px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; cursor: pointer; transition: background 0.2s; }

.view-recipe-btn:hover { background: var(--color-accent-light); }

.recipe-details { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background: #e0f2f1; }

.recipe-details.active { max-height: 2200px; transition: max-height 0.5s ease-in; padding: 1.5rem; border-top: 2px solid var(--color-accent); }

.recipe-section { margin-bottom: 1.5rem; }

.recipe-section h4 { color: var(--color-footer); font-size: 1.2rem; margin-bottom: 0.75rem; }

.recipe-section ul, .recipe-section ol { padding-left: 1.5rem; color: var(--color-text); font-size: var(--font-size-small); }

.recipe-section li { margin-bottom: 0.5rem; }

footer { background: var(--color-footer); color: #ccfbf1; padding: 2.5rem 24px 1.5rem; }

.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-bottom: 2rem; }

.footer-section h3, .footer-section h4 { color: #f0fdfa; margin-bottom: 0.75rem; font-size: 1.2rem; }

.footer-section p, .footer-section ul { font-size: var(--font-size-small); line-height: var(--line-height); }

.footer-section ul { list-style: none; }

.footer-section ul li { margin-bottom: 0.5rem; }

.footer-section a { color: #ccfbf1; text-decoration: none; }

.footer-section a:hover { text-decoration: underline; }

.disclaimer-text { text-align: center; font-size: 15px; opacity: 0.9; padding: 1rem; border-top: 1px solid rgba(255,255,255,0.15); margin-bottom: 1rem; }

.copyright { text-align: center; font-size: var(--font-size-small); }

@media (max-width: 992px) { .products-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; } .product-card.featured { transform: none; } .guarantee-box { flex-direction: column; text-align: center; } }

@media (max-width: 768px) { .nav-links { gap: 1rem; } .hero-content h2 { font-size: 1.75rem; } .section-title { font-size: 1.5rem; } .recipe-grid { grid-template-columns: 1fr; } }
