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

:root {
    --bg: #ebf7fc;
    --surface: #ffffff;
    --surface-strong: #d9eef7;
    --text: #163244;
    --muted: #4f6b7a;
    --accent: #0099cc;
    --accent-dark: #006699;
    --ink: #0f2733;
    --accent-soft: rgba(0, 153, 204, 0.16);
    --border: #b8dbe8;
    --shadow: 0 16px 38px rgba(15, 39, 51, 0.08);
    --container: 1200px;
}

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

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(0, 153, 204, 0.32), transparent 32%),
        linear-gradient(180deg, #f3fbfe 0%, #e7f4fb 100%);
}

a {
    color: inherit;
}

h1, h2, h3, h4, h5,
.site-brand,
.footer-title {
    font-family: "Sora", "Inter", system-ui, sans-serif;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 1000;
    background: var(--text);
    color: #fff;
    padding: 0.75rem 1rem;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

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

.narrow {
    max-width: 700px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 102, 153, 0.12);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 0;
}

.site-brand,
.footer-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.site-brand img {
    width: 150px;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
}

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

.site-nav li {
    display: flex;
    align-items: center;
}

.nav-item-dropdown {
    position: relative;
    padding-bottom: 0.9rem;
    margin-bottom: -0.9rem;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    color: var(--muted);
}

.nav-link-with-caret {
    gap: 0.45rem;
}

.nav-link-with-caret::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    order: 2;
    transition: transform 180ms ease;
}

.site-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 180ms ease;
}

.site-nav a.is-active {
    color: var(--accent-dark);
}

.site-nav a.is-active:not(.nav-cta)::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    display: grid;
    gap: 0.5rem;
    width: min(360px, 80vw);
    padding: 0.85rem;
    border: 1px solid rgba(0, 102, 153, 0.14);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 20px 44px rgba(15, 39, 51, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.9rem;
    height: 0.9rem;
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -0.45rem;
    left: 50%;
    width: 0.9rem;
    height: 0.9rem;
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid rgba(0, 102, 153, 0.14);
    border-top: 1px solid rgba(0, 102, 153, 0.14);
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-item {
    display: grid;
    gap: 0.2rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    color: var(--text);
    background: transparent;
    transition: background-color 160ms ease, transform 160ms ease;
    align-items: start;
    justify-items: start;
}

.nav-dropdown-item::after {
    content: none !important;
}

.nav-dropdown .nav-dropdown-item {
    display: grid;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus {
    background: rgba(0, 153, 204, 0.08);
    color: var(--text);
    transform: translateY(-1px);
}

.nav-dropdown-item.is-active {
    background: rgba(0, 153, 204, 0.1);
    border: 1px solid rgba(0, 102, 153, 0.1);
}

.nav-dropdown-item.is-active .nav-dropdown-title {
    color: var(--accent-dark);
}

.nav-dropdown-title {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.nav-dropdown-copy {
    display: block;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--muted);
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-item-dropdown:hover .nav-link-with-caret::before,
.nav-item-dropdown:focus-within .nav-link-with-caret::before {
    transform: rotate(225deg) translateY(-1px);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #fff !important;
    font-weight: 600;
    line-height: 1;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus,
.button-link:hover,
.button-link:focus {
    color: var(--accent-dark);
    text-decoration: none;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus::after {
    transform: scaleX(1);
}

.nav-cta:hover,
.nav-cta:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.hero,
.content-section,
.error-panel {
    padding: 4rem 0;
}

.hero {
    padding: 5.5rem 0 5rem;
}

.hero h1,
.error-panel h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 1.2;
    text-wrap: balance;
    color: var(--accent-dark);
}

.hero h1 {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 55%, #33b8e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero {
    text-align: center;
}

.hero .intro {
    max-width: 700px;
    display: block;
    margin: 20px auto;
    color: var(--text);
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.35rem);
    line-height: 1.65;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--accent-dark);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.85rem;
}

.intro,
.footer-copy,
.error-panel p,
.card li {
    color: var(--muted);
    line-height: 1.7;
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1rem;
    width: min(100%, 640px);
    margin: 2rem auto 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0.95rem 1.5rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background-color: var(--accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn:hover,
.btn:focus {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-dark);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(0, 153, 204, 0.08);
    color: var(--accent-dark);
}

.hero-trust {
    display: block;
    margin: 1.5rem auto 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.hero-trust::before {
    content: none;
}

.contact-hero {
    padding: 4rem 0 2rem;
}


.contact-hero-panel {
    padding: 2.5rem;
    border: 1px solid rgba(0, 102, 153, 0.1);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(217, 238, 247, 0.76)),
        radial-gradient(circle at top right, rgba(0, 153, 204, 0.16), transparent 30%);
    box-shadow: var(--shadow);
}

.contact-hero-panel h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--accent-dark);
}

.contact-hero-panel h1 span {
    color: var(--accent);
}

.contact-page {
    padding: 4rem 0 6rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(3rem, 6vw, 5.5rem);
    align-items: start;
}

.contact-copy h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.05;
    color: var(--accent-dark);
}

