/* =====================
   VARIABLES & RESET
   ===================== */
:root {
    --nav-height: 86px;
    --primary: #1f2a44;
    --primary-deep: #0f1724;
    --primary-light: #2a3a5f;
    --accent: #ffd700;
    --accent-hover: #e6c200;
    --white: #ffffff;
    --gray-100: #f4f6fa;
    --text-muted: rgba(255, 255, 255, 0.6);
    --transition: 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background-color: var(--primary);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
img {
    max-width: 100%;
    display: block;
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 36, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.08);
    transition:
        background var(--transition),
        box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 36, 0.98);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-shadow: 0 2px 12px rgba(255, 215, 0, 0.25);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.nav-links a:hover {
    color: var(--accent);
    background: rgba(255, 215, 0, 0.08);
}

.btn-nav {
    background: var(--accent) !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    padding: 9px 20px !important;
    border-radius: 8px !important;
}
.btn-nav:hover {
    background: var(--accent-hover) !important;
    color: var(--primary) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* =====================
   HERO
   ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, #0d1520 0%, #1f2a44 45%, #2a3a5f 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse at 65% 35%,
            rgba(255, 215, 0, 0.07) 0%,
            transparent 55%
        ),
        radial-gradient(
            ellipse at 20% 75%,
            rgba(42, 58, 95, 0.5) 0%,
            transparent 50%
        );
    animation: gradientPulse 9s ease-in-out infinite alternate;
}

@keyframes gradientPulse {
    from {
        opacity: 0.8;
        transform: scale(1);
    }
    to {
        opacity: 1;
        transform: scale(1.04);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><defs><pattern id="g" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M10 0L0 0 0 10" fill="none" stroke="rgba(255,255,255,0.025)" stroke-width="0.5"/></pattern></defs><rect width="80" height="80" fill="url(%23g)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    text-transform: uppercase;
    animation: contentRise 700ms ease-out 180ms both;
}

.hero-content h1 {
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 22px;
    animation: contentRise 760ms ease-out 280ms both;
}

.highlight {
    color: var(--accent);
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.72);
    max-width: 600px;
    margin: 0 auto 44px;
    animation: contentRise 780ms ease-out 380ms both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: contentRise 800ms ease-out 500ms both;
}

.hero-highlights {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    animation: contentRise 820ms ease-out 560ms both;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 600;
}

@keyframes contentRise {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-badge,
    .hero-content h1,
    .hero-content p,
    .hero-actions {
        animation: none !important;
    }
}

/* =====================
   BUTTONS
   ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 215, 0, 0.38);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* =====================
   TRUST BAR
   ===================== */
.trust-bar {
    background: var(--accent);
    padding: 20px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--primary);
}

.trust-item i {
    font-size: 1.7rem;
}

.trust-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.trust-item span {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.75;
}

/* =====================
   SECTIONS
   ===================== */
.section {
    padding: 90px 24px;
}
.section-dark {
    background: #161f32;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.compact {
    margin-bottom: 34px;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.28);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto;
}

/* =====================
   SERVICES
   ===================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--primary-light);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.18);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 58px;
    height: 58px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* =====================
   FEATURES (POR QUÉ)
   ===================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.feature-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.feature:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.18);
}

.feature > i {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.feature h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* =====================
   LEAD STRIP
   ===================== */
.lead-strip {
    background: linear-gradient(
        180deg,
        rgba(255, 215, 0, 0.04),
        rgba(255, 255, 255, 0.01)
    );
    border-top: 1px solid rgba(255, 215, 0, 0.08);
    border-bottom: 1px solid rgba(255, 215, 0, 0.08);
}

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

.lead-card {
    padding: 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    transition: var(--transition);
}

.lead-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.2);
    background: rgba(255, 215, 0, 0.04);
}

.lead-card i {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 14px;
}

.lead-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.lead-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.lead-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

