:root {
    --color-crema: #fff8e8;
    --color-amarillo: #f6c343;
    --color-verde: #5f7f3f;
    --color-tierra: #7a4f2a;
    --color-texto: #2f2f2f;
}

body {
    color: var(--color-texto);
    background-color: #fffdf7;
}

.brand-text {
    color: var(--color-tierra);
}

.hero-cascaron {
    background: linear-gradient(135deg, #fff3c4 0%, #fffdf7 55%, #e8f2dc 100%);
    padding: 90px 0;
}

.hero-badge {
    display: inline-block;
    background-color: #ffffff;
    color: var(--color-verde);
    border: 1px solid rgba(95, 127, 63, 0.25);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--color-tierra);
    line-height: 1.05;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 620px;
}

.hero-card {
    background-color: white;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(122, 79, 42, 0.12);
}

.hero-egg {
    font-size: 7rem;
    line-height: 1;
}

.section-title {
    color: var(--color-tierra);
    font-weight: 800;
}

.feature-card,
.product-card {
    background-color: white;
    border: 1px solid rgba(122, 79, 42, 0.08);
    border-radius: 22px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-verde);
}

.icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--color-crema);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 16px;
}

.cta-section {
    background-color: var(--color-verde);
    color: white;
    border-radius: 30px;
    padding: 45px;
}

.footer-cascaron {
    background-color: #3c2a1a;
    color: #fff8e8;
}

.footer-link {
    color: #f6c343;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    z-index: 999;
}

.whatsapp-float:hover {
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-cascaron {
        padding: 60px 0;
    }

    .cta-section {
        padding: 30px 22px;
    }
}

.navbar-cascaron {
    min-height: 125px;
}

.navbar-logo {
    width: 120px !important;
    height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.navbar-brand span {
    font-size: 1.45rem;
    font-weight: 700;
}

@media (max-width: 576px) {
    .navbar-logo {
        width: 72px !important;
        height: 72px !important;
        max-width: 72px !important;
        max-height: 72px !important;
    }

    .navbar-brand span {
        font-size: 1rem;
    }
}

.home-slider {
    margin-top: 0;
}

.home-slider .carousel-item {
    height: 78vh;
    min-height: 520px;
    max-height: 820px;
}

.home-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.20) 45%,
        rgba(0, 0, 0, 0.10) 100%
    );
}

.home-slide-caption {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 600px;
    color: #fff;
    z-index: 2;
}

.home-slide-caption h1,
.home-slide-caption h2 {
    font-size: clamp(2rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 18px;
}

.home-slide-caption p {
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.home-slide-caption .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .home-slider .carousel-item {
        height: 62vh;
        min-height: 430px;
    }

    .home-slide-caption {
        left: 6%;
        right: 6%;
        max-width: unset;
    }

    .home-slide-caption p {
        font-size: 1rem;
    }
}

/* ===========================
   SLIDER HOME HUEVOS CASCARÓN
   =========================== */

.home-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #fff8e8;
}

.home-slider .carousel,
.home-slider .carousel-inner,
.home-slider .carousel-item {
    width: 100%;
}

.home-slider .carousel-item {
    position: relative !important;
    height: calc(100vh - 125px);
    min-height: 620px;
    max-height: 820px;
    overflow: hidden;
}

.home-slide-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
    display: block;
}

.home-slide-overlay {
    position: absolute !important;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(60, 42, 26, 0.72) 0%,
            rgba(60, 42, 26, 0.48) 38%,
            rgba(60, 42, 26, 0.18) 70%,
            rgba(60, 42, 26, 0.05) 100%
        );
}