.contact-copy > p {
    margin: 0 0 1.5rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-options {
    display: grid;
    gap: 1rem;
}

.contact-option {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(0, 102, 153, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.52);
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.contact-option:hover,
.contact-option:focus {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(0, 102, 153, 0.18);
    transform: translateY(-1px);
}

.contact-option-static {
    cursor: default;
}

.contact-option-static:hover,
.contact-option-static:focus {
    background: rgba(255, 255, 255, 0.52);
    border-color: rgba(0, 102, 153, 0.08);
    transform: none;
}

.contact-symbol {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(0, 153, 204, 0.12);
    color: var(--accent-dark);
    font-size: 0.95rem;
    font-weight: 800;
}

.contact-symbol i {
    font-size: 1.15rem;
    line-height: 1;
}

.contact-info {
    display: grid;
    gap: 0.12rem;
}

.contact-service {
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.contact-value {
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
}

.contact-commitment {
    margin-top: 1.4rem;
    padding: 1.35rem 1.45rem;
    border: 1px solid rgba(0, 102, 153, 0.1);
    border-radius: 22px;
    background: rgba(217, 238, 247, 0.46);
}

.contact-commitment h3 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    color: var(--accent-dark);
}

.contact-commitment p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.contact-form-panel {
    padding: clamp(1.6rem, 3vw, 2.5rem);
    border: 1px solid rgba(0, 102, 153, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.contact-form {
    display: grid;
    gap: 1.35rem;
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--text);
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(0, 102, 153, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(0, 102, 153, 0.42);
    box-shadow: 0 0 0 4px rgba(0, 153, 204, 0.12);
}

.required {
    color: var(--accent-dark);
}

.contact-legal {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(0, 102, 153, 0.06);
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.contact-captcha-placeholder {
    display: grid;
    place-items: center;
    min-height: 78px;
    border: 1px dashed rgba(0, 102, 153, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--muted);
    font-size: 0.92rem;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0.95rem 1.4rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.contact-submit:hover,
.contact-submit:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
}

.contact-status {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-status:empty {
    display: none;
}

.newsletter-signup-page {
    padding: 4rem 0 6rem;
}

.newsletter-signup-panel {
    padding: 2rem;
    border: 1px solid rgba(0, 102, 153, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.newsletter-signup-panel h1 {
    margin: 0 0 0.75rem;
    color: var(--accent-dark);
}

.newsletter-signup-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.newsletter-signup-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--text);
    font-weight: 600;
}

.newsletter-signup-form input[type="text"],
.newsletter-signup-form input[type="email"] {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(0, 102, 153, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    font: inherit;
}

.newsletter-consent {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--muted);
}

.newsletter-helper-copy {
    margin: -0.25rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.newsletter-consent input {
    margin-top: 0.2rem;
}

.newsletter-status {
    margin: 1rem 0 0;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    font-weight: 600;
}

.newsletter-status.is-success {
    background: rgba(0, 153, 204, 0.1);
    color: var(--accent-dark);
}

.newsletter-status.is-error {
    background: rgba(194, 70, 70, 0.08);
    color: #8c2f2f;
}

.quote-page {
    padding: 5rem 0 6rem;
}

.quote-shell {
    max-width: 980px;
    margin: 0 auto;
}

.quote-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.quote-intro h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.quote-reassure {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.4rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.quote-reassure li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.quote-reassure i {
    color: var(--accent);
    font-size: 1.05rem;
}

.quote-status {
    margin: 0 auto 1.5rem;
    max-width: 860px;
    padding: 1rem 1.1rem;
    border-radius: 18px;
}

.quote-status.is-success {
    background: rgba(0, 153, 204, 0.1);
    color: var(--accent-dark);
}

.quote-status.is-error {
    background: rgba(194, 70, 70, 0.08);
    color: #8c2f2f;
}

.quote-status.is-error p {
    margin: 0;
}

.quote-status.is-error p + p {
    margin-top: 0.45rem;
}

.quote-form {
    padding: clamp(1.75rem, 3.5vw, 2.75rem);
    border: 1px solid rgba(22, 50, 68, 0.08);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(22, 50, 68, 0.08);
}

.quote-progress {
    margin-bottom: 1.75rem;
}

.quote-progress-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.7rem;
    color: var(--muted);
}

.quote-progress-meta span:last-child {
    color: var(--accent-dark);
    font-weight: 700;
}

.quote-progress-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(0, 153, 204, 0.08);
    overflow: hidden;
}

.quote-progress-bar span {
    display: block;
    width: 14.285%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent));
    transition: width 220ms ease;
}

.quote-step {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.quote-step.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: quoteStepIn 220ms ease;
}

@keyframes quoteStepIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-step h2 {
    margin: 0 0 1rem;
    color: var(--accent-dark);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

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

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

.quote-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--text);
    font-weight: 600;
}

.quote-help-text {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
    font-weight: 500;
}

.quote-form input:not([type="checkbox"]),
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(0, 102, 153, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.quote-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 3rem;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--accent-dark) 50%),
        linear-gradient(135deg, var(--accent-dark) 50%, transparent 50%);
    background-position:
        calc(100% - 1.25rem) calc(50% - 0.15rem),
        calc(100% - 0.9rem) calc(50% - 0.15rem);
    background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
    background-repeat: no-repeat;
    cursor: pointer;
}

.quote-form input:not([type="checkbox"]):focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: rgba(0, 102, 153, 0.42);
    box-shadow: 0 0 0 4px rgba(0, 153, 204, 0.12);
}

