/* =========================================================
   C&I Bathroom and Wet Room Specialists
   pembrokeshirebathrooms.co.uk - site.css
   Website by Metcalf Media
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
    --ci-navy: #3a3d74;          /* headings, nav, key text */
    --ci-blue: #354c98;          /* gradient start */
    --ci-sky: #58aae6;           /* gradient end */
    --ci-deep: #232650;          /* footer / dark bands */
    --ci-ice: #eef5fc;           /* pale water background */
    --ci-mist: #f6f9fd;          /* lightest section background */
    --ci-chrome: #d5dce6;        /* metallic edges */
    --ci-ink: #4d5372;           /* body text */
    --ci-ink-soft: #6c7290;
    --ci-white: #ffffff;

    --ci-gradient: linear-gradient(90deg, var(--ci-blue) 0%, var(--ci-sky) 100%);
    --ci-gradient-flip: linear-gradient(90deg, var(--ci-blue) 0%, var(--ci-sky) 50%, var(--ci-blue) 100%);
    --ci-chrome-edge: linear-gradient(135deg, #ffffff 0%, #c9d2de 22%, #f4f7fa 45%, #aebccd 70%, #ffffff 100%);

    --font-head: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body: "Mulish", "Helvetica Neue", Helvetica, Arial, sans-serif;

    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow-soft: 0 18px 40px -22px rgba(35, 38, 80, .35);
    --shadow-lift: 0 26px 50px -24px rgba(53, 76, 152, .45);
    --ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ci-ink);
    background: var(--ci-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--ci-navy);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; }

p { margin-bottom: 1.1rem; }

a { color: var(--ci-blue); transition: color .25s ease; }
a:hover { color: var(--ci-sky); }

img { max-width: 100%; height: auto; }

:focus-visible {
    outline: 3px solid var(--ci-sky);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -60px;
    z-index: 2000;
    padding: .6rem 1.2rem;
    background: var(--ci-navy);
    color: #fff;
    border-radius: 999px;
    transition: top .2s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

.section { padding: 6rem 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 3rem; }
.section-lead { font-size: 1.15rem; font-weight: 300; color: var(--ci-ink-soft); }

.kicker {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .95rem;
    color: var(--ci-blue);
    padding: .35rem 1rem;
    border-radius: 999px;
    background: rgba(88, 170, 230, .14);
    margin-bottom: 1.2rem;
}

/* ---------- Buttons ---------- */
.btn-ci {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .95rem 2rem;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: .005em;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    background-image: var(--ci-gradient-flip);
    background-size: 200% 100%;
    background-position: 0% 0;
    box-shadow: 0 10px 24px -10px rgba(53, 76, 152, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
    overflow: hidden;
    isolation: isolate;
    transition: background-position .6s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out), color .25s ease;
}

/* metallic shine sweep */
.btn-ci::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-22deg);
    z-index: -1;
    transition: left .7s var(--ease-out);
    pointer-events: none;
}

.btn-ci:hover,
.btn-ci:focus-visible {
    color: #fff;
    background-position: 100% 0;   /* flips the gradient sky -> blue */
    transform: translateY(-3px);
    box-shadow: 0 18px 32px -12px rgba(88, 170, 230, .75), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn-ci:hover::before,
.btn-ci:focus-visible::before { left: 130%; }
.btn-ci:active { transform: translateY(-1px); }

.btn-ci--sm { padding: .65rem 1.4rem; font-size: .92rem; }

/* outline on light backgrounds - gradient border */
.btn-ci--outline {
    color: var(--ci-navy);
    background-image: linear-gradient(#fff, #fff), var(--ci-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-size: 100% 100%;
    border: 2px solid transparent;
    box-shadow: none;
}
.btn-ci--outline:hover,
.btn-ci--outline:focus-visible {
    color: #fff;
    background-image: var(--ci-gradient), var(--ci-gradient);
    box-shadow: var(--shadow-lift);
}

/* ghost on light hero */
.btn-ci--ghost {
    color: var(--ci-navy);
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 2px rgba(58, 61, 116, .18);
}
.btn-ci--ghost:hover,
.btn-ci--ghost:focus-visible {
    color: var(--ci-navy);
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--ci-sky), var(--shadow-lift);
}

/* white button on dark / gradient backgrounds */
.btn-ci--light {
    color: var(--ci-navy);
    background-image: var(--ci-chrome-edge);
    background-size: 200% 100%;
}
.btn-ci--light:hover,
.btn-ci--light:focus-visible {
    color: var(--ci-blue);
    box-shadow: 0 18px 32px -12px rgba(0, 0, 0, .45);
}

/* outline on dark backgrounds */
.btn-ci--ghost-light {
    color: #fff;
    background: transparent;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .65);
}
.btn-ci--ghost-light:hover,
.btn-ci--ghost-light:focus-visible {
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 0 0 2px #fff, 0 18px 32px -12px rgba(0, 0, 0, .45);
}