.home-slide-caption {
    position: absolute !important;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 640px;
    color: #ffffff;
    padding: 34px 38px;
    border-radius: 28px;
    background: rgba(60, 42, 26, 0.42);
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-slide-badge {
    display: inline-block;
    background-color: rgba(246, 195, 67, 0.95);
    color: #3c2a1a;
    font-weight: 800;
    padding: 9px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.home-slide-caption h1,
.home-slide-caption h2 {
    color: #ffffff;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 18px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    font-size: clamp(2.2rem, 4.6vw, 4.8rem);
}

.home-slide-caption p {
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.22rem;
    line-height: 1.6;
    margin-bottom: 26px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.home-slide-caption .btn {
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.home-slider .carousel-indicators {
    z-index: 3;
    margin-bottom: 28px;
}

.home-slider .carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #f6c343;
    opacity: 0.55;
}

.home-slider .carousel-indicators .active {
    opacity: 1;
}

.home-slider .carousel-control-prev,
.home-slider .carousel-control-next {
    z-index: 3;
    width: 7%;
}

/* Mobile */
@media (max-width: 768px) {
    .home-slider .carousel-item {
        height: auto;
        min-height: 660px;
    }

    .home-slide-image {
        height: 660px !important;
        object-position: center center;
    }

    .home-slide-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(60, 42, 26, 0.18) 0%,
                rgba(60, 42, 26, 0.65) 48%,
                rgba(60, 42, 26, 0.88) 100%
            );
    }

    .home-slide-caption {
        top: auto;
        left: 20px;
        right: 20px;
        bottom: 70px;
        transform: none;
        max-width: none;
        padding: 26px 24px;
        border-radius: 24px;
    }

    .home-slide-caption h1,
    .home-slide-caption h2 {
        font-size: 2.1rem;
    }

    .home-slide-caption p {
        font-size: 1rem;
    }
}

/* ===========================
   ADMIN HUEVOS CASCARÓN
   =========================== */

.admin-body {
    background-color: #f7f3ea;
}

.admin-navbar {
    background-color: #3c2a1a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.16);
}

.admin-navbar-logo {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    object-fit: contain;
}

.admin-card {
    background-color: #ffffff;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(60, 42, 26, 0.08);
}

.admin-stat {
    border-radius: 22px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(60, 42, 26, 0.08);
    height: 100%;
}

.admin-stat-number {
    font-size: 2.3rem;
    font-weight: 900;
    color: #7a4f2a;
}

.admin-table th {
    color: #7a4f2a;
    white-space: nowrap;
}

.admin-table td {
    vertical-align: middle;
}

.login-card {
    max-width: 480px;
    margin: 0 auto;
}

.admin-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a .admin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(60, 42, 26, 0.14);
}

/* ===========================
   BLOG PÚBLICO HUEVOS CASCARÓN
   =========================== */

.blog-hero {
    background:
        radial-gradient(circle at top left, rgba(246, 195, 67, 0.28), transparent 32%),
        linear-gradient(135deg, #fff8e8 0%, #fffdf7 48%, #e8f2dc 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.blog-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(95, 127, 63, 0.10);
}

.blog-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.04;
    font-weight: 900;
    color: var(--color-tierra);
}

.blog-hero-text {
    font-size: 1.22rem;
    line-height: 1.7;
    color: #5d5d5d;
    max-width: 680px;
    margin-bottom: 28px;
}

.blog-hero-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(122, 79, 42, 0.10);
    box-shadow: 0 24px 60px rgba(122, 79, 42, 0.12);
    border-radius: 32px;
    padding: 38px;
    position: relative;
    z-index: 1;
}

.blog-hero-icon {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #fff8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 22px;
}

.blog-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(122, 79, 42, 0.08);
    box-shadow: 0 16px 42px rgba(60, 42, 26, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 58px rgba(60, 42, 26, 0.12);
}

.blog-card-img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    display: block;
}

.blog-card-placeholder {
    height: 245px;
    background:
        linear-gradient(135deg, rgba(95, 127, 63, 0.18), rgba(246, 195, 67, 0.22)),
        #fff8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-placeholder span {
    font-size: 4rem;
}

.blog-card-body {
    padding: 28px;
}

.blog-category {
    display: inline-flex;
    align-items: center;
    background-color: #e8f2dc;
    color: var(--color-verde);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 0.84rem;
    font-weight: 800;
}

