/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
    --cwiri-green: #4C9A6A;
    --cwiri-green-light: #2ED184;
    --cwiri-green-fig: #0F452D;
    --cwiri-blue: #3A6EA5;
    --cwiri-blue-light: #6FA3D8;
    --cwiri-grey: #F5F7F8;
    --cwiri-dark: #1F2A33;
    --cwiri-text: #2E3A45;

    --space-xs: 0.5rem;
    --space-s: 0.75rem;
    --space-m: 1.5rem;
    --space-l: 3rem;

    --radius: 10px;
    --shadow: 0 4px 12px rgba(0,0,0,0.2);
    --bigshadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* ============================================================
   GLOBAL ELEMENTS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap');

@font-face {
    font-family: "Crobel";
    src: url("/fonts/Crobel.woff2") format("woff2");
    font-weight: 400 700;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    background: var(--cwiri-grey);
    color: var(--cwiri-text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
h1, h2, h3 {
    font-family: "Sora", "Manrope", sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--cwiri-dark);
    margin-top: 0;
}

ul {
    padding-left: 1.2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Shadows on all images inside cards/sections */
.card img,
.section img {
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

/* ============================================================
   LAYOUT SYSTEM
   ============================================================ */

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
    padding: var(--space-l) 0;
}

.home-main {
    padding-top: 1rem;
}

.section {
    margin-bottom: var(--space-l);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-m);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-m);
}

/* ============================================================
   COMPONENTS
   ============================================================ */

/* Buttons */
.btn-row {
    display: flex;
    justify-content: center;
    gap: var(--space-s);
    margin-top: var(--space-m);
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-s) var(--space-m);
    border-radius: var(--radius);
    text-decoration: none;
    font-family: "Sora", "Manrope", sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    font-size: 0.95rem;
    border: 1px solid transparent;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 1px rgba(0, 0, 0, 0.08);
    box-shadow:
        0 8px 18px rgba(16, 28, 36, 0.12),
        0 3px 8px rgba(16, 28, 36, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #e9f1fb 0%, #dce9f8 100%);
    border-color: #8eb0d5;
    color: #2f74b2;
}

