/* ==========================================================================
   Tetrix Lifestyle
   ========================================================================== */

:root {
    /* Palette taken from the Tetrix cube logo */
    --brand: #1d6fa8;
    --brand-light: #11bee0;
    --brand-deep: #0c4976;
    --steel: #738392;
    --steel-light: #9aa7af;
    --cta: linear-gradient(135deg, #0c4976 0%, #1d6fa8 45%, #11bee0 100%);
    --cta-hover: linear-gradient(135deg, #0f5688 0%, #2380bf 45%, #3fcdea 100%);
    --navy-900: #061626;
    --navy-800: #0a2338;
    --navy-700: #1b3a55;
    --mist: #f3f6f9;
    --mist-dark: #e5edf3;
    --text: #1b2a38;
    --muted: #5f6f7e;
    --line: rgba(12, 42, 68, 0.12);
    --white: #fff;

    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 4px;
    --header-h: 76px;
    --shadow: 0 18px 50px rgba(7, 26, 43, 0.12);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--mist);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.12; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }

.icon { width: 1em; height: 1em; flex-shrink: 0; }

/* ---------- Typography helpers ---------- */

.eyebrow {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand-light);
    margin-bottom: 18px;
}
.eyebrow span { opacity: 0.6; margin: 0 8px; }
.eyebrow-brand { color: var(--brand); }

.section { padding: 110px 0; }
.section h2 { font-size: clamp(33px, 4vw, 47px); color: var(--navy-800); }
.section-head { text-align: center; margin-bottom: 56px; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 26px;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn .icon { font-size: 17px; transition: transform .25s; }
.btn:hover .icon { transform: translateX(4px); }

.btn-primary { background: var(--cta); color: var(--white); box-shadow: 0 8px 24px rgba(17, 140, 200, 0.32); }
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(17, 160, 215, 0.4); }

.btn-outline { border-color: var(--brand); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--brand); color: var(--white); }

.btn-ghost-light { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy-900); }

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 30px rgba(7, 26, 43, 0.08); }

.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 44px; height: 44px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 28px; font-weight: 700; letter-spacing: 0.12em; color: var(--brand-deep); }
.logo-sub { font-size: 10.5px; letter-spacing: 0.62em; color: var(--steel); margin-top: 4px; }

.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { position: relative; font-size: 15px; color: var(--navy-700); padding: 6px 0; transition: color .2s; }
.main-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1.5px;
    background: var(--brand);
    transform: scaleX(0);
    transition: transform .25s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--navy-900); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none !important; }

.header-cta { margin-left: 8px; }

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-h);
    display: flex;
    flex-direction: column;
    color: var(--white);
    background: var(--navy-900);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 70% center;
    transform: scale(1.04);
    animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 22, 38, 0.92) 0%, rgba(6, 22, 38, 0.72) 38%, rgba(6, 22, 38, 0.15) 75%),
        linear-gradient(0deg, rgba(6, 22, 38, 0.6) 0%, rgba(6, 22, 38, 0) 40%);
}

.hero-content { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 60px; padding-bottom: 60px; }
.hero h1 { font-size: clamp(45px, 6.4vw, 85px); font-weight: 500; line-height: 1.02; max-width: 820px; margin-bottom: 26px; }
.hero-sub { font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; max-width: 560px; color: rgba(255, 255, 255, 0.86); margin-bottom: 38px; }
.hero .btn { align-self: flex-start; }

