/* ==========================================================================
   Dissertation Helper — Publication Support Packs
   Visual direction: Atlantic atelier — deep ink, seafoam mist, copper accent
   ========================================================================== */

:root {
    --ink: #0b1f2a;
    --ink-soft: #163443;
    --deep: #1a4a5c;
    --mist: #d7ebe6;
    --paper: #f3f7f5;
    --paper-warm: #eef3f1;
    --line: rgba(11, 31, 42, 0.12);
    --muted: #5a727c;
    --accent: #e07a3d;
    --accent-deep: #c45f28;
    --jade: #1f7a6a;
    --jade-soft: #2a9b87;
    --white: #ffffff;
    --shadow-soft: 0 18px 50px rgba(11, 31, 42, 0.08);
    --radius: 6px;
    --radius-lg: 14px;
    --header-h: 76px;
    --font-display: "Syne", sans-serif;
    --font-body: "Literata", Georgia, serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --max: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--jade);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--accent-deep);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ink);
    color: var(--white);
    padding: 0.75rem 1rem;
    z-index: 1000;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.container {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
}

.container.narrow {
    width: min(100% - 2.5rem, 760px);
}

.section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 3rem;
}

.section-head p {
    color: var(--muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    padding: 0.85rem 1.4rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-sm { padding: 0.6rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--mist);
    color: var(--ink);
}

.text-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--jade);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}

.text-link:hover {
    color: var(--accent-deep);
}

/* Header — absolute over hero, transparent */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: var(--header-h);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
    position: fixed;
    background: rgba(11, 31, 42, 0.92);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.header-inner {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--white);
}

.brand:hover { color: var(--white); }

.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 50% 50% 50% 8%;
    background:
        radial-gradient(circle at 30% 30%, #7fd6c2 0%, transparent 45%),
        linear-gradient(135deg, var(--jade) 0%, var(--deep) 100%);
    flex-shrink: 0;
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

.nav-desktop {
    display: flex;
    gap: 1.6rem;
}

.nav-desktop a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.nav-desktop a:hover { color: #7fd6c2; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.header-phone:hover { color: #7fd6c2; }

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius);
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--white);
    transition: transform 0.25s var(--ease);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(11, 31, 42, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile:not([hidden]) {
    display: flex;
}

.nav-mobile a {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    padding: 0.7rem 0.4rem;
}

/* Hero — content-height, brand + form */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
    padding: calc(var(--header-h) + 4.5rem) 0 5.5rem;
}

.hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background-color: var(--ink);
    background-image:
        linear-gradient(
            105deg,
            rgba(7, 21, 29, 0.92) 0%,
            rgba(11, 31, 42, 0.82) 42%,
            rgba(18, 52, 71, 0.55) 100%
        ),
        url("../images/hero-bg.webp");
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    transform-origin: center center;
    animation: hero-bg-ken 22s ease-in-out infinite alternate;
}

@keyframes hero-bg-ken {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.hero-content {
    animation: hero-rise 1s var(--ease) both;
}

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.brand-hero {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    color: #7fd6c2;
}

.hero h1 {
    margin-bottom: 1rem;
    max-width: 14ch;
}

.hero-lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.82);
    max-width: 36ch;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-form {
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink);
    padding: 1.6rem 1.65rem 1.45rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
    animation: hero-rise 1s var(--ease) 0.12s both;
}

.hero-form-title {
    font-size: 1.35rem;
    margin-bottom: 0.2rem;
}

.hero-form-sub {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1.15rem;
}

.hero-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.hero-form .form-row {
    margin-bottom: 0.85rem;
}

