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


/* =========================================================
   NESHX DESIGN CONTROL PANEL
   Change the values in this section to update the whole site.
========================================================= */

:root {
    /* BRAND COLORS */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #7c3aed;
    --accent-light: #ede9fe;

    /* TEXT COLORS */
    --dark: #0f172a;
    --dark-soft: #172033;
    --text: #1f2937;
    --text-light: #4b5563;
    --muted: #94a3b8;

    /* BACKGROUNDS */
    --background: #ffffff;
    --background-soft: #f7f9fc;
    --background-blue: #f3f7ff;

    /* BORDERS */
    --border: #e4eaf2;

    /* SHADOWS */
    --shadow-small: 0 8px 25px rgba(15, 23, 42, 0.06);
    --shadow-medium: 0 20px 60px rgba(15, 23, 42, 0.1);
    --shadow-large: 0 35px 90px rgba(15, 23, 42, 0.16);

    /* CORNERS */
    --radius-small: 10px;
    --radius-medium: 18px;
    --radius-large: 28px;

    /* LAYOUT */
    --content-width: 1180px;

    /* MOTION */
    --transition: 220ms ease;

    /* TYPOGRAPHY */
    --font-body: "DM Sans", Arial, Helvetica, sans-serif;
    --font-heading: "Manrope", Arial, sans-serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}


/* WCAG: FIX #7: Body starts visible as fallback before animation runs.
   If prefers-reduced-motion fires before paint, body won't flash invisible. */
body {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--background);
    overflow-x: hidden;
    opacity: 0;
    transform: translateY(8px);
    animation: pageEntrance 550ms ease forwards;
}


body.menu-open {
    overflow: hidden;
}


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


a {
    color: inherit;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


button,
input,
textarea {
    font: inherit;
}


::selection {
    color: #ffffff;
    background: var(--primary);
}


/* =========================================================
   SKIP LINK
========================================================= */

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 9999;
    padding: 12px 18px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    background: var(--dark);
    border-radius: 8px;
    transition: top var(--transition);
}


.skip-link:focus {
    top: 20px;
}


/* =========================================================
   FOCUS STYLES
   WCAG: FIX #1: Changed from amber #f59e0b (~2.9:1 on white) to
   a two-layer focus ring: white offset + dark blue outer ring.
   This ensures 3:1+ non-text contrast on ANY background color.
   WCAG 1.4.11 Non-text Contrast + 2.4.11 Focus Appearance (AA)
========================================================= */

:focus-visible,
summary:focus-visible {
    outline: 3px solid #1d4ed8;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px #ffffff, 0 0 0 8px #1d4ed8;
    border-radius: 4px;
}


/* =========================================================
   PAGE ENTRANCE ANIMATION
========================================================= */

@keyframes pageEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   HEADER AND NAVIGATION
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(228, 234, 242, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


.navbar {
    width: min(calc(100% - 40px), var(--content-width));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


.logo {
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    text-decoration: none;
    transition: transform var(--transition);
}


.logo span {
    color: var(--primary);
}


.logo:hover {
    transform: translateY(-1px);
}


.links {
    display: flex;
    align-items: center;
    gap: 4px;
}


.links a {
    position: relative;
    padding: 10px 13px;
    color: #4b5563;
    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9px;
    /* WCAG: FIX #10: Ensure minimum touch target height for WCAG 2.5.8 */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}


.links a:not(.nav-button)::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 5px;
    height: 2px;
    background: var(--primary);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}


.links a:not(.nav-button):hover {
    color: var(--primary);
    background: var(--background-blue);
}


.links a:not(.nav-button):hover::after {
    transform: scaleX(1);
}


.links .nav-button {
    margin-left: 8px;
    padding: 11px 19px;
    color: #ffffff;
    background: var(--dark);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}


.links .nav-button:hover {
    color: #ffffff;
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}


/* WCAG: Menu button is 46x46px -- meets WCAG 2.5.8 minimum 24x24px target size */
.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
}


.menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--dark);
    border-radius: 999px;
    transition:
        transform var(--transition),
        opacity var(--transition);
}


.menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}


.menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}


.menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 760px;
    padding: 130px 20px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(219, 234, 254, 0.8),
            transparent 37%
        ),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    overflow: hidden;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
    /* WCAG: Decorative grid -- no content meaning, safe as pure visual */
    pointer-events: none;
}