.quote-controls {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.quote-controls .btn {
    min-width: 180px;
}

.quote-next {
    margin-left: auto;
}

.quote-controls .btn[hidden] {
    display: none !important;
}

.quote-marketing-optin {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0 1.25rem;
    color: var(--muted);
    font-weight: 500;
}

.quote-marketing-optin input {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    accent-color: var(--accent-dark);
    border-radius: 0.3rem;
    flex: 0 0 auto;
}

.quote-legal-note {
    margin: 0 0 1.25rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.quote-legal-note a {
    color: var(--accent-dark);
    font-weight: 600;
}

.quote-recommendation-copy,
.quote-review-copy {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.7;
}

.quote-form .cf-turnstile {
    margin: 0 0 1.25rem;
}

.quote-recommendation-card {
    display: grid;
    gap: 1.1rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid rgba(0, 102, 153, 0.18);
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(0, 153, 204, 0.1), rgba(255, 255, 255, 0.96));
    box-shadow: 0 18px 40px rgba(15, 39, 51, 0.08);
}

.quote-recommendation-badge {
    justify-self: start;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 153, 204, 0.16);
    color: var(--accent-dark);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.quote-step-recommendation h2 {
    margin: 0;
}

.quote-recommendation-card .quote-recommendation-copy {
    margin: 0;
    color: var(--text);
}

.quote-recommendation-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.quote-recommendation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.quote-summary {
    display: grid;
    gap: 0.8rem;
}

.quote-summary-row {
    display: grid;
    grid-template-columns: minmax(160px, 220px) 1fr;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(22, 50, 68, 0.08);
    border-radius: 16px;
    background: rgba(245, 245, 247, 0.92);
}

.quote-summary-label {
    color: var(--accent-dark);
    font-weight: 700;
}

.quote-summary-value {
    color: var(--muted);
}

.service-ai-hero {
    padding: 6.5rem 0 6rem;
}

.service-ai-hero-inner {
    display: block;
}

.service-ai-hero-copy {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.service-ai-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 5.6vw, 4.75rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-wrap: balance;
    color: var(--ink);
}

.service-ai-hero-subtitle {
    margin: 0 0 1rem;
    color: var(--accent-dark);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.service-ai-hero .intro {
    max-width: 690px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.75;
}

.service-ai-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1rem;
    width: min(100%, 680px);
    margin: 2rem auto 0;
}

.service-ai-hero-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.4rem;
}

.service-ai-hero-points span {
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 153, 204, 0.08);
    color: var(--accent-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.service-ai-sections {
    background: #f5f5f7;
}

.service-ai-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.service-ai-hero-link:hover,
.service-ai-hero-link:focus {
    text-decoration: underline;
}

.service-platforms-section {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.service-platforms-heading {
    margin-bottom: 2.25rem;
    text-align: center;
}

.service-platforms-heading h2 {
    margin: 0;
    color: var(--accent-dark);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
}

.service-platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-platform-card {
    padding: 1.5rem;
    border: 1px solid rgba(22, 50, 68, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 32px rgba(22, 50, 68, 0.06);
}

.service-platform-card h3 {
    margin: 0 0 0.65rem;
    color: var(--accent-dark);
    font-size: 1.2rem;
}

.service-platform-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.service-platform-logo-wrap {
    display: grid;
    place-items: center;
    min-height: 130px;
    margin-bottom: 1.25rem;
    border: 1px dashed rgba(0, 102, 153, 0.22);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(0, 153, 204, 0.08), rgba(0, 102, 153, 0.04));
    padding: 1rem;
}

.service-platform-logo {
    display: block;
    max-width: 100%;
    max-height: 68px;
    width: auto;
    height: auto;
}

.service-platforms-legal {
    margin: 1.6rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}

.service-twilio-section {
    padding-top: 3rem;
    padding-bottom: 6rem;
}

.service-twilio-panel {
    padding: 2rem;
    border: 1px solid rgba(22, 50, 68, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 32px rgba(22, 50, 68, 0.06);
}

.service-twilio-copy {
    max-width: 760px;
    margin-bottom: 2rem;
}

.service-twilio-logo-wrap {
    margin-bottom: 1rem;
}

.service-twilio-logo {
    display: block;
    max-width: 180px;
    width: 100%;
    height: auto;
}

.service-twilio-copy h2 {
    margin: 0 0 0.8rem;
    color: var(--accent-dark);
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.08;
}

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

.service-twilio-card {
    padding: 1.25rem;
    border: 1px solid rgba(22, 50, 68, 0.08);
    border-radius: 20px;
    background: rgba(245, 245, 247, 0.9);
}

.service-twilio-card h3 {
    margin: 0 0 0.55rem;
    color: var(--accent-dark);
    font-size: 1.08rem;
}

.service-twilio-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.service-twilio-legal {
    margin: 1.5rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}

.service-swp-hero {
    text-align: center;
    padding-bottom: 3rem;
}

.service-swp-hero-copy h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.08;
    text-wrap: balance;
}

.service-swp-hero-copy .intro {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
}

.service-swp-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.service-swp-highlight {
    background: #f2f8fc;
    border-color: var(--accent);
}

.service-swp-highlight-price {
    margin: 0 0 1rem;
    color: var(--muted);
    font-weight: 600;
}

.service-swp-highlight-price span {
    display: block;
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--accent-dark);
}

.service-swp-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
    color: var(--text);
    line-height: 1.5;
}

.service-swp-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    align-items: start;
    font-size: 0.95rem;
}

.service-swp-list i {
    color: var(--accent);
    font-size: 1.15rem;
    line-height: 1.3;
}

/* Icon medallions on the SWP info cards */
.service-swp-overview-grid .card .home-service-icon,
.service-swp-grid .card .home-service-icon {
    margin-bottom: 1rem;
}

.service-swp-heading {
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.service-swp-heading h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.15;
    text-wrap: balance;
}

.service-swp-overview-section {
    background: #f5f5f7;
    padding-top: 4.5rem;
}

.service-swp-grid {
    gap: 1.75rem;
}

.service-swp-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.service-swp-grid .card p {
    margin-bottom: 0;
}

.service-swp-band {
    background: #f5f5f7;
}