.btn-secondary {
    background: linear-gradient(135deg, #eaf4ee 0%, #dceddf 100%);
    border-color: #8eb89d;
    color: #2f8b57;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 22px rgba(16, 28, 36, 0.18),
        0 5px 10px rgba(16, 28, 36, 0.14);
    filter: saturate(1.04);
}

.btn-primary:active,
.btn-secondary:active {
    transform: translateY(0);
}

/* Cards */
.card {
    background: #ffffff;
    padding: var(--space-m);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.start-signpost {
    background: linear-gradient(135deg, #f8fcf8 0%, #eef5fb 100%);
    border: 1px solid #dbe7f4;
}

.start-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #285d3f;
    background: rgba(76, 154, 106, 0.12);
    border: 1px solid rgba(76, 154, 106, 0.25);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
}

.start-signpost h2 {
    color: var(--cwiri-green-fig);
    margin-bottom: 0.55rem;
}

.start-signpost p {
    margin-bottom: 1rem;
}

.start-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
}

.start-benefit {
    background: #ffffff;
    border: 1px solid #d9e8d9;
    color: #2f4b3a;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.start-actions {
    margin-top: 0.25rem;
    justify-content: flex-start;
}

.start-note {
    font-size: 0.9rem;
    color: #4b5e6f;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.case-tabs {
    display: grid;
    gap: var(--space-s);
}

.case-tab {
    background: #ffffff;
    border: 1px solid #d4dfeb;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.case-tab > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-m);
    padding: 1rem 1.25rem;
    background: linear-gradient(90deg, #f4faf6 0%, #eef5fb 100%);
    position: relative;
    padding-right: 2.8rem;
}

.case-tab > summary::-webkit-details-marker {
    display: none;
}

.case-tab > summary::after {
    content: ">";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--cwiri-green-fig);
    transition: transform 0.2s ease;
}

.case-tab[open] > summary::after {
    transform: translateY(-50%) rotate(90deg);
}

.case-tab-title {
    font-weight: 700;
    color: var(--cwiri-green-fig);
}

.case-tab-meta {
    font-size: 0.92rem;
    color: #506273;
    text-align: right;
}

.case-tab[open] > summary {
    border-bottom: 1px solid #d4dfeb;
}

.case-tab-panel {
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

.case-kicker {
    font-weight: 600;
    color: var(--cwiri-blue);
}

.case-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: var(--space-m);
    margin-top: var(--space-m);
}

.case-meta-item {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    border: 1px solid #dbe7f4;
    border-radius: var(--radius);
    padding: var(--space-m);
}

.case-meta-item h3 {
    margin-bottom: var(--space-xs);
    color: var(--cwiri-green-fig);
}

.quote-card {
    background: linear-gradient(135deg, #f8fcf8 0%, #eff6fb 100%);
    border-left: 5px solid var(--cwiri-green);
    text-align: center;
}

.case-tab-panel .quote-card {
    margin-top: var(--space-l);
}

.quote-card blockquote {
    margin: 0 auto;
    max-width: 900px;
    font-size: 1.08rem;
    color: #1d2a35;
    font-style: italic;
}

.quote-attribution {
    margin-top: var(--space-m);
    margin-bottom: var(--space-xs);
    font-weight: 700;
    color: var(--cwiri-green-fig);
}

.quote-partners {
    margin: 0;
    font-size: 0.95rem;
}

.case-gallery figure {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.case-gallery figure img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
}

.case-gallery figcaption {
    margin-top: var(--space-s);
    text-align: center;
    color: #4a5661;
    font-size: 0.92rem;
}

/* Forms */
.contact-form {
    max-width: 650px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

.contact-grid label {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    gap: 0.5rem;
}

.contact-grid input,
.contact-grid textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.contact-grid .full-width,
.contact-grid button {
    grid-column: 1 / -1;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

nav {
    background: linear-gradient(135deg,  #0a3d62 0%,  #256c9e 100%);
    /* background:  #0a3d62; */
    /* background: linear-gradient(90deg, #189456 0%, #1fbf73 100%); */
    box-shadow:
        0 8px 20px rgba(7, 36, 22, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(5, 20, 14, 0.35);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    overflow: visible;
    transition: transform 0.3s ease;
}

nav.nav-hidden {
    transform: translateY(-100%);
}

nav::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

nav::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 38%;
    background: linear-gradient(0deg, rgba(5, 22, 16, 0.22) 0%, rgba(5, 22, 16, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.scroll-progress {
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.scroll-progress-bar {
    height: 100%;
    width: 100%;
    /* background: linear-gradient(90deg, #d99a1f 0%, #f0c36b 100%); */
    background: linear-gradient(90deg, #1fd973 0%, #6bf072 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.08s linear;
}

.nav-container {
    width: min(1100px, 90%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-s) 0;
    position: relative;
    z-index: 2;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-logo a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 1.2rem;
}

/* Hamburger toggle button — hidden on desktop */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.45rem;
    color: white;
    position: relative;
    z-index: 3;
    line-height: 0;
    border-radius: 6px;
    flex-shrink: 0;
}

.nav-hamburger svg {
    width: 28px;
    height: 28px;
    display: block;
}

.nav-hamburger:focus-visible {
    outline: 2px solid var(--cwiri-green-light);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    nav {
        transition: none;
    }
}

.nav-links {
    display: flex;
    gap: var(--space-m);
    align-items: center;
}

.nav-item {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-family: "Sora", "Manrope", sans-serif;
    font-weight: 500;
    letter-spacing: 0.01em;
    font-size: 1.2rem;
    white-space: nowrap;
    text-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.55), 
        0 6px 20px rgba(0, 0, 0, 0.45);
}

.nav-links a:hover {
    color: var(--cwiri-green-light);
}

.nav-links a.active {
    color: white;
    border-bottom: 2px solid white;
    padding-bottom: 2px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    padding: 0.55rem 0;
    border-radius: 10px;
    background: rgba(10, 22, 30, 0.96);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 2000;
}

.submenu a {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-bottom: none;
}

.submenu a.active {
    border-bottom: none;
}

.submenu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
    display: block;
}

/* ============================================================
   HERO SYSTEM
   ============================================================ */

.hero {
    padding: 10rem 0 5rem 0;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
}

.hero-brand-logo {
    width: min(360px, 70vw);
    margin: 0 auto 1rem;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: var(--space-s);
    color: white;
    text-shadow:
        0 3px 8px rgba(0,0,0,0.9),
        0 6px 20px rgba(0,0,0,0.9);
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: white;
    text-shadow:
        0 3px 8px rgba(0,0,0,0.9),
        0 6px 20px rgba(0,0,0,0.9);
}

/* Page-specific hero backgrounds */
.hero-home {
    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('../images/hero-home.jpg');
    padding-bottom: 5rem;
}

.hero-about {
    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('../images/about-landscapeoverlay.jpg');
}

.hero-services {
    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('../images/hero-services.jfif?v=20260330-1');
}

.hero-team {
    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('../images/hero-team.jpg');
}

.hero-cases {
    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('../images/hero-cases.jpg');
}

.hero-contact {
    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('../images/hero-contact.jpg');


.hero-login {
    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('../images/hero-contact.jpg');
}
}

/* ============================================================
   PARTNER LOGOS
   ============================================================ */

.partner-logos {
    padding: 3rem 0;
    background: white;
    text-align: center;
}

.supported-by {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cwiri-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    display: block;
}

.partner-container {
    width: min(1100px, 90%);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.partner-container img {
    height: 60px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.partner-container img:hover {
    opacity: 1;
}

/* ============================================================
   PILLAR SYSTEM
   ============================================================ */

.pillars-section {
    padding: 4rem 0;
    background: #ffffff;
}

.pillars-container {
    width: min(1100px, 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--bigshadow);
    padding: var(--space-m);
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
}

.pillar-content {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pillar-heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(90deg, #f1f7fc 0%, #d6e5f2 100%);
    border: 1px solid #cddced;
    border-radius: 10px;
    padding: 0.45rem 0.7rem;
}

.pillar-heading h3 {
    margin: 0;
    color: var(--cwiri-green-fig);
}

.pillar-icon {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: #1f4a74;
    box-shadow: 0 0 0 2px rgba(31, 74, 116, 0.18);
    flex-shrink: 0;
}

.pillar-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.usp-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.usp-card {
    border: 1px solid #d8e3ef;
    border-radius: 12px;
    padding: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f6fafe 100%);
}

.usp-card h3 {
    margin-bottom: 0.45rem;
    color: var(--cwiri-green-fig);
    font-size: 1.02rem;
}

.usp-card p {
    margin: 0;
}

.usp-home {
    background: linear-gradient(145deg, #f3faf6 0%, #edf5fb 100%);
    border: 1px solid #d3e5da;
}

.usp-point-card {
    border: 1px solid #cfe1d7;
    border-left: 4px solid #1f9f66;
    background: linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
}

.usp-point-heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
}

.usp-point-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #157f4a 0%, #23ad6d 100%);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 10px rgba(19, 97, 58, 0.28);
}

.usp-point-heading h3 {
    margin: 0;
    font-size: 1.06rem;
    color: #11452c;
}

.about-why-started {
    background: #ffffff;
    border: none;
}

.about-why-card {
    text-align: center;
    border: 1px solid #d9deef;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 20px rgba(22, 42, 66, 0.08);
}

.about-why-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 0.01em;
    color: var(--cwiri-green);
    font-weight: 700;
}

.about-why-card h3 span {
    background: none;
    color: var(--cwiri-green);
    font-weight: 700;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.about-why-card h3::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin: 0.5rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #2f74b2 0%, #1f9f66 100%);
}

#faq .tier-heading {
    margin-top: 1.15rem;
    margin-bottom: 0.4rem;
    font-size: 1.16rem;
    letter-spacing: 0.01em;
}

#faq .tier-bronze {
    color: #8a6424;
}

#faq .tier-silver {
    color: #5f6f7f;
}

#faq .tier-gold {
    color: #b2871f;
}

#faq .tier-platinum {
    color: #979595;
    /* text-shadow: 0 0.5px 0 rgba(66, 62, 62, 0.75), 0 0 10px rgba(180, 194, 220, 0.22); */
}

.tier-comparison-wrap {
    margin-top: 1rem;
    margin-bottom: 1.4rem;
    overflow-x: auto;
    border: 1px solid #d6e1ec;
    border-radius: 12px;
    background: #ffffff;
}

.tier-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.tier-comparison-table th,
.tier-comparison-table td {
    border-bottom: 1px solid #e0e8f1;
    padding: 0.72rem 0.78rem;
    text-align: center;
    vertical-align: middle;
}

.tier-comparison-table thead th {
    background: linear-gradient(90deg, #f4faf6 0%, #eef5fb 100%);
    font-weight: 700;
    color: var(--cwiri-green-fig);
}

.tier-comparison-table thead th:first-child,
.tier-comparison-table tbody th {
    text-align: left;
    color: #2f3f4f;
}

.tier-comparison-table tbody tr:last-child th,
.tier-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.tier-comparison-table tbody tr:nth-child(even) {
    background: #f9fcff;
}

.tier-tick {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(76, 154, 106, 0.14);
    color: #1c7e49;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
}

.dashboard-capabilities {
    background: linear-gradient(145deg, rgba(243, 250, 246, 0.72) 0%, rgba(237, 245, 251, 0.72) 100%);
    border: 1px solid rgba(177, 201, 216, 0.65);
}

.dashboard-feature-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-feature-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(198, 214, 228, 0.8);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(21, 41, 58, 0.08);
}

.dashboard-feature-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.dashboard-feature-card h3 {
    margin: 0;
    color: var(--cwiri-green-fig);
}

.dashboard-feature-card p {
    margin: 0;
}

.dashboard-feature-icon {
    width: 4.3rem;
    height: 4.3rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(26, 141, 85, 0.2) 0%, rgba(47, 116, 178, 0.2) 100%);
    border: 1px solid rgba(53, 119, 166, 0.35);
    color: var(--cwiri-green-fig);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(19, 78, 56, 0.16);
}

.dashboard-feature-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: #154d75;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-how-it-works {
    background: linear-gradient(145deg, #eef8f2 0%, #e8f1fb 100%);
    border: 1px solid #d2e1ee;
}

.home-how-it-works .process-step {
    border: 1px solid #c9dced;
    background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
}

.home-how-it-works .process-step-number {
    background: linear-gradient(135deg, #1b8f56 0%, #2f74b2 100%);
    box-shadow: 0 6px 12px rgba(23, 84, 122, 0.22);
}

/* Dashboard preview */
.dashboard-preview p {
    margin-bottom: var(--space-s);
}

.dashboard-shot {
    margin: var(--space-m) 0;
}

.dashboard-shot img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid #d8e2ec;
    box-shadow: var(--shadow);
    display: block;
}

.dashboard-shot figcaption {
    margin-top: 0.65rem;
    text-align: center;
    color: #4a5661;
    font-size: 0.9rem;
}

.dashboard-mock {
    margin-top: var(--space-m);
    padding: 1rem;
    border: 1px solid #d8e2ec;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
}

.dashboard-mock-top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.dash-pill {
    background: #e6f0ea;
    color: var(--cwiri-green-fig);
    border: 1px solid #cde0d3;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.dashboard-mock-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-s);
}

.dash-card {
    min-height: 88px;
    border: 1px dashed #bdd0e2;
    border-radius: var(--radius);
    background: #ffffff;
    color: #4a5661;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.6rem;
}

/* Process steps */
.process-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #285d3f;
    background: rgba(76, 154, 106, 0.12);
    border: 1px solid rgba(76, 154, 106, 0.25);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
}