/* click ripple (added by site.js) */
.btn-ci .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    transform: scale(0);
    animation: ci-ripple .7s ease-out forwards;
    pointer-events: none;
    z-index: 0;
}
@keyframes ci-ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--ci-deep);
    background-image: linear-gradient(90deg, var(--ci-deep) 0%, var(--ci-navy) 100%);
    color: rgba(255, 255, 255, .85);
    font-size: .88rem;
    padding: .5rem 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar-contact { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--ci-sky); }
.topbar i { color: var(--ci-sky); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .35s ease, border-color .35s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 12px 30px -20px rgba(35, 38, 80, .45);
    border-bottom-color: rgba(213, 220, 230, .7);
}

.site-header .navbar { padding: .6rem 0; }
.site-header .logo {
    width: 96px;
    height: auto;
    transition: width .35s var(--ease-out);
}
.site-header.is-scrolled .logo { width: 70px; }

.site-header .nav-link {
    position: relative;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    color: var(--ci-navy);
    padding: .5rem 1rem !important;
}
.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--ci-gradient);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .35s var(--ease-out);
}
.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-link.active,
.site-header .nav-link.show { color: var(--ci-blue); }
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after,
.site-header .nav-link.show::after { transform: scaleX(1); }

.site-header .dropdown-toggle::after {
    /* replace bootstrap caret with the underline; add chevron via border trick */
    border: 0;
}
.site-header .dropdown-toggle { padding-right: 1.8rem !important; }
.site-header .dropdown-toggle::before {
    content: "";
    position: absolute;
    right: .9rem;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .3s var(--ease-out);
}
.site-header .dropdown-toggle.show::before { transform: translateY(-30%) rotate(-135deg); }

.site-header .dropdown-menu {
    border: 0;
    border-radius: var(--radius-md);
    padding: .6rem;
    min-width: 230px;
    box-shadow: 0 24px 50px -20px rgba(35, 38, 80, .4);
    background: #fff;
}
.site-header .dropdown-menu.show { animation: ci-drop .3s var(--ease-out); }
@keyframes ci-drop {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.site-header .dropdown-item {
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--ci-navy);
    border-radius: 12px;
    padding: .6rem 1rem;
    transition: background .25s ease, color .25s ease, padding-left .25s var(--ease-out);
}
.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus,
.site-header .dropdown-item.active {
    background: var(--ci-ice);
    color: var(--ci-blue);
    padding-left: 1.3rem;
}

.nav-item-cta { margin-left: .75rem; }