.hero-form .form-row label {
    color: var(--ink);
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.hero-form .form-row input,
.hero-form .form-row select,
.hero-form .form-row textarea {
    background: var(--paper);
    padding: 0.78rem 0.9rem;
    font-size: 0.95rem;
}

.hero-form .form-row textarea {
    min-height: 88px;
    resize: vertical;
}

.hero-form .btn {
    padding: 0.9rem 1.35rem;
    font-size: 0.98rem;
    margin-top: 0.2rem;
}

.hero-form .form-status {
    margin-top: 0.65rem;
    font-size: 0.9rem;
    min-height: 1.25em;
}

/* Intro */
.intro-section {
    background:
        linear-gradient(180deg, var(--mist) 0%, var(--paper) 55%);
}

.split {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.check-list {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.check-list li {
    position: relative;
    padding-left: 1.7rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--jade);
    box-shadow: inset 0 0 0 2px var(--paper), 0 0 0 2px var(--jade);
}

.intro-aside {
    padding: 2rem;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.88);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.intro-aside::before {
    content: "";
    position: absolute;
    inset: auto -20% -40% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 122, 61, 0.35), transparent 70%);
}

.aside-label {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7fd6c2;
    margin-bottom: 0.5rem;
}

.aside-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.intro-aside .text-link {
    color: #ffc29a;
}

/* Packs — interactive containers */
.packs-section {
    background: var(--paper);
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.pack {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.pack:hover {
    transform: translateY(-6px);
    border-color: rgba(31, 122, 106, 0.35);
    box-shadow: var(--shadow-soft);
}

.pack-featured {
    background: linear-gradient(180deg, #ffffff 0%, #eef8f5 100%);
    border-color: var(--jade);
    box-shadow: var(--shadow-soft);
}

.pack-popular {
    position: absolute;
    top: 0;
    right: 1.25rem;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--jade);
    color: var(--white);
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
}

.pack-tier {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--jade);
    margin-bottom: 0.4rem;
}

.pack h3 {
    margin-bottom: 0.4rem;
}

.pack-price {
    margin: 0.4rem 0;
}

.pack-price span {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.pack-meta {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.pack-features {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 0.95rem;
}

.pack-features li {
    position: relative;
    padding-left: 1.4rem;
}

.pack-features li::before {
    position: absolute;
    left: 0;
    font-weight: 700;
}

.pack-features .included::before {
    content: "✓";
    color: var(--jade);
}

.pack-features .excluded {
    color: #9aa8af;
}

.pack-features .excluded::before {
    content: "–";
    color: #b7c2c7;
}

.pack-features small {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

.pack .btn {
    width: 100%;
}

.compare-note {
    text-align: center;
    margin-top: 2rem;
}

.btn-compare {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid rgba(11, 31, 42, 0.18);
    border-radius: var(--radius);
    padding: 0.85rem 1.45rem;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(11, 31, 42, 0.06);
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-compare:hover {
    transform: translateY(-2px);
    border-color: var(--jade);
    color: var(--jade);
    background: #eef8f5;
}

.btn-compare.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.btn-compare.is-active:hover {
    background: var(--ink-soft);
    border-color: var(--ink-soft);
    color: var(--white);
}

.btn-compare-icon {
    width: 18px;
    height: 14px;
    position: relative;
    flex-shrink: 0;
}

.btn-compare-icon::before,
.btn-compare-icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.btn-compare-icon::before {
    top: 2px;
    box-shadow: 0 5px 0 currentColor;
}

.btn-compare-icon::after {
    bottom: 0;
    width: 60%;
}

.compare-table-wrap {
    margin-top: 1.5rem;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.compare-table th {
    font-family: var(--font-display);
    background: var(--paper-warm);
}

.compare-table tr:last-child td {
    border-bottom: 0;
}

/* Band — Rapid Technical Review (light, image-led — distinct from hero) */
.band-review {
    position: relative;
    overflow: hidden;
    color: var(--ink);
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background:
        radial-gradient(ellipse 55% 50% at 0% 0%, rgba(215, 235, 230, 0.9), transparent 55%),
        linear-gradient(180deg, #e8f2ef 0%, var(--paper) 100%);
}

.band-review-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.band-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--jade);
    margin: 0 0 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid rgba(31, 122, 106, 0.35);
}

.band-review-copy h2 {
    max-width: 14ch;
    margin-bottom: 0.85rem;
    color: var(--ink);
}

.band-lead {
    max-width: 48ch;
    color: var(--muted);
    font-size: 1.08rem;
    margin-bottom: 1.5rem;
}

.band-points {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.35rem;
}

.band-points li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--ink-soft);
}

.band-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(224, 122, 61, 0.2);
}

.band-price-line {
    font-size: 0.98rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.band-price-line strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--accent-deep);
}

.band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
    color: var(--white);
}