.process-lead {
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    color: #3f4f5e;
    max-width: 75ch;
}

.process-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.process-pill {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #d9e8d9;
    color: #2f4b3a;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: var(--space-m);
    position: relative;
}

.process-step {
    display: flex;
    gap: var(--space-m);
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border: 1px solid #dde6ef;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.process-step:last-child {
    border-bottom: 1px solid #dde6ef;
}

.process-step-number {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    background: var(--cwiri-green);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0.15rem;
}

.process-step-body {
    max-width: initial;
}

.process-step-body h3 {
    margin: 0 0 var(--space-xs) 0;
    color: var(--cwiri-green-fig);
}

.process-step-body p {
    margin: 0;
    color: var(--cwiri-text);
}

.process-cta {
    margin-top: var(--space-l);
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.process-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 0.78rem 1.15rem;
    border-radius: 12px;
    padding: 0.82rem 1.2rem;
}

@media (max-width: 640px) {
    .process-cta a {
        width: 100%;
        min-width: 0;
    }
}

.process-note {
    margin-top: 0.75rem;
    margin-bottom: 0;
    text-align: center;
    color: #4b5e6f;
    font-size: 0.92rem;
}

/* FAQ accordion */
.faq {
    margin-top: var(--space-m);
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
}

.faq-item {
    border: 1px solid #d4dfeb;
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item > summary {
    list-style: none;
    cursor: pointer;
    padding: 0.9rem 2.8rem 0.9rem 1.1rem;
    font-weight: 600;
    color: var(--cwiri-green-fig);
    background: linear-gradient(90deg, #f4faf6 0%, #eef5fb 100%);
    position: relative;
    user-select: none;
}

.faq-item > summary::-webkit-details-marker {
    display: none;
}

.faq-item > summary::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cwiri-green);
    transition: transform 0.2s ease;
    line-height: 1;
}

