/* ============================================================
   FLOWPROS THEME — MAIN STYLESHEET
   Brand: #295CAA (blue), #40454C (grey), #fff, #000
   ============================================================ */

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

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Brand Colors */
    --fp-blue:         #295CAA;
    --fp-blue-dark:    #1e4480;
    --fp-blue-light:   #3a73c5;
    --fp-blue-pale:    #e8f0fb;
    --fp-grey:         #40454C;
    --fp-grey-light:   #6b7280;
    --fp-grey-pale:    #f4f6f9;

    /* Neutrals */
    --fp-white:  #ffffff;
    --fp-black:  #111111;
    --fp-dark:   #1a1f2e;
    --fp-border: #e2e8f0;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2.5rem;
    --space-xl:  4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Container */
    --container-max:     1280px;
    --container-pad:     1.5rem;

    /* Radii */
    --r-sm:   4px;
    --r-md:   8px;
    --r-lg:   16px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:   0 4px 20px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    --shadow-lg:   0 12px 48px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
    --shadow-blue: 0 6px 24px rgba(41,92,170,0.35);

    /* Transitions */
    --t-fast: 0.15s ease;
    --t-base: 0.25s ease;
    --t-slow: 0.4s ease;

    /* Layout */
    --header-h: 80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--fp-grey);
    background: var(--fp-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--fp-blue); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--fp-blue-dark); }

ul, ol { list-style: none; }

button { cursor: pointer; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    color: var(--fp-dark);
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--fp-dark); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}
.container--narrow { max-width: 860px; }

.section          { padding-block: var(--space-2xl); }
.section--sm      { padding-block: var(--space-xl); }
.section--lg      { padding-block: var(--space-3xl); }
.section--compact { padding-block: var(--space-xl); }
.section--grey    { background: var(--fp-grey-pale); }
.section--dark    { background: var(--fp-dark); }
.section--blue    { background: var(--fp-blue); }

.grid   { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex         { display: flex; }
.flex-center  { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-sm       { gap: var(--space-sm); }
.gap-md       { gap: var(--space-md); }
.gap-lg       { gap: var(--space-lg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1;
    border-radius: var(--r-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--t-base);
    white-space: nowrap;
    text-decoration: none;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.btn--primary {
    background: var(--fp-blue);
    color: var(--fp-white);
    border-color: var(--fp-blue);
}
.btn--primary:hover {
    background: var(--fp-blue-dark);
    border-color: var(--fp-blue-dark);
    color: var(--fp-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.btn--secondary {
    background: transparent;
    color: var(--fp-blue);
    border-color: var(--fp-blue);
}
.btn--secondary:hover {
    background: var(--fp-blue);
    color: var(--fp-white);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--fp-white);
    color: var(--fp-blue);
    border-color: var(--fp-white);
}
.btn--white:hover {
    background: var(--fp-blue-pale);
    color: var(--fp-blue-dark);
}

.btn--white-outline {
    background: transparent;
    color: var(--fp-white);
    border-color: rgba(255,255,255,0.7);
}
.btn--white-outline:hover {
    background: var(--fp-white);
    color: var(--fp-blue);
    border-color: var(--fp-white);
}

.btn--lg  { padding: 1.125rem 2.75rem; font-size: 1.0625rem; }
.btn--sm  { padding: 0.625rem 1.375rem; font-size: 0.875rem; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: 3.5rem;
}
.section-header--left { text-align: left; margin-inline: 0; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fp-blue);
    margin-bottom: 0.875rem;
}
.section-label::before,
.section-label::after {
    content: '';
    display: block;
    width: 2rem;
    height: 2px;
    background: var(--fp-blue);
    border-radius: 2px;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
    font-size: 1.0625rem;
    color: var(--fp-grey-light);
    line-height: 1.75;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--fp-white);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all var(--t-base);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}
.site-header.header-transparent {
    background: transparent;
    border-bottom-color: transparent;
}
.site-header.header-transparent .logo-text { color: #fff; }
.site-header.header-transparent .logo-text span { color: rgba(255,255,255,0.7); }
.site-header.header-transparent .nav-menu > li > a { color: rgba(255,255,255,0.9); }
.site-header.header-transparent .nav-menu > li > a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.site-header.header-transparent .header-phone { color: rgba(255,255,255,0.9); }
.site-header.header-transparent .header-phone:hover { color: #fff; }
.site-header.header-transparent .nav-toggle span { background: #fff; }
.site-header.header-transparent .btn--primary { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); }
.site-header.header-transparent .btn--primary:hover { background: var(--fp-white); color: var(--fp-blue); }
.site-header.header-transparent.scrolled { background: var(--fp-white); border-bottom-color: rgba(0,0,0,0.06); }
.site-header.header-transparent.scrolled .logo-text { color: var(--fp-blue); }
.site-header.header-transparent.scrolled .logo-text span { color: var(--fp-grey); }
.site-header.header-transparent.scrolled .nav-menu > li > a { color: var(--fp-dark); }
.site-header.header-transparent.scrolled .header-phone { color: var(--fp-dark); }
.site-header.header-transparent.scrolled .nav-toggle span { background: var(--fp-dark); }
.site-header.header-transparent.scrolled .btn--primary { background: var(--fp-blue); border-color: var(--fp-blue); color: #fff; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1.5rem;
}

/* Logo */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img.logo-img { height: 52px; width: auto; }
.logo-text {
    font-size: 1.625rem;
    font-weight: 900;
    color: var(--fp-blue);
    letter-spacing: -0.03em;
}
.logo-text span { color: var(--fp-grey); }

/* Nav */
.main-nav { flex: 1; display: flex; justify-content: center; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}
.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.875rem;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--fp-dark);
    border-radius: var(--r-sm);
    transition: all var(--t-fast);
    white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-parent > a {
    color: var(--fp-blue);
    background: var(--fp-blue-pale);
}

/* Dropdown chevron */
.nav-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform var(--t-fast);
    margin-left: 0.125rem;
}
.nav-menu .menu-item-has-children:hover > a::after { transform: rotate(180deg); }

/* Dropdown */
.nav-menu .menu-item-has-children { position: relative; }
.nav-menu .sub-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 230px;
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--t-base);
    z-index: 200;
}
.nav-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-menu .sub-menu li a {
    display: block;
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--fp-dark);
    border-radius: var(--r-sm);
    transition: all var(--t-fast);
}
.nav-menu .sub-menu li a:hover {
    background: var(--fp-blue-pale);
    color: var(--fp-blue);
}

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }
.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--fp-dark);
    transition: color var(--t-fast);
}
.header-phone:hover { color: var(--fp-blue); }
.header-phone svg { color: var(--fp-blue); flex-shrink: 0; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px; height: 44px;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: var(--r-sm);
    transition: background var(--t-fast);
}
.nav-toggle:hover { background: var(--fp-grey-pale); }
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--fp-dark);
    border-radius: 2px;
    transition: all var(--t-base);
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13,17,38,0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-base);
    backdrop-filter: blur(2px);
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }

.mobile-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(380px, 100vw);
    background: var(--fp-white);
    z-index: 999;
    padding: 1.75rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--t-slow);
    box-shadow: -8px 0 48px rgba(0,0,0,0.2);
}
.mobile-nav.active { transform: translateX(0); }

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--fp-border);
}
.mobile-nav-close {
    background: none;
    border: 1px solid var(--fp-border);
    border-radius: var(--r-sm);
    padding: 0.5rem;
    color: var(--fp-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast);
}
.mobile-nav-close:hover { background: var(--fp-grey-pale); }

.mobile-nav-menu > li {
    border-bottom: 1px solid var(--fp-border);
}
.mobile-nav-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
    font-weight: 500;
    font-size: 1.0625rem;
    color: var(--fp-dark);
    transition: color var(--t-fast);
}
.mobile-nav-menu > li > a:hover { color: var(--fp-blue); }

.mobile-nav-menu .sub-menu {
    overflow: hidden;
    height: 0;
    transition: height var(--t-base);
    padding-left: 1rem;
}
.mobile-nav-menu .menu-item-has-children.open .sub-menu { /* height set by JS */ }
.mobile-nav-menu .sub-menu li a {
    display: block;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    color: var(--fp-grey-light);
    border-bottom: 1px solid var(--fp-border);
}
.mobile-nav-menu .sub-menu li a:hover { color: var(--fp-blue); }

.mobile-submenu-toggle {
    background: none;
    border: none;
    padding: 0.25rem;
    color: var(--fp-grey-light);
    flex-shrink: 0;
    margin-left: auto;
}
.mobile-submenu-toggle svg { width: 1.25rem; height: 1.25rem; }
.menu-item-has-children.open .mobile-submenu-toggle svg { transform: rotate(180deg); }