.band-review-media {
    margin: 0;
    position: relative;
    border-radius: 4px 28px 4px 28px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-height: 520px;
    box-shadow: 18px 24px 0 rgba(31, 122, 106, 0.12);
}

.band-review-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(11, 31, 42, 0.25) 100%);
    pointer-events: none;
}

.band-review-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease);
}

.band-review-media:hover img {
    transform: scale(1.04);
}

/* Custom services — interactive builder */
.custom-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f7faf9 0%, #eef4f2 100%);
}

.custom-section-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    right: -80px;
    top: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 122, 61, 0.14), transparent 68%);
    pointer-events: none;
}

.custom-head .section-eyebrow,
.section-eyebrow {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--jade);
    margin: 0 0 0.75rem;
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.35rem 1.25rem;
    background: var(--white);
    border: 1px solid rgba(11, 31, 42, 0.1);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition:
        transform 0.3s var(--ease),
        border-color 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        background 0.3s var(--ease);
}

.service-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.1rem;
    bottom: 1.1rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: transparent;
    transition: background 0.25s var(--ease);
}

.service-item:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 122, 106, 0.35);
    box-shadow: 0 16px 36px rgba(11, 31, 42, 0.08);
}

.service-item.is-selected {
    background: linear-gradient(180deg, #ffffff 0%, #eef8f5 100%);
    border-color: var(--jade);
    box-shadow: 0 16px 36px rgba(31, 122, 106, 0.12);
}

.service-item.is-selected::before {
    background: var(--jade);
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.service-index {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.service-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid rgba(11, 31, 42, 0.2);
    background: transparent;
    position: relative;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-item.is-selected .service-check {
    background: var(--jade);
    border-color: var(--jade);
}

.service-item.is-selected .service-check::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.service-item h3 {
    margin-bottom: 0.35rem;
    font-size: 1.15rem;
}

.service-price {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.65rem;
    letter-spacing: -0.03em;
    margin: 0 0 0.7rem;
    color: var(--deep);
}

.service-price span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0;
}

.service-desc {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.15rem;
    flex: 1;
}

.btn-service {
    align-self: flex-start;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--jade);
    background: rgba(31, 122, 106, 0.08);
    border: 0;
    border-radius: var(--radius);
    padding: 0.55rem 0.9rem;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-service:hover {
    background: rgba(31, 122, 106, 0.16);
    color: var(--ink);
}

.service-item.is-selected .btn-service {
    background: var(--jade);
    color: var(--white);
}

.custom-bar {
    position: sticky;
    bottom: 1rem;
    margin-top: 2.25rem;
    z-index: 40;
}

.custom-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    background: linear-gradient(120deg, #0b1f2a 0%, #163443 55%, #1a4a5c 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(127, 214, 194, 0.2);
    box-shadow: 0 18px 40px rgba(11, 31, 42, 0.28);
}

.custom-bar-copy p {
    margin: 0;
}

.custom-bar-label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7fd6c2;
    margin-bottom: 0.2rem !important;
}

.custom-bar-inner strong {
    color: #ffc29a;
}

/* Testimonials */
.testimonials-section {
    background: var(--mist);
    overflow: hidden;
}

.testimonials-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.testimonials-content .section-head {
    margin-bottom: 2rem;
}

.testimonial-track {
    position: relative;
    min-height: 220px;
}

.testimonial {
    margin: 0;
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    pointer-events: none;
}

.testimonial.is-active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial p {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.45;
    max-width: 28ch;
    font-style: italic;
}

.testimonial footer {
    margin-top: 1.5rem;
}

.testimonial cite {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 700;
    display: block;
}

.testimonial span {
    color: var(--muted);
    font-size: 0.95rem;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.testimonial-dots button {
    width: 28px;
    height: 4px;
    border: 0;
    border-radius: 2px;
    background: rgba(11, 31, 42, 0.2);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s var(--ease), width 0.25s var(--ease);
}

.testimonial-dots button.is-active {
    width: 44px;
    background: var(--ink);
}

.testimonials-media {
    margin: 0;
    border-radius: 28px 4px 28px 4px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-height: 520px;
    box-shadow: -16px 20px 0 rgba(11, 31, 42, 0.08);
}

.testimonials-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease);
}