.pillars { position: relative; background: rgba(6, 22, 38, 0.78); backdrop-filter: blur(6px); border-top: 1px solid rgba(17, 190, 224, 0.18); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { display: flex; gap: 20px; align-items: flex-start; padding: 30px 28px; }
.pillar + .pillar { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.pillar-icon {
    flex-shrink: 0;
    width: 58px; height: 58px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1.5px solid var(--brand-light);
    color: var(--brand-light);
    font-size: 29px;
}
.pillar h3 { font-family: var(--sans); font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.pillar p { font-size: 15px; color: rgba(255, 255, 255, 0.7); margin: 0; }

/* ---------- About ---------- */

.about { background: linear-gradient(180deg, var(--mist) 0%, #f7f9fb 100%); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1.15fr 0.8fr; gap: 48px; align-items: center; }
.about-image { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.2; }
.about-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.about-image:hover img { transform: scale(1.04); }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { color: var(--muted); }
.about-copy .btn { margin-top: 12px; }

.advantage {
    align-self: stretch;
    padding: 36px 32px;
    background: var(--mist-dark);
    border-left: 1px solid var(--line);
    border-radius: var(--radius);
}
.advantage-icon { color: var(--brand); font-size: 41px; display: block; margin-bottom: 16px; }
.advantage h3 { font-size: 27px; color: var(--navy-800); margin-bottom: 14px; }
.advantage p { font-size: 16px; color: var(--muted); margin: 0; }

/* ---------- Solutions ---------- */

.solutions { padding-bottom: 0; background: #f7f9fb; }
.solutions-grid { display: grid; grid-template-columns: 1fr 1fr; }
.solution { position: relative; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; }
.solution-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.4s ease; }
.solution:hover .solution-bg { transform: scale(1.05); }
.solution::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(7, 26, 43, 0.25) 0%, rgba(7, 26, 43, 0.92) 70%);
}
.solution-panel { position: relative; z-index: 2; padding: 56px 52px; color: var(--white); max-width: 620px; }
.solution-icon { color: var(--brand-light); font-size: 39px; display: block; margin-bottom: 14px; }
.solution h3 { font-size: 37px; font-weight: 500; }
.solution-tagline { color: var(--brand-light); font-size: 18px; margin: 6px 0 14px; }
.solution-intro { color: rgba(255, 255, 255, 0.82); }
.solution-list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.solution-list li { display: flex; gap: 12px; font-size: 15.5px; color: rgba(255, 255, 255, 0.78); }
.solution-list .icon { color: var(--brand-light); font-size: 19px; margin-top: 3px; }
.solution-list strong { color: var(--white); font-weight: 500; }

/* ---------- Process ---------- */

.process { background: var(--mist); background-image: radial-gradient(circle at 15% 20%, rgba(29, 143, 196, 0.08), transparent 45%); }
.process-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.process-head h2 { font-size: clamp(33px, 3.4vw, 43px); }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.process-step { position: relative; }
.process-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -22px; top: 10px;
    color: var(--muted);
    font-size: 21px;
}
.step-num {
    width: 36px; height: 36px;
    display: inline-grid; place-items: center;
    border-radius: 50%;
    background: var(--cta);
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    margin-right: 10px;
    vertical-align: middle;
}
.step-icon { color: var(--brand); font-size: 33px; vertical-align: middle; display: inline-block; }
.process-step h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--navy-800); margin: 16px 0 8px; }
.process-step p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- How it works ---------- */

.how { background: var(--navy-800); color: var(--white); }
.how h2 { color: var(--white); }
.how .eyebrow-brand { color: var(--brand-light); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.timeline::before {
    content: "";
    position: absolute;
    top: 9px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(17, 190, 224, 0.6) 10%, rgba(17, 190, 224, 0.6) 90%, transparent);
}
.timeline-item { position: relative; padding: 46px 26px 0; }
.timeline-item::before {
    content: "";
    position: absolute;
    top: 2px; left: 26px;
    width: 15px; height: 15px;
    border-radius: 50%;
    background: var(--navy-800);
    border: 2px solid var(--brand-light);
}
.timeline-step { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-light); }
.timeline-item h3 { font-size: 27px; font-weight: 500; margin: 10px 0 12px; }
.timeline-item p { font-size: 16px; color: rgba(255, 255, 255, 0.72); margin: 0; }

/* ---------- Contact ---------- */

.contact { background: linear-gradient(180deg, #f7f9fb 0%, var(--mist) 100%); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.contact-intro h2 { margin-bottom: 16px; }
.contact-intro > p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 420px; }

.studio-card { margin-top: 40px; padding: 34px; background: var(--navy-800); color: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.studio-card h3 { font-size: 27px; font-weight: 500; margin-bottom: 22px; }
.studio-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.studio-card li { display: flex; gap: 16px; align-items: flex-start; }
.studio-icon { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(17, 190, 224, 0.5); color: var(--brand-light); font-size: 19px; }
.studio-card small { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-light); margin-bottom: 2px; }
.studio-card a, .studio-card span { color: rgba(255, 255, 255, 0.88); font-size: 16px; }
.studio-card a:hover { color: var(--brand-light); }

.booking { background: var(--white); padding: 44px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--brand); }