.mobile-nav-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--fp-border);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.mobile-nav-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--fp-dark);
}
.mobile-nav-cta .btn { text-align: center; justify-content: center; }

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--fp-dark);
    overflow: hidden;
    margin-top: calc(-1 * var(--header-h));
    padding-top: var(--header-h);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        130deg,
        rgba(13,17,38,0.62) 0%,
        rgba(41,92,170,0.35) 55%,
        rgba(13,17,38,0.18) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding-block: 5rem;
}
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1.5rem;
}
.hero-label::before {
    content: '';
    display: block;
    width: 2.5rem;
    height: 2px;
    background: var(--fp-blue-light);
}
.hero h1 {
    color: var(--fp-white);
    font-size: clamp(2.375rem, 5.5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.08;
}
.hero h1 .accent { color: #7fb3f0; }
.hero .hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    margin-bottom: 2.75rem;
    max-width: 580px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* Hero Trust Chips */
.hero-trust {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.trust-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
}
.trust-chip svg { color: #7fb3f0; width: 1rem; height: 1rem; flex-shrink: 0; }

/* Page Hero */
.page-hero {
    position: relative;
    background: var(--fp-dark);
    padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
    overflow: hidden;
    margin-top: 0;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; }
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(13,17,38,0.97) 35%, rgba(41,92,170,0.35) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--fp-white); margin-bottom: 1rem; }
.page-hero .hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.75);
    max-width: 580px;
    line-height: 1.75;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--t-fast); }
.breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: rgba(255,255,255,0.85); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: var(--fp-blue);
    padding-block: 2.75rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}
.stat-item { padding: 0.5rem 1rem; }
.stat-number {
    font-size: clamp(2rem, 4vw, 2.875rem);
    font-weight: 900;
    color: var(--fp-white);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.375rem;
}
.stat-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1.3;
}
/* Dividers between stat items */
.stats-grid .stat-item:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.18);
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--t-base);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--fp-blue);
}
.service-card-image {
    height: 210px;
    overflow: hidden;
    background: var(--fp-grey-pale);
    position: relative;
}
.service-card-image a {
    display: block;
    height: 100%;
}
.service-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.service-card:hover .service-card-image img { transform: scale(1.05); }

/* Badge for primary service */
.service-card-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--fp-blue);
    color: var(--fp-white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: var(--r-full);
}

.service-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card-icon {
    width: 3rem; height: 3rem;
    background: var(--fp-blue-pale);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.125rem;
    transition: background var(--t-base);
}
.service-card-icon svg { width: 1.5rem; height: 1.5rem; color: var(--fp-blue); }
.service-card:hover .service-card-icon { background: var(--fp-blue); }
.service-card:hover .service-card-icon svg { color: var(--fp-white); }
.service-card h3 { font-size: 1.1875rem; margin-bottom: 0.625rem; }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--fp-blue); }
.service-card p { font-size: 0.9375rem; color: var(--fp-grey-light); line-height: 1.65; flex: 1; }
.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--fp-blue);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--fp-border);
    transition: gap var(--t-fast);
}
.service-card-link:hover { gap: 0.625rem; }
.service-card-link svg { width: 1rem; height: 1rem; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.why-image {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
}
.why-image img { width: 100%; height: 500px; object-fit: cover; }
.why-image-badge {
    position: absolute;
    bottom: 2rem; left: 2rem;
    background: var(--fp-blue);
    color: var(--fp-white);
    padding: 1.375rem 1.75rem;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
}
.badge-number { font-size: 2.5rem; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.badge-text { font-size: 0.875rem; font-weight: 500; opacity: 0.85; margin-top: 0.3rem; }

.features-list { display: flex; flex-direction: column; gap: 1.625rem; margin-top: 2.25rem; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon {
    width: 2.5rem; height: 2.5rem;
    background: var(--fp-blue-pale);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}
.feature-icon svg { width: 1.125rem; height: 1.125rem; color: var(--fp-blue); }
.feature-content h4 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.feature-content p { font-size: 0.9rem; color: var(--fp-grey-light); line-height: 1.6; margin: 0; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 2rem; left: 4rem; right: 4rem;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--fp-blue-pale) 15%, var(--fp-blue) 50%, var(--fp-blue-pale) 85%, transparent);
    border-radius: 3px;
    pointer-events: none;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 4rem; height: 4rem;
    background: var(--fp-white);
    border: 3px solid var(--fp-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--fp-blue);
    margin: 0 auto 1.25rem;
    box-shadow: 0 0 0 6px var(--fp-white);
}
.process-step h4 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; color: var(--fp-grey-light); line-height: 1.6; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, #1a3870 0%, var(--fp-blue) 50%, #3a73c5 100%);
    padding-block: 5.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 650px; height: 650px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -35%;
    left: -6%;
    width: 450px; height: 450px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.cta-section h2 { color: var(--fp-white); margin-bottom: 1rem; }
.cta-section .cta-desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    margin-bottom: 2.75rem;
    line-height: 1.75;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    font-weight: 700;
    font-size: 1.25rem;
    justify-content: center;
    margin-top: 1.75rem;
    text-decoration: none;
    transition: color var(--t-fast);
}
.cta-phone:hover { color: var(--fp-white); }
.cta-phone svg { width: 1.25rem; height: 1.25rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: var(--r-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--t-base);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-quote-mark {
    font-size: 5rem;
    line-height: 1;
    color: var(--fp-blue);
    opacity: 0.1;
    font-family: Georgia, serif;
    position: absolute;
    top: 1.25rem;
    right: 1.75rem;
    pointer-events: none;
}
.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}
.testimonial-stars svg { width: 1rem; height: 1rem; fill: #f59e0b; color: #f59e0b; }
.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--fp-grey);
    font-style: italic;
    margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.testimonial-avatar {
    width: 2.75rem; height: 2.75rem;
    border-radius: 50%;
    background: var(--fp-blue-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--fp-blue);
    flex-shrink: 0;
    font-size: 1rem;
}
.author-name { font-weight: 600; font-size: 0.9375rem; color: var(--fp-dark); }
.author-location { font-size: 0.8125rem; color: var(--fp-grey-light); }