.blog-date {
    display: inline-flex;
    align-items: center;
    background-color: #fff8e8;
    color: var(--color-tierra);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 0.84rem;
    font-weight: 700;
}

.blog-card-title {
    font-size: 1.45rem;
    line-height: 1.22;
    margin-bottom: 14px;
}

.blog-card-title a {
    color: var(--color-tierra);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--color-verde);
}

.blog-card-summary {
    color: #666;
    line-height: 1.65;
    margin-bottom: 22px;
}

.blog-read-more {
    color: var(--color-verde);
    font-weight: 800;
    text-decoration: none;
}

.blog-read-more span {
    display: inline-block;
    transition: transform 0.16s ease;
}

.blog-read-more:hover span {
    transform: translateX(4px);
}

.blog-empty {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(122, 79, 42, 0.08);
    box-shadow: 0 16px 42px rgba(60, 42, 26, 0.07);
    padding: 48px;
    text-align: center;
}

/* Artículo individual */

.article-hero {
    background:
        linear-gradient(135deg, #fff8e8 0%, #fffdf7 52%, #e8f2dc 100%);
    padding: 80px 0 60px;
}

.article-title {
    color: var(--color-tierra);
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.08;
    font-weight: 900;
}

.article-summary {
    color: #626262;
    font-size: 1.22rem;
    line-height: 1.7;
    max-width: 820px;
    margin: 22px auto;
}

.article-main-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 24px 60px rgba(60, 42, 26, 0.12);
}

.article-content {
    background: #ffffff;
    border-radius: 30px;
    padding: 42px;
    box-shadow: 0 16px 42px rgba(60, 42, 26, 0.07);
    border: 1px solid rgba(122, 79, 42, 0.08);
    color: #444;
    font-size: 1.1rem;
    line-height: 1.85;
}

.article-content p {
    margin-bottom: 1.35rem;
}

.article-content h2,
.article-content h3 {
    color: var(--color-tierra);
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1.4rem;
}

.article-footer-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0;
    }

    .blog-hero-card,
    .article-content {
        padding: 28px;
    }

    .article-hero {
        padding: 60px 0 40px;
    }
}

.article-image-section {
    margin-top: -28px;
    position: relative;
    z-index: 2;
}

.article-image-wrapper {
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(60, 42, 26, 0.16);
    border: 8px solid #ffffff;
    background-color: #ffffff;
}

.article-main-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.article-image-placeholder {
    border-radius: 34px;
    padding: 70px 34px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(95, 127, 63, 0.18), rgba(246, 195, 67, 0.20)),
        #fff8e8;
    box-shadow: 0 26px 70px rgba(60, 42, 26, 0.12);
    border: 8px solid #ffffff;
    color: #3c2a1a;
}

.article-image-placeholder-icon {
    font-size: 4rem;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .article-image-section {
        margin-top: -12px;
    }

    .article-main-img {
        height: 280px;
    }

    .article-image-placeholder {
        padding: 48px 24px;
    }
}

/* ===========================
   RECETAS HUEVOS CASCARÓN
   =========================== */

.recetas-hero,
.receta-detail-hero {
    background:
        radial-gradient(circle at top left, rgba(246, 195, 67, 0.32), transparent 30%),
        linear-gradient(135deg, #fff8e8 0%, #fffdf7 50%, #e8f2dc 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.recetas-hero::after,
.receta-detail-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(122, 79, 42, 0.08);
}

.recetas-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.04;
    font-weight: 900;
    color: var(--color-tierra);
}

.recetas-hero-text {
    font-size: 1.22rem;
    line-height: 1.7;
    color: #5d5d5d;
    max-width: 680px;
    margin-bottom: 28px;
}

.recetas-hero-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(122, 79, 42, 0.10);
    box-shadow: 0 24px 60px rgba(122, 79, 42, 0.12);
    border-radius: 32px;
    padding: 38px;
    position: relative;
    z-index: 1;
}

