/* ========== Base ========== */

:root {
    --color-bg: #0b1020;
    --color-bg-alt: #111729;
    --color-surface: #151b2e;
    --color-accent: #2ea5ff;
    --color-accent-soft: rgba(46, 165, 255, 0.15);
    --color-text: #f5f6fb;
    --color-text-soft: #c1c6d8;
    --color-border: #242b3f;

    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.4);

    --container-width: 1120px;
    --spacing-section: 5rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background: radial-gradient(circle at top left, #1a2440 0, #050814 55%, #000 100%);
    color: var(--color-text);
    line-height: 1.6;
}

/* Utility */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--spacing-section) 0;
}

.section-alt {
    padding: var(--spacing-section) 0;
    background: linear-gradient(145deg, #0c1224 0, #050814 80%);
}

.section-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem auto;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--color-text-soft);
    font-size: 0.98rem;
}

/* Text */

h1,
h2,
h3,
h4 {
    margin: 0 0 0.75rem 0;
    font-weight: 650;
}

p {
    margin: 0 0 0.9rem 0;
}

/* ========== Header ========== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(5, 8, 20, 0.96), rgba(5, 8, 20, 0.85));
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo a {
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    color: var(--color-text);
}

.logo span {
    color: var(--color-accent);
}

/* Nav */

.site-nav {
    display: flex;
}

.site-nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    gap: 1.5rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--color-text-soft);
    font-size: 0.92rem;
    transition: color 0.18s ease, opacity 0.18s ease;
}

.site-nav a:hover {
    color: var(--color-accent);
}

/* Burger */

.nav-toggle {
    display: none;
    width: 42px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 6px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: var(--color-text);
}

/* ========== Hero ========== */

.hero {
    padding: 5.5rem 0 4.5rem 0;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.hero-text {
    max-width: 620px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

.hero-subtitle {
    color: var(--color-text-soft);
    font-size: 0.98rem;
    margin-bottom: 1.4rem;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
}

.hero-note {
    font-size: 0.85rem;
    color: var(--color-text-soft);
}

.hero-visual img {
    max-width: 340px;
    width: 100%;
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #2ea5ff, #66d1ff);
    color: #02040a;
    box-shadow: 0 12px 30px rgba(46, 165, 255, 0.45);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(46, 165, 255, 0.6);
}

.btn.outline {
    border-color: rgba(255, 255, 255, 0.24);
    color: var(--color-text-soft);
    background: rgba(7, 12, 28, 0.9);
}

.btn.outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ========== About ========== */

.two-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-image img {
    display: block;
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
}

.about-content h2 {
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--color-text-soft);
    font-size: 0.96rem;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1.2rem 0;
}

.checklist li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.4rem;
    color: var(--color-text-soft);
    font-size: 0.95rem;
}

.checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.05rem;
    font-size: 0.8rem;
    color: var(--color-accent);
}

.checklist a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.25);
}

.checklist a:hover {
    color: var(--color-accent);
}

/* ========== Services ========== */

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
}

.card {
    background: radial-gradient(circle at top left, rgba(46, 165, 255, 0.18), rgba(12, 17, 40, 0.96));
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.4rem 1.3rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--color-text-soft);
}

.card-link a {
    display: inline-block;
    font-size: 0.9rem;
    margin-top: 0.4rem;
    color: var(--color-accent);
    text-decoration: none;
}

.card-link a:hover {
    text-decoration: underline;
}

/* Bullet lists */

.bullet-list {
    list-style: disc;
    padding-left: 1.2rem;
    color: var(--color-text-soft);
    font-size: 0.95rem;
}

.bullet-list li+li {
    margin-top: 0.3rem;
}

/* ========== FAQ ========== */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-list details {
    background: rgba(6, 10, 26, 0.98);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.9rem 1rem;
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.97rem;
    font-weight: 500;
}

.faq-list summary::marker,
.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list details[open] summary {
    color: var(--color-accent);
}

.faq-list p {
    margin-top: 0.5rem;
    font-size: 0.92rem;
    color: var(--color-text-soft);
}

/* ========== Contact ========== */

.contact-details-img {
    width: 100%;
    max-width: 260px;
    /* controls maximum size */
    height: auto;
    display: block;
    margin-top: 0.5rem;
}

.contact-info p {
    color: var(--color-text-soft);
    font-size: 0.96rem;
}

.contact-block {
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(7, 12, 28, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-block h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.small-note {
    font-size: 0.85rem;
    color: var(--color-text-soft);
}

.contact-image-wrapper {
    margin-bottom: 1.2rem;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-image-wrapper img {
    display: block;
    width: 100%;
    border-radius: calc(var(--radius-lg) - 4px);
}

.map-wrapper iframe {
    width: 100%;
    min-height: 240px;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

/* ========== Footer ========== */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.5rem 0 2rem 0;
    background: #050814;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-small {
    font-size: 0.83rem;
    color: var(--color-text-soft);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.footer-links a {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--color-text-soft);
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* Back to top */

.back-to-top {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(2, 7, 20, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-text-soft);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.back-to-top:hover {
    transform: translateY(-1px);
    background: rgba(10, 21, 55, 0.96);
}

/* ========== Responsive ========== */

@media (min-width: 768px) {
    .hero-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .two-column {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        align-items: flex-start;
    }

    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-inner {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    .site-nav {
        position: fixed;
        inset: 64px 0 auto 0;
        background: rgba(5, 8, 20, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }

    .site-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav ul {
        flex-direction: column;
        padding: 0.9rem 1.5rem 1.3rem 1.5rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero {
        padding-top: 5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------
   Elegant Animation System (Option A)
   ----------------------------------------- */

/* Base animation settings */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slight zoom for hero images */
.fade-zoom {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-zoom.visible {
    opacity: 1;
    transform: scale(1);
}

/* Card hover animation */
.card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.55);
}

/* Button hover refinement */
.btn {
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}