/* ============================================================
   SERVICE PAGE CONTENT
   ============================================================ */
.service-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.service-content h2 { margin-bottom: 1.25rem; }
.service-content p {
    font-size: 1.0625rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}
.service-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.75rem;
}
.service-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--fp-grey-pale);
    border-radius: var(--r-sm);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--fp-dark);
}
.service-highlight svg { width: 1.25rem; height: 1.25rem; color: var(--fp-blue); flex-shrink: 0; }

.service-image {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.service-image img { width: 100%; height: 500px; object-fit: cover; }

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.5rem;
}
.benefit-card {
    padding: 2rem;
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: var(--r-lg);
    text-align: center;
    transition: all var(--t-base);
}
.benefit-card:hover {
    border-color: var(--fp-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.benefit-icon {
    width: 3.5rem; height: 3.5rem;
    background: var(--fp-blue-pale);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: background var(--t-base);
}
.benefit-icon svg { width: 1.625rem; height: 1.625rem; color: var(--fp-blue); }
.benefit-card:hover .benefit-icon { background: var(--fp-blue); }
.benefit-card:hover .benefit-icon svg { color: var(--fp-white); }
.benefit-card h4 { margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.9rem; color: var(--fp-grey-light); margin: 0; line-height: 1.65; }

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 820px;
    margin-inline: auto;
}
.faq-item {
    border: 1px solid var(--fp-border);
    border-radius: var(--r-md);
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--fp-dark);
    background: var(--fp-white);
    cursor: pointer;
    user-select: none;
    transition: all var(--t-fast);
    border: none;
    width: 100%;
    text-align: left;
}
.faq-question:hover { background: var(--fp-grey-pale); color: var(--fp-blue); }
.faq-item.active .faq-question { background: var(--fp-blue); color: var(--fp-white); }
.faq-icon {
    width: 1.625rem; height: 1.625rem;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    line-height: 1;
    transition: transform var(--t-base);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    display: none;
    padding: 1.375rem 1.5rem;
    background: var(--fp-grey-pale);
}
.faq-item.active .faq-answer { display: block; }
.faq-answer p { font-size: 0.9375rem; line-height: 1.75; margin: 0; color: var(--fp-grey); }

/* Related Services */
.related-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.related-service-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.125rem 1.25rem;
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--fp-dark);
    transition: all var(--t-base);
}
.related-service-link svg { width: 1.25rem; height: 1.25rem; color: var(--fp-blue); flex-shrink: 0; }
.related-service-link:hover {
    border-color: var(--fp-blue);
    color: var(--fp-blue);
    transform: translateX(4px);
}

/* ============================================================
   SERVICE PAGE — HIGHLIGHT SECTIONS & TEXT SECTIONS
   ============================================================ */
.svc-highlight-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.svc-highlight-section {
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: var(--r-lg);
    padding: 1.75rem 2rem;
}
.svc-highlight-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--fp-blue-pale);
    color: var(--fp-dark);
}
.svc-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.svc-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--fp-grey);
    line-height: 1.6;
}
.svc-bullets li::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--fp-blue);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.45em;
}
.svc-highlight-body {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--fp-grey);
    border-top: 1px solid var(--fp-border);
    padding-top: 1rem;
}

