/* 
   Raíz Nutrición - Premium Health-Tech Design System
   Inspiración: ZOE, Levels, Whoop, InsideTracker
*/

:root {
    /* Color Palette */
    --primary: #4A6741;      /* Verde Raíz */
    --primary-light: #6B8E5F;
    --secondary: #A8C69F;    /* Verde Pastel Sanitary */
    --accent-earth: #D7C4B7; /* Marrón Tierra Pastel */
    --beige-soft: #F5F2EE;   /* Beige Suave Background */
    --background: #FFFFFF;    /* Pure White */
    --off-white: #F9FBF9;
    --text-main: #1F2937;    /* Gray 800 for readability */
    --text-muted: #6B7280;   /* Gray 500 */
    --border: #E5E7EB;
    --white: #ffffff;

    /* Spacing & Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.06);
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- Layout --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 10rem 0;
    position: relative;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

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

    /* El botón de CTA se oculta en móvil (está en el menú) */
    header nav > .btn-small { display: none; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 1050;
        list-style: none;
    }

    .nav-links.open {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        opacity: 1;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1;
}

.logo-icon {
    width: 2.2rem;
    height: 2.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
    display: block;
}

.logo-subtitle {
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.42em; /* Adjusted to match the width of 'Raíz' */
    color: var(--primary-light);
    margin-top: 0.1rem;
    margin-left: 0.1rem; /* Fine-tuning */
    display: block;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

/* --- Buttons --- */
.btn {
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(74, 103, 65, 0.2);
    background-color: var(--primary-light);
}

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

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

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(circle at top right, var(--beige-soft) 0%, var(--background) 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-shape {
    position: absolute;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
}

/* --- Trust Block --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: -5rem;
    position: relative;
    z-index: 10;
}

.trust-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.trust-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
}

.trust-card i {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* --- Services --- */
.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    display: block;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--off-white);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    color: var(--primary);
}

/* Blog Card Header Textures */
.texture-microbiota, .texture-nutrition, .texture-performance {
    position: relative;
    overflow: hidden;
}

.texture-microbiota::before, .texture-nutrition::before, .texture-performance::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.texture-microbiota > *, .texture-nutrition > *, .texture-performance > * {
    position: relative;
    z-index: 1;
}

/* Microbiota: Verde pastel + patrón de bacterias/cepas sutil */
.texture-microbiota {
    background: linear-gradient(135deg, #E8F5E9 0%, #F5F2EE 100%);
}
.texture-microbiota::before {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234A6741' opacity='0.08'%3E%3Crect x='20' y='20' width='16' height='8' rx='4' transform='rotate(45 28 24)'/%3E%3Ccircle cx='50' cy='80' r='5'/%3E%3Ccircle cx='58' cy='75' r='4'/%3E%3Crect x='70' y='30' width='20' height='10' rx='5' transform='rotate(-30 80 35)'/%3E%3Ccircle cx='15' cy='70' r='6'/%3E%3Cpath d='M40 40 Q 45 35 50 40 T 60 40' stroke='%234A6741' stroke-width='2' fill='none'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px;
}

/* Nutrición: Beige/Tierra pastel + patrón de hojas/alimentos sutil */
.texture-nutrition {
    background: linear-gradient(135deg, #F5F2EE 0%, #D7C4B7 100%);
}
.texture-nutrition::before {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%238c7b6e' opacity='0.07'%3E%3Cpath d='M20 20 Q 35 5 45 20 Q 35 35 20 20 Z' transform='rotate(15 30 20)'/%3E%3Ccircle cx='75' cy='75' r='8'/%3E%3Cpath d='M75 67 Q 80 55 85 63 Q 80 68 75 67 Z'/%3E%3Cpath d='M30 85 Q 15 70 5 85 Q 15 100 30 85 Z' transform='rotate(-45 15 85)'/%3E%3Ccircle cx='80' cy='25' r='6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 90px;
}

/* Rendimiento: Azul pastel + patrón de pesas/rayos sutil */
.texture-performance {
    background: linear-gradient(135deg, #E0E7FF 0%, #F5F2EE 100%);
}
.texture-performance::before {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%237e93b8' opacity='0.08'%3E%3Crect x='20' y='25' width='24' height='6' rx='2' transform='rotate(30 32 28)'/%3E%3Crect x='13' y='18' width='8' height='18' rx='2' transform='rotate(30 17 27)'/%3E%3Crect x='41' y='34' width='8' height='18' rx='2' transform='rotate(30 45 43)'/%3E%3Cpath d='M70 60 L 82 60 L 75 75 L 88 75 L 68 95 L 75 78 L 62 78 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100px;
}

/* --- Planes (Pricing) --- */
.planes {
    background-color: var(--off-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 5;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 2rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pricing-features li i {
    color: var(--secondary);
}

/* --- Microbiota Advanced --- */
.microbiota-advanced {
    background: linear-gradient(180deg, var(--white) 0%, var(--beige-soft) 100%);
}

.micro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.test-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.test-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.test-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* --- Timeline --- */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
    margin-top: 4rem;
}

.timeline::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border);
    z-index: -1;
}

.timeline-step {
    text-align: center;
}

/* Blog/Science Refined */
.blog-card {
    overflow: hidden;
    background: var(--white);
    padding: 0; /* Removing internal padding to allow image to span full width */
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.blog-img-wrapper {
    position: relative;
    height: 240px;
    background: var(--beige-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-img-wrapper i {
    color: var(--primary);
    opacity: 0.2;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-img-wrapper i {
    transform: scale(1.2);
    opacity: 0.4;
}

.blog-category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.blog-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
    text-align: justify;
}

.read-more {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.read-more:hover {
    gap: 0.8rem;
}

/* FAQ Accordion */
.step-num {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* =============================================
   RESPONSIVE DESIGN - Sistema completo
   Breakpoints: 1100px | 768px | 480px
   ============================================= */

/* --- TABLET GRANDE (1100px) --- */
@media (max-width: 1100px) {
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .pricing-card.featured { transform: scale(1.02); }
    .timeline { grid-template-columns: 1fr 1fr; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin: 0 auto 3.5rem; }
    .hero-btns { justify-content: center; }
    .hero h1 { font-size: 3.5rem; }
    .micro-grid { grid-template-columns: 1fr; gap: 4rem; }
    .section-title { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 3rem !important; }
}

/* --- TABLET / MÓVIL GRANDE (768px) --- */
@media (max-width: 768px) {
    /* Base */
    section { padding: 5rem 0; }
    .container { padding: 0 1.5rem; }
    .section-title { font-size: 2.2rem; }
    .section-header { margin-bottom: 3rem; }

    /* Navegación: ocultar links, mostrar solo logo y CTA */
    .nav-links { display: none; }
    header nav .btn-small { padding: 0.5rem 1rem; font-size: 0.8rem; }

    /* Hero */
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 4rem; }
    .hero h1 { font-size: 2.6rem; }
    .hero p { font-size: 1.1rem; }
    .hero-btns { flex-direction: column; align-items: center; gap: 1rem; }
    .hero-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
    .hero-image { display: none; } /* Ocultar imagen hero en móvil para limpieza */

    /* Trust cards */
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: -3rem; }
    .trust-card { padding: 1.5rem; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }

    /* Planes */
    .pricing-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card { padding: 2.5rem 2rem; }

    /* Microbiota */
    .micro-grid { grid-template-columns: 1fr; gap: 3rem; }
    .test-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .video-container { margin-bottom: 0; }

    /* Timeline */
    .timeline { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .timeline::after { display: none; }

    /* Blog */
    .grid { grid-template-columns: 1fr !important; }

    /* Calculadoras */
    .calculadoras-grid { grid-template-columns: 1fr; gap: 2rem; }
    .calc-card { padding: 2rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }

    /* CTA Final */
    .cta-final .hero-btns { flex-direction: column; align-items: center; }
    .cta-final .btn { width: 100%; max-width: 320px; }
}

/* --- MÓVIL PEQUEÑO (480px) --- */
@media (max-width: 480px) {
    /* Base */
    .container { padding: 0 1.2rem; }
    .section-title { font-size: 1.9rem; }

    /* Hero */
    .hero h1 { font-size: 2.1rem; }
    .hero p { font-size: 1rem; }

    /* Trust 1 columna */
    .trust-grid { grid-template-columns: 1fr; }

    /* Tests microbiota: 1 columna */
    .test-grid { grid-template-columns: 1fr; }
    .test-card { padding: 1.5rem; }

    /* Opciones del formulario: 1 columna */
    .options-grid { grid-template-columns: 1fr !important; }

    /* Timeline 1 columna */
    .timeline { grid-template-columns: 1fr; }

    /* Precios */
    .price { font-size: 2.5rem; }

    /* Botones */
    .btn { padding: 0.9rem 1.5rem; font-size: 0.9rem; }

    /* Blog */
    .blog-img-wrapper { height: 180px; }

    /* Sobre mí - ocultar imagen en móvil muy pequeño */
    #sobre-mi .hero-image { display: none; }
}

/* --- Calculadoras responsive (ya existente) --- */
@media (max-width: 900px) {
    .calculadoras-grid { grid-template-columns: 1fr; }
}
/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

/* --- Questionnaire Overlay --- */
.questionnaire-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    display: none;
    overflow-y: auto;
    padding: 4rem 1rem;
}

.questionnaire-overlay.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideUp 0.5s ease;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(74, 103, 65, 0.1);
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.option-card {
    padding: 1.5rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.option-card:hover, .option-card.selected {
    border-color: var(--primary);
    background-color: var(--off-white);
}

.option-card.selected {
    background-color: var(--primary);
    color: var(--white);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 10px;
    margin-bottom: 3rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    width: 25%;
    transition: width 0.5s ease;
}

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

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* --- Calculators Section --- */
.calculadoras-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.calc-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.calc-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.calc-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calc-result {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--off-white);
    border-radius: var(--radius-md);
    text-align: center;
    display: none; /* Hidden by default */
}

.calc-result.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.macro-item {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.macro-val {
    font-weight: 700;
    color: var(--primary);
    display: block;
}

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