@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Sora:wght@400;500;600;700&display=swap');

:root {
    --bg: #07122f;
    --bg-deep: #050b1f;
    --surface: rgba(255, 255, 255, 0.07);
    --surface-strong: rgba(255, 255, 255, 0.12);
    --border: rgba(255, 255, 255, 0.14);
    --text-main: #f8fbff;
    --text-muted: #d3defa;
    --text-dim: #a6b5d8;
    --brand-blue: #3558df;
    --brand-orange: #ff7d1f;
    --brand-cyan: #7bc8ff;
    --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.32);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1180px;
    --header-height: 80px;
    --section-space: 9rem;
    --transition: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    --font-display: 'Sora', system-ui, sans-serif;
    --font-body: 'Outfit', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-main);
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top right, rgba(255, 125, 31, 0.15), transparent 28%),
        radial-gradient(circle at bottom left, rgba(123, 200, 255, 0.16), transparent 24%),
        linear-gradient(180deg, #2347d1 0%, #10235f 22%, #07122f 58%, #050b1f 100%);
}

body.lightbox-open {
    overflow: hidden;
}

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

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

.container {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 260;
    height: var(--header-height);
    border-bottom: 1px solid var(--border);
    background: rgba(5, 11, 31, 0.72);
    backdrop-filter: blur(18px);
}

.header-row {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.brand-link {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-nav {
    display: block;
}

.page-nav ul {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link,
.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 0.95rem;
}

.hero-section {
    padding: 3.5rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 3rem;
    align-items: center;
}

.hero-copy {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow-soft);
}

.eyebrow,
.section-kicker,
.signal-label,
.plan-label,
.contact-label {
    display: inline-block;
    color: #ffd2af;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 600;
}

.hero-copy h1,
.section-title {
    margin: 1.1rem 0 1.5rem;
    font-family: var(--font-display);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.hero-text,
.about-copy p,
.contact-copy p,
.service-card p,
.plans-note,
.disclaimer-text {
    color: var(--text-muted);
    font-size: 1.06rem;
    line-height: 1.72;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.6rem 0 2rem;
}

.hero-points span {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    font-size: 0.95rem;
}

.hero-actions,
.plan-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--brand-orange), #ff9f53);
    color: #07122f;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border);
    color: var(--text-main);
}

.hero-visual {
    position: relative;
    min-height: 500px;
    display: grid;
    place-items: center;
}