.faq-item[open] > summary::after {
    content: "−";
}

.faq-item > p {
    margin: 0;
    padding: 1rem 1.1rem;
    color: var(--cwiri-text);
    border-top: 1px solid #d4dfeb;
    background: #ffffff;
    line-height: 1.7;
}

/* ============================================================
   PRODUCT GRAPHICS SYSTEM
   ============================================================ */

.product-graphic-block {
    margin-top: 1.5rem;
}

.product-figure {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--space-s);
    background: white;
    /* border-radius: var(--radius); */
    /* box-shadow: var(--shadow); */
    text-align: center;
}

.product-figure img,
.product-figure video {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-figure figcaption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #555;
}

/* Split layout */
.product-graphic-split {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.5fr);
    gap: 2rem;
    align-items: start;
}

/* One specific product image clean */
.product-graphic-split .product-figure {
    background: none;
    padding: 0;
    box-shadow: none;
}

.product-graphic-split .product-figure img {
    box-shadow: none;
    border-radius: 0;
}

/* Zoomable image */
.zoomable-img {
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

.zoomable-img:hover {
    opacity: 0.88;
}

.zoom-hint {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.8rem;
    color: #7BBF8F;
    font-style: italic;
}

/* Lightbox overlay */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 20, 15, 0.88);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox-overlay.open {
    display: flex;
}