/* custom toggler */
.navbar-toggler {
    border: 0;
    padding: .6rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar {
    display: block;
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--ci-navy);
    transition: transform .3s var(--ease-out), opacity .2s ease;
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 9rem;
    background:
        radial-gradient(circle at 85% 20%, rgba(88, 170, 230, .22) 0%, rgba(88, 170, 230, 0) 45%),
        radial-gradient(circle at 10% 90%, rgba(53, 76, 152, .12) 0%, rgba(53, 76, 152, 0) 40%),
        linear-gradient(180deg, #ffffff 0%, var(--ci-ice) 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--ci-ink);
    max-width: 36rem;
    margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* expanding water-drop rings */
.hero-ripples {
    position: absolute;
    right: 18%;
    top: 45%;
    width: 0;
    height: 0;
    z-index: 1;
    pointer-events: none;
}
.hero-ripples span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 700px;
    height: 700px;
    margin: -350px 0 0 -350px;
    border-radius: 50%;
    border: 1.5px solid rgba(88, 170, 230, .35);
    opacity: 0;
    transform: scale(.2);
    animation: ci-ring 9s linear infinite;
}
.hero-ripples span:nth-child(2) { animation-delay: 3s; }
.hero-ripples span:nth-child(3) { animation-delay: 6s; }
@keyframes ci-ring {
    0% { transform: scale(.2); opacity: 0; }
    15% { opacity: .9; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* rising bubbles (generated by site.js) */
.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble {
    position: absolute;
    bottom: -40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.25) 35%, rgba(88,170,230,.18) 70%, rgba(88,170,230,.05) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
    animation: ci-bubble linear infinite;
}
@keyframes ci-bubble {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translate(18px, -45vh); }
    100% { transform: translate(-12px, -95vh); opacity: 0; }
}

/* overlapping logo circles */
.hero-orbs {
    position: relative;
    width: 100%;
    max-width: 580px;
    aspect-ratio: 1.3 / 1;
    margin: 3rem auto 0;
}
.orb {
    position: absolute;
    width: 60%;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 7px;
    background: var(--ci-chrome-edge);
    box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(255,255,255,.8);
    animation: ci-float 8s ease-in-out infinite;
}
.orb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.orb::after {
    /* glassy blue sheen over each photo */
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(88,170,230,.28) 0%, rgba(53,76,152,0) 45%, rgba(53,76,152,.28) 100%);
    pointer-events: none;
}
.orb--a { left: 0; top: 0; z-index: 2; }
.orb--b { right: 0; bottom: 0; z-index: 1; animation-delay: -4s; }
@keyframes ci-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.orb-badge {
    position: absolute;
    left: 50%;
    bottom: 2%;
    z-index: 3;
    transform: translateX(-60%);
    padding: .9rem 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255,255,255,.9);
    text-align: center;
    line-height: 1.2;
}
.orb-badge strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--ci-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.orb-badge span { font-size: .85rem; color: var(--ci-ink-soft); }

/* animated waves at base of hero */
.hero-waves {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 110px;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
}
.wave--back { animation: ci-wave 22s linear infinite; }
.wave--back path { fill: rgba(88, 170, 230, .18); }
.wave--front { animation: ci-wave 14s linear infinite reverse; }
.wave--front path { fill: #fff; }
@keyframes ci-wave {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Trust strip ---------- */
.trust-strip { padding: 1rem 0 2rem; background: #fff; position: relative; z-index: 3; }
.trust-list {
    list-style: none;
    margin: 0;
    padding: 1.4rem 1.6rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--ci-chrome);
}
.trust-list li {
    display: flex;
    align-items: center;
    gap: .85rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .98rem;
    color: var(--ci-navy);
    line-height: 1.3;
}
.trust-list i {
    flex: 0 0 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.05rem;
    background: var(--ci-gradient);
    box-shadow: 0 8px 18px -8px rgba(53, 76, 152, .7);
}

/* ---------- About ---------- */
.about-media { position: relative; }
.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}
.about-media::before {
    /* offset metallic frame */
    content: "";
    position: absolute;
    inset: 1.2rem -1.2rem -1.2rem 1.2rem;
    border-radius: var(--radius-lg);
    background: var(--ci-chrome-edge);
    z-index: -1;
}

.tick-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.tick-list li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .6rem; }
.tick-list i {
    flex: 0 0 24px;
    height: 24px;
    margin-top: .2rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: .7rem;
    color: #fff;
    background: var(--ci-gradient);
}