.service-swp-cta-section {
    background:
        linear-gradient(180deg, #f5f5f7 0%, #edf3f6 18%, rgba(217, 238, 247, 0.92) 100%);
}

.service-swp-cta-card {
    text-align: center;
}

.service-swp-cta-card h2 {
    margin-top: 0;
}

.ios-apps-hero {
    text-align: center;
}

.ios-apps-hero .intro {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.ios-apps-section {
    background: #f5f5f7;
}

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

.ios-app-card {
    padding: 2rem;
    border: 1px solid rgba(22, 50, 68, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92)),
        linear-gradient(135deg, color-mix(in srgb, var(--app-primary) 15%, white), color-mix(in srgb, var(--app-secondary) 18%, white));
    box-shadow: 0 18px 40px rgba(22, 50, 68, 0.08);
}

.ios-app-icon {
    display: block;
    width: 76px;
    height: 76px;
    margin-bottom: 1.25rem;
    border-radius: 18px;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--app-primary) 34%, transparent);
}

.ios-app-card-header {
    margin-bottom: 1rem;
}

.ios-app-card-kicker {
    margin: 0 0 0.6rem;
    color: var(--app-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ios-app-card h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.7rem, 2vw, 2.2rem);
    line-height: 1.1;
}

.ios-app-card-subtitle {
    margin: 0;
    color: var(--muted);
    font-weight: 600;
}

.ios-app-card-copy {
    margin: 0 0 1.25rem;
    color: var(--text);
    line-height: 1.7;
}

.ios-app-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.ios-app-points span {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid color-mix(in srgb, var(--app-primary) 18%, white);
    color: var(--app-primary);
    font-size: 0.92rem;
    font-weight: 600;
}

.ios-app-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    align-items: center;
}

.ios-app-links .button-link {
    margin-top: 0;
    color: var(--app-primary);
    border-color: color-mix(in srgb, var(--app-primary) 30%, white);
    background: rgba(255, 255, 255, 0.76);
}

.app-store-badge {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.app-store-badge img {
    display: block;
    height: 50px;
    width: auto;
}

@media (max-width: 900px) {
    .ios-apps-grid,
    .service-swp-overview-grid {
        grid-template-columns: 1fr;
    }
}

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

.card,
.error-panel .narrow {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.card h2 {
    margin-top: 0;
}

.button-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    text-decoration: none;
}

.site-footer {
    background: #0b2331;
    color: rgba(255, 255, 255, 0.72);
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--accent-dark), var(--accent)) 1;
}

.footer-shell {
    padding: 0;
}

/* Newsletter row */
.footer-newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 2rem 3rem;
    align-items: center;
    padding: 3.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter-info h5 {
    margin: 0 0 0.4rem;
    font-size: 1.4rem;
    color: #fff;
}

.footer-newsletter-info p,
.footer-company-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-newsletter-form,
.footer-subscribe-form {
    width: 100%;
}

.footer-subscribe-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
}

.footer-subscribe-form input {
    width: 100%;
    min-height: 52px;
    padding: 0.75rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font: inherit;
}

.footer-subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.footer-subscribe-form button {
    min-height: 52px;
    padding: 0.75rem 1.6rem;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 160ms ease;
}

.footer-subscribe-form button:hover,
.footer-subscribe-form button:focus {
    background: var(--accent-dark);
}

/* Company + link columns */
.footer-company {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 2.4fr);
    gap: 3rem;
    align-items: start;
    padding: 3.5rem 1.25rem;
}

.footer-company-info {
    display: grid;
    gap: 1.25rem;
    align-content: start;
    max-width: 420px;
}

.footer-tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-contact {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.footer-contact i {
    color: var(--accent);
    font-size: 1.05rem;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 140ms ease;
}

.footer-contact a:hover,
.footer-contact a:focus {
    color: #fff;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 1.5rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
}

.footer-brand img {
    display: block;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin-top: 0.25rem;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
}

.footer-badges img {
    display: block;
    height: auto;
    border-radius: 8px;
}

/* Light chip so a dark/black partner badge stays legible on the dark footer */
.footer-badge--chip {
    padding: 0.5rem 0.7rem;
    background: #fff;
    border-radius: 12px;
}

.footer-links-column {
    display: grid;
    align-content: start;
    gap: 0.85rem;
}

.footer-links-title {
    margin: 0 0 0.3rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links-column a,
.footer-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.66);
    font: inherit;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color 140ms ease;
}

.footer-links-column a:hover,
.footer-links-column a:focus,
.footer-link-button:hover,
.footer-link-button:focus {
    color: #fff;
}

.footer-links-column span {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Legal bottom bar */
.footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-copyright span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin-left: 0.3rem;
}

.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: background 140ms ease, color 140ms ease;
}

.footer-social-icons a:hover,
.footer-social-icons a:focus {
    background: var(--accent);
    color: #fff;
}

.footer-social-icons i {
    font-size: 1.15rem;
    line-height: 1;
}