.svc-text-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.svc-text-card:has(.svc-text-card__body:only-child) {
    grid-template-columns: 1fr;
}
.svc-text-card--reverse { direction: rtl; }
.svc-text-card--reverse > * { direction: ltr; }
.svc-text-card__label {
    background: var(--fp-blue);
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
}
.svc-text-card__label h2 {
    color: var(--fp-white);
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}
.svc-text-card__body {
    background: var(--fp-white);
    padding: 2.5rem 2.5rem;
}
.svc-text-card__body p {
    font-size: 1.0625rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
    color: var(--fp-grey);
}
.svc-text-card__body p:last-child { margin-bottom: 0; }
.svc-text-card__body ul,
.svc-text-card__body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--fp-grey);
}
.svc-text-card__body ul { list-style: disc; }
.svc-text-card__body ol { list-style: decimal; }
.svc-text-card__body li { margin-bottom: 0.5rem; }
.svc-text-card__body h3,
.svc-text-card__body h4 {
    color: var(--fp-dark);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}
@media (max-width: 768px) {
    .svc-text-card { grid-template-columns: 1fr; }
    .svc-text-card--reverse { direction: ltr; }
    .svc-text-card__label { padding: 1.75rem 1.5rem; }
    .svc-text-card__body { padding: 1.75rem 1.5rem; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--fp-dark);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}
.about-image { border-radius: var(--r-lg); overflow: hidden; }
.about-image img { width: 100%; height: 480px; object-fit: cover; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 768px) {
    .values-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}
.value-card {
    padding: 2rem;
    border: 1px solid var(--fp-border);
    border-radius: var(--r-lg);
    text-align: center;
    transition: all var(--t-base);
}
.value-card:hover {
    border-color: var(--fp-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.value-icon {
    width: 4rem; height: 4rem;
    background: var(--fp-blue);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.value-icon svg { width: 1.875rem; height: 1.875rem; color: var(--fp-white); }
.value-card h4 { margin-bottom: 0.625rem; }
.value-card p { font-size: 0.9rem; color: var(--fp-grey-light); margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4.5rem;
    align-items: start;
}
.contact-info { position: sticky; top: calc(var(--header-h) + 2rem); }
.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--fp-border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
    width: 3rem; height: 3rem;
    background: var(--fp-blue-pale);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-icon svg { width: 1.25rem; height: 1.25rem; color: var(--fp-blue); }
.contact-info-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fp-grey-light);
    margin-bottom: 0.3rem;
}
.contact-info-value { font-weight: 600; font-size: 1rem; color: var(--fp-dark); }
.contact-info-value a { color: inherit; }
.contact-info-value a:hover { color: var(--fp-blue); }

.form-box {
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}
.form-box h3 { margin-bottom: 0.5rem; }
.form-box .form-intro { color: var(--fp-grey-light); font-size: 0.9375rem; margin-bottom: 2rem; }

/* ============================================================
   FORMINATOR OVERRIDES
   ============================================================ */
.forminator-ui .forminator-row { margin-bottom: 1.25rem !important; }
.forminator-ui .forminator-label,
.forminator-ui label {
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    color: var(--fp-dark) !important;
    margin-bottom: 0.375rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.forminator-ui input[type="text"],
.forminator-ui input[type="email"],
.forminator-ui input[type="tel"],
.forminator-ui input[type="number"],
.forminator-ui input[type="url"],
.forminator-ui select,
.forminator-ui textarea {
    border: 1.5px solid var(--fp-border) !important;
    border-radius: var(--r-sm) !important;
    padding: 0.8125rem 1rem !important;
    font-size: 0.9375rem !important;
    color: var(--fp-dark) !important;
    background: var(--fp-white) !important;
    transition: border-color var(--t-fast), box-shadow var(--t-fast) !important;
    width: 100% !important;
    font-family: var(--font) !important;
}
.forminator-ui input:focus,
.forminator-ui select:focus,
.forminator-ui textarea:focus {
    border-color: var(--fp-blue) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(41,92,170,0.12) !important;
}
.forminator-ui .forminator-btn-submit,
.forminator-ui .forminator-button-submit {
    background: var(--fp-blue) !important;
    color: var(--fp-white) !important;
    border: none !important;
    padding: 0.9375rem 2.5rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border-radius: var(--r-sm) !important;
    cursor: pointer !important;
    transition: all var(--t-base) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-family: var(--font) !important;
}
.forminator-ui .forminator-btn-submit:hover { background: var(--fp-blue-dark) !important; transform: translateY(-2px) !important; box-shadow: var(--shadow-blue) !important; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.blog-card {
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--t-base);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-image {
    height: 230px;
    overflow: hidden;
    background: var(--fp-grey-pale);
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--fp-blue);
    background: var(--fp-blue-pale);
    padding: 0.3rem 0.75rem;
    border-radius: var(--r-full);
    margin-bottom: 0.875rem;
}
.blog-card h3 { font-size: 1.1875rem; margin-bottom: 0.75rem; line-height: 1.3; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--fp-blue); }
.blog-card > .blog-card-body > p { font-size: 0.9375rem; color: var(--fp-grey-light); line-height: 1.65; flex: 1; }
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.375rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--fp-border);
    font-size: 0.8125rem;
    color: var(--fp-grey-light);
    flex-wrap: wrap;
}
.blog-card-meta svg { width: 0.875rem; height: 0.875rem; }
.blog-card-meta span { display: flex; align-items: center; gap: 0.375rem; }

