:root {
    --primary-color: #2e4823;
    --secondary-color: #213223;
    --accent-color: #4a6b3a;
    --soft-bg: #f7f5ef;
    --warm-bg: #fbf8f1;
    --text-color: #2b2b2b;
    --muted-color: #6b6b6b;
    --white: #ffffff;
    --whatsapp: #25d366;
    --whatsapp-hover: #1ebe57;
    --instagram: #E1306C;
    --instagram-hover: #C13584;
    --shadow-soft: 0 4px 20px rgba(33, 50, 35, 0.08);
    --shadow-hover: 0 12px 32px rgba(33, 50, 35, 0.12);
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--white);
}

h1, h2, h3 {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

section { scroll-margin-top: 80px; }

/* Navbar */
.aiira-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(33, 50, 35, 0.06);
    transition: background 0.3s ease;
}
.aiira-nav .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 0.9rem !important;
}
.aiira-nav .nav-link:hover { color: var(--accent-color); }
.navbar-brand img { transition: transform 0.3s ease; }
.navbar-brand img:hover { transform: scale(1.05); }

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.75rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.2s ease;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 30px;
    font-weight: 500;
    padding: 0.6rem 1.4rem;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-whatsapp {
    background-color: var(--whatsapp);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 500;
    padding: 0.85rem 1.75rem;
    transition: all 0.2s ease;
}
.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}
.btn-instagram {
    background-color: var(--instagram);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 500;
    padding: 0.85rem 1.75rem;
    transition: all 0.2s ease;
}
.btn-instagram:hover {
    background-color: var(--instagram-hover);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}
.btn i { margin-right: 0.5rem; }

/* Hero */
.hero-section {
    position: relative;
    width: 100%;
    height: clamp(560px, 92vh, 820px);
    overflow: hidden;
    margin-top: 0;
}
#heroCarousel, #heroCarousel .carousel-inner, #heroCarousel .carousel-item { height: 100%; }
#heroCarousel .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.65);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    color: var(--white);
}
.hero-copy {
    max-width: 720px;
    padding: 2rem 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 1rem;
    opacity: 0.95;
}
.hero-copy h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero-lead {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-cta .btn-primary {
    background-color: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    color: var(--white);
}
.hero-cta .btn-primary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* Sections shared */
.section-lead {
    color: var(--muted-color);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.subseccion-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.subseccion-lead {
    color: var(--muted-color);
    text-align: center;
}

/* Nosotros */
.nosotros-section { background: var(--warm-bg); }
.nosotros-section .lead {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}
.nosotros-section .highlight {
    display: block;
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-style: italic;
    font-size: 1.1rem;
}

/* Pilares */
.pilares-section { background: var(--soft-bg); }
.pilar-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pilar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.pilar-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.85rem;
}
.pilar-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--primary-color);
}
.pilar-card p {
    font-size: 0.88rem;
    color: var(--muted-color);
    margin: 0;
}

/* Productos */
.productos-section { background: var(--white); }
.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.product-card > img,
.product-card__media img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--soft-bg);
}
.product-card__media { position: relative; }
.product-card .card-body {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-card .card-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}
.card-activos {
    color: var(--accent-color);
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}
.card-ideal {
    font-size: 0.88rem;
    color: var(--muted-color);
    margin-bottom: 0.75rem;
}
.card-ideal span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 0.4rem;
}
.card-promesa {
    color: var(--text-color);
    margin-bottom: 1rem;
}
.benefits-list {
    padding-left: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}
.benefits-list li {
    margin-bottom: 0.35rem;
    font-size: 0.93rem;
}
.card-nota { color: var(--muted-color); margin-bottom: 0.5rem; }
.card-precio {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.05rem;
}
.product-card .btn { margin-top: auto; }

.product-card--featured .product-card__media img { height: 320px; }
.proximamente-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

/* Kits */
.kits-section { background: var(--warm-bg); }
.kit-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.kit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.kit-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--soft-bg);
}
.kit-card__body {
    padding: 1.2rem 1.3rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.kit-card__body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.kit-card__body p { font-size: 0.92rem; color: var(--muted-color); margin-bottom: 0.6rem; }
.kit-card__precio {
    color: var(--primary-color) !important;
    font-weight: 600;
    margin-bottom: 1rem !important;
}
.kit-card .btn { margin-top: auto; }
.kit-footer {
    color: var(--muted-color);
    font-style: italic;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Cómo usar */
.como-usar-section { background: var(--soft-bg); }
.step-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.step-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.step-body {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
}
.step-number {
    display: inline-flex;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-weight: 600;
}
.step-body h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.step-body p { color: var(--muted-color); margin: 0; }

/* Por qué Aïra */
.porque-section { background: var(--white); }
.benefit-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.benefit-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.benefit-card > div { padding: 1.5rem; }
.benefit-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.benefit-card p { color: var(--muted-color); margin: 0; }

/* Contacto */
.contacto-section { background: var(--warm-bg); }
.contacto-section h2 { margin-bottom: 1rem; }
.contacto-section .lead { color: var(--text-color); }
.contacto-cta .btn { font-size: 1.05rem; }
.contacto-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: var(--muted-color);
    font-size: 0.95rem;
}
.contacto-meta i { color: var(--primary-color); margin-right: 0.4rem; }

/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--white);
}
.site-footer img { filter: brightness(0) invert(1); opacity: 0.95; }
.site-footer a {
    color: var(--white);
    font-size: 1.4rem;
    margin-left: 0.85rem;
    transition: opacity 0.2s ease;
}
.site-footer a:hover { opacity: 0.7; }

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.9s ease-out; }

/* Responsive */
@media (max-width: 768px) {
    section { padding: 40px 0; }
    .hero-section { height: clamp(520px, 80vh, 700px); }
    .hero-copy h1 { font-size: 1.9rem; }
    .hero-lead { font-size: 1rem; }
    .pilar-card img { height: 110px; }
    .product-card > img,
    .product-card__media img { height: 240px; }
    .kit-card img { height: 200px; }
    .step-card img, .benefit-card img { height: 200px; }
    .contacto-meta { flex-direction: column; gap: 0.5rem; }
    .site-footer { text-align: center; }
    .site-footer .text-md-end { text-align: center !important; }
    .site-footer a { margin: 0 0.5rem; }
}
