/* ==========================================================================
   Worx Media — main styles
   Colours: #69aabf (blue), #1c2930 (navy), #fff, #f3f5f6 (off-white grey)
   No rounded corners anywhere.
   ========================================================================== */

:root {
    --blue: #69aabf;
    --blue-dark: #5a9ab0;
    --navy: #1c2930;
    --navy-2: #243640;
    --white: #ffffff;
    --offwhite: #f3f5f6;
    --line: #e2e6e8;
    --text: #1c2930;
    --muted: #5d6a71;
    --container: 1300px;
    --header-h: 80px;
    /* Brand grid pattern for navy backgrounds */
    --grid-lines: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                  linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    --grid-size: 40px 40px;
}

.bg-grid,
.site-header,
.hero,
.section-dark,
.archive-banner,
.single-banner,
.site-footer,
.results,
.contact-panel,
.primary-nav.is-open {
    background-color: var(--navy);
    background-image: var(--grid-lines);
    background-size: var(--grid-size);
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }

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

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: inherit; font-weight: 700; }
h1 { font-size: clamp(38px, 5.5vw, 68px); letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.01em; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 95%; max-width: var(--container); margin: 0 auto; }

.screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 16px 28px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s;
    text-align: center;
    line-height: 1.2;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

.text-link { font-weight: 700; text-decoration: none; color: var(--blue); }
.text-link:hover { color: var(--navy); }