.lightbox-overlay img {
    max-width: min(92vw, 1300px);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    cursor: zoom-out;
}

.lightbox-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.75;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
}

/* ============================================================
   TEAM SYSTEM
   ============================================================ */

.team-card {
    background: #ffffff;
    padding: var(--space-m);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.team-photo {
    display: block;
    margin: 0 auto var(--space-s) auto;
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ============================================================
   ABOUT PAGE COMPONENTS
   ============================================================ */

.mission-band {
    width: 96%;
    padding: 4rem 1.5rem;
    margin: 3rem 0;
    background: linear-gradient(135deg, #0a3d62 0%, #117a5a 52%, #1fb26b 100%);
    color: white;
    text-align: center;
    border-radius: 12px;
}

.mission-inner {
    max-width: 800px;
    margin: 0 auto;
}

.mission-band h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
    color: white;
}

.mission-band p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #f0f4f8;
}

.image-break {
    margin: 3rem 0;
    text-align: center;
}


.image-wrapper img { 
    background-color: var(--cwiri-green-fig) !important; 
    border-radius: var(--radius); 
    box-shadow: var(--shadow); 
}

.about-image {
    max-width: 90%;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ============================================================
   LOGIN WIDGET
   ============================================================ */

.login-widget-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 3rem 1rem 0 1rem;
    background: 
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 2px,
            transparent 2px,
            transparent 4px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.02) 0px,
            rgba(255, 255, 255, 0.02) 2px,
            transparent 2px,
            transparent 4px
        ),
        radial-gradient(
            ellipse 800px 600px at 20% 30%,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse 600px 500px at 80% 70%,
            rgba(15, 69, 45, 0.1) 0%,
            transparent 50%
        ),
        linear-gradient(135deg, var(--cwiri-green) 0%, var(--cwiri-blue-light) 100%);
    background-attachment: fixed;
    min-height: 600px;
    flex-grow: 1;
}

