@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Georgia:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --sds-primary: #8B6914;
    /* Gold / Ocre */
    --sds-secondary: #6B3A1F;
    /* Marrón Terroso */
    --sds-accent: #556B2F;
    /* Verde Oliva */
    --sds-bg: #FDFAF4;
    /* Blanco Crema */
    --sds-dark: #1A1A1A;
    /* Negro */
    --sds-text: #6B3A1F;
    /* Deep Brown for text */
    --sds-text-muted: rgba(107, 58, 31, 0.7);
    --sds-border: rgba(139, 105, 20, 0.15);
    --sds-head: 'Georgia', serif;
    --sds-body: 'Inter', sans-serif;
    --sds-container: 1200px;
    --sds-radius: 4px;
    --sds-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --sds-shadow-hover: 0 20px 40px rgba(139, 105, 20, 0.1);
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--sds-body);
    color: var(--sds-text);
    line-height: 1.6;
    background-color: var(--sds-bg);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--sds-head);
    color: var(--sds-secondary);
    line-height: 1.2;
    font-weight: 700;
}

.sds-section {
    padding: 120px 0;
}

.sds-container {
    max-width: var(--sds-container);
    margin: 0 auto;
    padding: 0 30px;
}

/* ── Navbar ── */
.sds-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(253, 250, 244, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--sds-border);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 25px 0;
}

.sds-navbar.scrolled {
    padding: 15px 0;
    background: rgba(253, 250, 244, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.sds-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1100;
}

.sds-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--sds-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sds-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    width: 100%;
    transition: all 0.4s ease;
}

.sds-navbar.scrolled .sds-nav-inner {
    height: 75px;
}

.sds-nav-brand {
    flex: 0 0 250px;
    display: flex;
    align-items: center;
}

.sds-nav-brand img {
    max-height: 50px;
    width: auto;
    transition: all 0.5s ease;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.05));
}

.sds-navbar.scrolled .sds-nav-brand img {
    max-height: 40px;
}

.sds-nav-links {
    flex: 1;
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    align-items: center;
    justify-content: center;
}

.sds-nav-links a {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--sds-secondary);
    text-decoration: none;
    position: relative;
    padding: 10px 0;
    font-family: var(--sds-body);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.sds-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--sds-primary);
    transition: all 0.3s ease;
}

.sds-nav-links a:hover::after {
    width: 100%;
}

.sds-nav-links a:hover {
    color: var(--sds-primary);
    letter-spacing: 0.18em;
}

.sds-nav-actions {
    flex: 0 0 250px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-left: 50px;
}

.sds-nav-actions .sds-btn-primary {
    padding: 12px 28px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    min-width: 0;
    white-space: nowrap;
    background: transparent;
    border: 1px solid var(--sds-primary);
    color: var(--sds-primary);
    border-radius: 0;
    font-weight: 600;
}

.sds-nav-actions .sds-btn-primary:hover {
    background: var(--sds-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 105, 20, 0.2);
}

.sds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.72rem;
    padding: 14px 30px;
    transition: all 0.4s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 0;
}

.sds-btn-primary {
    background: var(--sds-primary);
    color: #fff;
    border: 1.5px solid var(--sds-primary);
}

.sds-btn-primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.sds-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.sds-btn-ghost:hover {
    background: #fff;
    color: var(--sds-dark);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ── Hero ── */
.sds-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sds-dark);
    text-align: center;
    color: var(--sds-bg);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.sds-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    animation: sds-hero-zoom 40s infinite alternate ease-in-out;
}

@keyframes sds-hero-zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.sds-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.sds-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.sds-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 30px;
}

.sds-badge {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sds-primary);
    border: 1px solid var(--sds-primary);
    padding: 10px 24px;
    display: inline-block;
    margin-bottom: 40px;
    border-radius: 0;
    backdrop-filter: blur(10px);
    background: rgba(192, 192, 192, 0.05);
    font-weight: 700;
}

.sds-badge-white {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 24px;
    display: inline-block;
    margin-bottom: 40px;
    border-radius: 0;
    backdrop-filter: blur(10px);
    background: rgba(192, 192, 192, 0.05);
    font-weight: 700;
}

.sds-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    margin-bottom: 30px;
    line-height: 1;
    font-weight: 400;
    font-family: var(--sds-head);
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.sds-hero p {
    font-size: 1.1rem;
    margin-bottom: 50px;
    font-weight: 300;
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.01em;
}

.sds-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Section Titles ── */
.sds-sec-head {
    margin-bottom: 70px;
    text-align: center;
}

.sds-sec-num {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--sds-accent);
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.sds-sec-head h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.sds-sec-head h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--sds-primary);
}

.sds-sec-head p {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--sds-text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Floating WhatsApp ── */
.sds-whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sds-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.sds-whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: sds-pulse 2s infinite;
    opacity: 0;
}