/* Single Post */
.single-post-wrap { max-width: 820px; margin-inline: auto; }
.post-header { margin-bottom: 3rem; }
.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--fp-grey-light);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.post-meta-cat { color: var(--fp-blue); font-weight: 600; }
.post-featured-image {
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 3rem;
}
.post-featured-image img { width: 100%; height: 460px; object-fit: cover; }

.post-content {
    font-size: 1.0625rem;
    line-height: 1.85;
}
.post-content p { margin-bottom: 1.625rem; }
.post-content h2 { margin: 2.5rem 0 1rem; }
.post-content h3 { margin: 2rem 0 0.875rem; }
.post-content ul, .post-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.625rem;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 0.5rem; line-height: 1.75; }
.post-content blockquote {
    border-left: 4px solid var(--fp-blue);
    padding: 1.375rem 1.75rem;
    background: var(--fp-blue-pale);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    margin-block: 2rem;
    font-style: italic;
    font-size: 1.125rem;
}
.post-content img { border-radius: var(--r-md); margin-block: 1.5rem; }
.post-content a { text-decoration: underline; text-underline-offset: 3px; }

.post-cta-box {
    background: var(--fp-blue-pale);
    border: 1px solid var(--fp-blue);
    border-radius: var(--r-lg);
    padding: 2rem 2.25rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.post-cta-box h4 { margin-bottom: 0.5rem; }
.post-cta-box p { color: var(--fp-grey-light); font-size: 0.9375rem; margin: 0; }
.post-cta-box .btn { flex-shrink: 0; }

/* Blog Sidebar */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 3.5rem;
    align-items: start;
}
.sidebar { position: sticky; top: calc(var(--header-h) + 2rem); }
.sidebar-widget {
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}
.sidebar-widget h4 {
    font-size: 1rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid var(--fp-border);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.8125rem;
    color: var(--fp-grey-light);
}
.recent-post-item { display: flex; gap: 1rem; padding-block: 0.875rem; border-bottom: 1px solid var(--fp-border); }
.recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post-thumb { width: 64px; height: 64px; border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0; }
.recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-post-info a { font-weight: 600; font-size: 0.875rem; color: var(--fp-dark); line-height: 1.4; }
.recent-post-info a:hover { color: var(--fp-blue); }
.recent-post-date { font-size: 0.8rem; color: var(--fp-grey-light); margin-top: 0.25rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.service-area {
    background: var(--fp-grey-pale);
    border-top: 1px solid var(--fp-border);
    padding-block: 1.375rem;
    text-align: center;
}
.service-area p { margin: 0; font-size: 0.9rem; color: var(--fp-grey-light); }
.service-area strong { color: var(--fp-dark); }

.site-footer { background: var(--fp-dark); color: rgba(255,255,255,0.65); }
.footer-main { padding: 5rem 0 3.5rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.75; color: rgba(255,255,255,0.55); margin: 1.25rem 0 1.5rem; }
.footer-social { display: flex; gap: 0.625rem; }
.footer-social a {
    width: 2.25rem; height: 2.25rem;
    background: rgba(255,255,255,0.08);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--fp-blue); color: var(--fp-white); }
.footer-social svg { width: 0.9375rem; height: 0.9375rem; }

.footer-col h4 {
    color: var(--fp-white);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-nav a,
.footer-nav span { font-size: 0.875rem; color: rgba(255,255,255,0.55); }
.footer-nav a { transition: color var(--t-fast); }
.footer-nav a:hover { color: var(--fp-white); }

.footer-contact-list { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.55); }
.footer-contact-item svg { color: var(--fp-blue-light); flex-shrink: 0; margin-top: 0.125rem; }
.footer-contact-item a { color: rgba(255,255,255,0.55); }
.footer-contact-item a:hover { color: var(--fp-white); }
.footer-contact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.35); margin-bottom: 0.2rem; }