/* ---------- Services ---------- */
.services-section { background: var(--ci-mist); }

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-lg);
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    color: var(--ci-ink);
    box-shadow: 0 1px 0 var(--ci-chrome), var(--shadow-soft);
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.service-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease-out);
}
.service-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(53,76,152,0) 50%, rgba(35,38,80,.45) 100%);
    opacity: .6;
    transition: opacity .45s ease;
}
.service-card__body { display: block; padding: 1.75rem 1.75rem 2rem; flex: 1; }
.service-card__body h3 { margin-bottom: .6rem; }
.service-card__body p { color: var(--ci-ink-soft); font-size: 1rem; }
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--ci-blue);
}
.service-card__link i { transition: transform .35s var(--ease-out); }

.service-card:hover,
.service-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 1px 0 var(--ci-chrome), var(--shadow-lift);
    color: var(--ci-ink);
}
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card:hover .service-card__media::after { opacity: 1; }
.service-card:hover .service-card__link i { transform: translateX(5px); }

/* ---------- Adaptations band ---------- */
.adaptations-section {
    overflow: hidden;
    color: rgba(255, 255, 255, .88);
    background: linear-gradient(135deg, var(--ci-deep) 0%, var(--ci-navy) 45%, var(--ci-blue) 100%);
}
.adaptations-section h2 { color: #fff; }
.adaptations-section .section-lead { color: rgba(255, 255, 255, .9); }

/* slow drifting light, like sun through water */
.caustics {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 20% 30%, rgba(88,170,230,.35) 0%, rgba(88,170,230,0) 30%),
        radial-gradient(circle at 70% 60%, rgba(88,170,230,.25) 0%, rgba(88,170,230,0) 28%),
        radial-gradient(circle at 45% 85%, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 25%);
    animation: ci-caustics 24s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes ci-caustics {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(5%, -4%) rotate(8deg); }
}

.adapt-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2.25rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .7rem 1.5rem;
}
.adapt-list li { display: flex; gap: .65rem; align-items: flex-start; }
.adapt-list i { color: var(--ci-sky); margin-top: .35rem; }

.adapt-orb {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
    margin: 0 auto;
    padding: 8px;
    border-radius: 50%;
    background: var(--ci-chrome-edge);
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6);
}
.adapt-orb img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ---------- Process ---------- */
.process-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}
.process-steps::before {
    /* line joining the numbered circles */
    content: "";
    position: absolute;
    top: 32px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--ci-chrome) 0%, var(--ci-sky) 50%, var(--ci-chrome) 100%);
}
.process-step { text-align: center; position: relative; }
.process-step__num {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    background: var(--ci-gradient);
    box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--ci-chrome), 0 14px 28px -12px rgba(53, 76, 152, .7);
    position: relative;
    transition: transform .4s var(--ease-out);
}
.process-step:hover .process-step__num { transform: translateY(-4px) scale(1.05); }
.process-step h3 { font-size: 1.15rem; }
.process-step p { font-size: .98rem; color: var(--ci-ink-soft); max-width: 16rem; margin: 0 auto; }

/* ---------- Gallery ---------- */
.gallery-section { background: var(--ci-mist); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease-out);
}
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(53,76,152,.55) 0%, rgba(88,170,230,.35) 100%);
    opacity: 0;
    transition: opacity .4s ease;
}
.gallery-item__zoom {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ci-navy);
    background: rgba(255, 255, 255, .9);
    transform: translate(-50%, -50%) scale(.6);
    opacity: 0;
    transition: transform .4s var(--ease-out), opacity .3s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.08); }
