body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f7f5f5;
    color: #0e0101;
}

/* ===== HERO PRINCIPAL ===== */
.hero {
    background-image: url("images/gold.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 140px 20px;
}

.hero-overlay {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0,0,0,0.55);
    padding: 60px 25px;
    border-radius: 24px;
}

.hero h1 {
    font-size: 44px;
    margin: 0 0 10px;
}

.hero p {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 auto 25px;
    max-width: 750px;
    opacity: 0.95;
}

/* ===== BOTONES ===== */
.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.btn-primary {
    background: #25d366;
    color: white;
}

.btn-secondary {
    background: rgba(255,255,255,0.18);
    color: white;
    border: 1px solid rgba(255,255,255,0.45);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* ===== LOGO ===== */
.logo {
    width: 260px;
    max-width: 60vw;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

/* ===== SECCIONES ===== */
section {
    max-width: 1100px;
    margin: 25px auto;
    padding: 30px;
    background-color: #f7f5f5;
    border-radius: 8px;
}

h2 {
    text-align: center;
    color: #8d9905;
}

/* ===== SERVICES ===== */
.services {
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

.card {
    background: #111;
    color: white;
    padding: 18px;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.tesla-specialist {
  background-color: red;
  color: white;
}
/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
}

/* ===== MODAL GALLERY ===== */
.g-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.g-modal.open {
    display: flex;
}

.g-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
}

.g-box {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #111;
    border-radius: 18px;
    padding: 20px;
    z-index: 1;
}

.g-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
}

.g-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #000;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
}