.accessibility-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 720px) {
    .header-inner,
    .grid-two {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero,
    .content-section,
    .error-panel {
        padding: 3rem 0;
    }

    .hero-actions {
        grid-template-columns: 1fr;
    }

    .hero-trust {
        display: block;
        width: 100%;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-hero-panel,
    .contact-form-panel {
        padding: 1.4rem;
    }

    .service-platforms-grid {
        grid-template-columns: 1fr;
    }

    .service-twilio-grid {
        grid-template-columns: 1fr;
    }

    .service-ai-hero-actions {
        grid-template-columns: 1fr;
    }

    .footer-newsletter,
    .footer-company {
        display: grid;
        grid-template-columns: 1fr;
    }

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

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-dropdown {
        left: 0;
        transform: translateX(0) translateY(12px);
        width: min(320px, calc(100vw - 2rem));
    }

    .nav-item-dropdown:hover .nav-dropdown,
    .nav-item-dropdown:focus-within .nav-dropdown {
        transform: translateX(0) translateY(0);
    }

    .nav-dropdown::before {
        left: 1.5rem;
        transform: rotate(45deg);
    }
}

/* ---------------------------------------------------------------------------
   Shared page helpers (reusable across all pages)
--------------------------------------------------------------------------- */

.section-tint {
    background: #eef5f9;
}

.section-head.section-head-left {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.section-head.section-head-left .intro {
    margin-left: 0;
    margin-right: 0;
}

/* Long-form / legal prose */
.prose {
    color: var(--muted);
}

.prose h2 {
    margin: 2.25rem 0 0.85rem;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    color: var(--accent-dark);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    margin: 1.6rem 0 0.5rem;
    font-size: 1.15rem;
    color: var(--text);
}

.prose p,
.prose li {
    color: var(--muted);
    line-height: 1.8;
}

.prose ul,
.prose ol {
    padding-left: 1.3rem;
    margin: 0 0 1.1rem;
}

.prose li {
    margin-bottom: 0.4rem;
}

.prose a {
    color: var(--accent-dark);
    font-weight: 600;
}

.prose .legal-updated {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   Homepage sections
--------------------------------------------------------------------------- */

/* Clean, mostly-white canvas; concentrate the brand blue in the hero */
body.page-home {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%);
}

.page-home .hero {
    background:
        radial-gradient(circle at 50% -20%, rgba(0, 153, 204, 0.26), transparent 60%),
        radial-gradient(circle at 12% 0%, rgba(0, 153, 204, 0.16), transparent 42%);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-head h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.15;
    text-wrap: balance;
    color: var(--accent-dark);
}

.section-head .intro {
    margin: 0 auto;
}

/* Stats bar */
.home-stats-section {
    padding: 2.5rem 0;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 1.5rem;
    list-style: none;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.home-stat {
    display: grid;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    text-align: center;
}

.home-stat + .home-stat {
    border-left: 1px solid rgba(0, 102, 153, 0.12);
}

.home-stat-value {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 800;
    color: var(--accent-dark);
}

.home-stat-label {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Services grid */
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px rgba(15, 39, 51, 0.16);
}

.home-service-card h3 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--accent-dark);
}

.home-service-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.home-service-icon,
.home-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-dark);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 39, 51, 0.28);
}

.home-service-icon svg,
.home-feature-icon svg {
    width: 26px;
    height: 26px;
}

.home-card-link {
    margin-top: auto;
    padding-top: 0.5rem;
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.home-card-link span {
    transition: margin-left 160ms ease;
    margin-left: 0.2rem;
}

.home-card-link:hover span,
.home-card-link:focus span {
    margin-left: 0.45rem;
}

.home-service-card-feature {
    background: #ffffff;
    border: 2px solid var(--accent);
    box-shadow: 0 22px 46px rgba(15, 39, 51, 0.18);
}

.home-service-badge,
.home-swp-badge {
    justify-self: start;
    padding: 0.34rem 0.85rem;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Why grid */
.home-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-feature {
    display: grid;
    gap: 0.65rem;
    align-content: start;
    padding: 1.75rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
}

.home-feature h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text);
}

.home-feature p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.home-why {
    background: #eef5f9;
}

/* The service cards cast a ~58px drop shadow, which visually swallows most
   of the section's bottom padding. Add extra padding-bottom so the CLEAR
   gap under the cards matches the ~48px clear gap above them. */
.home-services {
    padding-bottom: 6.5rem;
}

/* Process steps */
.home-process {
    background: #ffffff;
}

.home-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: home-step;
}

.home-step {
    display: grid;
    gap: 0.6rem;
    align-content: start;
    padding: 1.75rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
}

.home-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent-dark);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}

.home-step h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--accent-dark);
}

.home-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

/* Trusted by — auto-scrolling client logo marquee (auto-populated) */
.home-clients-section {
    padding: 3.5rem 0;
    overflow: hidden;
}

.home-clients-label {
    margin: 0 0 1.75rem;
    text-align: center;
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-clients-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.home-clients-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
    animation: home-clients-scroll 45s linear infinite;
}

.home-clients-marquee:hover .home-clients-track {
    animation-play-state: paused;
}

.home-clients-track li {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-clients-track img {
    height: 46px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: opacity 180ms ease, filter 180ms ease;
}

.home-clients-track img:hover {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes home-clients-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .home-clients-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        gap: 2.5rem 4rem;
    }

    .home-clients-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* Logo strip */
.home-logos-section {
    padding: 3rem 0;
    background: #eef5f9;
}

.home-logos-label {
    margin: 0 0 1.75rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem 3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-logos img {
    height: 38px;
    width: auto;
    opacity: 0.78;
    filter: grayscale(1);
    transition: opacity 180ms ease, filter 180ms ease;
}

.home-logos img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* iOS apps teaser */
.home-apps-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    margin-bottom: 2.75rem;
}

.home-apps-head > div {
    max-width: 620px;
}

.home-apps-head h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--accent-dark);
}

.home-apps-head .intro {
    margin: 0;
}

.home-apps-head .btn {
    flex: none;
}

/* Stafford Web Project band */
.home-swp-band {
    background: #eef5f9;
}

.home-swp-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(2rem, 4vw, 3.25rem);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.home-swp-copy h2 {
    margin: 0.9rem 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--ink);
}

.home-swp-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.home-swp-badge {
    background: var(--accent);
    color: #fff;
}

.home-swp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* "What's included" panel — light blue tint instead of a solid block */
.home-swp-panel {
    padding: 1.75rem;
    background: linear-gradient(160deg, #f1f8fc 0%, #e4f1fa 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text);
}

.home-swp-panel-price {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
}

.home-swp-panel-price span {
    display: block;
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--accent-dark);
}