.gallery-item:hover::after,
.gallery-item:focus-visible::after { opacity: 1; }
.gallery-item:hover .gallery-item__zoom,
.gallery-item:focus-visible .gallery-item__zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- Testimonials ---------- */
.testimonials-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(88,170,230,.16) 0%, rgba(88,170,230,0) 55%),
        #fff;
}
.testimonial-carousel { max-width: 820px; margin: 0 auto; padding-bottom: 3rem; }
.testimonial { text-align: center; margin: 0; padding: 0 1rem; }
.testimonial__mark {
    display: block;
    font-family: var(--font-head);
    font-size: 6rem;
    font-weight: 800;
    line-height: .8;
    height: 3.5rem;
    background: var(--ci-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.testimonial blockquote {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--ci-navy);
    margin: 0 0 1.25rem;
}
.testimonial figcaption { font-weight: 600; color: var(--ci-ink-soft); }

.testimonial-dots { margin-bottom: 0; bottom: 0; }
.testimonial-dots [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    margin: 0 5px;
    background: var(--ci-chrome);
    opacity: 1;
    transition: width .4s var(--ease-out), background .3s ease;
}
.testimonial-dots .active { width: 32px; background: var(--ci-gradient); }

/* ---------- Areas ---------- */
.areas-section { padding-top: 3rem; }
.area-chips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}
.area-chips li {
    padding: .5rem 1.1rem;
    border-radius: 999px;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: .95rem;
    color: var(--ci-navy);
    background: var(--ci-ice);
    border: 1px solid rgba(88, 170, 230, .25);
    transition: transform .3s var(--ease-out), background .3s ease, color .3s ease;
}
.area-chips li:hover { transform: translateY(-3px); background: var(--ci-navy); color: #fff; }

/* ---------- CTA banner ---------- */
.cta-banner {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0;
    color: rgba(255, 255, 255, .9);
    background: linear-gradient(120deg, var(--ci-blue) 0%, var(--ci-sky) 100%);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { font-size: 1.15rem; font-weight: 300; margin-bottom: 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.hero-ripples--cta { left: 50%; right: auto; top: 50%; }
.hero-ripples--cta span { border-color: rgba(255, 255, 255, .3); }

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    background: var(--ci-deep);
    color: rgba(255, 255, 255, .72);
    padding: 6rem 0 0;
    font-size: .98rem;
}
.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    line-height: 0;
}
.footer-wave svg { width: 100%; height: 100%; }
.footer-wave path { fill: #58aae6; }  /* matches the end of the CTA gradient above */

.site-footer h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}
.footer-logo-badge {
    display: inline-block;
    padding: .6rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255,255,255,.12);
    margin-bottom: 1.25rem;
    overflow: hidden;
}
.footer-logo { width: 110px; height: auto; display: block; }
.footer-about { max-width: 22rem; }
.footer-areas { font-size: .95rem; }

