:root {
    --bg: #050b1d;
    --bg-2: #08132b;
    --bg-3: #0a1630;
    --panel: rgba(9, 18, 39, 0.88);
    --panel-2: rgba(10, 21, 45, 0.96);
    --border: rgba(255, 255, 255, 0.08);
    --text: #f8fbff;
    --muted: #a9b6cc;
    --green: #19e29f;
    --green-2: #11c98c;
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --radius: 20px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(25, 226, 159, 0.10), transparent 22%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.04), transparent 18%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(25, 226, 159, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 226, 159, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 20% 20%, rgba(25, 226, 159, 0.18), transparent 18%),
        radial-gradient(circle at 80% 30%, rgba(25, 226, 159, 0.14), transparent 16%),
        radial-gradient(circle at 50% 80%, rgba(25, 226, 159, 0.10), transparent 20%);
    background-size: 90px 90px, 90px 90px, 800px 800px, 900px 900px, 1000px 1000px;
    opacity: 0.7;
    animation: gridFloat 14s linear infinite;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0%, rgba(25, 226, 159, 0.16) 48%, transparent 52%),
        linear-gradient(180deg, transparent 0%, rgba(25, 226, 159, 0.14) 50%, transparent 54%);
    background-size: 500px 2px, 2px 420px;
    background-repeat: repeat;
    animation: circuitPulse 7s linear infinite;
    opacity: 0.45;
    z-index: 0;
}

@keyframes gridFloat {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-70px, -70px, 0);
    }
}

@keyframes circuitPulse {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 500px 0, 0 420px;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.site-header,
main,
.footer,
.whatsapp-float {
    position: relative;
    z-index: 1;
}

.container {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 11, 29, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.brand-link {
    display: inline-flex;
    text-decoration: none;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.brand-subtitle {
    font-size: 0.92rem;
    color: var(--muted);
}

.nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--muted);
    font-weight: 700;
    transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--green);
}

.hero {
    padding: 70px 0 52px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(25, 226, 159, 0.10);
    border: 1px solid rgba(25, 226, 159, 0.22);
    color: #cbfff0;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 1.04;
}

.hero p {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.08rem;
    max-width: 720px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 800;
    transition: 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-2));
    color: #04101a;
    box-shadow: 0 12px 28px rgba(25, 226, 159, 0.26);
}

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

.btn-whatsapp {
    background: linear-gradient(135deg, #1ee592, #10c97e);
    color: #04101a;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 12px 28px rgba(25, 226, 159, 0.22);
}

.btn-booking {
    background: linear-gradient(135deg, var(--green), var(--green-2));
    color: #04101a;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 12px 28px rgba(25, 226, 159, 0.22);
}

.btn:hover {
    transform: translateY(-1px);
}

.hero-card {
    background: linear-gradient(180deg, rgba(10, 21, 45, 0.95), rgba(6, 13, 29, 0.98));
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.hero-card img {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 24px;
    object-fit: contain;
}

.hero-points {
    display: grid;
    gap: 14px;
}

.hero-point {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted);
}

.hero-point strong {
    color: var(--white);
    display: block;
    margin-bottom: 4px;
}

.section {
    padding: 34px 0 74px;
}

.section-head {
    max-width: 740px;
    margin-bottom: 24px;
}

.section-head h2,
.section-head h1,
.section-head h3 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.section-head p {
    margin: 0;
    line-height: 1.8;
    color: var(--muted);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(25, 226, 159, 0.25);
}

.card-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 226, 159, 0.10);
    border: 1px solid rgba(25, 226, 159, 0.18);
    margin-bottom: 16px;
    padding: 10px;
    overflow: hidden;
}

.card-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    opacity: 0.95;
    max-width: 100%;
    max-height: 100%;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.highlight {
    background: linear-gradient(135deg, rgba(25, 226, 159, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(25, 226, 159, 0.12);
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.highlight h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.highlight p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.service-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 12px;
    background: rgba(25, 226, 159, 0.10);
    border: 1px solid rgba(25, 226, 159, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
}

.service-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    opacity: 0.95;
    max-width: 100%;
    max-height: 100%;
}

.service-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
}

.contact-box,
.contact-side {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.contact-box h2,
.contact-side h3 {
    margin-top: 0;
}

.contact-box p,
.contact-side p {
    color: var(--muted);
    line-height: 1.8;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.contact-item {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--white);
}

.email-link {
    display: inline-block;
    margin-top: 6px;
    color: #d8fff3;
    font-weight: 800;
    word-break: break-word;
}

.service-areas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.area-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

.area-card img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 42px;
}

.area-card h4 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.area-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 20px;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 26px 0 42px;
    color: var(--muted);
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99;
}

.whatsapp-float a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
}

.whatsapp-float a img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

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

@media (max-width: 980px) {
    .hero-grid,
    .grid-3,
    .service-grid,
    .contact-grid,
    .service-areas {
        grid-template-columns: 1fr;
    }

    .header-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 44px;
    }

    .hero-card,
    .card,
    .service-card,
    .contact-box,
    .contact-side,
    .highlight,
    .area-card {
        padding: 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
    }

    .whatsapp-float a {
        width: 38px;
        height: 38px;
    }

    .whatsapp-float a img {
        width: 38px;
        height: 38px;
    }
}
.contact-form {
    margin-top: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 700;
    color: var(--white);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    padding: 14px 16px;
    font-size: 0.98rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9fb0c7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(25, 226, 159, 0.45);
    box-shadow: 0 0 0 3px rgba(25, 226, 159, 0.10);
    background: rgba(255, 255, 255, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-actions {
    margin-top: 22px;
}

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

    .form-group-full {
        grid-column: auto;
    }
}

/* FIX DROPDOWN DARK MODE */
.form-group select {
    background-color: rgba(10, 21, 45, 0.95);
    color: #ffffff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Opciones del dropdown */
.form-group select option {
    background-color: #0a1630;
    color: #ffffff;
}

/* Hover / selección */
.form-group select option:checked,
.form-group select option:hover {
    background-color: #19e29f;
    color: #04101a;
}

/* =========================
   HONEYPOT
========================= */

.form-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =========================
   TURNSTILE
========================= */

.cf-turnstile {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
}

.form-actions .cf-turnstile {
    display: flex;
    justify-content: center;
}

iframe[src*="challenges.cloudflare.com"] {
    border-radius: 14px !important;
}

/* =========================
   RESPONSIVE
========================= */

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

    .header-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .form-group-full {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 44px;
    }

    .btn {
        width: 100%;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
    }

    .cf-turnstile {
        max-width: 100%;
        transform: scale(.96);
        transform-origin: center top;
    }
}