.booking-form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: var(--navy-700); padding: 0; margin-bottom: 0; }
fieldset.field legend { margin-bottom: 10px; }
.req { color: var(--brand); }
.optional { font-weight: 400; color: var(--muted); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    font: inherit;
    font-size: 16px;
    color: var(--text);
    background: #f8fafc;
    border: 1px solid #cfdae4;
    border-radius: var(--radius);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
    appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6f7e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 42px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(29, 143, 196, 0.16);
}

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field .check {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #cfdae4;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 15.5px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    transition: border-color .2s, background-color .2s;
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check-box {
    width: 20px; height: 20px;
    display: grid; place-items: center;
    border: 1.5px solid #b7c8d6;
    border-radius: 3px;
    color: transparent;
    font-size: 15px;
    transition: background-color .2s, border-color .2s, color .2s;
}
.check-box .icon { stroke-width: 3; }
.check:hover { border-color: var(--brand); }
.check:has(input:checked) { border-color: var(--brand); background: #eaf6fb; }
.check input:checked + .check-box { background: var(--brand); border-color: var(--brand); color: var(--white); }
.check input:focus-visible + .check-box { box-shadow: 0 0 0 3px rgba(29, 143, 196, 0.25); }

.field .upload {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1.5px dashed #b7c8d6;
    border-radius: var(--radius);
    background: #f8fafc;
    cursor: pointer;
    font-weight: 400 !important;
    font-size: 15.5px !important;
    letter-spacing: 0 !important;
    color: var(--muted) !important;
    transition: border-color .2s, background-color .2s;
}
.upload .icon { font-size: 25px; color: var(--brand); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload:hover, .upload.is-dragover { border-color: var(--brand); background: #eaf6fb; }
.upload.has-file .upload-text { color: var(--navy-800); font-weight: 500; }

.has-error input, .has-error select, .has-error textarea, .has-error .check, .has-error .upload { border-color: #c0392b !important; }
.field-error { margin: 2px 0 0; font-size: 14px; color: #b03a2e; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 26px; font-size: 16px; }
.alert .icon { font-size: 21px; margin-top: 2px; }
.alert-success { background: #eef6ec; color: #2e5e2a; border: 1px solid #c7e0c2; }
.alert-error { background: #fbeceb; color: #8f2c22; border: 1px solid #efc4bf; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Inner pages ---------- */

.page-hero {
    position: relative;
    min-height: 480px;
    padding: calc(var(--header-h) + 80px) 0 80px;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    background: var(--navy-900);
    overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 22, 38, 0.94) 0%, rgba(6, 22, 38, 0.75) 45%, rgba(6, 22, 38, 0.35) 100%),
        linear-gradient(0deg, rgba(6, 22, 38, 0.5) 0%, rgba(6, 22, 38, 0) 50%);
}
.page-hero-content { position: relative; }
.page-hero h1 { font-size: clamp(41px, 5.4vw, 71px); font-weight: 500; line-height: 1.05; max-width: 860px; margin-bottom: 20px; }
.page-hero-lead { font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; max-width: 640px; color: rgba(255, 255, 255, 0.85); margin: 0; }

.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, 0.6); margin-bottom: 22px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: var(--brand-light); }

.lead { font-size: 20px; color: var(--navy-700) !important; }
.center { text-align: center; margin-top: 48px; }

.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--brand); margin-top: 18px; }
.text-link .icon { transition: transform .25s; }
.text-link:hover .icon, .link-card:hover .text-link .icon { transform: translateX(4px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-copy h2 { margin-bottom: 22px; }
.split-copy p:not(.eyebrow):not(.lead) { color: var(--muted); }
.split-copy .btn { margin-top: 10px; }
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.dark-band { background: var(--navy-800); color: var(--white); }
.dark-band h2 { color: var(--white); }
.dark-band .eyebrow { color: var(--brand-light); }

.advantage-intro { display: grid; grid-template-columns: auto 1fr; gap: 32px; max-width: 920px; margin-bottom: 64px; }
.advantage-intro .advantage-icon { color: var(--brand-light); font-size: 57px; margin: 0; }
.advantage-intro h2 { margin-bottom: 18px; }
.advantage-intro p:not(.eyebrow) { color: rgba(255, 255, 255, 0.78); font-size: 18px; }

.factor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.factor { padding: 30px 26px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); transition: border-color .3s, transform .3s; }
.factor:hover { border-color: rgba(17, 190, 224, 0.5); transform: translateY(-4px); }
.factor-icon { color: var(--brand-light); font-size: 35px; display: block; margin-bottom: 18px; }
.factor h3 { font-size: 25px; font-weight: 500; margin-bottom: 10px; }
.factor p { font-size: 16px; color: rgba(255, 255, 255, 0.7); margin: 0; }

.commitment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.commitment { padding: 36px 32px; background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(7, 26, 43, 0.06); border-top: 3px solid transparent; border-image: var(--cta) 1; }
.commitment-num { font-family: var(--serif); font-size: 45px; font-weight: 600; background: var(--cta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.commitment h3 { font-size: 27px; color: var(--navy-800); margin: 8px 0 10px; }
.commitment p { color: var(--muted); margin: 0; }

.pillars-band { padding: 100px 0; background: var(--mist-dark); }
.pillar-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar-card { padding: 38px 32px; background: var(--white); border-radius: var(--radius); text-align: center; box-shadow: 0 10px 30px rgba(7, 26, 43, 0.06); transition: transform .3s, box-shadow .3s; }
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-card .pillar-icon { margin: 0 auto 20px; border-color: var(--brand); color: var(--brand); }
.pillar-card h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; color: var(--navy-800); margin-bottom: 10px; }
.pillar-card p { color: var(--muted); margin: 0; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-grid-3 { grid-template-columns: repeat(3, 1fr); }
.service-card { padding: 40px 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s, box-shadow .3s; }
.service-card:hover { border-color: rgba(29, 143, 196, 0.45); transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.service-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--cta); color: var(--white); font-size: 29px; }
.service-num { font-family: var(--serif); font-size: 37px; font-weight: 600; color: #c9d8e5; line-height: 1; }
.service-card h3 { font-size: 29px; color: var(--navy-800); margin-bottom: 12px; }
.service-card > p { color: var(--muted); }
.tick-list { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: center; font-size: 16px; color: var(--navy-700); }
.tick-list .icon { color: var(--brand); font-size: 18px; }

.link-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.link-card { display: grid; grid-template-rows: 260px 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(7, 26, 43, 0.06); transition: transform .3s, box-shadow .3s; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.link-card-media { background-size: cover; background-position: center; transition: transform 1.2s; }
.link-card:hover .link-card-media { transform: scale(1.05); }
.link-card-body { position: relative; padding: 34px 36px 36px; background: var(--white); }
.link-card-body .solution-icon { color: var(--brand); }
.link-card h3 { font-size: 33px; color: var(--navy-800); }
.link-card .solution-tagline { color: var(--brand); }
.link-card p:not(.solution-tagline):not(.eyebrow) { color: var(--muted); margin: 0; }
.link-card-wide { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
.link-card-wide .link-card-media { min-height: 320px; }
.link-card-wide .link-card-body { display: flex; flex-direction: column; justify-content: center; padding: 48px; }

.phase-list { display: grid; gap: 28px; max-width: 1040px; margin: 0 auto; }
.phase { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding: 44px; background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(7, 26, 43, 0.06); }
.phase-marker { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phase-num { font-family: var(--serif); font-size: 65px; font-weight: 600; line-height: 1; background: var(--cta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phase-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); font-size: 31px; }
.phase-body h2 { font-size: clamp(29px, 3vw, 39px); margin-bottom: 14px; }
.phase-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.phase-detail h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--navy-800); margin-bottom: 8px; }
.phase-detail p { color: var(--muted); margin: 0; }
.phase-outcome { padding: 22px 24px; border-radius: var(--radius); background: var(--mist); border-left: 3px solid var(--brand-light); }
.phase-outcome small { display: block; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.phase-outcome strong { font-weight: 500; color: var(--navy-800); }

.cta-band { padding: 90px 0; background: linear-gradient(120deg, var(--navy-900) 0%, var(--brand-deep) 60%, #1d6fa8 100%); color: var(--white); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band .eyebrow { color: var(--brand-light); }
.cta-band h2 { font-size: clamp(31px, 3.4vw, 45px); font-weight: 500; max-width: 720px; margin-bottom: 10px; }
.cta-band p:not(.eyebrow) { color: rgba(255, 255, 255, 0.78); margin: 0; }
.cta-band .btn-primary { flex-shrink: 0; background: var(--white); color: var(--brand-deep); }
.cta-band .btn-primary:hover { background: var(--mist); }

.next-steps { background: var(--mist-dark); }
.timeline-light::before { background: linear-gradient(90deg, transparent, rgba(29, 111, 168, 0.5) 10%, rgba(29, 111, 168, 0.5) 90%, transparent); }
.timeline-light .timeline-item::before { background: var(--mist-dark); border-color: var(--brand); }
.timeline-light .timeline-step { color: var(--brand); }
.timeline-light .timeline-item h3 { color: var(--navy-800); }
.timeline-light .timeline-item p { color: var(--muted); }

/* ---------- Gallery ---------- */

.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.gallery-filters a { padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--navy-700); background: var(--white); transition: all .2s; }
.gallery-filters a:hover { border-color: var(--brand); color: var(--brand); }
.gallery-filters a.is-active { background: var(--cta); border-color: transparent; color: var(--white); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--mist-dark); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px; color: var(--white); background: linear-gradient(0deg, rgba(6, 22, 38, 0.85), transparent); display: flex; flex-direction: column; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { opacity: 1; transform: none; }
.gallery-caption small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-light); }
.gallery-caption strong { font-weight: 500; font-size: 17px; }
.gallery-empty { text-align: center; max-width: 560px; margin: 0 auto; padding: 40px 0; }
.gallery-empty h2 { margin-bottom: 14px; }
.gallery-empty p { color: var(--muted); margin-bottom: 26px; }
.gallery-pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 40px; color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(4, 14, 24, 0.94); padding: 40px 80px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { color: rgba(255, 255, 255, 0.8); margin-top: 14px; font-size: 16px; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; font-size: 46px; line-height: 1; padding: 10px 16px; opacity: .75; }
.lightbox button:hover { opacity: 1; }
.lightbox-close { top: 14px; right: 18px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Testimonials ---------- */

.testimonials { background: var(--mist-dark); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial { margin: 0; padding: 34px 30px; background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(7, 26, 43, 0.06); display: flex; flex-direction: column; gap: 16px; }
.stars { color: #f2b01e; letter-spacing: 3px; font-size: 18px; }
.stars span { color: #d6dee6; }
.testimonial blockquote { margin: 0; flex: 1; font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--navy-800); }
.testimonial figcaption strong { display: block; color: var(--navy-800); }
.testimonial figcaption span { font-size: 15px; color: var(--muted); }

.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.footer-social a { padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; font-size: 14px; }
.footer-social a:hover { border-color: var(--brand-light); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.68); padding: 80px 0 0; font-size: 15.5px; }
.site-footer .logo-name { color: var(--white); }
.site-footer .logo-sub { color: var(--steel-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer-brand p { margin-top: 20px; max-width: 360px; }
.site-footer h4 { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand-light); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--brand-light); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--brand-light); margin-top: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; }

/* ---------- Reveal animation ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-bg { animation: none; transform: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
    .main-nav { gap: 20px; }
    .header-cta { display: none; }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .advantage { grid-column: 1 / -1; }
    .factor-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid, .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .service-grid-3 { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .process-head { text-align: center; }
}

@media (max-width: 980px) {
    :root { --header-h: 68px; }

    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: var(--header-h); left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        padding: 12px 28px 28px;
        background: var(--mist);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px rgba(7, 26, 43, 0.12);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, transform .25s, visibility .25s;
    }
    .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    .main-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
    .main-nav a::after { display: none; }
    .nav-cta-mobile { display: inline-flex !important; margin-top: 20px; border-bottom: 0 !important; }

    .pillars-grid { grid-template-columns: 1fr; }
    .pillar { padding: 22px 0; }
    .pillar + .pillar { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }

    .solutions-grid { grid-template-columns: 1fr; }
    .solution { min-height: 560px; }

    .process-steps { grid-template-columns: 1fr 1fr; gap: 36px; }
    .process-step::after { display: none; }

    .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .timeline::before { display: none; }

    .contact-grid { grid-template-columns: 1fr; gap: 48px; }

    .split { grid-template-columns: 1fr; gap: 40px; }
    .commitment-grid, .pillar-cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .link-cards { grid-template-columns: 1fr; }
    .link-card-wide { grid-template-columns: 1fr; }
    .link-card-wide .link-card-media { min-height: 240px; }
    .phase { grid-template-columns: 1fr; gap: 20px; }
    .phase-marker { flex-direction: row; }
    .phase-detail { grid-template-columns: 1fr; }
    .cta-band-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    .container { padding: 0 20px; }
    .section { padding: 80px 0; }
    .logo-name { font-size: 24px; }
    .logo-mark { width: 32px; height: 32px; }

    .hero h1 br { display: none; }
    .eyebrow span { margin: 0 4px; }

    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .solution-panel { padding: 40px 24px; }
    .solution h3 { font-size: 31px; }

    .process-steps, .timeline { grid-template-columns: 1fr; }
    .timeline-item { padding-left: 40px; padding-top: 0; }
    .timeline-item::before { left: 0; top: 4px; }

    .booking { padding: 28px 20px; }
    .page-hero { min-height: 400px; padding-bottom: 56px; }
    .factor-grid, .service-grid, .service-grid-3, .testimonial-grid { grid-template-columns: 1fr; }
    .gallery-grid { gap: 10px; }
    .gallery-caption { opacity: 1; transform: none; }
    .lightbox { padding: 60px 10px; }
    .advantage-intro { grid-template-columns: 1fr; gap: 16px; }
    .service-card, .phase { padding: 30px 22px; }
    .link-card-body, .link-card-wide .link-card-body { padding: 28px 22px; }
    .pillars-band, .cta-band { padding: 72px 0; }
    .form-row, .checks { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