.footer-links,
.contact-info { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a,
.contact-info a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer-links a {
    display: inline-block;
    transition: color .25s ease, transform .3s var(--ease-out);
}
.footer-links a:hover { color: var(--ci-sky); transform: translateX(4px); }
.contact-info li { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.contact-info i { width: 18px; color: var(--ci-sky); }
.contact-info span { color: #fff; font-weight: 600; min-width: 42px; }
.contact-info a:hover { color: var(--ci-sky); }

.footer-bottom {
    margin-top: 3.5rem;
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .88rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .8); }
.footer-bottom a:hover { color: var(--ci-sky); }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(20, 22, 48, .92);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { margin: 0; max-width: min(1100px, 90vw); text-align: center; }
.lightbox-img {
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
    transform: scale(.94);
    transition: transform .4s var(--ease-out);
}
.lightbox.is-open .lightbox-img { transform: scale(1); }
.lightbox-caption { color: #fff; margin-top: 1rem; font-family: var(--font-head); }
.lightbox-close,
.lightbox-nav {
    position: absolute;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    transition: background .25s ease, transform .3s var(--ease-out);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--ci-sky); transform: scale(1.08); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; margin-top: -26px; }
.lightbox-next { right: 1.5rem; top: 50%; margin-top: -26px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1500;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(35, 38, 80, .95);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, .88);
    font-size: .92rem;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
    transform: translateY(150%);
    transition: transform .5s var(--ease-out);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-inner { display: flex; align-items: center; gap: 1.5rem; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--ci-sky); }
.cookie-banner-actions { display: flex; gap: .6rem; flex-shrink: 0; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .site-header .nav-link { padding: .5rem .7rem !important; }
    .site-header .nav-link::after { left: .7rem; right: .7rem; }
}

@media (max-width: 991.98px) {
    .section { padding: 4.5rem 0; }
    .hero { padding: 3.5rem 0 7rem; }
    .hero-ripples { right: 50%; top: 75%; }

    .site-header .navbar-collapse {
        margin-top: .75rem;
        padding: .75rem;
        border-radius: var(--radius-md);
        background: #fff;
        box-shadow: var(--shadow-soft);
    }
    .site-header .nav-link::after { display: none; }
    .site-header .nav-link.active { background: var(--ci-ice); border-radius: 12px; }
    .site-header .dropdown-menu { box-shadow: none; background: var(--ci-mist); }
    .site-header .dropdown-toggle::before { right: 1.2rem; }
    .nav-item-cta { margin: .75rem 0 .25rem; }
    .nav-item-cta .btn-ci { width: 100%; }

    .trust-list { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
    .process-steps::before { display: none; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .about-media::before { inset: .8rem -.8rem -.8rem .8rem; }
    .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 575.98px) {
    body { font-size: 1rem; }
    .topbar-contact { gap: .3rem 1rem; font-size: .82rem; }
    .hero-actions .btn-ci,
    .cta-actions .btn-ci { width: 100%; }
    .trust-list { grid-template-columns: 1fr; padding: 1.25rem; }
    .adapt-list { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
    .orb-badge { padding: .7rem 1.1rem; }
    .orb-badge strong { font-size: 1.15rem; }
    .lightbox-nav { top: auto; bottom: 1.5rem; margin-top: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .bubbles, .hero-ripples { display: none; }
    .js .reveal { opacity: 1; transform: none; }
}
/* =========================================================
   C&I Bathrooms - ADDITIONAL CSS (inner pages)
   Paste onto the end of site.css
   ========================================================= */

/* ---------- Shared spacing ---------- */
.section--tight-top { padding-top: 2.5rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 8rem;
    background:
        radial-gradient(circle at 90% 10%, rgba(88, 170, 230, .22) 0%, rgba(88, 170, 230, 0) 45%),
        linear-gradient(180deg, #ffffff 0%, var(--ci-ice) 100%);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { max-width: 20ch; margin-bottom: 1rem; }
.page-hero__lead {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 40rem;
    margin-bottom: 1.75rem;
}
.page-hero .hero-actions { margin-bottom: .5rem; }

/* circular photo on service heroes - echoes the logo */
.page-hero__orb {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    margin-left: auto;
    padding: 7px;
    border-radius: 50%;
    background: var(--ci-chrome-edge);
    box-shadow: var(--shadow-lift);
    position: relative;
    animation: ci-float 8s ease-in-out infinite;
}
.page-hero__orb::before {
    /* second, offset ring - the other half of the logo's pair */
    content: "";
    position: absolute;
    inset: -8%;
    left: -28%;
    border-radius: 50%;
    border: 2px solid rgba(88, 170, 230, .35);
    z-index: -1;
}
.page-hero__orb img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-ci { margin-bottom: 1.5rem; }
.breadcrumb-ci ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    padding: 0;
    margin: 0;
    font-size: .9rem;
}
.breadcrumb-ci li { display: flex; align-items: center; color: var(--ci-ink-soft); }
.breadcrumb-ci li + li::before {
    content: "";
    width: 5px;
    height: 5px;
    margin: 0 .6rem 0 .35rem;
    border-radius: 50%;
    background: var(--ci-sky);
}
.breadcrumb-ci a { color: var(--ci-blue); text-decoration: none; }
.breadcrumb-ci a:hover { color: var(--ci-sky); text-decoration: underline; }

/* ---------- Rich text content (fullDescription etc) ---------- */
.content-body { max-width: 72ch; }
.content-body h2 { margin-top: 2.75rem; }
.content-body h3 { margin-top: 2rem; margin-bottom: .75rem; }
.content-body > :first-child { margin-top: 0; }
.content-body a { text-decoration: underline; text-decoration-color: rgba(88, 170, 230, .5); text-underline-offset: 3px; }
.content-body a:hover { text-decoration-color: var(--ci-sky); }
.content-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.content-body ul li {
    position: relative;
    padding-left: 1.9rem;
    margin-bottom: .55rem;
}
.content-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ci-gradient);
    box-shadow: 0 0 0 4px rgba(88, 170, 230, .15);
}
.content-body ol { padding-left: 1.3rem; margin-bottom: 1.5rem; }
.content-body ol li { margin-bottom: .55rem; padding-left: .3rem; }
.content-body ol li::marker { font-family: var(--font-head); font-weight: 700; color: var(--ci-blue); }
.content-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-md);
    background: var(--ci-ice);
    border-left: 4px solid var(--ci-sky);
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--ci-navy);
}
.content-body blockquote p:last-child { margin-bottom: 0; }
.content-body img { border-radius: var(--radius-md); margin: 1rem 0; }
.content-body strong { color: var(--ci-navy); }
/* the tick-list inside content-body keeps its own styling */
.content-body ul.tick-list li { padding-left: 0; }
.content-body ul.tick-list li::before { display: none; }

/* ---------- Service layout + sidebar ---------- */
.service-sidebar {
    position: sticky;
    top: 120px;
    display: grid;
    gap: 1.5rem;
}
.sidebar-card {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--ci-chrome);
    box-shadow: var(--shadow-soft);
}
.sidebar-card h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.sidebar-card--gradient {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, .9);
    border: 0;
    background: linear-gradient(145deg, var(--ci-navy) 0%, var(--ci-blue) 55%, var(--ci-sky) 130%);
}
.sidebar-card--gradient::after {
    /* soft ring in the corner, like a drop landing */
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .15);
    box-shadow: 0 0 0 24px rgba(255, 255, 255, .05);
    pointer-events: none;
}
.sidebar-card--gradient h3 { color: #fff; }

.sidebar-phone {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .7rem 0;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    transition: transform .3s var(--ease-out);
}
.sidebar-phone:hover { color: #fff; transform: translateX(4px); }
.sidebar-phone i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
}
.sidebar-phone span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.sidebar-phone small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; opacity: .75; }

