:root {
    --black: #090909;
    --black-light: #121212;
    --gold: #d7a941;
    --gold-light: #f1ca69;
    --gold-dark: #a87920;
    --white: #ffffff;
    --gray: #a6a6a6;
    --light-bg: #f6f3ed;
    --border: rgba(215, 169, 65, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--black);
    color: var(--white);
}

button,
a {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}

/* CABECERA */

.header {
    position: absolute;
    z-index: 20;
    width: 100%;
    top: 0;
    left: 0;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.brand-icon {
    color: var(--gold);
    font-size: 38px;
}

.brand h1 {
    font-family: "Playfair Display", serif;
    color: var(--gold-light);
    font-size: 23px;
}

.brand span {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    letter-spacing: 3px;
    color: #ddd;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    color: #ddd;
    font-size: 14px;
    transition: .25s;
}

.nav a:hover {
    color: var(--gold-light);
}

.btn-whatsapp-header {
    color: #0b0b0b;
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(
        135deg,
        var(--gold-light),
        var(--gold)
    );
    padding: 13px 22px;
    border-radius: 9px;
}

/* PORTADA */

.hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    padding-top: 100px;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(215,169,65,.22),
            transparent 23%
        ),
        linear-gradient(
            100deg,
            #050505 0%,
            #0b0b0b 60%,
            #18120a 100%
        );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.2),
            rgba(0,0,0,.8)
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    align-items: center;
    gap: 80px;
}

.eyebrow {
    color: var(--gold-light);
    font-size: 12px;
    letter-spacing: 4px;
}

.hero h2 {
    margin: 20px 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(52px, 6vw, 80px);
    line-height: 1.03;
}

.hero h2 span {
    color: var(--gold-light);
}

.hero-description {
    max-width: 560px;
    color: #d7d7d7;
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 36px;
}

.btn-primary,
.btn-secondary {
    border: none;
    padding: 16px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--gold-light),
        var(--gold)
    );
    color: #111;
}

.btn-secondary {
    border: 1px solid var(--gold);
    color: var(--gold-light);
    background: transparent;
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 45px;
}

.trust-items div {
    display: flex;
    flex-direction: column;
}

.trust-items strong {
    color: var(--gold-light);
}

.trust-items span {
    margin-top: 5px;
    color: #999;
    font-size: 12px;
}

.hero-card {
    padding: 35px;
    border: 1px solid var(--border);
    background: rgba(16,16,16,.85);
    backdrop-filter: blur(15px);
    border-radius: 20px;
}

.gold-circle {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 24px;
    color: var(--gold-light);
    font-size: 40px;
    border: 1px solid var(--gold);
}

.hero-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    margin-bottom: 12px;
}

.hero-card p {
    color: var(--gray);
    line-height: 1.6;
}

.secure-line {
    border-top: 1px solid #333;
    margin-top: 25px;
    padding-top: 20px;
    color: #ddd;
    font-size: 14px;
}

.secure-line span {
    color: var(--gold-light);
    margin-right: 8px;
}

/* SERVICIOS */

.services {
    background: #0b0b0b;
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 55px;
}

.section-title > span {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 4px;
}

.section-title h2 {
    margin-top: 12px;
    font-family: "Playfair Display", serif;
    font-size: 42px;
}

.section-title p {
    margin-top: 12px;
    color: #999;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    min-height: 270px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #101010;
    cursor: pointer;
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
}

.service-card.featured {
    background: linear-gradient(
        145deg,
        #efc660,
        #b98225
    );
    color: #111;
}

.service-icon {
    font-size: 32px;
    margin-bottom: 28px;
}

.service-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 25px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
}

.featured p {
    color: #392a0b;
}

.service-link {
    display: inline-block;
    margin-top: 25px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-light);
}

.featured .service-link {
    color: #111;
}

/* SEGURIDAD */

.security {
    padding: 35px 0;
    background: #050505;
    border-top: 1px solid #1d1d1d;
    border-bottom: 1px solid #1d1d1d;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.security-icon {
    color: var(--gold);
    font-size: 30px;
}

.security-item strong,
.security-item span {
    display: block;
}

.security-item span {
    margin-top: 3px;
    font-size: 12px;
    color: #888;
}

/* SUCURSALES */

.branches {
    padding: 100px 0;
    background: var(--light-bg);
    color: #151515;
}

.section-title.dark p {
    color: #666;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.branch-card {
    overflow: hidden;
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.branch-top {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #101010,
            #272727
        );
    color: var(--gold-light);
    font-family: "Playfair Display", serif;
    font-size: 40px;
}

.branch-content {
    padding: 24px;
}

.branch-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 23px;
    margin-bottom: 15px;
}

.branch-content p {
    margin-top: 9px;
    font-size: 13px;
    color: #666;
}

.branch-content a {
    display: inline-block;
    margin-top: 20px;
    color: var(--gold-dark);
    font-size: 14px;
    font-weight: 700;
}

/* AYUDA */

.help {
    padding: 75px 0;
    background:
        linear-gradient(
            120deg,
            #090909,
            #161007
        );
}

.help-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.help-eyebrow {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 3px;
}

.help h2 {
    margin: 10px 0;
    font-family: "Playfair Display", serif;
    font-size: 40px;
}

.help p {
    color: #aaa;
}

.btn-whatsapp {
    border: none;
    border-radius: 10px;
    padding: 18px 28px;
    background: #24b758;
    color: white;
    font-size: 16px;
    font-weight: 700;
}

/* FOOTER */

.footer {
    padding: 35px 0;
    background: #050505;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-brand strong {
    display: block;
    color: var(--gold-light);
    font-family: "Playfair Display", serif;
    font-size: 19px;
}

.footer-brand span {
    display: block;
    margin-top: 3px;
    color: #777;
    font-size: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #999;
    font-size: 12px;
}

.copyright {
    color: #666;
    font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 950px) {

    .nav {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 130px 0 70px;
    }

    .hero-card {
        max-width: 500px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .header {
        padding: 18px 0;
    }

    .brand h1 {
        font-size: 18px;
    }

    .brand span {
        letter-spacing: 2px;
    }

    .btn-whatsapp-header {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero h2 {
        font-size: 50px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .trust-items {
        flex-direction: column;
        gap: 15px;
    }

    .services,
    .branches {
        padding: 75px 0;
    }

    .section-title h2 {
        font-size: 35px;
    }

    .services-grid,
    .security-grid,
    .branches-grid {
        grid-template-columns: 1fr;
    }

    .help-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-whatsapp {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}