.home-swp-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.home-swp-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    align-items: start;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--text);
}

.home-swp-list i {
    color: var(--accent);
    font-size: 1.15rem;
    line-height: 1.3;
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

@media (max-width: 780px) {
    .home-swp-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Final CTA band — bold solid-accent focal block */
.home-cta-band {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 60%, #2bb6e0 100%);
}

.home-cta-inner {
    display: grid;
    gap: 1.1rem;
    justify-items: center;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.home-cta-inner h2 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3rem);
    color: #ffffff;
}

.home-cta-inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}

.home-cta-band .btn-primary {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--accent-dark);
}

.home-cta-band .btn-primary:hover,
.home-cta-band .btn-primary:focus {
    background: #eaf6fb;
    border-color: #eaf6fb;
    color: var(--accent-dark);
}

.home-cta-band .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff;
}

.home-cta-band .btn-secondary:hover,
.home-cta-band .btn-secondary:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: #ffffff;
    color: #ffffff;
}

@media (max-width: 900px) {
    .home-services-grid,
    .home-why-grid,
    .home-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .home-stat:nth-child(3) {
        border-left: none;
    }
}

@media (max-width: 720px) {
    .home-services-grid,
    .home-why-grid,
    .home-steps,
    .home-stats {
        grid-template-columns: 1fr;
    }

    .home-stat + .home-stat {
        border-left: none;
        border-top: 1px solid rgba(0, 102, 153, 0.12);
        padding-top: 1rem;
    }

    .home-swp-card {
        padding: 1.75rem;
    }

    .home-swp-actions,
    .home-cta-actions {
        width: 100%;
    }

    .home-swp-actions .btn,
    .home-cta-actions .btn {
        flex: 1 1 100%;
    }
}

/* =====================================================================
   Personality pass — brand-blue only (#0099cc / #006699 + neutrals).
   Variety comes from layout, shade contrast and neutral ink, NOT a
   second hue. Kept at the end so it can be lifted out cleanly.
   ===================================================================== */

/* Cleaner page wash: one restrained blue glow over near-white paper,
   dialled back from the heavier all-blue gradient. */
body {
    background:
        radial-gradient(circle at 85% -10%, rgba(0, 153, 204, 0.10), transparent 45%),
        linear-gradient(180deg, #fbfdfe 0%, #eef6fb 100%);
}

/* --- Eyebrow: short leading rule in the deep brand blue --- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--accent-dark);
}

.eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* --- Hero: left-aligned, two-column with a real device mockup --- */
.hero {
    text-align: left;
    padding: 5rem 0 4.5rem;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-copy {
    min-width: 0;
}

/* Device mockup with an offset brand-blue panel behind it for depth. */
.hero-media {
    position: relative;
    min-width: 0;
}

.hero-media::before {
    content: "";
    position: absolute;
    z-index: 0;
    right: -6%;
    bottom: 2%;
    width: 82%;
    height: 82%;
    background: linear-gradient(150deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 30px;
    opacity: 0.9;
}

.hero-media-frame {
    position: relative;
    z-index: 1;
}

.hero-media img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 26px 44px rgba(0, 102, 153, 0.28));
}

/* Solid neutral-ink headline instead of the clipped-gradient look —
   keeps the page from reading as wall-to-wall blue. */
.hero h1 {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: var(--ink);
}

/* Keyword picked out in brand blue with a soft blue marker wash. */
.hero h1 .hl {
    position: relative;
    color: var(--accent-dark);
    white-space: nowrap;
}

.hero h1 .hl::after {
    content: "";
    position: absolute;
    left: -0.1em;
    right: -0.1em;
    bottom: 0.06em;
    height: 0.34em;
    background: var(--accent-soft);
    transform: rotate(-1.5deg);
    border-radius: 3px;
    z-index: -1;
}

.hero .intro {
    margin-left: 0;
    margin-right: 0;
}

.hero-actions {
    margin-left: 0;
    grid-template-columns: repeat(2, minmax(0, max-content));
}

.hero-trust {
    margin-left: 0;
    text-align: left;
}

/* --- CTA hierarchy through shade: primary = deep blue, secondary
       stays the outline style already defined above. --- */
.btn-primary {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #005580;
    border-color: #005580;
    color: #fff;
}

/* Neutral-ink stat values so the stats bar isn't another block of blue. */
.home-stat-value {
    color: var(--ink);
}


/* Stack the hero on narrower screens, media below the copy. */
@media (max-width: 880px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-media {
        max-width: 460px;
        margin: 0;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        grid-template-columns: 1fr;
    }
}

/* --- iOS app icons: real app tiles instead of text pills --- */
.home-app-icons {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.75rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-app-icons li {
    display: grid;
    justify-items: center;
    gap: 0.6rem;
    text-align: center;
}

.home-app-icons img {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 39, 51, 0.18);
    object-fit: contain;
}

.home-app-icons span {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--accent-dark);
}

/* App-icon row responsive (after the base rule so these win) */
@media (max-width: 900px) {
    .home-app-icons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .home-app-icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* --- Meet the team band: B&W cutout on a deep brand-blue panel --- */
.home-team-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: end;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1.75rem, 3.5vw, 3.25rem) 0;
    background: linear-gradient(150deg, var(--accent-dark) 0%, var(--accent) 100%);
    border-radius: 26px;
    box-shadow: var(--shadow);
    overflow: hidden;
    color: #fff;
}

.home-team-media {
    align-self: end;
}

.home-team-media img {
    display: block;
    width: 100%;
    height: auto;
}

.home-team-copy {
    padding-bottom: clamp(1.75rem, 3.5vw, 3rem);
}