.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li + li { border-top: 1px solid var(--ci-chrome); }
.sidebar-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--ci-navy);
    text-decoration: none;
}
.sidebar-links a i { color: var(--ci-sky); transition: transform .3s var(--ease-out); }
.sidebar-links a:hover { color: var(--ci-blue); }
.sidebar-links a:hover i { transform: translateX(5px); }

.tick-list--light li { color: rgba(255, 255, 255, .92); }
.tick-list--light i { background: rgba(255, 255, 255, .2); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: .9rem; }
.faq-list details {
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--ci-chrome);
    transition: box-shadow .35s ease, border-color .35s ease;
}
.faq-list details[open] { border-color: rgba(88, 170, 230, .5); box-shadow: var(--shadow-soft); }
.faq-list summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 1.2rem 3.5rem 1.2rem 1.5rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--ci-navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 1.2rem;
    top: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    background: var(--ci-gradient);
    transition: transform .35s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 1.5rem 1.3rem; margin: 0; }

/* ---------- About: values ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.value-card {
    padding: 2rem 1.6rem;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 1px 0 var(--ci-chrome), var(--shadow-soft);
}
.value-card i {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 1.2rem;
    border-radius: 50%;
    font-size: 1.3rem;
    color: #fff;
    background: var(--ci-gradient);
    box-shadow: 0 10px 22px -10px rgba(53, 76, 152, .7);
}
.value-card h3 { font-size: 1.15rem; }
.value-card p { font-size: .98rem; color: var(--ci-ink-soft); margin: 0; }

/* ---------- Gallery tabs ---------- */
.gallery-tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.gallery-tabs {
    position: relative;
    display: inline-flex;
    gap: .25rem;
    padding: .4rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ci-chrome);
    box-shadow: var(--shadow-soft);
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}
.gallery-tabs::-webkit-scrollbar { display: none; }