.testimonials-media:hover img {
    transform: scale(1.04);
}

/* Process — visual timeline */
.process-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(215, 235, 230, 0.7), transparent 55%),
        linear-gradient(180deg, #f4f8f6 0%, var(--paper) 100%);
}

.process-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    left: -120px;
    bottom: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 122, 61, 0.1), transparent 68%);
    pointer-events: none;
}

.process-intro {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: end;
    margin-bottom: 2.5rem;
}

.process-intro .section-head {
    margin-bottom: 0;
}

.process-aside {
    padding: 1.5rem 1.4rem;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.process-aside::after {
    content: "";
    position: absolute;
    right: -30%;
    top: -40%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 155, 135, 0.35), transparent 70%);
}

.process-aside-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #7fd6c2;
    margin: 0 0 0.15rem;
}

.process-aside-label {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffc29a;
    margin: 0 0 0.75rem;
}

.process-aside p:last-child {
    margin: 0;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.process-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.process-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.4rem 1.35rem;
    background: var(--white);
    border: 1px solid rgba(11, 31, 42, 0.08);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.process-list li:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 122, 106, 0.3);
    box-shadow: 0 16px 36px rgba(11, 31, 42, 0.07);
}

.step-marker {
    position: relative;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: var(--white);
    background: linear-gradient(145deg, var(--jade) 0%, var(--deep) 100%);
    box-shadow: 0 8px 18px rgba(31, 122, 106, 0.25);
}

.process-list li:nth-child(even) .step-num {
    background: linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%);
    box-shadow: 0 8px 18px rgba(224, 122, 61, 0.25);
}

.step-body h3 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.step-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Guarantees — keep dark background, richer structure */
.guarantees-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--ink) 0%, #123447 100%);
    color: rgba(255, 255, 255, 0.88);
}

.guarantees-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 45% 50% at 10% 20%, rgba(42, 155, 135, 0.18), transparent 55%),
        radial-gradient(ellipse 40% 45% at 90% 80%, rgba(224, 122, 61, 0.12), transparent 50%);
    pointer-events: none;
}

.guarantees-head {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.guarantees-eyebrow {
    color: #7fd6c2;
}

.guarantees-head h2 {
    color: var(--white);
    margin: 0;
}

.guarantees-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.guarantee {
    padding: 1.6rem 1.45rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.guarantee:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(127, 214, 194, 0.35);
}

.guarantee-index {
    display: block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #ffc29a;
    margin-bottom: 1rem;
}

.guarantee h3 {
    color: #7fd6c2;
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}

.guarantee p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
}

.ethics-note {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    padding: 1.35rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.ethics-note p {
    margin: 0;
    max-width: 52ch;
}

.ethics-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ethics-tags li {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #7fd6c2;
    padding: 0.4rem 0.7rem;
    border: 1px solid rgba(127, 214, 194, 0.35);
    border-radius: 4px;
    background: rgba(127, 214, 194, 0.08);
}

/* Rejection — problem → solution map */
.rejection-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 50% 40% at 0% 0%, rgba(215, 235, 230, 0.85), transparent 55%),
        linear-gradient(180deg, #f0f5f3 0%, var(--paper-warm) 100%);
}

.rejection-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    right: -100px;
    bottom: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 122, 61, 0.12), transparent 68%);
    pointer-events: none;
}

.rejection-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.rejection-intro .section-head {
    margin-bottom: 0;
}