.home-team-copy .eyebrow {
    color: #fff;
}

.home-team-copy .eyebrow::before {
    background: #fff;
}

.home-team-copy h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: #fff;
}

.home-team-copy .intro {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.92);
}

.home-team-copy .btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    background: transparent;
}

.home-team-copy .btn-secondary:hover,
.home-team-copy .btn-secondary:focus {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: #fff;
}

@media (max-width: 780px) {
    .home-team-inner {
        grid-template-columns: 1fr;
        align-items: stretch;
        padding-bottom: 0;
    }

    .home-team-copy {
        order: -1;
        padding-bottom: 0;
    }

    .home-team-media {
        max-width: 360px;
        margin: 0 auto;
    }
}

/* =====================================================================
   Section reworks — What we do / Why DACCAA / How it works.
   Bold Remix Icon glyphs, an editorial split, and a connected timeline.
   ===================================================================== */

/* --- Bold icons in the medallions (Remix Icon replaces the line SVGs) --- */
.home-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
}

.home-service-icon i {
    font-size: 30px;
    line-height: 1;
}

/* --- Services: turn the Stafford Web Project into a filled focal card --- */
.home-service-card-feature {
    background: linear-gradient(155deg, var(--accent-dark) 0%, var(--accent) 100%);
    border-color: transparent;
    color: #fff;
}

.home-service-card-feature h3 {
    color: #fff;
}

.home-service-card-feature p {
    color: rgba(255, 255, 255, 0.9);
}

.home-service-card-feature .home-service-icon {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.home-service-card-feature .home-service-badge {
    background: #fff;
    color: var(--accent-dark);
}

.home-service-card-feature .home-card-link {
    color: #fff;
}

/* --- Why DACCAA: editorial split — sticky heading + icon-led list --- */
.home-why-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.home-why-head {
    position: sticky;
    top: 105px;
    max-width: none;
    margin-bottom: 0;
}

.home-why-head .btn {
    margin-top: 1.75rem;
}

/* Scoped to the home "Why DACCAA" split only — other pages keep the
   original vertical .home-feature cards (which have icon + h3 + p as
   direct children and would misalign in this 2-column layout). */
.home-why-inner .home-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.25rem;
}

.home-why-inner .home-feature {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.home-why-inner .home-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    box-shadow: none;
}

.home-why-inner .home-feature-icon i {
    font-size: 22px;
    line-height: 1;
}

.home-feature-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1.08rem;
}

.home-feature-body p {
    margin: 0;
}

/* --- How it works: connected timeline with a scroll-drawn progress line --- */
.home-steps-wrap {
    position: relative;
}

.home-steps-line {
    position: absolute;
    top: 34px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    z-index: 0;
}

.home-steps-progress {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent));
    border-radius: 3px;
}

.home-steps {
    position: relative;
    z-index: 1;
}

.home-step {
    justify-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.home-step-number {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin: 0 auto 0.35rem;
    font-size: 1.5rem;
    background: var(--accent-dark);
    border: 5px solid #fff;
    box-shadow: 0 10px 22px rgba(15, 39, 51, 0.28);
    position: relative;
    z-index: 1;
}

/* --- Responsive overrides (last, so they win over earlier breakpoints) --- */
@media (max-width: 980px) {
    .home-why-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .home-why-head {
        position: static;
    }
}

@media (max-width: 900px) {
    .home-steps-line {
        display: none;
    }
}

@media (max-width: 720px) {
    .home-why-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
   Mobile navigation — hamburger toggle + slide-down panel.
   ===================================================================== */

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--accent-dark);
    cursor: pointer;
}

.nav-toggle-box {
    position: relative;
    display: block;
    width: 24px;
    height: 16px;
}

.nav-toggle-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle-bar:nth-child(1) { top: 0; }
.nav-toggle-bar:nth-child(2) { top: 7px; }
.nav-toggle-bar:nth-child(3) { top: 14px; }

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.site-header.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.nav-open-lock {
    overflow: hidden;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    /* Keep the brand + toggle on one row (overrides the stacked header). */
    .header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        max-height: calc(100dvh - 100%);
        padding: 0.5rem 0 1.25rem;
        overflow-y: auto;
        background: #ffffff;
        border-bottom: 1px solid rgba(0, 102, 153, 0.12);
        box-shadow: 0 26px 44px rgba(15, 39, 51, 0.14);
    }

    .site-header.nav-open .site-nav {
        display: block;
    }

    .site-nav > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 1.25rem;
    }

    .site-nav > ul > li {
        display: block;
        border-top: 1px solid rgba(0, 102, 153, 0.09);
    }

    .site-nav > ul > li:first-child {
        border-top: none;
    }

    .site-nav > ul > li > a,
    .nav-item-dropdown > a {
        display: block;
        width: 100%;
        padding: 0.9rem 0.25rem;
        color: var(--text);
    }

    .site-nav a:not(.nav-cta)::after {
        display: none;
    }

    .nav-link-with-caret::before {
        display: none;
    }

    .nav-item-dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    /* Dropdowns expand inline instead of hovering. */
    .nav-dropdown {
        position: static;
        display: block;
        width: auto;
        margin: 0 0 0.5rem;
        padding: 0 0 0.35rem 0.75rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .nav-dropdown::before,
    .nav-dropdown::after {
        display: none;
    }

    .nav-dropdown-item {
        padding: 0.55rem 0.5rem;
    }

    .nav-dropdown-copy {
        display: none;
    }

    .nav-cta {
        display: block;
        margin: 1rem 0.25rem 0;
        text-align: center;
    }
}

/* =====================================================================
   Home FAQ — clean two-column question list (also FAQPage structured data).
   ===================================================================== */