.gallery-tab {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .75rem 1.4rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .98rem;
    color: var(--ci-navy);
    white-space: nowrap;
    transition: color .35s ease;
}
.gallery-tab:hover { color: var(--ci-blue); }
.gallery-tab.is-active { color: #fff; }
.gallery-tab__count {
    min-width: 26px;
    padding: .1rem .5rem;
    border-radius: 999px;
    font-size: .78rem;
    background: var(--ci-ice);
    color: var(--ci-blue);
    transition: background .35s ease, color .35s ease;
}
.gallery-tab.is-active .gallery-tab__count { background: rgba(255, 255, 255, .25); color: #fff; }

/* sliding gradient pill behind the active tab (positioned by site.js) */
.gallery-tabs__indicator {
    position: absolute;
    top: .4rem;
    left: 0;
    height: calc(100% - .8rem);
    width: 0;
    border-radius: 999px;
    background: var(--ci-gradient);
    box-shadow: 0 10px 22px -10px rgba(53, 76, 152, .8);
    transition: transform .5s var(--ease-out), width .5s var(--ease-out);
    z-index: 0;
}
/* before JS runs, show the active tab with its own background */
.gallery-tabs:not(.is-ready) .gallery-tab.is-active { background: var(--ci-gradient); }

.gallery-panel .gallery-item {
    animation: ci-tile-in .6s var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes ci-tile-in {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to { opacity: 1; transform: none; }
}

.gallery-intro { margin: 4rem auto 0; text-align: center; }
.gallery-intro h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--ci-chrome);
    color: var(--ci-navy);
    text-decoration: none;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s ease;
}
.contact-card:hover {
    color: var(--ci-navy);
    transform: translateY(-3px);
    border-color: rgba(88, 170, 230, .6);
    box-shadow: var(--shadow-lift);
}
.contact-card__icon {
    flex: 0 0 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--ci-gradient);
    transition: transform .35s var(--ease-out);
}
.contact-card:hover .contact-card__icon { transform: rotate(-10deg) scale(1.06); }
.contact-card small { display: block; color: var(--ci-ink-soft); font-size: .85rem; }
.contact-card strong { font-family: var(--font-head); font-size: 1.15rem; word-break: break-word; }

.form-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--ci-chrome);
    box-shadow: var(--shadow-soft);
    scroll-margin-top: 130px;
}
.form-card h2 { font-size: 1.6rem; }
.form-intro { color: var(--ci-ink-soft); }

.form-ci label {
    display: block;
    margin-bottom: .4rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .92rem;
    color: var(--ci-navy);
}
.form-ci input,
.form-ci select,
.form-ci textarea {
    width: 100%;
    padding: .85rem 1.1rem;
    border-radius: 14px;
    border: 1.5px solid var(--ci-chrome);
    background: var(--ci-mist);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ci-ink);
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.form-ci select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--ci-blue) 50%), linear-gradient(135deg, var(--ci-blue) 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.8rem;
}
.form-ci textarea { resize: vertical; min-height: 150px; }
.form-ci input:focus,
.form-ci select:focus,
.form-ci textarea:focus {
    outline: none;
    border-color: var(--ci-sky);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(88, 170, 230, .2);
}
.form-ci__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--ci-ink-soft); }
.form-ci button[disabled] { opacity: .75; pointer-events: none; }

.form-alert {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 14px;
    background: #fdecec;
    color: #8a1f1f;
}
.form-alert i { margin-top: .3rem; }

.form-success { text-align: center; padding: 2rem 0; }
.form-success__icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.4rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.8rem;
    color: #fff;
    background: var(--ci-gradient);
    box-shadow: 0 0 0 10px rgba(88, 170, 230, .15);
    animation: ci-pop .6s var(--ease-out) both;
}
@keyframes ci-pop {
    from { transform: scale(.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .page-hero { padding: 2.5rem 0 7rem; }
    .service-sidebar { position: static; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-tabs-wrap { justify-content: flex-start; }
}

@media (max-width: 575.98px) {
    .values-grid { grid-template-columns: 1fr; }
    .form-card { padding: 1.5rem; }
    .gallery-tab { padding: .65rem 1.1rem; font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero__orb { animation: none; }
    .gallery-panel .gallery-item { animation: none; }
}
.value-card {
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.policy-body [id] { scroll-margin-top: 130px; }
.policy-body code { color: var(--ci-blue); background: var(--ci-ice); padding: .1rem .4rem; border-radius: 6px; }