/* =====================
   GALLERY
   ===================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 17, 30, 0.88) 0%,
        transparent 55%
    );
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-overlay span {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
}

.gallery-item:hover img {
    transform: scale(1.07);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* =====================
   CTA BANNER
   ===================== */
.cta-banner {
    background: linear-gradient(135deg, #192035, #2a3a5f);
    border-top: 1px solid rgba(255, 215, 0, 0.12);
    border-bottom: 1px solid rgba(255, 215, 0, 0.12);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle,
        rgba(255, 215, 0, 0.05) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.cta-banner h2 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.1rem;
    margin-bottom: 36px;
    position: relative;
}

/* =====================
   CONTACT
   ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 52px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-panel {
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.contact-panel-primary {
    background: linear-gradient(
        180deg,
        rgba(255, 215, 0, 0.08),
        rgba(255, 255, 255, 0.025)
    );
    border-color: rgba(255, 215, 0, 0.15);
}

.contact-panel-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-panel p {
    color: rgba(255, 255, 255, 0.7);
}

.contact-email-main {
    display: inline-block;
    margin: 18px 0 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.contact-email-main:hover {
    color: var(--accent);
}

.contact-panel-note {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.58);
}

.contact-support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-card {
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(255, 215, 0, 0.16);
    background: rgba(255, 215, 0, 0.04);
}

.contact-item > i {
    width: 44px;
    height: 44px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 3px;
}

.contact-item span,
.contact-item a {
    display: block;
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}
.contact-item a:hover {
    color: var(--accent);
}

.contact-card span {
    margin-top: 6px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.54);
    font-weight: 400;
}

/* Form */
.contact-form-wrapper {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.025)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.contact-form-intro {
    margin-bottom: 24px;
}

.contact-form-badge {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.22);
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-form h3,
.contact-form-intro h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-form-intro p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.98rem;
    max-width: 560px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(10, 17, 30, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    color: var(--white);
    font-family: inherit;
    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
    outline: none;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.32);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.04);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.08);
    transform: translateY(-1px);
}

.form-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 8px;
}

.form-helper {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.9rem;
}

.form-note {
    margin-top: 12px;
    font-size: 0.9rem;
    min-height: 1.4em;
}

.form-actions .btn {
    min-width: 220px;
    justify-content: center;
}

/* =====================
   FOOTER
   ===================== */
.footer {
    background: var(--primary-deep);
    padding: 60px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand img {
    height: 88px;
    margin-bottom: 16px;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    max-width: 260px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--accent);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent);
    width: 14px;
    flex-shrink: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.83rem;
}

/* =====================
   WHATSAPP FLOAT
   ===================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 62px;
    height: 62px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: white;
    box-shadow: 0 4px 22px rgba(37, 211, 102, 0.5);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
    animation: waPulse 2.8s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.7);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: #25d366;
    color: white;
    font-size: 0.83rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes waPulse {
    0%,
    100% {
        box-shadow: 0 4px 22px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow:
            0 4px 34px rgba(37, 211, 102, 0.8),
            0 0 0 10px rgba(37, 211, 102, 0.12);
    }
}

/* =====================
   BACK TO TOP
   ===================== */
.back-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 999;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* =====================
   SCROLL REVEAL
   ===================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lead-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 78px;
    }

    .nav-toggle {
        display: flex;
    }
    .nav-brand {
        font-size: 1.05rem;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(15, 23, 36, 0.98);
        flex-direction: column;
        padding: 16px;
        gap: 2px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        transform: translateY(-110%);
        transition: transform var(--transition);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        pointer-events: all;
    }
    .nav-links a {
        padding: 12px 16px;
        width: 100%;
        text-align: left;
    }

    .trust-bar {
        gap: 24px;
    }
    .features-grid,
    .services-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 600px) {
    .footer-brand img {
        height: 70px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .trust-bar {
        gap: 20px;
        padding: 16px;
    }
    .contact-form-wrapper {
        padding: 24px;
    }
}