.footer-bottom {
    padding-block: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-copyright { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8125rem; color: rgba(255,255,255,0.4); transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--fp-white); }

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thank-you-wrap {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-h) + 4rem) 0 6rem;
}
.thank-you-icon {
    width: 5.5rem; height: 5.5rem;
    background: linear-gradient(135deg, var(--fp-blue-dark), var(--fp-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-blue);
}
.thank-you-icon svg { width: 2.75rem; height: 2.75rem; color: var(--fp-white); }
.thank-you-wrap h1 { margin-bottom: 1rem; }
.thank-you-wrap p { font-size: 1.125rem; color: var(--fp-grey-light); max-width: 520px; margin-inline: auto; margin-bottom: 2.5rem; }

/* ============================================================
   GENERAL PAGE (page.php)
   ============================================================ */
.page-content {
    max-width: 900px;
    margin-inline: auto;
}
.page-content h2 { margin: 2rem 0 0.875rem; }
.page-content h3 { margin: 1.75rem 0 0.75rem; }
.page-content p { font-size: 1.0625rem; line-height: 1.85; margin-bottom: 1.25rem; }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 0.5rem; }

/* ============================================================
   404
   ============================================================ */
.error-404-wrap {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-h) + 3rem) 0 5rem;
}
.error-code {
    font-size: clamp(6rem, 18vw, 11rem);
    font-weight: 900;
    color: var(--fp-blue);
    line-height: 1;
    opacity: 0.12;
    position: absolute;
}
.error-content { position: relative; z-index: 1; }
.error-404-wrap > .container { position: relative; }

/* ============================================================
   QUOTE PAGE
   ============================================================ */
.quote-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4.5rem;
    align-items: start;
}
.quote-sidebar { position: sticky; top: calc(var(--header-h) + 2rem); }
.quote-assurance {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}
.assurance-item {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--fp-grey-pale);
    border-radius: var(--r-md);
}
.assurance-item svg { width: 1.25rem; height: 1.25rem; color: var(--fp-blue); flex-shrink: 0; margin-top: 0.125rem; }
.assurance-item h5 { font-size: 0.9375rem; margin-bottom: 0.2rem; }
.assurance-item p { font-size: 0.875rem; color: var(--fp-grey-light); margin: 0; }

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    background: var(--fp-blue);
    color: var(--fp-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--r-sm);
    font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-white  { color: var(--fp-white) !important; }
.text-blue   { color: var(--fp-blue) !important; }
.text-muted  { color: var(--fp-grey-light) !important; }
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   SCROLL ANIMATION (data-animate)
   ============================================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}
[data-animate][data-delay="1"] { transition-delay: 0.1s; }
[data-animate][data-delay="2"] { transition-delay: 0.2s; }
[data-animate][data-delay="3"] { transition-delay: 0.3s; }
[data-animate][data-delay="4"] { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { gap: 3rem; }
    .about-intro { gap: 3rem; }
    .service-intro { gap: 3rem; }
    .contact-layout { gap: 3rem; }
    .quote-layout { gap: 3rem; }
    .blog-layout { gap: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid .stat-item:nth-child(2) { border-right: none; }
    .stats-grid .stat-item:nth-child(1),
    .stats-grid .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.18); }
}