.login-widget {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    border: 1px solid rgba(79, 154, 106, 0.1);
}

/* Tabs */
.login-widget-tabs {
    display: flex;
    border-bottom: 2px solid #f0f3f7;
    background: #fafbfc;
}

.login-tab-btn {
    flex: 1;
    padding: 1.2rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #7a8a9a;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.login-tab-btn:hover {
    color: var(--cwiri-green);
    background: rgba(76, 154, 106, 0.05);
}

.login-tab-btn.active {
    color: var(--cwiri-green);
}

.login-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cwiri-green);
}

.tab-icon {
    font-size: 1.3rem;
}

.tab-label {
    display: block;
}

/* Tab content — grid-stack cross-fade (no height animation = no glitch) */
.login-tab-body {
    display: grid;
}

.login-tab-content {
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    padding: 2rem 1.5rem;
}

.login-tab-content.active {
    opacity: 1;
    pointer-events: auto;
}

.login-tab-inner h2 {
    margin: 0 0 0.75rem 0;
    font-size: 1.4rem;
    color: var(--cwiri-green-fig);
}

.login-tab-inner > p {
    color: #6b7788;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Feature list */
.login-feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(76, 154, 106, 0.08);
    border-radius: 10px;
    border-left: 3px solid var(--cwiri-green);
}