@keyframes sds-pulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* ── Stats ── */
.sds-stats {
    background: #fff;
    border-top: 1px solid var(--sds-border);
    border-bottom: 1px solid var(--sds-border);
    padding: 80px 0;
}

.sds-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sds-stat-card {
    border-right: 1px solid var(--sds-border);
    padding: 20px 0;
    text-align: center;
}

.sds-stat-card:last-child {
    border: none;
}

.sds-stat-num {
    font-size: 3rem;
    color: var(--sds-primary);
    display: block;
    font-family: var(--sds-head);
    font-weight: 700;
    margin-bottom: 10px;
}

.sds-stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--sds-secondary);
}

/* ── CTA Container ── */
.sds-cta-inner {
    background: var(--sds-primary);
    border-radius: var(--sds-radius);
    padding: 80px 40px;
    text-align: center;
    color: var(--sds-bg);
    box-shadow: var(--sds-shadow);
}

.sds-cta-inner h2 {
    color: var(--sds-bg);
    margin-bottom: 20px;
    border: none;
}

.sds-cta-inner h2::after {
    display: none;
}

.sds-cta-inner p {
    font-size: 1.2rem;
    color: rgba(253, 250, 244, 0.9);
    margin-bottom: 40px;
}

.sds-cta-inner .sds-btn-primary {
    background: var(--sds-bg);
    color: var(--sds-primary);
    border-color: var(--sds-bg);
}

.sds-cta-inner .sds-btn-primary:hover {
    background: transparent;
    color: var(--sds-bg);
}

.sds-cta-inner .sds-btn-ghost {
    border-color: var(--sds-bg);
    color: var(--sds-bg);
}

.sds-cta-inner .sds-btn-ghost:hover {
    background: var(--sds-bg);
    color: var(--sds-primary);
}

/* ── Animations ── */
.sds-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sds-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .sds-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sds-stat-card:nth-child(2) {
        border-right: none;
    }

    .sds-stat-card {
        margin-bottom: 20px;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .sds-navbar {
        padding: 5px 0 !important;
    }

    .sds-nav-inner {
        height: 50px !important;
    }

    .sds-nav-brand {
        flex: 0 1 auto;
        min-width: 0;
    }

    .sds-nav-brand img {
        max-height: 30px !important;
    }

    .sds-hamburger {
        display: flex !important;
        margin-left: auto;
    }

    .sds-hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .sds-hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .sds-hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .sds-section {
        padding: 80px 0;
    }

    .sds-hero {
        padding-top: 100px;
    }

    .sds-hero h1 {
        font-size: 2.2rem;
    }

    .sds-badge-white {
        margin-bottom: 25px;
        padding: 8px 18px;
        font-size: 0.6rem;
    }

    .sds-nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--sds-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        display: flex;
        left: auto;
        transform: none;
    }

    .sds-nav-links.active {
        right: 0;
    }

    .sds-nav-actions .sds-btn-primary {
        display: none;
    }

    .sds-nav-links .sds-btn-primary {
        display: inline-flex;
        margin-top: 20px;
    }

    .sds-mobile-only {
        display: block;
    }

    .sds-stat-card {
        border-right: none;
        border-bottom: 1px solid var(--sds-border);
    }

    .sds-stat-card:last-child {
        border: none;
    }

    .sds-hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .sds-hero-buttons .sds-btn {
        width: 100%;
    }
}

.sds-mobile-only {
    display: none;
}

/* ── Footer ── */
.sds-footer-main {
    background: var(--sds-dark);
    color: var(--sds-bg);
    padding: 80px 0 40px;
    border-top: 5px solid var(--sds-primary);
}

.sds-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.sds-footer-brand p {
    opacity: 0.7;
    margin-top: 20px;
    font-size: 0.95rem;
    max-width: 350px;
}

.sds-footer-brand img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.sds-footer-main h4 {
    color: var(--sds-primary);
    font-size: 1rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(139, 105, 20, 0.3);
    display: inline-block;
}

.sds-footer-links {
    list-style: none;
}

.sds-footer-links li {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.sds-footer-links a {
    color: rgba(253, 250, 244, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sds-footer-links a:hover {
    color: var(--sds-primary);
    transform: translateX(5px);
}

.sds-footer-links i {
    color: var(--sds-primary);
    width: 20px;
    text-align: center;
}

.sds-footer-bottom {
    border-top: 1px solid rgba(253, 250, 244, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    opacity: 0.6;
}

.sds-footer-bottom a {
    color: var(--sds-bg);
    text-decoration: underline;
    text-decoration-color: var(--sds-primary);
    transition: color 0.3s;
}

.sds-footer-bottom a:hover {
    color: var(--sds-primary);
}

@media (max-width: 992px) {
    .sds-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .sds-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sds-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}