.recetas-hero-icon {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #fff8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 22px;
}

.receta-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(122, 79, 42, 0.08);
    box-shadow: 0 16px 42px rgba(60, 42, 26, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.receta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 58px rgba(60, 42, 26, 0.12);
}

.receta-card-img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    display: block;
}

.receta-card-placeholder {
    height: 245px;
    background:
        linear-gradient(135deg, rgba(246, 195, 67, 0.26), rgba(95, 127, 63, 0.18)),
        #fff8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.receta-card-placeholder span {
    font-size: 4rem;
}

.receta-card-body {
    padding: 28px;
}

.receta-card-title {
    font-size: 1.45rem;
    line-height: 1.22;
    margin-bottom: 14px;
}

.receta-card-title a {
    color: var(--color-tierra);
    text-decoration: none;
}

.receta-card-title a:hover {
    color: var(--color-verde);
}

.receta-card-summary {
    color: #666;
    line-height: 1.65;
    margin-bottom: 22px;
}

.receta-pill {
    display: inline-flex;
    align-items: center;
    background-color: #fff8e8;
    color: var(--color-tierra);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 800;
}

.receta-pill-green {
    background-color: #e8f2dc;
    color: var(--color-verde);
}

.receta-side-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 34px;
    box-shadow: 0 16px 42px rgba(60, 42, 26, 0.07);
    border: 1px solid rgba(122, 79, 42, 0.08);
    height: 100%;
}

.receta-content {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.75;
}

.receta-content ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.receta-content li {
    margin-bottom: 0.65rem;
}

@media (max-width: 768px) {
    .recetas-hero,
    .receta-detail-hero {
        padding: 60px 0;
    }

    .recetas-hero-card {
        padding: 28px;
    }

    .receta-side-card {
        padding: 28px;
    }
}

/* ===========================
   IMAGEN DETALLE RECETA
   =========================== */

.receta-image-section {
    margin-top: -28px;
    position: relative;
    z-index: 2;
}

.receta-image-wrapper {
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(60, 42, 26, 0.16);
    border: 8px solid #ffffff;
    background-color: #ffffff;
}

.receta-main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.receta-image-placeholder {
    border-radius: 34px;
    padding: 78px 34px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(246, 195, 67, 0.24), rgba(95, 127, 63, 0.18)),
        #fff8e8;
    box-shadow: 0 26px 70px rgba(60, 42, 26, 0.12);
    border: 8px solid #ffffff;
    color: #3c2a1a;
}

.receta-image-placeholder-icon {
    font-size: 4.5rem;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .receta-image-section {
        margin-top: -12px;
    }

    .receta-main-img {
        height: 300px;
    }

    .receta-image-placeholder {
        padding: 52px 24px;
    }
}

/* ===========================
   AVICOLAADMIN PRO
   =========================== */

.avicola-body {
    background:
        radial-gradient(circle at top left, rgba(95, 127, 63, 0.12), transparent 32%),
        #f4f0e6;
}

.avicola-navbar {
    background: linear-gradient(135deg, #1f3b22 0%, #3c5f2e 55%, #7a4f2a 100%);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.avicola-navbar-logo {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    object-fit: contain;
}

.avicola-card {
    background-color: #ffffff;
    border: 0;
    border-radius: 26px;
    box-shadow: 0 16px 44px rgba(31, 59, 34, 0.10);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a .avicola-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 58px rgba(31, 59, 34, 0.16);
}

.avicola-stat {
    border-radius: 24px;
    padding: 26px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(31, 59, 34, 0.10);
    height: 100%;
}

.avicola-stat-number {
    font-size: 2.35rem;
    font-weight: 900;
    color: #3c5f2e;
}

.avicola-section-title {
    color: #1f3b22;
    font-weight: 900;
}

.avicola-pill {
    display: inline-flex;
    align-items: center;
    background: #e8f2dc;
    color: #3c5f2e;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 800;
    font-size: 0.9rem;
}