.home-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-faq-item {
    padding-top: 1.5rem;
    border-top: 2px solid var(--accent);
}

.home-faq-item h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    color: var(--accent-dark);
}

.home-faq-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 720px) {
    .home-faq-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .home-faq-item {
        padding: 1.35rem 0;
        border-top: none;
        border-bottom: 1px solid var(--border);
    }

    .home-faq-item:first-child {
        border-top: 2px solid var(--accent);
    }
}

/* =====================================================================
   Portfolio — client project cards (screenshot + story + testimonial).
   ===================================================================== */

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

.pf-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.pf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px rgba(15, 39, 51, 0.16);
}

.pf-shot {
    display: block;
    aspect-ratio: 1400 / 984;
    overflow: hidden;
    background: #eef5f9;
    border-bottom: 1px solid var(--border);
}

.pf-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 400ms ease;
}

.pf-card:hover .pf-shot img {
    transform: scale(1.03);
}

.pf-body {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.5rem 1.6rem 1.75rem;
}

.pf-sector {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.pf-card h3 {
    margin: 0;
    font-size: 1.3rem;
}

.pf-card h3 a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--ink);
    text-decoration: none;
}

.pf-card h3 a span {
    color: var(--accent);
    font-size: 0.9em;
    transition: transform 160ms ease;
}

.pf-card h3 a:hover {
    color: var(--accent-dark);
}

.pf-card h3 a:hover span {
    transform: translate(2px, -2px);
}

.pf-story {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.pf-quote {
    position: relative;
    margin: 0.75rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--border);
}

.pf-quote p {
    margin: 0 0 1rem;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.65;
}

.pf-quote-by {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pf-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 46px;
    height: 46px;
    padding: 0.35rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.pf-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pf-quote-name {
    display: flex;
    flex-direction: column;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.35;
}

.pf-quote-name strong {
    color: var(--accent-dark);
    font-size: 0.95rem;
}

@media (max-width: 720px) {
    .pf-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer responsive (authoritative — after earlier breakpoints) */
@media (max-width: 900px) {
    .footer-company {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-company-info {
        max-width: none;
    }

    .footer-newsletter {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .footer-links-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 1.5rem;
    }

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

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Even 2-up grids for 4-item sections (e.g. /services) — authoritative */
.services-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Remix glyphs inside the standard feature medallion */
.home-feature-icon i {
    font-size: 24px;
    line-height: 1;
}

@media (max-width: 640px) {
    .services-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Liven the standard feature cards (company, services, about, web design)
   with a soft shadow + hover lift so they don't read as flat/bland. */
.home-why-grid .home-feature {
    box-shadow: 0 10px 26px rgba(15, 39, 51, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-why-grid .home-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(15, 39, 51, 0.14);
    border-color: var(--accent);
}

/* The home "Why DACCAA" split uses borderless features — keep them flat. */
.home-why-inner .home-feature,
.home-why-inner .home-feature:hover {
    box-shadow: none;
    transform: none;
    border-color: transparent;
}

/* About: vertical journey timeline (was a crushed 5-across grid) */
.journey-timeline {
    display: block;
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
}

.journey-timeline::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 14px;
    bottom: 44px;
    width: 2px;
    background: var(--border);
}

.journey-timeline .home-step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.5rem;
    align-items: start;
    text-align: left;
    padding: 0 0 2rem;
}

.journey-timeline .home-step:last-child {
    padding-bottom: 0;
}

.journey-timeline .home-step-number {
    grid-row: 1 / span 2;
    width: 52px;
    height: 52px;
    margin: 0;
    font-size: 1.25rem;
    border: 4px solid var(--bg);
    position: relative;
    z-index: 1;
}

.journey-timeline .home-step h3 {
    margin: 0.4rem 0 0.4rem;
}

.about-team-photo {
    margin: 0 0 2.25rem;
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-team-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.about-team-photo figcaption {
    padding: 0.85rem 1.3rem;
    background: #fff;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Portrait team photo — constrained so it doesn't dominate as a banner */
.about-team-photo--portrait {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

/* Web design — recent work thumbnails */
.wd-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.wd-work {
    display: block;
    text-decoration: none;
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

.wd-work img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1400 / 984;
    object-fit: cover;
    object-position: top center;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 0.75rem;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.wd-work:hover img {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px rgba(15, 39, 51, 0.16);
}

@media (max-width: 720px) {
    .wd-work-grid {
        grid-template-columns: 1fr;
    }
}

/* Workshops — upcoming/recent + councils CTA */
.ws-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.ws-status,
.ws-past {
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin: 0;
}

.ws-status h3 {
    margin: 1rem 0 0.6rem;
    font-size: 1.4rem;
    color: var(--ink);
}

.ws-status p {
    margin: 0 0 1.5rem;
    color: var(--muted);
    line-height: 1.7;
}

.ws-tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ws-tag--muted {
    background: rgba(16, 47, 64, 0.07);
    color: var(--muted);
}

.ws-past {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1.25rem;
    align-items: center;
}

.ws-past img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.ws-past figcaption {
    display: grid;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.ws-past figcaption strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.ws-councils {
    padding: clamp(1.75rem, 4vw, 2.75rem);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.ws-councils-copy {
    max-width: 780px;
}

.ws-councils h2 {
    margin: 0.6rem 0 0.75rem;
    color: var(--ink);
}

.ws-councils p {
    margin: 0 0 1.5rem;
    color: var(--muted);
    line-height: 1.7;
}

.ws-councils-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 760px) {
    .ws-layout {
        grid-template-columns: 1fr;
    }

    .ws-past {
        grid-template-columns: 110px 1fr;
    }
}