.rejection-map {
    background: var(--white);
    border: 1px solid rgba(11, 31, 42, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 18px 40px rgba(11, 31, 42, 0.05);
}

.rejection-map-head,
.rejection-row {
    display: grid;
    grid-template-columns: 1.2fr 48px 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem 1.35rem;
}

.rejection-map-head {
    background: linear-gradient(90deg, #d7ebe6 0%, #e8f4f1 100%);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
}

.rejection-row {
    border-top: 1px solid rgba(11, 31, 42, 0.07);
    transition: background 0.25s var(--ease);
}

.rejection-row:hover {
    background: rgba(215, 235, 230, 0.35);
}

.rejection-reason {
    color: var(--ink-soft);
}

.rejection-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(31, 122, 106, 0.1);
    position: relative;
    justify-self: center;
}

.rejection-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--jade);
    border-right: 2px solid var(--jade);
    transform: translate(-60%, -50%) rotate(45deg);
}

.rejection-solution {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--jade);
    display: inline-flex;
    align-items: center;
}

.rejection-solution::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 0.65rem;
    flex-shrink: 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.spec-item {
    padding: 1.25rem 1.15rem;
    background: var(--white);
    border: 1px solid rgba(11, 31, 42, 0.08);
    border-radius: var(--radius-lg);
    border-top: 3px solid var(--ink);
    transition: transform 0.25s var(--ease), border-top-color 0.25s var(--ease);
}

.spec-item:hover {
    transform: translateY(-3px);
    border-top-color: var(--accent);
}

.spec-item span {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.45rem;
}

.spec-item strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ink);
}

/* FAQ */
.faq-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 45% 50% at 0% 0%, rgba(215, 235, 230, 0.8), transparent 55%),
        linear-gradient(180deg, #f4f8f6 0%, var(--paper) 100%);
}

.faq-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    right: -100px;
    top: 20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 122, 61, 0.1), transparent 68%);
    pointer-events: none;
}

.faq-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}

.faq-intro h2 {
    max-width: 12ch;
    margin-bottom: 0.75rem;
}

.faq-intro > p {
    color: var(--muted);
    max-width: 34ch;
    margin-bottom: 1.75rem;
}

.faq-help {
    padding: 1.4rem 1.35rem;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.faq-help::after {
    content: "";
    position: absolute;
    right: -20%;
    top: -30%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 155, 135, 0.35), transparent 70%);
}

.faq-help-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    margin: 0 0 0.4rem;
    position: relative;
    z-index: 1;
}

.faq-help p {
    position: relative;
    z-index: 1;
    margin: 0 0 1.1rem;
    font-size: 0.95rem;
}

.faq-help .btn {
    position: relative;
    z-index: 1;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(11, 31, 42, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq-item:hover {
    border-color: rgba(31, 122, 106, 0.28);
}

.faq-item.is-open {
    border-color: rgba(31, 122, 106, 0.4);
    box-shadow: 0 14px 32px rgba(11, 31, 42, 0.07);
}

.faq-q {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    text-align: left;
    background: none;
    border: 0;
    padding: 1.15rem 1.2rem;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    position: relative;
}

.faq-num {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--jade);
    background: rgba(31, 122, 106, 0.1);
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
}

.faq-q-text {
    padding-right: 0.5rem;
}

.faq-q::after {
    content: "+";
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--jade);
    background: rgba(31, 122, 106, 0.1);
    transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.faq-item.is-open .faq-q::after {
    content: "–";
    background: var(--jade);
    color: var(--white);
}

.faq-a {
    padding: 0 1.2rem 1.2rem 4.1rem;
    color: var(--muted);
}

.faq-a p { margin: 0; }

/* Enquiry */
.enquiry-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 50% 60% at 0% 100%, rgba(224, 122, 61, 0.12), transparent 50%),
        radial-gradient(ellipse 40% 50% at 100% 0%, rgba(31, 122, 106, 0.14), transparent 50%),
        linear-gradient(180deg, #e7f1ee 0%, var(--mist) 100%);
}

.enquiry-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    left: -140px;
    top: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 214, 194, 0.25), transparent 68%);
    pointer-events: none;
}

