:root {
    --ef-blue: #0f2d4a;
    --ef-blue-dark: #0a1f33;
    --ef-gray: #6b7c8f;
    --ef-gray-light: #f4f6f8;
    --ef-emerald: #2ecc71;
    --ef-emerald-dark: #27ae60;
    --ef-orange: #f39200;
    --ef-orange-dark: #e67e22;
    --ef-white: #ffffff;
    --ef-shadow: 0 8px 24px rgba(15, 45, 74, 0.08);
    --ef-radius: 1rem;
    --ef-font-title: 'Montserrat', system-ui, sans-serif;
    --ef-font-body: 'Lato', system-ui, sans-serif;
}

body {
    font-family: var(--ef-font-body);
    color: var(--ef-blue);
    background-color: var(--ef-white);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.about-lead,
.about-eyebrow,
.card-title,
.page-hero h1,
.hero-home h1,
.process-step h3 {
    font-family: var(--ef-font-title);
}

.site-header {
    background: var(--ef-white);
    box-shadow: 0 2px 12px rgba(15, 45, 74, 0.06);
}

.site-logo,
.footer-logo {
    height: auto;
    max-height: 42px;
    width: auto;
}

.navbar .nav-link {
    color: var(--ef-blue);
    font-weight: 500;
    font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--ef-emerald-dark);
}

.btn-efigest-primary {
    background-color: var(--ef-emerald);
    border-color: var(--ef-emerald);
    color: var(--ef-white);
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-efigest-primary:hover,
.btn-efigest-primary:focus {
    background-color: var(--ef-emerald-dark);
    border-color: var(--ef-emerald-dark);
    color: var(--ef-white);
}

.btn-efigest-outline {
    color: var(--ef-emerald-dark);
    border: 2px solid var(--ef-emerald);
    font-weight: 600;
}

.btn-efigest-outline:hover {
    background-color: var(--ef-emerald);
    border-color: var(--ef-emerald);
    color: var(--ef-white);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.btn-whatsapp .bi-whatsapp {
    font-size: 1.2em;
    line-height: 1;
}

/* Hero Home */
.hero-home {
    min-height: 520px;
    background-size: cover;
    background-position: center right;
    position: relative;
}

.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 45, 74, 0.92) 42%, rgba(15, 45, 74, 0.35) 100%);
}

.hero-home .hero-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.hero-home h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.25;
    text-transform: none;
}

.hero-home .btn-efigest-outline.text-white:hover {
    background-color: var(--ef-white);
    color: var(--ef-blue) !important;
    border-color: var(--ef-white);
}

.process-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(243, 146, 0, 0.15);
    color: var(--ef-orange-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--ef-blue);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-lead {
    color: var(--ef-gray);
    line-height: 1.7;
}

/* Icons (accent naranjo) */
.icon-emerald {
    color: var(--ef-orange);
    line-height: 1;
}

/* Service cards */
.service-card {
    display: flex;
    flex-direction: column;
    background: var(--ef-white);
    border: 2px solid rgba(243, 146, 0, 0.35);
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card-body {
    flex: 1 1 auto;
}

.service-card-actions {
    margin-top: auto;
    padding-top: 1.5rem;
    flex-shrink: 0;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 45, 74, 0.12);
    border-color: var(--ef-orange);
}

.service-card .icon-emerald {
    font-size: 2rem;
}

.service-card a.stretched-link {
    color: inherit;
    text-decoration: none;
}

.service-card a.stretched-link:hover .card-title {
    color: var(--ef-orange-dark);
}

/* Inner page hero */
.page-hero {
    background-color: var(--ef-gray-light);
    padding: 4rem 0;
}

.page-hero h1 {
    font-weight: 700;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

.page-hero img {
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.content-section {
    padding: 4.5rem 0;
}

.content-section.alt-bg {
    background-color: var(--ef-gray-light);
}

.content-section img.section-img {
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow);
    width: 100%;
    object-fit: cover;
    max-height: 400px;
}

/* Feature columns */
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(243, 146, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--ef-orange);
    margin: 0 auto 1rem;
}

.feature-list {
    color: var(--ef-gray);
    padding-left: 1.1rem;
}

.feature-list li {
    margin-bottom: 0.35rem;
}

/* Sostenibilidad icons row */
.sustain-icons .sustain-item {
    text-align: center;
}

.sustain-icons .icon-emerald {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.sustain-icons span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ef-blue);
}

/* Footer */
.site-footer .footer-strip {
    height: 8px;
    background: var(--ef-orange);
}

.site-footer .footer-body {
    background: var(--ef-blue-dark);
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--ef-emerald);
}

.trust-secure__footer .bi {
    color: var(--ef-emerald);
    margin-right: 0.35rem;
    vertical-align: -0.1em;
}