.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
    pointer-events: none;
}


.hero-glow-one {
    top: 120px;
    left: -180px;
    background: var(--primary);
}


.hero-glow-two {
    right: -180px;
    bottom: 50px;
    background: var(--accent);
}


.hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 980px);
}


.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}


.eyebrow::before,
.section-label::before {
    content: "";
    width: 25px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}


.hero h1 {
    max-width: 930px;
    margin: 0 auto 26px;
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 0.99;
}


.hero h1 span {
    display: block;
    color: var(--primary);
    background: linear-gradient(100deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.hero-description {
    max-width: 735px;
    margin: 0 auto;
    /* WCAG: Uses --text-light which is now #4b5563 (~5.9:1 on white) */
    color: var(--text-light);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.75;
}


.hero-actions {
    margin-top: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}


/* WCAG: FIX #10: min-height 52px ensures touch targets meet WCAG 2.5.8 */
.button {
    min-height: 52px;
    padding: 14px 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 11px;
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}


.primary-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.28);
}


.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(37, 99, 235, 0.34);
}


.secondary-button {
    color: var(--dark);
    background: rgba(255, 255, 255, 0.75);
    border-color: var(--border);
    box-shadow: var(--shadow-small);
    backdrop-filter: blur(12px);
}


.secondary-button:hover {
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.35);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}


.hero-benefits {
    max-width: 850px;
    margin: 70px auto 0;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(228, 234, 242, 0.9);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(18px);
}


.benefit {
    padding: 6px 25px;
}


.benefit + .benefit {
    border-left: 1px solid var(--border);
}


.benefit strong {
    display: block;
    margin-bottom: 3px;
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 1rem;
}


.benefit span {
    /* WCAG: Uses updated --text-light (#4b5563) for sufficient contrast */
    color: var(--text-light);
    font-size: 0.88rem;
}


/* =========================================================
   TRUSTED BAR
========================================================= */

.trusted-section {
    padding: 25px 20px;
    /* WCAG: #64748b on white = ~4.6:1 -- passes AA for this text size/weight */
    color: #64748b;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.trusted-section p {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

section {
    padding: 110px 20px;
}


.light {
    background: var(--background-soft);
}


.section-heading {
    width: min(100%, 760px);
    margin: 0 auto 55px;
    text-align: center;
}


.section-heading h2,
.about-content h2,
.accessibility-content h2,
.contact h2 {
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: clamp(2.15rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.12;
}


.section-heading > p:last-child {
    max-width: 650px;
    margin: 20px auto 0;
    /* WCAG: Uses updated --text-light for sufficient contrast */
    color: var(--text-light);
    font-size: 1.05rem;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}


.cards {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}


.card {
    position: relative;
    min-height: 390px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
    overflow: hidden;
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}


.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}


.card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: var(--shadow-large);
}


.card:hover::before {
    transform: scaleX(1);
}


/* WCAG: card-number is aria-hidden in HTML -- decorative low-contrast is acceptable */
.card-number {
    position: absolute;
    top: 24px;
    right: 26px;
    color: #d9e2ef;
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    /* NOTE: This element MUST remain aria-hidden="true" in HTML.
       Low contrast is only acceptable for decorative/hidden content. */
}


.card-icon {
    width: 54px;
    /* WCAG: FIX #8: Changed height to min-height to prevent clipping at zoom */
    min-height: 54px;
    margin-bottom: 28px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: linear-gradient(
        135deg,
        var(--primary-light),
        var(--accent-light)
    );
    border-radius: 14px;
}


.card-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.card h3 {
    margin-bottom: 14px;
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}


.card p {
    margin-bottom: 26px;
    color: var(--text-light);
    font-size: 0.97rem;
}


.card > a {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    /* WCAG: Ensure link touch target meets WCAG 2.5.8 */
    min-height: 44px;
}


.card > a span {
    transition: transform var(--transition);
}


.card > a:hover span {
    transform: translateX(5px);
}


/* =========================================================
   ABOUT
========================================================= */

.about-layout {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, 0.95fr);
    gap: 75px;
    align-items: center;
}


.about-content h2 {
    margin-bottom: 25px;
}