.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item span:last-child {
    color: #4a5661;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Request info steps */
.request-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.info-step {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--cwiri-green);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.info-text {
    color: #4a5661;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Button sizing in widget */
.btn-large {
    width: 100%;
    padding: 1rem 1.5rem !important;
    font-weight: 600;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.login-widget-container + .site-footer {
    margin-top: 0;
}

/* ============================================================
   MEDIA QUERIES
   ============================================================ */

/* ── Mobile hamburger nav (≤860px) ────────────────────────────────── */
@media (max-width: 860px) {
    .nav-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    /* Menu closed by default */
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 0.5rem 0 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        /* Sit below the logo/hamburger row */
        order: 3;
    }

    /* Menu open state */
    nav.nav-open .nav-links {
        display: flex;
    }

    /* Make the nav-container a grid-like wrapper so links drop below */
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-links > .nav-item,
    .nav-links > a {
        width: 100%;
        padding: 0.55rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links > a:last-child,
    .nav-links > .nav-item:last-child {
        border-bottom: none;
    }

    .nav-links a {
        font-size: 1.05rem;
        display: block;
        white-space: normal;
    }

    /* Submenus: always visible and indented on mobile */
    .submenu {
        position: static;
        display: block;
        min-width: 0;
        background: transparent;
        box-shadow: none;
        padding: 0.35rem 0 0 0.9rem;
    }

    .submenu a {
        padding: 0.25rem 0;
        font-size: 0.88rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .submenu a:hover {
        background: transparent;
        color: var(--cwiri-green-light);
    }

    .logo-img {
        height: 48px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
    .nav-links a {
        font-size: 1rem;
    }
}

/* ── Tablet hero compaction (≤768px) ───────────────────────────────── */
@media (max-width: 768px) {
    .hero {
        padding: 7rem 1.25rem 3rem 1.25rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-brand-logo {
        width: min(260px, 60vw);
    }
}

/* ── Layout grid collapses (≤900px) ────────────────────────────────── */
@media (max-width: 900px) {
    .pillars-container {
        grid-template-columns: 1fr;
    }

    .usp-grid {
        grid-template-columns: 1fr;
    }

    .tier-comparison-table {
        min-width: 600px;
    }

    .tier-comparison-table th,
    .tier-comparison-table td {
        padding: 0.62rem 0.62rem;
        font-size: 0.92rem;
    }

    .dashboard-feature-grid {
        grid-template-columns: 1fr;
    }

    .product-graphic-split {
        grid-template-columns: 1fr;
    }

    .dashboard-mock-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .case-tab > summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .case-tab-meta {
        text-align: left;
    }

    .team-photo {
        width: 110px;
        height: 110px;
    }

    /* Aggressive mobile hero: logo already visible in nav bar */
    .hero {
        padding: 5.5rem 1rem 2rem 1rem;
    }

    .hero-brand-logo {
        display: none;
    }

    .hero h1 {
        font-size: 1.45rem;
    }

    .hero p {
        font-size: 0.92rem;
    }
}


/* ============================================================
   FINAL FIX: Centre homepage video in all cases
   ============================================================ */

/* Centre the container itself */
.video-section {
    text-align: center;
}

/* Centre native <video> elements */
.video-section video {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
    height: auto;
}

/* Centre if it's an <iframe> embed (e.g. YouTube/Vimeo) */
.video-section iframe {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
}

/* Modern slavery statement page */
.hero-modern-slavery {
    background: linear-gradient(135deg, #0f452d 0%, #2f6a4b 55%, #4c9a6a 100%);
}

.statement-wrap {
    width: min(980px, 92%);
    margin: 0 auto;
    padding: var(--space-l) 0;
}

.statement-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.statement-chip {
    background: #edf4ee;
    border: 1px solid #c8dcca;
    color: #224c35;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.statement-viewer {
    background: linear-gradient(180deg, #37434d 0%, #2c3741 100%);
    border: 1px solid #1f2b36;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(9, 16, 22, 0.24);
    overflow: hidden;
}

.statement-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.18);
}

.statement-file-name {
    color: #e4ebf2;
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.statement-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.statement-action-btn {
    border: 1px solid #9eb2c6;
    border-radius: 8px;
    background: #e6edf5;
    color: #1f2a33;
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.statement-action-btn:hover {
    background: #f2f6fb;
}

.statement-spread {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.2rem;
}

.statement-page {
    background: #ffffff;
    border: 1px solid #d6dee5;
    border-radius: 8px;
    box-shadow: 0 9px 20px rgba(10, 22, 32, 0.24);
    padding: 1.7rem;
    position: relative;
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
}

.statement-page::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 8px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(30, 40, 50, 0.06));
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    pointer-events: none;
}

.statement-document h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.statement-document h2:first-of-type {
    margin-top: 0;
}

.statement-document ul {
    margin-top: 0.35rem;
}

.statement-approval {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #dbe3ea;
}

.statement-signature {
    display: inline-block;
    margin-top: 0.35rem;
    font-family: "Sora", "Manrope", sans-serif;
    font-weight: 600;
    color: #1f2a33;
}

@media print {
    .hero,
    nav,
    .site-footer,
    .scroll-progress,
    .statement-toolbar {
        display: none !important;
    }

    body {
        background: #ffffff;
    }

    .statement-wrap {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .statement-viewer {
        border: 0;
        box-shadow: none;
        background: #ffffff;
    }

    .statement-spread {
        display: block;
        padding: 0;
    }

    .statement-page {
        border: 0;
        box-shadow: none;
        padding: 0;
        margin-bottom: 1rem;
    }

    .statement-page::after {
        display: none;
    }
}

/* Footer */
.site-footer {
    background-color: #dde3e8;
    color: #4a5661;
    font-size: 0.78rem;
    text-align: center;
    padding: 1.2rem 1.5rem;
    margin-top: 3rem;
    line-height: 1.6;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #c5cdd4;
}

.site-footer a {
    color: #4a5661;
    text-decoration: underline;
}

.site-footer a:hover {
    color: var(--cwiri-green-fig);
}