.card-viewer {
    width: 100%;
    border: 0;
    background: none;
    padding: 0;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.card-stack {
    position: relative;
    width: min(100%, 560px);
    aspect-ratio: 1 / 1;
}

.showcase-card {
    position: absolute;
    width: min(100%, 540px);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.showcase-card-front {
    bottom: 2rem;
    right: 0;
    transform: rotate(4deg);
    z-index: 2;
}

.showcase-card-back {
    top: 3rem;
    left: 2rem;
    transform: rotate(-7deg);
    z-index: 1;
}

.card-viewer:hover .showcase-card-front {
    transform: rotate(6deg) translateY(-10px);
}

.card-viewer:hover .showcase-card-back {
    transform: rotate(-9deg) translateY(-6px);
}

.signal-strip,
.services-section,
.process-section,
.plans-section,
.about-section,
.contact-section,
.enquiry-section,
.disclaimer-section {
    padding: var(--section-space) 0 0;
}

.signal-grid,
.service-grid,
.process-grid,
.plan-grid {
    display: grid;
    gap: 1.2rem;
}

.signal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-strip .section-title {
    max-width: 12ch;
}

.signal-card,
.service-card,
.process-card,
.plan-card,
.enquiry-card,
.about-panel,
.contact-card {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.signal-card,
.service-card {
    padding: 1.35rem;
}

.signal-card p {
    margin: 0.75rem 0 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.3rem);
    max-width: 14ch;
}

.service-grid,
.process-grid,
.plan-grid,
.about-grid,
.contact-grid,
.enquiry-grid {
    margin-top: 2.9rem;
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.service-card h3,
.process-card h3,
.plan-card h3,
.about-panel h3 {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.process-card {
    padding: 1.35rem;
}

.process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #ffd2af;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

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

.plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-card {
    padding: 1.6rem;
}

.plan-card.featured {
    background: linear-gradient(180deg, rgba(255, 125, 31, 0.14), rgba(255, 255, 255, 0.05));
}

.plan-head {
    margin-bottom: 1rem;
}

.plans-note {
    max-width: 62ch;
    margin: 0 0 2.75rem;
}

.plan-list,
.about-panel ul {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    color: var(--text-muted);
    padding: 0;
}

.plan-list strong {
    color: var(--text-main);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 1.2rem;
    align-items: stretch;
}

.enquiry-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.2rem;
    align-items: start;
}

.enquiry-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    padding-right: 1rem;
}

.enquiry-copy p {
    max-width: 58ch;
    margin: 0;
}

.enquiry-copy .section-title {
    max-width: 12ch;
}

.enquiry-card {
    padding: 1.6rem;
}

.enquiry-form {
    display: grid;
    gap: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field,
.field-full {
    display: grid;
    gap: 0.55rem;
}

.field-label {
    color: #ffd2af;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.field input,
.field select,
.field-full textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font: inherit;
    padding: 0.95rem 1rem;
    outline: none;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.field input::placeholder,
.field-full textarea::placeholder {
    color: var(--text-dim);
}

.field input:focus,
.field select:focus,
.field-full textarea:focus {
    border-color: rgba(255, 125, 31, 0.7);
    background: rgba(255, 255, 255, 0.08);
}

.field select {
    appearance: none;
}

.field-full {
    grid-column: 1 / -1;
}

.field-full textarea {
    min-height: 140px;
    resize: vertical;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.form-note,
.form-feedback {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.form-note {
    max-width: 34ch;
    font-size: 0.96rem;
}

.form-feedback {
    min-height: 1.4rem;
    font-size: 0.96rem;
}

.form-feedback.is-success {
    color: #b7ffcf;
}

.form-feedback.is-error {
    color: #ffc6bd;
}

.about-panel {
    padding: 1.6rem;
}

.about-panel ul li {
    position: relative;
    padding-left: 1.2rem;
}

.about-panel ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-orange);
}

.contact-card {
    padding: 1.75rem;
}

.contact-section,
.enquiry-section,
.disclaimer-section {
    padding-top: var(--section-space);
}

.disclaimer-card {
    width: min(100%, 1120px);
    margin: 0 auto 4rem;
    padding: 2.2rem 2.4rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
}

.disclaimer-card .section-kicker,
.disclaimer-card .disclaimer-text {
    width: auto;
}

.disclaimer-card .disclaimer-text {
    max-width: 84ch;
    font-size: 1.14rem;
    line-height: 1.82;
}

.site-footer {
    padding: 0 0 2.6rem;
    color: var(--text-dim);
    text-align: center;
}

.contact-grid {
    margin-top: 2.9rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-item {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    gap: 0.3rem;
    color: var(--text-main);
}

.contact-item span:last-child {
    color: var(--text-muted);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 7, 20, 0.78);
    backdrop-filter: blur(12px);
}

.lightbox-dialog {
    position: relative;
    width: min(100% - 2rem, 1100px);
    margin: 4vh auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(17, 28, 70, 0.96), rgba(8, 15, 39, 0.98));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.lightbox-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    min-height: 640px;
}

.lightbox-stage {
    position: relative;
    background: linear-gradient(160deg, rgba(53, 88, 223, 0.28), rgba(255, 125, 31, 0.12));
    display: grid;
    place-items: center;
    padding: 2rem;
}

.lightbox-image {
    display: block;
    width: min(100%, 860px);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.lightbox-meta {
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lightbox-meta h2 {
    margin: 1rem 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.05;
}

.lightbox-meta p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.72;
}

@media (max-width: 980px) {
    body {
        padding-top: var(--header-height);
    }

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    .hero-grid,
    .signal-grid,
    .service-grid,
    .process-grid,
    .plan-grid,
    .enquiry-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .header-row {
        align-items: center;
    }

    .nav-toggle {
        display: inline-flex;
        position: relative;
        z-index: 30;
    }

    .header-actions {
        position: absolute;
        top: calc(var(--header-height) + 8px);
        left: 1.5rem;
        right: 1.5rem;
        z-index: 320;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.9rem;
        padding: 1rem;
        border: 1px solid var(--border);
        border-radius: 24px;
        background: rgba(8, 15, 39, 0.98);
        box-shadow: var(--shadow-soft);
        backdrop-filter: blur(16px);
    }

    .site-header.is-open .header-actions {
        display: flex;
    }

    .page-nav,
    .page-nav ul {
        width: 100%;
    }

    .page-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .nav-link,
    .back-link {
        width: 100%;
        justify-content: center;
        text-align: center;
        align-self: stretch;
    }

    .hero-section {
        padding-top: 2rem;
    }

    .hero-copy h1,
    .section-title {
        max-width: none;
    }

    .hero-visual {
        min-height: 420px;
    }

    .showcase-card {
        width: min(100%, 460px);
    }

    .lightbox-content {
        grid-template-columns: 1fr;
    }

    .lightbox-dialog {
        margin: 2vh auto;
        width: min(100% - 1rem, 960px);
    }

    .lightbox-stage {
        min-height: 320px;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 0 1rem;
    }

    .header-actions {
        left: 1rem;
        right: 1rem;
    }

    .disclaimer-card {
        padding: 1.6rem 1.35rem;
    }

    .hero-copy,
    .plan-card,
    .enquiry-card,
    .about-panel,
    .contact-card {
        padding: 1.35rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

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

    .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 320px;
    }

    .card-stack {
        aspect-ratio: 4 / 3;
    }

    .showcase-card {
        width: min(100%, 360px);
    }

    .viewer-caption {
        width: 100%;
    }

    .lightbox-meta {
        padding: 1.4rem 1.2rem 1.5rem;
    }
}