.enquiry-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.enquiry-copy .section-eyebrow {
    margin-bottom: 0.75rem;
}

.enquiry-copy h2 {
    max-width: 12ch;
}

.enquiry-lead {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 38ch;
    margin-bottom: 1.5rem;
}

.enquiry-perks {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.75rem;
}

.enquiry-perks li {
    position: relative;
    padding-left: 1.55rem;
    color: var(--ink-soft);
}

.enquiry-perks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--jade);
    box-shadow: 0 0 0 3px rgba(31, 122, 106, 0.15);
}

.contact-lines {
    display: grid;
    gap: 0.75rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(11, 31, 42, 0.08);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 122, 106, 0.35);
    background: var(--white);
    color: var(--ink);
}

.contact-card small {
    display: block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.15rem;
}

.contact-card strong {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    word-break: break-word;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(31, 122, 106, 0.12);
    position: relative;
    flex-shrink: 0;
}

.contact-icon-phone::before,
.contact-icon-phone::after,
.contact-icon-mail::before {
    content: "";
    position: absolute;
}

.contact-icon-phone::before {
    width: 14px;
    height: 14px;
    border: 2px solid var(--jade);
    border-radius: 4px 4px 6px 3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
}

.contact-icon-mail::before {
    width: 18px;
    height: 12px;
    border: 2px solid var(--jade);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background:
        linear-gradient(135deg, transparent 42%, var(--jade) 42%, var(--jade) 58%, transparent 58%),
        linear-gradient(45deg, transparent 42%, var(--jade) 42%, var(--jade) 58%, transparent 58%);
    background-size: 100% 50%;
    background-repeat: no-repeat;
    background-position: top, bottom;
}

.enquiry-form {
    background: var(--white);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(11, 31, 42, 0.08);
    box-shadow: 0 22px 50px rgba(11, 31, 42, 0.08);
}

.enquiry-form-head {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(11, 31, 42, 0.08);
}

.enquiry-form-head h3 {
    margin-bottom: 0.25rem;
    font-size: 1.35rem;
}

.enquiry-form-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.enquiry-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.form-note {
    margin: 0.85rem 0 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}

.form-row {
    margin-bottom: 1.1rem;
}

.form-row label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--jade);
    background: var(--white);
}

.form-status {
    margin: 0.85rem 0 0;
    font-size: 0.95rem;
    min-height: 1.4em;
}

.form-status.is-success { color: var(--jade); }
.form-status.is-error { color: #b33a2b; }

/* Footer */
.site-footer {
    position: relative;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.78);
    padding: 4rem 0 2rem;
    overflow: hidden;
}

.footer-atmosphere {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 80% 0%, rgba(42, 155, 135, 0.2), transparent 55%);
    pointer-events: none;
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.brand-light { color: var(--white); }
.brand-light:hover { color: var(--white); }

.footer-brand p {
    margin-top: 1rem;
    max-width: 32ch;
}

.footer-col h3 {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7fd6c2;
    margin-bottom: 1rem;
}