@media (max-width: 1024px) {
    :root { --container-pad: 1.25rem; }
    .why-grid { grid-template-columns: 1fr; }
    .why-image { max-width: 600px; }
    .about-intro { grid-template-columns: 1fr; }
    .service-intro { grid-template-columns: 1fr; }
    .service-image img { height: 380px; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-info { position: static; }
    .quote-layout { grid-template-columns: 1fr; }
    .quote-sidebar { position: static; }
    .blog-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .process-grid::before { display: none; }
}

@media (max-width: 768px) {
    :root {
        --header-h: 68px;
        --space-2xl: 4rem;
        --space-3xl: 5.5rem;
    }
    .main-nav { display: none; }
    .header-phone { display: none; }
    .nav-toggle { display: flex; }
    .header-cta .btn--primary { display: none; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .cta-actions { flex-direction: column; align-items: center; }
    .service-highlights { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .about-image img { height: 320px; }
    .why-image img { height: 360px; }
    .service-image img { height: 300px; }
    .post-featured-image img { height: 280px; }
    .process-grid { gap: 1.5rem; }
    .form-box { padding: 1.75rem 1.25rem; }
}

@media (max-width: 520px) {
    :root { --container-pad: 1rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.18) !important; }
    .stats-grid .stat-item:last-child { border-bottom: none !important; }
    .blog-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .hero-trust { flex-direction: column; gap: 0.875rem; }
}

/* ============================================================
   HOMEPAGE — SPLIT HERO
   ============================================================ */

/* Header: solid white */
.home-split .site-header,
.home-split .site-header.header-transparent {
    background: var(--fp-white);
    border-bottom-color: rgba(0,0,0,0.06);
}

/* Reset all text/icon colours that header-transparent turns white */
.home-split .site-header .logo-text                         { color: var(--fp-blue); }
.home-split .site-header .logo-text span                    { color: var(--fp-grey); }
.home-split .site-header .nav-menu > li > a                 { color: var(--fp-dark); }
.home-split .site-header .nav-menu > li > a:hover,
.home-split .site-header .nav-menu > li.current-menu-item > a { color: var(--fp-blue); background: var(--fp-blue-pale); }
.home-split .site-header .header-phone                      { color: var(--fp-dark); }
.home-split .site-header .header-phone:hover                { color: var(--fp-blue); }
.home-split .site-header .nav-toggle span                   { background: var(--fp-dark); }
.home-split .site-header .btn--primary                      { background: var(--fp-blue); border-color: var(--fp-blue); color: #fff; }
.home-split .site-header .btn--primary:hover                { background: var(--fp-blue-dark); border-color: var(--fp-blue-dark); }

/* Accent word: own line + brand blue */
.hero--split .hero-content h1 .accent { display: block; color: #295CAA; }

.hero--split {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: stretch;
    margin-top: calc(-1 * var(--header-h));
    padding-top: 0;
    overflow: hidden;
}
.hero-split-text {
    position: relative;
    z-index: 2;
    background: var(--fp-dark);
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 4rem) var(--container-pad) 4rem calc(max((100vw - var(--container-max)) / 2 + var(--container-pad), var(--container-pad)));
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
.hero-split-text .hero-content {
    max-width: 580px;
    padding-block: 0;
}
.hero-split-media {
    position: relative;
    overflow: hidden;
}
.hero-split-media .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-split-media .hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.hero-split-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26,31,46,0.45) 0%, transparent 60%);
    z-index: 1;
}

/* Floating stat card inside split hero */
.hero-split-stat-card {
    position: absolute;
    bottom: 2.5rem;
    right: 2rem;
    z-index: 3;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-radius: var(--r-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 190px;
}
.hero-stat-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-stat-mini-num {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--fp-dark);
    line-height: 1;
}
.hero-stat-mini-label {
    font-size: 0.75rem;
    color: var(--fp-grey-light);
    line-height: 1.3;
}
.hero-stat-mini-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--fp-blue);
    flex-shrink: 0;
}

/* Water ripple accent — bottom-left of hero text panel */
.hero-water-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: clamp(180px, 28vw, 320px);
    aspect-ratio: 1;
    pointer-events: none;
    z-index: 0;
}
.hero-water-accent svg { display: block; width: 100%; height: 100%; }
.hero-split-text .hero-content { position: relative; z-index: 1; }

/* Split hero responsive */
@media (max-width: 900px) {
    .hero--split {
        grid-template-columns: 1fr;
        grid-template-rows: auto 340px;
    }
    .hero-split-text {
        clip-path: none;
        padding: calc(var(--header-h) + 3rem) var(--container-pad) 3rem;
    }
}
@media (max-width: 520px) {
    .hero--split { grid-template-rows: auto 260px; }
}

/* ============================================================
   WAVE / FLOW DIVIDERS
   ============================================================ */
.wave-divider {
    display: block;
    line-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.wave-divider svg {
    display: block;
    width: 100%;
    height: clamp(56px, 6vw, 90px);
}
.wave-divider--blue-to-pale  { background: var(--fp-blue); }
.wave-divider--pale-to-white { background: var(--fp-grey-pale); }
.wave-divider--white-to-pale { background: var(--fp-white); }
.wave-divider--white-to-blue { background: var(--fp-white); }

/* Remove top padding from sections that follow a wave divider */
.wave-divider + .section {
    padding-top: calc(var(--space-2xl) * 0.5);
}

/* ============================================================
   FOOTER CREDIT
   ============================================================ */
.footer-credit {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}
.footer-credit a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color var(--t-fast);
}
.footer-credit a:hover { color: var(--fp-white); }