.trust-secure__form {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    max-width: 28rem;
    line-height: 1.45;
}

.trust-secure__form .bi {
    color: var(--ef-emerald);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-card {
    border-radius: var(--ef-radius);
    border: 2px solid rgba(243, 146, 0, 0.35) !important;
}

.privacy-content {
    border-radius: var(--ef-radius);
}

.privacy-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--ef-blue);
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p,
.privacy-content li {
    color: var(--ef-gray);
    line-height: 1.7;
}

.privacy-content ul {
    padding-left: 1.25rem;
}

.form-control:focus {
    border-color: var(--ef-emerald);
    box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.2);
}

.privacy-summary-accordion .accordion-item {
    border: 1px solid rgba(243, 146, 0, 0.35);
    border-radius: var(--ef-radius);
    overflow: hidden;
}

.privacy-summary-accordion .accordion-button {
    font-family: var(--ef-font-title);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ef-blue);
    background-color: rgba(243, 146, 0, 0.06);
    box-shadow: none;
}

.privacy-summary-accordion .accordion-button:not(.collapsed) {
    color: var(--ef-blue);
    background-color: rgba(243, 146, 0, 0.1);
}

.privacy-summary-accordion .accordion-button:focus {
    border-color: var(--ef-orange);
    box-shadow: 0 0 0 0.2rem rgba(243, 146, 0, 0.2);
}

.privacy-summary-accordion .accordion-body {
    font-size: 0.9rem;
    color: var(--ef-gray);
}

.privacy-summary-list {
    padding-left: 1.1rem;
    margin-bottom: 0;
}

.privacy-summary-list li {
    margin-bottom: 0.5rem;
}

.privacy-summary-list li:last-child {
    margin-bottom: 0;
}

.contact-card .form-check-input {
    width: 1.15em;
    height: 1.15em;
    border: 2px solid var(--ef-orange);
    cursor: pointer;
}

.contact-card .form-check-input:focus {
    border-color: var(--ef-orange-dark);
    box-shadow: 0 0 0 0.2rem rgba(243, 146, 0, 0.25);
}

.contact-card .form-check-input:checked {
    background-color: var(--ef-emerald);
    border-color: var(--ef-emerald-dark);
}

.about-eyebrow {
    color: var(--ef-orange-dark);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.about-lead {
    color: var(--ef-blue);
    font-size: 1.1rem;
}

.about-highlight {
    background: var(--ef-white);
    box-shadow: var(--ef-shadow);
    border-left: 4px solid var(--ef-orange);
}

.about-point {
    background: var(--ef-white);
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow);
    border: 2px solid rgba(243, 146, 0, 0.35);
}

.action-card {
    background: var(--ef-white);
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow);
    border: 2px solid rgba(243, 146, 0, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.action-card:hover {
    transform: translateY(-4px);
    border-color: var(--ef-orange);
    box-shadow: 0 12px 32px rgba(15, 45, 74, 0.12);
}

.action-card-icon {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    background: rgba(243, 146, 0, 0.08);
    border: 2px solid var(--ef-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: var(--ef-orange);
    margin-bottom: 1.25rem;
}

.action-card h3 {
    color: var(--ef-blue);
}

.text-efigest-accent {
    color: var(--ef-orange);
    letter-spacing: 0.06em;
}

.sgdp-screenshot {
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow);
    border: 2px solid rgba(243, 146, 0, 0.35);
}

.sgdp-screenshot-placeholder {
    background: linear-gradient(145deg, #f8fafc 0%, #eef2f6 100%);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ef-gray);
    border-radius: var(--ef-radius);
    border: 2px dashed rgba(243, 146, 0, 0.45);
}

.sgdp-gallery-frame {
    display: block;
    width: 100%;
    height: 160px;
    padding: 0;
    border-radius: var(--ef-radius);
    border: 2px solid rgba(243, 146, 0, 0.45);
    box-shadow: var(--ef-shadow);
    overflow: hidden;
    background: #eef2f6;
}

button.sgdp-gallery-zoom {
    cursor: zoom-in;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

button.sgdp-gallery-zoom:hover,
button.sgdp-gallery-zoom:focus-visible {
    border-color: var(--ef-orange);
    box-shadow: 0 10px 28px rgba(15, 45, 74, 0.14);
    transform: translateY(-2px);
    outline: none;
}

.sgdp-zoom-image {
    max-height: min(82vh, 800px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border: 2px solid rgba(243, 146, 0, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    background: var(--ef-white);
}

#sgdpZoomModal .modal-content {
    background: transparent;
}

.sgdp-gallery-frame .sgdp-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #eef2f6;
}

.sgdp-gallery-frame .sgdp-screenshot-placeholder {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
}

.process-step {
    background: var(--ef-white);
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow);
    border: 2px solid rgba(243, 146, 0, 0.35);
    transition: border-color 0.2s ease;
}

.process-step:hover {
    border-color: var(--ef-orange);
}

.about-values li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--ef-gray);
    font-weight: 500;
}