/* Header ----------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    transition: box-shadow .25s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.25); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 30px; }

.logo-text { font-size: 24px; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -.02em; }
.logo-text span { color: var(--blue); }
.custom-logo-link { display: inline-block; line-height: 0; }
.site-logo img, .footer-logo img { max-height: 28px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 30px; }
.nav-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-menu li { position: relative; }
.nav-menu a { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 0; display: block; transition: color .2s; }
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { color: var(--blue); }

.nav-menu .sub-menu {
    position: absolute; top: 100%; left: -20px; min-width: 220px;
    background: var(--navy); list-style: none; margin: 0; padding: 10px 0;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .2s; border-top: 3px solid var(--blue);
}
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu .sub-menu a { padding: 10px 20px; }

.nav-cta { padding: 12px 22px; }

.nav-toggle,
.nav-toggle:hover,
.nav-toggle:focus,
.nav-toggle:active {
    -webkit-appearance: none;
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none;
    color: #fff;
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    margin: 0;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
}
.nav-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.nav-toggle-bar {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff !important;
    margin: 0;
    transition: transform .25s, opacity .25s;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 968px) {
    .nav-toggle { display: flex; }
    .primary-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        background-color: var(--navy); flex-direction: column; align-items: stretch;
        padding: 30px 5%; gap: 20px; overflow-y: auto;
        transform: translateX(100%); transition: transform .3s;
    }
    .primary-nav.is-open { transform: none; }
    .nav-menu { flex-direction: column; gap: 0; }
    .nav-menu > li { border-bottom: 1px solid rgba(255,255,255,.1); }
    .nav-menu a { padding: 16px 0; font-size: 18px; }
    .nav-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 10px 15px; }
    .nav-menu .sub-menu a { padding: 8px 0; font-size: 15px; }
}

/* Sections --------------------------------------------------------------- */
.section { padding: 100px 0; }
.section-offwhite { background: var(--offwhite); }
.section-dark { color: #fff; }

.section-head { max-width: 700px; margin-bottom: 50px; }
.section-head h2 { margin: 0; }
.section-head-split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

@media (max-width: 768px) {
    .section { padding: 60px 20px; }
    .section-head { margin-bottom: 30px; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
    color: #fff;
    padding: 110px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 38%;
    background: linear-gradient(135deg, rgba(105,170,191,.14), rgba(105,170,191,0));
    pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero-lead { font-size: 19px; color: rgba(255,255,255,.8); max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-panel { display: grid; gap: 2px; background: rgba(255,255,255,.08); }
.hero-stat { background: rgba(36,54,64,.85); padding: 26px 30px; border-left: 4px solid var(--blue); }
.hero-stat-num { display: block; font-size: 34px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.hero-stat-label { display: block; font-size: 15px; color: rgba(255,255,255,.8); margin-top: 4px; }

@media (max-width: 968px) {
    .hero { padding: 70px 0 80px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero::after { display: none; }
    .hero-lead { font-size: 17px; }
}
@media (max-width: 480px) {
    .hero-actions .btn { width: 100%; }
}

/* Services --------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
    background: #fff;
    padding: 40px 34px;
    border-top: 4px solid var(--blue);
    display: flex; flex-direction: column;
    transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(28,41,48,.08); }
.service-num { font-size: 14px; font-weight: 800; color: var(--blue); margin-bottom: 18px; }
.service-card p { color: var(--muted); }
.service-card .text-link { margin-top: auto; }

@media (max-width: 968px) { .services-grid { grid-template-columns: 1fr; gap: 20px; } }

/* Process ---------------------------------------------------------------- */
.section-dark h2 { color: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step { background: rgba(28,41,48,.7); border: 1px solid rgba(255,255,255,.12); padding: 36px 30px; }
.process-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; background: var(--blue); color: #fff;
    font-weight: 800; font-size: 20px; margin-bottom: 22px;
}
.process-step p { color: rgba(255,255,255,.72); margin: 0; }

@media (max-width: 968px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* Testimonials ----------------------------------------------------------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial {
    margin: 0;
    background: var(--offwhite);
    padding: 36px 32px;
    border-left: 4px solid var(--blue);
    position: relative;
}
.testimonial::before {
    content: '\201C';
    font-size: 70px; line-height: 1; font-weight: 800; color: var(--blue);
    display: block; height: 40px;
}
.testimonial p { font-size: 17px; font-weight: 500; margin: 0; }

@media (max-width: 968px) { .testimonials-grid { grid-template-columns: 1fr; gap: 20px; } }

/* CTA band --------------------------------------------------------------- */
.cta-band { background: var(--blue); color: #fff; padding: 60px 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }

/* ==========================================================================
   Work grid / cards (from archive)
   ========================================================================== */
.archive-banner { color: #fff; padding: 80px 0; }
.archive-banner h1 { color: #fff; margin: 0; font-size: 48px; }

.archive-container { padding: 50px 0 90px; }
body.post-type-archive-case-study .site-main { background: var(--offwhite); }

.filters-wrapper { margin-bottom: 40px; }
.filter-row { margin-bottom: 20px; }
.filter-label { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 10px; display: block; }

.category-tabs, .tag-filters { display: flex; gap: 10px; flex-wrap: wrap; }

.category-tab, .tag-filter {
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: all .3s ease;
    white-space: nowrap;
}
.category-tab { padding: 10px 20px; font-size: 16px; }
.tag-filter { padding: 8px 16px; font-size: 14px; }
.category-tab:hover, .tag-filter:hover { color: var(--navy); background: #e5e8ea; }
.category-tab.active, .tag-filter.active { background: #fff; color: var(--blue); }

.filter-select {
    display: none;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #ddd;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    font-weight: 500;
}
.mobile-filters-row { display: none; grid-template-columns: 1fr 1fr; gap: 15px; }

.posts-grid { display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); }
.grid-item { width: 100%; transition: opacity .3s ease; }
.grid-item.hidden { display: none; }

.grid-item-inner {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.grid-item-inner:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }

.grid-image { width: 100%; height: 250px; background-size: cover; background-position: center; background-color: var(--offwhite); }
.grid-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.grid-title { margin: 0 0 15px; font-size: 1.2rem; font-weight: 600; color: var(--navy); line-height: 1.3; }

.grid-results { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.result-item { flex: 0 0 auto; }
.result-number-dark { font-size: 1.2rem; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 8px; }
.result-description-dark { font-size: .8rem; line-height: 1.2; color: var(--muted); }

.no-posts { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 18px; display: none; }
.no-posts.show { display: block; }

/* Cards on white homepage section need the off-white card contrast */
#work .grid-item-inner { box-shadow: none; border: 1px solid var(--line); }
#work .grid-item-inner:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }

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

@media (max-width: 768px) {
    .archive-banner { padding: 50px 0; }
    .archive-banner h1 { font-size: 32px; }

    .category-tabs, .tag-filters, .filter-label { display: none; }
    .mobile-filters-row { display: grid; }
    .filter-select { display: block; }

    /* Mobile carousel */
    .posts-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        gap: 15px;
        padding-bottom: 20px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .posts-grid::-webkit-scrollbar { display: none; }
    .posts-grid .grid-item { flex: 0 0 calc(100% - 60px); min-width: calc(100% - 60px); scroll-snap-align: start; }

    .grid-content { padding: 20px; }
    .grid-item-inner:hover { transform: none; }
    .result-item { max-width: 80px; }
    .grid-results { justify-content: flex-start; gap: 15px; }
}

/* ==========================================================================
   Single case study
   ========================================================================== */
.single-banner { color: #fff; padding: 70px 0 60px; }
.single-banner h1 { color: #fff; max-width: 900px; font-size: clamp(32px, 4.5vw, 54px); }
.back-link { display: inline-block; color: rgba(255,255,255,.7); text-decoration: none; font-weight: 600; font-size: 14px; margin-bottom: 20px; }
.back-link:hover { color: var(--blue); }

.single-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-block; padding: 6px 14px; font-size: 13px; font-weight: 600; text-decoration: none; background: var(--blue); color: #fff; }
.chip-light { background: rgba(255,255,255,.1); color: #fff; }
.chip:hover { background: #fff; color: var(--navy); }

.single-results { background: var(--blue); color: #fff; }
.single-results-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.single-result { padding: 36px 30px; border-right: 1px solid rgba(255,255,255,.25); }
.single-result:last-child { border-right: 0; }
.single-result-num { display: block; font-size: clamp(30px, 3.5vw, 44px); font-weight: 800; line-height: 1.1; }
.single-result-desc { display: block; font-size: 15px; margin-top: 6px; opacity: .92; }

@media (max-width: 768px) {
    .single-results-grid { grid-template-columns: 1fr; }
    .single-result { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); padding: 24px 0; }
    .single-result:last-child { border-bottom: 0; }
}

.single-layout { max-width: 900px; }
.single-image { margin: 0 0 50px; }
.single-image img { width: 100%; }

.entry-content { font-size: 17px; }
.entry-content h2 { font-size: 30px; margin-top: 1.6em; }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin: 1.5em 0; padding: 20px 26px; background: var(--offwhite); border-left: 4px solid var(--blue); font-size: 19px; font-weight: 500; }
.entry-content img, .entry-content figure { margin: 1.5em 0; }
.entry-content .wp-block-image img { width: 100%; }
.entry-content a { font-weight: 600; }

.post-list-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.post-list-item h2 { font-size: 24px; }
.post-list-item h2 a { color: var(--navy); text-decoration: none; }

/* ==========================================================================
   Lead calculator
   ========================================================================== */
.calculator-container { background: #fff; padding: 50px; }
.calculator-container h2 { color: var(--navy); margin: 0 0 10px; text-align: center; }
.calculator-container .subtitle { color: var(--muted); margin: 0 auto 40px; text-align: center; max-width: 560px; line-height: 1.4; }

.calculator-wrapper { display: flex; gap: 50px; align-items: stretch; }
.form-section { flex: 1; }
.results-section { flex: 1; position: relative; overflow: hidden; min-height: 380px; }

.calculator-container .input-group { margin-bottom: 24px; }
.calculator-container label { display: block; color: var(--navy); font-weight: 600; margin-bottom: 10px; font-size: 15px; }
.label-with-value { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.label-with-value label { margin: 0; }

.calculator-container input[type="range"] {
    width: 100%; height: 8px; background: #e0e0e0; outline: none;
    -webkit-appearance: none; appearance: none; margin: 8px 0;
}
.calculator-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 24px; height: 24px; background: var(--blue); cursor: pointer;
    border: 3px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,.25); border-radius: 0;
}
.calculator-container input[type="range"]::-moz-range-thumb {
    width: 24px; height: 24px; background: var(--blue); cursor: pointer;
    border: 3px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,.25); border-radius: 0;
}

.slider-value { display: inline-block; background: var(--blue); color: #fff; padding: 8px 16px; font-weight: 700; font-size: 18px; }

.calculator-container select,
.calculator-container input[type="number"],
.calculator-container input[type="text"],
.calculator-container input[type="email"],
.calculator-container input[type="tel"] {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    font-size: 15px;
    font-family: inherit;
    color: var(--navy);
    background: #fff;
    transition: border-color .3s;
}
.calculator-container select { cursor: pointer; }
.calculator-container select:focus,
.calculator-container input:focus { outline: none; border-color: var(--blue); }

.results-placeholder {
    display: flex; align-items: center; justify-content: center; text-align: center;
    height: 100%; min-height: 380px; padding: 40px;
    background: var(--offwhite); border: 2px dashed #d3d9dc; color: var(--muted);
}
.results-placeholder p { margin: 0; max-width: 280px; }

.results { padding: 30px; color: #fff; height: 100%; }
.results-intro { font-size: 16px; margin-bottom: 20px; line-height: 1.5; opacity: .9; }

.result-item-roi { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.result-label { font-size: 16px; opacity: .9; line-height: 1.2; font-weight: 500; }
.result-value { font-size: 36px; font-weight: 700; color: var(--blue); line-height: 1; }

.yearly-result { background: var(--blue); padding: 15px; margin-top: 20px; text-align: center; }
.yearly-label { font-size: 13px; line-height: 1.2; }
.yearly-value { font-size: 40px; font-weight: 800; margin: 8px 0; line-height: 1.1; }

.guarantee { background: #d4edda; color: #155724; padding: 15px; font-size: 13px; margin-top: 15px; border-left: 4px solid #28a745; font-weight: 600; }

.contact-form-overlay {
    position: absolute; inset: 0; display: none; z-index: 10;
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    background: rgba(28,41,48,.72);
}
.contact-form { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 40px; margin: 0; }
.form-inner { padding: 30px; }
.form-inner h4 { color: #fff; margin-bottom: 20px; text-align: center; font-size: 20px; }
.contact-form .input-group { margin-bottom: 14px; }
.contact-form label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.calculator-container .contact-form input[type="text"],
.calculator-container .contact-form input[type="email"],
.calculator-container .contact-form input[type="tel"] {
    color: #fff; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.3);
}
.contact-form input::placeholder { color: rgba(255,255,255,.65); }
.calculator-container .contact-form input:focus { border-color: var(--blue); background: rgba(255,255,255,.15); }

.cta-button {
    display: block; width: 100%; background: var(--blue); color: #fff;
    padding: 18px; border: none; font-size: 18px; font-weight: 700;
    font-family: inherit; cursor: pointer; transition: background .3s;
}
.cta-button:hover { background: var(--blue-dark); }
.cta-button:disabled { background: #ccc; cursor: not-allowed; }

.disclaimer-text { font-size: 13px; margin: 20px 0 0; text-align: center; color: var(--muted); }

@media (max-width: 968px) {
    .calculator-container { padding: 24px; }
    .calculator-wrapper { flex-direction: column; gap: 20px; }
    .form-section, .results-section { width: 100%; }
    .results-section, .results-placeholder { min-height: 0; }
    .results-placeholder { padding: 30px 20px; }
    .result-value { font-size: 28px; }
    .result-label { font-size: 14px; }
    .results { padding: 20px; }
    .contact-form { padding: 20px; }
    .form-inner { padding: 5px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { color: rgba(255,255,255,.75); padding-top: 80px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer-brand p { margin: 18px 0 22px; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0 0 22px; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:not(.btn):not(.logo-text) { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.site-footer a:not(.btn):not(.logo-text):hover { color: var(--blue); }

.footer-social { display: flex; gap: 8px; }
.footer-social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: rgba(255,255,255,.08); }
.footer-social a:hover { background: var(--blue); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

@media (max-width: 968px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
    .site-footer { padding-top: 60px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    transition: transform .2s, background .2s;
}
.wa-float:hover { background: #1ebe5a; color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; fill: currentColor; flex-shrink: 0; }
@media (max-width: 600px) {
    .wa-float { right: 16px; bottom: 16px; padding: 14px; }
    .wa-float span { display: none; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 0; box-shadow: 0 10px 40px rgba(28,41,48,.08); }
.contact-panel { color: #fff; padding: 50px 44px; }
.contact-panel h2 { color: #fff; font-size: 30px; }
.contact-panel p { color: rgba(255,255,255,.75); }
.contact-list { list-style: none; margin: 30px 0; padding: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; }
.contact-list a:hover { color: var(--blue); }

.contact-form-wrap { background: #fff; padding: 50px 44px; }
.contact-form-wrap h2 { font-size: 30px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cf-field { margin-bottom: 18px; }
.cf-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--navy); }
.cf-field input, .cf-field select, .cf-field textarea {
    width: 100%; padding: 14px; font: inherit; font-size: 15px; color: var(--navy);
    background: #fff; border: 2px solid #e0e0e0; transition: border-color .3s;
    -webkit-appearance: none; appearance: none;
}
.cf-field select {
    background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
    background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.cf-field textarea { min-height: 140px; resize: vertical; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: none; border-color: var(--blue); }
.cf-submit { width: 100%; border: 0; font-family: inherit; font-size: 17px; }
.cf-submit:disabled { background: #ccc; border-color: #ccc; cursor: not-allowed; }
.cf-msg { display: none; padding: 14px 16px; margin-bottom: 18px; font-weight: 600; font-size: 15px; }
.cf-msg.is-error { display: block; background: #fef2f2; color: #b91c1c; border-left: 4px solid #b91c1c; }
.cf-success { display: none; text-align: center; padding: 40px 0; }
.cf-success.show { display: block; }
.cf-success-icon { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; background: var(--blue); color: #fff; font-size: 30px; font-weight: 800; margin-bottom: 20px; }
.cf-note { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }

@media (max-width: 968px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-panel, .contact-form-wrap { padding: 36px 24px; }
}
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; gap: 0; } }

/* White header background (also removes the grid pattern) */
.site-header {
    background: #fff;
    background-image: none;
    border-bottom: 1px solid #e2e6e8;
}

/* Header text colour */
.nav-menu a { color: #1c2930; }
.nav-menu a:hover,
.nav-menu .current-menu-item > a { color: #69aabf; }

/* Text logo, only used if no image logo is uploaded */
.site-header .logo-text { color: #1c2930; }

/* Burger icon lines */
.nav-toggle-bar { background: #1c2930 !important; }

/* Dropdowns and mobile menu panel, so navy text isn't on navy */
.nav-menu .sub-menu,
.primary-nav.is-open { background: #fff; background-image: none; }

@media (max-width: 968px) {
    .primary-nav { background: #fff; background-image: none; }
    .nav-menu > li { border-bottom-color: #e2e6e8; }
}