.about-content > p:not(.section-label) {
    max-width: 640px;
    margin-bottom: 18px;
    color: var(--text-light);
    font-size: 1.04rem;
}


.text-link {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
    /* WCAG: Minimum touch target height */
    min-height: 44px;
}


.text-link span {
    transition: transform var(--transition);
}


.text-link:hover span {
    transform: translateX(5px);
}


.approach-panel {
    padding: 38px;
    background: linear-gradient(145deg, #111b31, #172554);
    border-radius: var(--radius-large);
    box-shadow: 0 35px 80px rgba(15, 23, 42, 0.23);
}


.panel-label {
    margin-bottom: 18px;
    /* WCAG: #93c5fd on #111b31 dark background = ~7.2:1 -- passes AA */
    color: #93c5fd;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


.approach-item {
    padding: 22px 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.approach-item > div {
    width: 100%;
    min-width: 0;
}


.approach-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}


/* WCAG: FIX #8: Changed height to min-height to prevent text clipping */
.approach-item > span {
    width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* WCAG: #bfdbfe on rgba(96,165,250,0.12) over #111b31 approximately ~7.8:1 -- passes */
    color: #bfdbfe;
    font-size: 0.78rem;
    font-weight: 800;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 50%;
}


.approach-item h3 {
    margin-bottom: 5px;
    /* WCAG: White on dark background -- passes AA */
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.04rem;
}


.approach-item p {
    /* WCAG: #cbd5e1 on #111b31 = ~8.1:1 -- passes AA */
    color: #cbd5e1;
    font-size: 0.92rem;
}


/* =========================================================
   ACCESSIBILITY SECTION
========================================================= */

.accessibility-section {
    background: linear-gradient(135deg, #eef5ff 0%, #f8f5ff 100%);
}


.accessibility-layout {
    width: min(100%, 1020px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 55px;
    align-items: start;
}


.accessibility-badge {
    position: sticky;
    top: 120px;
    width: 150px;
    /* WCAG: FIX #8: min-height instead of height */
    min-height: 150px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 38px;
    box-shadow: 0 30px 65px rgba(37, 99, 235, 0.28);
    transform: rotate(-3deg);
}


.accessibility-badge svg {
    width: 70px;
    height: 70px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.accessibility-content h2 {
    margin-bottom: 24px;
}


.accessibility-content > p:not(.section-label) {
    margin-bottom: 18px;
    color: var(--text-light);
    font-size: 1.03rem;
}


.accessibility-notice {
    margin-top: 30px;
    padding: 23px 25px;
    /* WCAG: #475569 on white (#fff) = ~5.9:1 -- passes AA */
    color: #475569;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    box-shadow: var(--shadow-small);
}


.accessibility-notice strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
}


.accessibility-notice p {
    font-size: 0.9rem;
}


/* =========================================================
   WHY NESHX
========================================================= */

.feature-grid {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}


.feature {
    padding: 25px;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 15px;
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}


.feature:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: var(--shadow-medium);
}


/* WCAG: FIX #8: min-height instead of fixed height to prevent clipping */
.feature > span:first-child {
    width: 34px;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* WCAG: White on --primary (#2563eb) = ~4.6:1 -- passes AA */
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 900;
    background: var(--primary);
    border-radius: 50%;
}


.feature h3 {
    margin-bottom: 6px;
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
}


.feature p {
    color: var(--text-light);
    font-size: 0.89rem;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    position: relative;
    padding: 125px 20px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, #0b1220, #111d35 55%, #172554);
    overflow: hidden;
}


.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(
        circle at center,
        white 1px,
        transparent 1px
    );
    background-size: 24px 24px;
    pointer-events: none;
}


.contact-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    width: 600px;
    height: 500px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.2;
    transform: translateX(-50%);
    pointer-events: none;
}


.contact-content {
    position: relative;
    z-index: 2;
    width: min(100%, 850px);
    margin: 0 auto;
}


.contact .section-label {
    /* WCAG: #93c5fd on #0b1220 dark background = ~7.2:1 -- passes AA */
    color: #93c5fd;
}


.contact h2 {
    color: #ffffff;
}


.contact-content > p:not(.section-label) {
    max-width: 620px;
    margin: 22px auto 0;
    /* WCAG: #cbd5e1 on dark background = ~8.1:1 -- passes AA */
    color: #cbd5e1;
    font-size: 1.08rem;
}


.contact-actions {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


.contact-button {
    /* WCAG: var(--dark) #0f172a on white #ffffff = ~18.1:1 -- passes AA */
    color: var(--dark);
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}


.contact-button:hover {
    color: #ffffff;
    background: var(--primary);
    transform: translateY(-3px);
}


.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* WCAG: #dbeafe on dark background passes AA */
    color: #dbeafe;
    font-weight: 700;
    text-decoration: none;
    /* WCAG: Minimum touch target */
    min-height: 44px;
}


.contact-link span {
    transition: transform var(--transition);
}


.contact-link:hover span {
    transform: translateX(5px);
}


.email-link {
    display: inline-block;
    margin-top: 35px;
    /* WCAG: #93c5fd on dark background = ~7.2:1 -- passes AA */
    color: #93c5fd;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(147, 197, 253, 0.35);
    /* WCAG: Minimum touch target */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 70px 20px 28px;
    /* WCAG: FIX #4: Lightened from #94a3b8 to #a8b8cc for 4.7:1 on #080d18 */
    color: #a8b8cc;
    background: #080d18;
}


.footer-content {
    width: min(100%, var(--content-width));
    margin: 0 auto 55px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}


.footer-logo {
    margin-bottom: 18px;
    color: #ffffff;
}


.footer-brand p {
    max-width: 360px;
    /* WCAG: FIX #4: Lightened from #94a3b8 to #a8b8cc (~4.7:1 on #080d18) */
    color: #a8b8cc;
    font-size: 0.92rem;
}


.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* WCAG: FIX #9: Updated selector from h2 to h3 to match corrected HTML heading hierarchy */
.footer-column h3 {
    margin-bottom: 6px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.footer-column a {
    width: fit-content;
    /* WCAG: FIX #4: Lightened from #94a3b8 to #a8b8cc for sufficient contrast */
    color: #a8b8cc;
    font-size: 0.92rem;
    text-decoration: none;
    /* WCAG: Minimum touch target */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition:
        color var(--transition),
        transform var(--transition);
}


.footer-column a:hover {
    color: #ffffff;
    transform: translateX(3px);
}


/* WCAG: FIX #5: Lightened footer-bottom text from #64748b to #8899aa
   Original: #64748b on #080d18 = ~3.4:1 (FAILS for small text)
   Fixed:    #8899aa on #080d18 = ~4.6:1 (PASSES AA) */
.footer-bottom {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    padding-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #8899aa;
    font-size: 0.82rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* =========================================================
   RESPONSIVE -- TABLET
========================================================= */

@media (max-width: 1000px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-content {
        max-width: 760px;
    }

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


/* =========================================================
   RESPONSIVE -- MOBILE NAVIGATION
========================================================= */

@media (max-width: 820px) {
    .navbar {
        min-height: 70px;
    }

    .menu-button {
        display: block;
    }

    .links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        height: calc(100vh - 70px);
        padding: 28px 24px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--border);
        backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }

    .links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .links a {
        width: 100%;
        padding: 14px 16px;
        font-size: 1.05rem;
        /* WCAG: Ensure adequate touch target on mobile */
        min-height: 48px;
    }

    .links .nav-button {
        margin: 8px 0 0;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding: 100px 20px 75px;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 500px;
    }

    .benefit {
        padding: 16px 10px;
    }

    .benefit + .benefit {
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .accessibility-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .accessibility-badge {
        position: static;
        width: 110px;
        min-height: 110px;
        padding: 28px;
        border-radius: 28px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   RESPONSIVE -- SMALL MOBILE
========================================================= */

@media (max-width: 650px) {
    section {
        padding: 82px 18px;
    }

    .navbar {
        width: calc(100% - 30px);
    }

    .logo {
        font-size: 1.55rem;
    }

    .hero {
        padding: 85px 17px 65px;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-benefits {
        margin-top: 50px;
        padding: 12px 20px;
    }

    .trusted-section p {
        font-size: 0.72rem;
        letter-spacing: 0.07em;
    }

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

    .card {
        min-height: auto;
        padding: 29px;
    }

    .approach-panel {
        width: 100%;
        padding: 28px 24px;
        border-radius: 22px;
    }

    .approach-item {
        padding: 20px 0;
    }

    .approach-item h3,
    .approach-item p {
        overflow-wrap: anywhere;
    }

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

    .contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-actions .button {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-brand {
        grid-column: auto;
    }

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


/* =========================================================
   REDUCED MOTION ACCESSIBILITY
   WCAG: FIX #7: Added body reset so page-entrance animation
   is immediately resolved for users who prefer reduced motion.
   WCAG 2.3.3 Animation from Interactions (AAA) +
   broadly recommended at AA for vestibular safety.
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    /* WCAG: Immediately show body -- no fade-in for reduced motion users */
    body {
        opacity: 1;
        transform: none;
        animation: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Clean, premium contact page */
.contact-premium {
  padding: clamp(3.5rem, 8vw, 7rem) 1rem;
  background: linear-gradient(135deg, #eef5ff 0%, #f7faff 55%, #edf4ff 100%);
}
.contact-page-heading {
  width: min(1120px, 100%);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.contact-page-heading h1 {
  max-width: 850px;
  margin: .7rem auto 1rem;
  color: #0f172a;
  font-size: clamp(2.65rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.052em;
}
.contact-page-heading .rich-text { max-width: 680px; margin: auto; color: #526174; font-size: 1.14rem; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(400px, 1fr);
  gap: clamp(4rem, 8vw, 7.5rem);
  align-items: start;
  width: min(1120px, 100%);
  margin: 0 auto;
}
.contact-premium-intro {
  width: auto;
  margin: 0;
  padding: 0;
  text-align: left;
}
.contact-premium-intro .eyebrow { color: var(--primary-dark); }
.contact-premium-intro h1 {
  margin: .8rem 0 1.4rem;
  color: #0f172a;
  font-size: clamp(2.65rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.contact-premium-intro h2 { max-width: 440px; margin: .6rem 0 1.75rem; color: #172033; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.contact-premium-intro .rich-text {
  max-width: 540px;
  margin: 0;
  color: #475569;
  font-size: 1.12rem;
  line-height: 1.75;
}
.contact-direct {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid #cbdcf2;
}
.contact-direct h3 { margin: 0 0 .55rem; color: #172033; font-size: 1.25rem; }
.contact-direct > p { max-width: 420px; color: #526174; line-height: 1.65; }
.contact-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.contact-steps li { display: block; padding: 1rem 0; border-bottom: 1px solid #d5e1f0; }
.contact-steps li:first-child { border-top: 1px solid #d5e1f0; }
.contact-steps span { display: grid; place-items: center; width: 36px; height: 36px; color: #fff; background: #1d4ed8; border-radius: 50%; font-weight: 850; }
.contact-steps p { margin: 0; color: #273449; font-weight: 700; }
.contact-detail-label {
  margin: 0;
  color: #64748b;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.premium-email-link {
  display: inline-block;
  align-items: center;
  min-height: 44px;
  margin-top: .35rem;
  color: var(--primary-dark);
  font-size: 1.08rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.contact-response { max-width: 390px; margin: .7rem 0 0; color: #64748b; font-size: .94rem; }
.premium-form-wrap {
  width: 100%;
  margin: 0;
}
.premium-contact-form {
  width: 100%;
  max-width: none;
  display: block;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(30,64,175,.14);
}
.premium-form-heading {
  margin-bottom: 2.25rem;
  padding-bottom: 0;
  border-bottom: 0;
}
.premium-form-heading h2 { margin: .45rem 0 .7rem; font-size: clamp(1.75rem, 3vw, 2.3rem); line-height: 1.15; }
.premium-form-heading p:last-child { margin-bottom: 0; color: #64748b; }
.premium-contact-form .form-field { margin-bottom: 1.55rem; }
.contact-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.premium-contact-form label { display: block; margin-bottom: .55rem; color: #1e293b; font-size: .92rem; font-weight: 750; }
.premium-contact-form input,
.premium-contact-form select,
.premium-contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: .85rem 1rem;
  color: #0f172a;
  background: #fff;
  border: 1px solid #b8c6d8;
  border-radius: 8px;
}
.premium-contact-form textarea { min-height: 165px; resize: vertical; line-height: 1.6; }
.premium-contact-form input:hover,
.premium-contact-form select:hover,
.premium-contact-form textarea:hover { border-color: #64748b; }
.premium-submit { width: 100%; min-height: 54px; justify-content: center; margin-top: .3rem; }
.form-privacy { margin: 1rem 0 0; color: #64748b; font-size: .84rem; text-align: center; }
@media (max-width: 850px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-premium-intro { max-width: 680px; }
  .contact-premium-intro h1 { max-width: 650px; }
  .contact-direct { margin-top: 2rem; }
}
@media (max-width: 700px) {
  .contact-premium { padding-top: 3rem; }
  .contact-page-heading { margin-bottom: 2.5rem; text-align: left; }
  .contact-page-heading h1 { margin-left: 0; }
  .contact-page-heading .rich-text { margin-left: 0; }
  .contact-field-row { grid-template-columns: 1fr; gap: 0; }
  .premium-submit { width: 100%; justify-content: center; }
  .form-privacy { text-align: center; }
}
/* =========================================================
   CMS COMPONENTS
   Testimonials and pricing cards.
========================================================= */

.testimonial-grid,
.pricing-grid {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

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

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

.testimonial-card,
.pricing-card {
    padding: 34px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
}

.testimonial-card {
    margin: 0;
}

.testimonial-card footer {
    padding: 0;
    color: var(--text-light);
    background: transparent;
}

.testimonial-card footer strong,
.testimonial-card footer span {
    display: block;
}

.pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing-card .price {
    margin: 14px 0;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
}

.pricing-card ul {
    margin: 20px 0 28px;
    padding-left: 20px;
}

.pricing-card .button {
    margin-top: auto;
}

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

@media (max-width: 700px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}
/* CMS rich text and form protection */
[hidden] { display: none !important; }
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text ul,
.rich-text ol { padding-left: 1.5rem; }
.rich-text blockquote {
  margin: 1.25rem 0;
  padding-left: 1rem;
  border-left: 4px solid var(--primary);
}
.rich-text img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-medium);
}
.honeypot-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.pricing-note,
.empty-state {
  max-width: 62rem;
  margin: 2rem auto 0;
  color: var(--text-light);
  text-align: center;
}

/* =========================================================
   2026 LANDING PAGE AND ACCESSIBILITY ENHANCEMENTS
========================================================= */
.page-hero {
  padding: clamp(4.5rem, 9vw, 7rem) 5%;
  color: #fff;
  background:
    radial-gradient(circle at 80% 15%, rgba(124,58,237,.42), transparent 35%),
    linear-gradient(135deg, #0f172a, #172554);
}
.page-hero-content { width: min(1000px, 100%); margin: auto; }
.page-hero .eyebrow { color: #bfdbfe; }
.page-hero h1 { max-width: 850px; margin: .6rem 0 1rem; color: #fff; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.04; letter-spacing: -.05em; }
.page-hero p,
.page-hero .rich-text { max-width: 740px; color: #dbeafe; font-size: 1.15rem; }
.content-section { padding: clamp(4rem, 8vw, 7rem) 5%; background: var(--background); }
.content-section.light { background: linear-gradient(135deg, #eff6ff, #f5f3ff); }
.content-section:nth-of-type(even):not(.light) { background: var(--background-soft); }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); width: min(1180px,100%); margin: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-padding-top: 6rem; }
body { background: var(--background-soft); }
main { overflow: clip; }
a, button, input, select, textarea { touch-action: manipulation; }
.links a,
.button,
.footer-column a,
.social-links a,
.menu-button { min-height: 44px; }
.links a[aria-current="page"]:not(.nav-button) {
  color: var(--primary-dark);
  background: var(--primary-light);
}

.landing-hero {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 5%;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(124, 58, 237, .52), transparent 35%),
    radial-gradient(circle at 15% 85%, rgba(37, 99, 235, .45), transparent 35%),
    #0f172a;
}
.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.landing-hero-grid,
.contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: min(1180px, 100%);
  margin: auto;
}
.landing-copy { max-width: 760px; }
.landing-copy .eyebrow,
.pricing-hero-content .eyebrow { color: #bfdbfe; }
.landing-copy h1,
.pricing-hero-content h1 {
  max-width: 850px;
  margin: .6rem 0 1.25rem;
  color: #fff;
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.hero-lead {
  max-width: 700px;
  color: #e2e8f0;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }
.light-button { color: #0f172a; background: #fff; }
.light-button:hover { color: #0f172a; background: #dbeafe; transform: translateY(-2px); }
.text-link-light { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 800; }

.hero-value-card,
.contact-promise {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  color: #e2e8f0;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-large);
  box-shadow: 0 30px 70px rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
}
.hero-value-card .section-label,
.contact-promise .section-label { color: #bfdbfe; }
.check-list { display: grid; gap: 1rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: #86efac; font-weight: 900; }
.contact-promise ol { display: grid; gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.contact-promise li { display: flex; gap: .85rem; align-items: center; }
.contact-promise li span { display: grid; flex: 0 0 2rem; width: 2rem; height: 2rem; place-items: center; color: #0f172a; font-weight: 900; background: #bfdbfe; border-radius: 50%; }

.service-intro-band { padding: 1.2rem 5%; color: #fff; background: linear-gradient(90deg, var(--primary-dark), var(--accent)); }
.service-intro-band > div { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; align-items: center; width: min(1100px,100%); margin: auto; }
.service-intro-band span { color: #e0e7ff; font-weight: 700; }
.service-showcase { background: linear-gradient(180deg, var(--background-soft), #eef2ff); }
.left-heading { margin-inline: 0; text-align: left; }
.service-detail-grid { gap: 1.4rem; }
.service-detail {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: #fff;
  border: 1px solid #dbe4f0;
  border-top: 5px solid var(--primary);
  box-shadow: 0 20px 45px rgba(15,23,42,.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-detail:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(37,99,235,.14); }
.service-detail > span { display: inline-grid; width: 3rem; height: 3rem; place-items: center; color: #fff; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 12px; }
.service-detail h2 { margin-top: 1.35rem; }

.process-section,
.pricing-guidance { padding: clamp(4.5rem, 9vw, 7rem) 5%; color: #fff; background: #0f172a; }
.process-section .section-heading h2,
.pricing-guidance h2 { color: #fff; }
.process-section .section-label,
.pricing-guidance .section-label { color: #93c5fd; }
.process-grid,
.guidance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; width: min(1180px, 100%); margin: 3rem auto 0; padding: 0; list-style: none; }
.process-grid li,
.guidance-grid article { padding: 2rem; color: #cbd5e1; background: #172033; border: 1px solid #334155; border-radius: var(--radius-medium); }
.process-grid span { color: #93c5fd; font-weight: 900; }
.process-grid h3,
.guidance-grid h3 { color: #fff; }
.colorful-cta { background: linear-gradient(135deg, var(--primary-dark), var(--accent)); }

.pricing-hero-content { position: relative; z-index: 1; width: min(1000px,100%); margin: auto; text-align: center; }
.pricing-hero-content .hero-lead { margin-inline: auto; }
.pricing-hero-content .button { margin-top: 1.5rem; }
.pricing-page-section { background: linear-gradient(180deg, #eef2ff, var(--background-soft)); }
.pricing-page-grid { align-items: stretch; }
.pricing-card { position: relative; display: flex; flex-direction: column; border: 1px solid #dbe4f0; box-shadow: 0 22px 55px rgba(15,23,42,.1); }
.pricing-card ul { flex: 1; }
.pricing-card li::marker { color: var(--primary); }
.featured-plan { border: 2px solid var(--primary); transform: translateY(-10px); }
.plan-badge { display: inline-flex; align-self: flex-start; margin: 0 0 1rem; padding: .4rem .75rem; color: #fff; font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; background: var(--primary-dark); border-radius: 999px; }
.pricing-guidance > div:first-child { width: min(1180px,100%); margin: auto; }

.contact-workspace {
  display: grid;
  grid-template-columns: minmax(280px,.75fr) minmax(0,1.25fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(4rem, 9vw, 7rem) 5%;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff 55%, #fff7ed);
}
.contact-details-card,
.professional-form { width: 100%; max-width: none; }
.contact-details-card { position: sticky; top: 7rem; padding: clamp(1.75rem,4vw,2.5rem); background: #fff; border: 1px solid #dbe4f0; border-radius: var(--radius-large); box-shadow: 0 24px 60px rgba(15,23,42,.1); }
.contact-email-card { display: inline-flex; align-items: center; min-height: 48px; margin: 1.2rem 0; color: var(--primary-dark); font-weight: 900; overflow-wrap: anywhere; }
.response-note { margin-top: 1rem; padding: 1.25rem; background: var(--primary-light); border-radius: var(--radius-medium); }
.professional-form { padding: clamp(1.5rem,4vw,3rem); background: #fff; border: 1px solid #dbe4f0; border-radius: var(--radius-large); box-shadow: 0 28px 70px rgba(15,23,42,.11); }
.form-heading { padding-bottom: 1.2rem; border-bottom: 1px solid #e2e8f0; }
.professional-form label { font-weight: 800; }
.professional-form input,
.professional-form select,
.professional-form textarea { min-height: 48px; background: #fbfdff; border: 2px solid #cbd5e1; }
.professional-form textarea { min-height: 170px; }
.professional-form input:hover,
.professional-form select:hover,
.professional-form textarea:hover { border-color: #64748b; }
.field-help { margin: .55rem 0 0; color: var(--text-light); font-size: .9rem; }
.form-submit { min-width: 190px; }

.social-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.social-links a { display: grid; width: 44px; min-width: 44px; place-items: center; color: #fff; background: #1e293b; border: 1px solid #475569; border-radius: 50%; }
.social-links a:hover { color: #fff; background: var(--primary); transform: translateY(-2px); }
.social-links svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.social-links svg path:first-child:not(:last-child) { fill: currentColor; stroke: none; }

@media (max-width: 820px) {
  .landing-hero-grid,
  .contact-hero-grid,
  .contact-workspace { grid-template-columns: 1fr; }
  .process-grid,
  .guidance-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .contact-details-card { position: static; }
  .featured-plan { transform: none; }
}

@media (max-width: 480px) {
  .landing-hero { padding-inline: 1.2rem; }
  .landing-copy h1,
  .pricing-hero-content h1 { font-size: clamp(2.35rem, 13vw, 3.4rem); }
  .hero-actions .button,
  .hero-actions a,
  .form-submit { width: 100%; justify-content: center; }
  .contact-workspace { padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   CMS MEDIA, REVIEWS, AND EMBEDDED CONTENT
========================================================= */

.media-section {
    padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
    background: var(--background-soft);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.media-card {
    padding: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-medium);
    background: var(--background);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
}

.media-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-small);
}

.responsive-embed {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: var(--embed-ratio, 16 / 9);
    border-radius: var(--radius-small);
    background: #0f172a;
}

.responsive-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.testimonial-card footer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testimonial-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

/* WCAG 1.4.1: star rating is paired with visually hidden text (see markup),
   so color is never the only way this information is conveyed. */
.star-rating {
    color: #b45309;
    letter-spacing: 0.12em;
    font-size: 1.05rem;
}

.review-source {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    .media-section { padding-inline: 1rem; }
    .media-card { padding: 1rem; }
}

/* CMS-managed section ordering and clean card presentation */
.cms-orderable-main { display:flex; flex-direction:column; }
.cms-orderable-main > [data-cms-section] { width:100%; }
.card-number, .service-detail > span:first-child, .process-grid li > span:first-child, .about-process-grid article > span:first-child { display:none !important; }


/* =========================================================
   FAQ AND TEAM COMPONENTS
========================================================= */

.faq-section,
.team-section {
    padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
    background: var(--background);
}

.faq-list {
    width: min(900px, 100%);
    margin: 2rem auto 0;
    display: grid;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #dbe4f0;
    border-radius: var(--radius-medium);
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 1.2rem 1.4rem;
    font-weight: 800;
    color: var(--heading-color, var(--dark));
    list-style: none;
}

/* Custom expand/collapse indicator replaces the default marker. The
   indicator is decorative only; the open/closed state itself is
   already conveyed to assistive tech via the native <details> element. */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    font-size: 1.35rem;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item .rich-text {
    padding: 0 1.4rem 1.4rem;
}

.team-section {
    background: var(--background-soft);
}

.team-grid {
    width: min(1180px, 100%);
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1.4rem;
}

.team-card {
    padding: 1.4rem;
    border: 1px solid #dbe4f0;
    border-radius: var(--radius-medium);
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.team-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-small);
    margin-bottom: 1rem;
}

.team-role {
    color: var(--primary-dark);
    font-weight: 800;
}

.team-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.team-links a {
    font-weight: 800;
}