.about-values .bi-check-lg {
    color: var(--ef-orange);
    font-size: 1.25rem;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .hero-home {
        min-height: 480px;
        background-position: center;
    }

    .hero-home::before {
        background: linear-gradient(180deg, rgba(15, 45, 74, 0.9) 50%, rgba(15, 45, 74, 0.5) 100%);
    }
}

body.cookie-notice-visible {
    padding-bottom: 7rem;
}

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--ef-white);
    border-top: 3px solid var(--ef-orange);
    box-shadow: 0 -4px 24px rgba(15, 45, 74, 0.12);
}

.cookie-notice__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.cookie-notice__content {
    flex: 1 1 16rem;
    max-width: 42rem;
}

.cookie-notice__title {
    font-family: var(--ef-font-title);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ef-blue);
}

.cookie-notice__text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--ef-gray);
}

.cookie-notice__link {
    color: var(--ef-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-notice__link:hover,
.cookie-notice__link:focus {
    color: var(--ef-emerald-dark);
}

.cookie-notice__btn {
    flex-shrink: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 575.98px) {
    body.cookie-notice-visible {
        padding-bottom: 9.5rem;
    }

    .cookie-notice__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-notice__btn {
        width: 100%;
    }
}

/* Blog */
.blog-meta {
    color: var(--ef-gray);
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.blog-meta-sep {
    opacity: 0.6;
}

.blog-category {
    color: var(--ef-orange-dark);
    font-weight: 600;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--ef-white);
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow);
    border: 2px solid rgba(243, 146, 0, 0.35);
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--ef-orange);
    box-shadow: 0 12px 32px rgba(15, 45, 74, 0.12);
}

.blog-card-image-link {
    display: block;
    overflow: hidden;
    background: var(--ef-gray-light);
    border-radius: var(--ef-radius) var(--ef-radius) 0 0;
}

.blog-card-image {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: unset;
    object-position: center;
    display: block;
    vertical-align: middle;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1.25rem 1.35rem 1.5rem;
}

.blog-card-title {
    color: var(--ef-blue);
    text-decoration: none;
}

.blog-card-title:hover {
    color: var(--ef-orange-dark);
}

.blog-read-more {
    margin-top: auto;
    color: var(--ef-emerald-dark);
    font-weight: 600;
    text-decoration: none;
}

.blog-read-more:hover {
    color: var(--ef-orange-dark);
}

.blog-breadcrumb {
    font-size: 0.9rem;
    color: var(--ef-gray);
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.blog-breadcrumb a {
    color: var(--ef-emerald-dark);
    text-decoration: none;
    font-weight: 500;
}

.blog-breadcrumb a:hover {
    color: var(--ef-orange-dark);
}

.blog-breadcrumb-current {
    color: var(--ef-gray);
}

.blog-article-hero {
    padding-bottom: 2.5rem;
}

.blog-article-body h2 {
    font-family: var(--ef-font-title);
    font-weight: 700;
    font-size: clamp(1.25rem, 2.4vw, 1.5rem);
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    color: var(--ef-blue);
}

.blog-article-body > p:last-child {
    margin-bottom: 0;
}

.blog-callout {
    background: var(--ef-gray-light);
    border-left: 4px solid var(--ef-orange);
    border-radius: 0 var(--ef-radius) var(--ef-radius) 0;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
}

.blog-callout-label {
    font-family: var(--ef-font-title);
    font-weight: 700;
    color: var(--ef-orange-dark);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.blog-point {
    background: var(--ef-white);
    border: 2px solid rgba(243, 146, 0, 0.35);
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow);
    padding: 1.25rem;
}

.blog-point-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(243, 146, 0, 0.1);
    border: 2px solid var(--ef-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ef-orange);
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
}

.blog-featured-image {
    margin: 0;
    background: transparent;
    border-radius: var(--ef-radius);
    overflow: visible;
    line-height: 0;
}

.blog-featured-image .blog-featured-img,
.blog-featured-image img {
    width: 100%;
    height: auto !important;
    max-width: 100%;
    max-height: none !important;
    object-fit: unset !important;
    object-position: center;
    display: block;
    border-radius: var(--ef-radius);
    box-shadow: var(--ef-shadow);
}

@media (max-width: 767.98px) {
    .blog-card-image,
    .blog-featured-image .blog-featured-img,
    .blog-featured-image img {
        width: 100%;
        height: auto !important;
        max-height: none !important;
        object-fit: unset !important;
    }
}