.footer-col ul {
    display: grid;
    gap: 0.55rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer-col a:hover { color: #ffc29a; }

.footer-bottom {
    position: relative;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 0.5rem;
}

.footer-bottom p { margin: 0; font-size: 0.9rem; }

.footer-note {
    color: rgba(255, 255, 255, 0.5);
    max-width: 70ch;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
    .packs-grid,
    .custom-grid,
    .guarantees-grid,
    .specs-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .split,
    .enquiry-wrap,
    .band-review-layout,
    .testimonials-layout,
    .hero-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonials-media {
        width: 100%;
        max-height: 380px;
        aspect-ratio: 16 / 10;
        box-shadow: 12px 16px 0 rgba(11, 31, 42, 0.08);
    }

    .band-review-copy h2 {
        max-width: none;
    }

    .band-review-media {
        width: 100%;
        max-height: 420px;
        box-shadow: 12px 16px 0 rgba(31, 122, 106, 0.12);
    }

    .process-intro,
    .process-list {
        grid-template-columns: 1fr;
    }

    .rejection-map-head,
    .rejection-row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .rejection-map-spacer,
    .rejection-arrow {
        display: none;
    }

    .rejection-map-head span:last-child {
        color: var(--jade);
    }

    .enquiry-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .enquiry-copy h2 {
        max-width: none;
    }

    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-intro h2 {
        max-width: none;
    }

    .faq-a {
        padding-left: 1.2rem;
    }
}

@media (max-width: 760px) {
    .nav-desktop,
    .header-phone {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .packs-grid,
    .custom-grid,
    .guarantees-grid,
    .specs-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: calc(var(--header-h) + 3rem) 0 3.75rem;
    }

    .hero h1 {
        max-width: none;
    }

    .hero-form .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .custom-bar-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

/* Solid header for inner pages */
.site-header.is-solid {
    position: fixed;
    background: rgba(11, 31, 42, 0.96);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Legal pages */
.legal-hero {
    padding: calc(var(--header-h) + 3rem) 0 2.5rem;
    background:
        radial-gradient(ellipse 50% 60% at 80% 0%, rgba(42, 155, 135, 0.25), transparent 55%),
        linear-gradient(160deg, #07151d 0%, #0b1f2a 45%, #123447 100%);
    color: var(--white);
}

.legal-hero .section-eyebrow {
    color: #7fd6c2;
}

.legal-hero h1 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.legal-updated {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.legal-section {
    background: var(--paper);
    padding-top: 3rem;
}

.legal-content h2 {
    font-size: 1.35rem;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
    color: var(--ink-soft);
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0 0 1.25rem;
    display: grid;
    gap: 0.45rem;
}

.legal-content a {
    color: var(--jade);
}

.legal-back {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.footer-bottom a {
    color: #7fd6c2;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffc29a;
}

/* ==========================================================================
   Enquiry Modal
   ========================================================================== */
.modal[hidden] {
    display: none !important;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.modal.is-open {
    display: grid;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 29, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.modal.is-visible .modal-backdrop {
    opacity: 1;
}

.modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 860px);
    max-height: min(90vh, 640px);
    overflow: auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    transform: translateY(28px) scale(0.96);
    opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.modal.is-visible .modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(11, 31, 42, 0.08);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.modal-close:hover {
    background: rgba(11, 31, 42, 0.14);
    transform: rotate(90deg);
}

.modal-close span,
.modal-close span::before {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

.modal-close span {
    transform: rotate(45deg);
}

.modal-close span::before {
    content: "";
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    min-height: 0;
}

.modal-aside {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.86);
    background:
        radial-gradient(ellipse 70% 50% at 20% 10%, rgba(42, 155, 135, 0.35), transparent 55%),
        radial-gradient(ellipse 50% 40% at 90% 90%, rgba(224, 122, 61, 0.22), transparent 50%),
        linear-gradient(160deg, #07151d 0%, #0b1f2a 50%, #123447 100%);
}

button.btn {
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.modal-aside-glow {
    position: absolute;
    inset: auto -20% -30% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 214, 194, 0.25), transparent 70%);
    pointer-events: none;
}

.modal-eyebrow {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7fd6c2;
    margin: 0 0 0.55rem;
}

.modal-aside h2 {
    color: var(--white);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    max-width: 12ch;
    margin-bottom: 0.55rem;
}

.modal-aside-lead {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1rem;
    max-width: 28ch;
    font-size: 0.92rem;
}

.modal-contact {
    display: grid;
    gap: 0.4rem;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.modal-contact a {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffc29a;
    text-decoration: none;
}

.modal-contact a:hover {
    color: #7fd6c2;
}

.modal-form {
    padding: 1.5rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
}

.modal-selection {
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.8rem;
    background: linear-gradient(180deg, #eef8f5 0%, #f3f7f5 100%);
    border: 1px solid rgba(31, 122, 106, 0.22);
    border-radius: var(--radius);
}

.modal-selection[hidden] {
    display: none !important;
}

.modal-selection-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.modal-selection-label {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--jade);
}

.modal-selection-total {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--accent-deep);
}

.modal-selection-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 72px;
    overflow-y: auto;
}

.modal-selection-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.28rem 0;
    border-top: 1px solid rgba(11, 31, 42, 0.08);
    font-size: 0.84rem;
}

.modal-selection-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.modal-selection-list .sel-name {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 600;
}

.modal-selection-list .sel-price {
    color: var(--jade);
    font-family: var(--font-display);
    font-weight: 700;
    white-space: nowrap;
}

.modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.modal-row.is-phone-only {
    grid-template-columns: 1fr;
}

#modal-pack-field[hidden] {
    display: none !important;
}

.modal-form .form-row {
    margin-bottom: 0.65rem;
}

.modal-form .form-row label {
    font-size: 0.78rem;
    margin-bottom: 0.25rem;
}

.modal-form .form-row input,
.modal-form .form-row select,
.modal-form .form-row textarea {
    background: var(--paper);
    padding: 0.6rem 0.75rem;
    font-size: 0.92rem;
}

.modal-form .form-row textarea {
    min-height: 58px;
    resize: vertical;
}

.modal-form .btn {
    margin-top: 0.1rem;
    padding: 0.75rem 1.2rem;
}

.modal-note {
    margin: 0.55rem 0 0;
    text-align: center;
    font-size: 0.78rem;
    color: var(--muted);
}

.modal-form .form-status {
    min-height: 1.1em;
    margin-top: 0.35rem;
    font-size: 0.85rem;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 820px) {
    .modal-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .modal-aside {
        padding: 1.75rem 1.5rem 1.35rem;
    }

    .modal-aside h2 {
        max-width: none;
        font-size: 1.55rem;
    }

    .modal-perks {
        display: none;
    }

    .modal-form {
        padding: 1.5rem;
    }

    .modal-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Thank you page */
.thanks-section {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - var(--header-h));
    display: grid;
    align-items: center;
    padding: calc(var(--header-h) + 3rem) 0 4rem;
    background:
        radial-gradient(ellipse 50% 45% at 10% 20%, rgba(215, 235, 230, 0.9), transparent 55%),
        radial-gradient(ellipse 40% 40% at 90% 80%, rgba(224, 122, 61, 0.1), transparent 50%),
        linear-gradient(180deg, #e8f2ef 0%, var(--paper) 100%);
}

.thanks-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 155, 135, 0.16), transparent 68%);
    pointer-events: none;
}

.thanks-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
}

.thanks-card {
    width: min(100%, 640px);
    text-align: center;
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--white);
    border: 1px solid rgba(11, 31, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 22px 50px rgba(11, 31, 42, 0.08);
    animation: hero-rise 0.8s var(--ease) both;
}

.thanks-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--jade) 0%, var(--deep) 100%);
    display: grid;
    place-items: center;
    box-shadow: 0 12px 28px rgba(31, 122, 106, 0.28);
}

.thanks-icon span {
    width: 18px;
    height: 10px;
    border-left: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    transform: rotate(-45deg) translate(1px, -1px);
}

.thanks-card .section-eyebrow {
    color: var(--jade);
}

.thanks-card h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.thanks-lead {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 38ch;
    margin: 0 auto 1.5rem;
}

.thanks-points {
    display: grid;
    gap: 0.55rem;
    text-align: left;
    max-width: 360px;
    margin: 0 auto 1.75rem;
}

.thanks-points li {
    position: relative;
    padding-left: 1.45rem;
    color: var(--ink-soft);
}

.thanks-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--accent);
}

.thanks-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.thanks-contact {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(11, 31, 42, 0.08);
}

.thanks-contact p {
    margin: 0 0 0.5rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.thanks-contact a {
    display: inline-block;
    margin: 0 0.55rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--jade);
    text-decoration: none;
}

.thanks-contact a:hover {
    color: var(--accent-deep);
}

@media (max-width: 600px) {
    .thanks-actions {
        flex-direction: column;
    }

    .thanks-actions .btn {
        width: 100%;
    }

    .thanks-contact a {
        display: block;
        margin: 0.25rem 0;
    }
}
