/* Cyprus Smile Clinic additions on top of css/app.css (Atlantic Dental layout,
   recoloured by db/tools/recolor_css.py). Only components Atlantic did not have
   live here; layout itself stays Atlantic's. */

:root {
    --forest: #133b21;
    --pine: #194431;
    --sand: #c8ad7f;
    --sand-deep: #7d6440;
}

.cs-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    vertical-align: middle;
}

.cs-icon-sm {
    width: 18px;
    height: 18px;
}

.brand img {
    width: auto;
    height: 60px;
}

.held-notice {
    position: relative;
    z-index: 60;
    padding: 10px 16px;
    background: var(--sand);
    color: var(--forest);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.form-consent {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 0;
    font-weight: 500;
}

.guide-appointment-side strong {
    font-size: 23px;
    line-height: 1.15;
}

.guide-hero-actions {
    position: relative;
    z-index: 2;
}

.form-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 14px 0 18px;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.form-consent input {
    flex-shrink: 0;
    width: 18px !important;
    height: 18px !important;
    min-height: 0 !important;
    margin: 1px 0 0;
    padding: 0 !important;
    accent-color: var(--forest);
}

.form-consent a {
    color: var(--forest);
    font-weight: 600;
    text-decoration: underline;
}

.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ajax-form .is-invalid {
    border-color: #a8452f !important;
    box-shadow: 0 0 0 3px rgba(168, 69, 47, 0.12) !important;
}

.form-response.is-error {
    color: #a8452f;
}

/* Home copy blocks that Atlantic did not have text for */
.guide-home-intro,
.guide-home-outro,
.guide-home-faq-intro {
    max-width: 780px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.guide-home-outro {
    margin: 22px auto 0;
    text-align: center;
}

.guide-home-outro h2 {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.guide-home-faq-intro {
    margin: 0 auto 28px;
    text-align: center;
}

.guide-home-intro a,
.guide-home-outro a,
.guide-home-faq-intro a,
.guide-home-about-text a,
.guide-location-copy p a,
.guide-process-copy p a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--sand);
    text-underline-offset: 4px;
}

.guide-home-about-text {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.7;
}

.guide-home-about-meta a {
    color: inherit;
}

.guide-home-reason-icon img {
    width: 34px;
    height: 34px;
}

.guide-home-treatment-body h3 a {
    color: inherit;
}

/* CTA band: two buttons */
.guide-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.button-ghost {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #fff;
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.footer-note {
    margin: 36px 0 0;
    color: rgba(255, 253, 248, 0.62);
    font-size: 13px;
    line-height: 1.6;
}

.assessment-note {
    margin-top: 32px;
    padding: 16px 18px;
    border-left: 3px solid var(--sand);
    border-radius: 12px;
    background: rgba(200, 173, 127, 0.12);
    color: var(--muted);
    font-size: 14px;
}

.text-link {
    color: var(--forest);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--sand);
    text-underline-offset: 4px;
}

/* Treatment journey timeline (inside a guide-article) */
.journey-steps,
.guide-article .journey-steps {
    display: grid;
    gap: 16px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    counter-reset: journey;
}

.journey-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
}

.journey-steps li > span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--pine);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.journey-steps h3 {
    margin: 0 0 6px !important;
    font-size: 1.2rem !important;
}

@media (max-width: 575px) {
    .journey-steps li {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
        border-radius: 18px;
    }

    .journey-steps li > span {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .journey-steps h3 {
        font-size: 1.05rem !important;
    }
}

.nowrap {
    white-space: nowrap;
}

/* In-page anchors (#journey, #guides, #stories …) clear the fixed header. */
[id] {
    scroll-margin-top: calc(var(--header-h, 164px) + 24px);
}

.journey-steps p {
    margin: 0;
}

/* Future modules: video filter chips */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.filter-chips button {
    padding: 9px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.filter-chips button.is-active {
    border-color: var(--pine);
    background: var(--pine);
    color: #fff;
}

[data-filter-item].is-hidden {
    display: none;
}

@media (max-width: 640px) {
    .brand img {
        height: 46px;
    }
}

.guide-page-hero-copy p a,
.guide-hero-copy p a,
.guide-home-about-copy p a,
.guide-location-copy p a,
.guide-home-intro a,
.guide-home-outro a,
.guide-process-copy p a,
.guide-article a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--sand);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.site-footer .footer-logo {
    width: 150px;
    height: auto;
}

/* ================================================================ home hero slider */

.cs-hero {
    --hero-ink: #13231a;
    --hero-text: #3d4d43;
    --hero-line: rgba(25, 68, 49, 0.12);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

/* Full-width backdrop running under the fixed header (Atlantic guide-hero-stage);
   the slides stay in the .container. --header-h is measured by js/app.js. */
.cs-hero-stage {
    --interval: 7000ms;
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-h, 164px) + clamp(32px, 3.6vw, 56px)) 0 150px;
    border-radius: 0 0 44px 44px;
    background:
        radial-gradient(ellipse 46% 62% at 76% 44%, #fffdf8 0, rgba(255, 253, 248, 0) 72%),
        radial-gradient(ellipse 36% 52% at 0% 100%, rgba(89, 103, 63, 0.13), rgba(89, 103, 63, 0) 72%),
        linear-gradient(118deg, #f8f4ec 0%, #f1e7d5 52%, #e6d5b7 100%);
}

/* Logo mark watermark, as Atlantic's .guide-hero-seal. */
.cs-hero-stage::before {
    content: "";
    position: absolute;
    top: 52%;
    left: max(-140px, calc(50% - 900px));
    width: 700px;
    height: 364px;
    background: url("../img/cs-mark.webp") center / contain no-repeat;
    opacity: 0.05;
    transform: translateY(-50%);
    pointer-events: none;
}

.cs-hero-stage > .container {
    position: relative;
    z-index: 1;
}

.cs-hero-slides {
    position: relative;
    z-index: 1;
    display: grid;
}

.cs-hero-copy {
    min-width: 0;
}

.cs-hero-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.cs-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.cs-hero-copy > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.cs-hero-slide.is-active .cs-hero-copy > * {
    opacity: 1;
    transform: none;
}

.cs-hero-slide.is-active .cs-hero-copy > :nth-child(2) { transition-delay: 0.08s; }
.cs-hero-slide.is-active .cs-hero-copy > :nth-child(3) { transition-delay: 0.16s; }
.cs-hero-slide.is-active .cs-hero-copy > :nth-child(4) { transition-delay: 0.24s; }
.cs-hero-slide.is-active .cs-hero-copy > :nth-child(5) { transition-delay: 0.32s; }

.cs-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 7px 14px 7px 12px;
    border: 1px solid var(--hero-line);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.8);
    color: #194431;
    font-size: 13px;
    font-weight: 600;
}

.cs-hero-kicker .cs-icon {
    color: #59673f;
}

.cs-hero h1,
.cs-hero-title {
    margin: 0;
    color: var(--hero-ink);
}

.cs-hero-script {
    display: block;
    color: #194431;
    font-family: "Guthen", cursive;
    font-size: clamp(3.4rem, 6.4vw, 5.6rem);
    font-weight: 400;
    line-height: 0.95;
}

.cs-hero-line {
    display: block;
    margin-top: 2px;
    font-size: clamp(2.8rem, 5.4vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.cs-hero-title {
    font-size: clamp(2.3rem, 4.3vw, 3.7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.cs-hero-text {
    max-width: 560px;
    margin: 22px 0 0;
    color: var(--hero-text);
    font-size: 17px;
    line-height: 1.7;
}

.cs-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.cs-hero-chips a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    border: 1px solid var(--hero-line);
    border-radius: 999px;
    background: #fffdf8;
    color: #194431;
    font-size: 13.5px;
    font-weight: 600;
    transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

.cs-hero-chips a:hover {
    background: #194431;
    color: #fff;
    transform: translateY(-2px);
}

.cs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.cs-hero-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    justify-self: center;
}

.hero-art {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.cs-hero-slide.is-active .hero-art {
    animation: hl-float 8s ease-in-out infinite;
}

/* slide 1: the supplied logo, unchanged, in a soft disc */
.cs-seal {
    position: relative;
    width: min(100%, 440px);
    margin: 0 auto;
    aspect-ratio: 1;
}

.cs-seal-ring {
    position: absolute;
    inset: -5%;
    border: 1.5px solid rgba(200, 173, 127, 0.45);
    border-radius: 50%;
}

.cs-seal-ring::after {
    content: "";
    position: absolute;
    inset: 5%;
    border: 1px solid rgba(25, 68, 49, 0.08);
    border-radius: 50%;
}

.cs-seal-disc {
    position: absolute;
    inset: 4%;
    display: grid;
    place-items: center;
    border: 1.5px solid rgba(200, 173, 127, 0.5);
    border-radius: 50%;
    background: radial-gradient(circle at 42% 34%, #ffffff 0%, #fbf7ef 62%, #f1e7d4 100%);
    box-shadow: 0 34px 70px rgba(19, 59, 33, 0.12);
}

.cs-seal-logo {
    width: 56%;
    height: auto;
}

.cs-seal-spark {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c8ad7f;
    animation: hl-twinkle 3.4s ease-in-out var(--d) infinite;
}

.cs-seal-spark.is-olive {
    width: 8px;
    height: 8px;
    background: #59673f;
}

.cs-seal-disc,
.cs-seal-logo {
    opacity: 0;
}

.cs-hero-slide.is-active .cs-seal-disc {
    animation: hl-seal-in 0.9s var(--ease-out) 0.1s forwards;
}

.cs-hero-slide.is-active .cs-seal-logo {
    animation: hl-logo-in 1.1s var(--ease-out) 0.45s forwards;
}

.cs-hero-slide.is-active .cs-seal {
    animation: hl-float 8s ease-in-out 1.6s infinite;
}

.hl-spark {
    transform-box: fill-box;
    transform-origin: center;
    animation: hl-twinkle 3.4s ease-in-out var(--d) infinite;
}

.hero-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 8px;
    border-radius: 999px;
    background: #fffdf8;
    box-shadow: 0 14px 34px rgba(19, 59, 33, 0.12);
    color: #194431;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
}

.hero-chip-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #194431;
    color: #dcc8a3;
}

.hero-chip-icon .cs-icon {
    width: 17px;
    height: 17px;
}

.hero-chip-1 {
    left: 0;
    top: 12%;
}

.hero-chip-2 {
    right: 0;
    bottom: 12%;
}

.cs-hero-slide.is-active .hero-chip {
    animation: hl-chip-in 0.7s var(--ease-out) 1.2s forwards, hl-float 7s ease-in-out 1.9s infinite;
}

.cs-hero-slide.is-active .hero-chip-2 {
    animation-delay: 1.45s, 2.2s;
}

/* slide 2: categories light up in turn around the logo */
.hl-node-bg {
    fill: #fffdf8;
    animation: hl-node-bg 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * 1.6s);
}

.hl-node-icon {
    color: #194431;
    animation: hl-node-icon 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * 1.6s);
}

.hl-node {
    transform-box: view-box;
    animation: hl-node 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * 1.6s);
}

.hl-spoke {
    opacity: 0.45;
    animation: hl-spoke 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * 1.6s);
}

/* slide 3: globe + flight (motion is SMIL inside the SVG) */
.hl-pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: hl-pulse 2.6s ease-out infinite;
}

.hero-steps-float {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 8px;
    max-width: 62%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-steps-float li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 7px;
    border-radius: 999px;
    background: #fffdf8;
    box-shadow: 0 12px 30px rgba(19, 59, 33, 0.1);
    color: #13231a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    opacity: 0;
    transform: translateX(16px);
}

.hero-steps-float li span {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #c8ad7f;
    color: #133b21;
    font-size: 12px;
    font-weight: 700;
}

.cs-hero-slide.is-active .hero-steps-float li {
    animation: hl-step-in 0.6s var(--ease-out) forwards;
    animation-delay: calc(0.5s + var(--i) * 0.18s);
}

/* tabs + progress */
.cs-hero-nav {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: clamp(28px, 3vw, 44px);
}

.cs-hero-tab {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 6px 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--hero-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.cs-hero-tab-num {
    color: #7d6440;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.cs-hero-tab-label {
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: 0.55;
    transition: opacity 0.3s;
}

.cs-hero-tab:hover .cs-hero-tab-label,
.cs-hero-tab.is-active .cs-hero-tab-label {
    opacity: 1;
}

.cs-hero-tab-bar {
    grid-column: 1 / -1;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(25, 68, 49, 0.12);
}

.cs-hero-tab-bar i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #194431;
}

.cs-hero-tab.is-active .cs-hero-tab-bar i {
    animation: hl-progress var(--interval) linear forwards;
}

.cs-hero-stage.is-paused .cs-hero-tab.is-active .cs-hero-tab-bar i {
    animation-play-state: paused;
}

.cs-hero-stage.is-static .cs-hero-tab.is-active .cs-hero-tab-bar i {
    width: 100%;
    animation: none;
}

@keyframes hl-seal-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes hl-logo-in { from { opacity: 0; transform: translateY(14px) scale(0.96); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hl-twinkle { 50% { transform: scale(1.8); opacity: 0.35; } }
@keyframes hl-float { 50% { transform: translateY(-8px); } }
@keyframes hl-pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.6); opacity: 0; } }
@keyframes hl-chip-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hl-step-in { to { opacity: 1; transform: none; } }
@keyframes hl-node-bg { 0%, 24%, 100% { fill: #fffdf8; } 6%, 17% { fill: #194431; } }
@keyframes hl-node-icon { 0%, 24%, 100% { color: #194431; } 6%, 17% { color: #dcc8a3; } }
@keyframes hl-node { 0%, 24%, 100% { transform: scale(1); } 8%, 15% { transform: scale(1.08); } }
@keyframes hl-spoke { 0%, 24%, 100% { opacity: 0.45; stroke-dashoffset: 0; } 6%, 17% { opacity: 1; stroke-dashoffset: -16; } }
@keyframes hl-progress { from { width: 0; } to { width: 100%; } }

/* ================================================================ quick consultation card */
/* Atlantic .guide-appointment: dark side panel + white form with a tall send button,
   overlapping the bottom of the hero backdrop. */

.cs-hero + section {
    padding-top: 96px;
}

.cs-quick {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    margin-top: -100px;
    overflow: hidden;
    border-radius: 32px;
    background: #fffdf8;
    box-shadow: 0 34px 70px rgba(19, 59, 33, 0.14);
}

.cs-quick-side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 30px 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(200, 173, 127, 0.22), rgba(200, 173, 127, 0) 55%),
        #194431;
    color: #fff;
}

.cs-quick-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #dcc8a3;
}

.cs-quick-icon .cs-icon {
    width: 26px;
    height: 26px;
}

.cs-quick-side strong {
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.cs-quick-side > span:last-child {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
}

.cs-quick-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 124px;
    gap: 24px;
    padding: 26px 26px 24px 32px;
}

.cs-quick-main {
    display: grid;
    align-content: center;
    gap: 14px;
    min-width: 0;
}

.cs-quick-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.cs-quick-fields > label {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.cs-quick-fields > label > span {
    color: #2e4437;
    font-size: 13.5px;
    font-weight: 600;
}

.cs-quick-fields input,
.cs-quick-fields select {
    width: 100%;
    height: 50px;
    padding: 0 18px;
    border: 1px solid rgba(25, 68, 49, 0.16);
    border-radius: 16px;
    background: #f7f2e9;
    color: #13231a;
    font: inherit;
    font-size: 15px;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.cs-quick-fields input::placeholder {
    color: #8a978f;
}

.cs-quick-fields input:focus,
.cs-quick-fields select:focus {
    outline: none;
    border-color: #194431;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(200, 173, 127, 0.3);
}

.cs-quick .form-consent {
    margin: 0;
    color: #3d4d43;
}

.cs-quick .form-response {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.cs-quick .form-response:empty {
    display: none;
}

.cs-quick-send {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 100%;
    padding: 18px 12px;
    border: 0;
    border-radius: 24px;
    background: #194431;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s, transform 0.25s;
}

.cs-quick-send i {
    font-size: 30px;
    line-height: 1;
    transform: rotate(-16deg);
}

.cs-quick-send:hover {
    background: #133b21;
    transform: translateY(-2px);
}

.cs-quick-send:disabled {
    opacity: 0.7;
    cursor: wait;
}

@media (max-width: 1180px) {
    .cs-quick {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .cs-quick-panel {
        grid-template-columns: minmax(0, 1fr) 104px;
        padding-left: 24px;
    }
}

@media (max-width: 980px) {
    .cs-hero-stage {
        padding-top: calc(var(--header-h, 120px) + 40px);
        padding-bottom: 140px;
    }

    .cs-hero-slide {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .cs-hero-visual {
        max-width: 380px;
    }

    .hero-chip,
    .hero-steps-float {
        display: none;
    }

    .cs-quick {
        grid-template-columns: minmax(0, 1fr);
    }

    .cs-quick-side {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 2px 16px;
        padding: 20px 24px;
    }

    .cs-quick-icon {
        grid-row: span 2;
        margin: 0;
    }

    .cs-quick-panel {
        grid-template-columns: minmax(0, 1fr);
        padding: 22px 24px 24px;
    }

    .cs-quick-send {
        flex-direction: row;
        min-height: 54px;
        padding: 0 24px;
        border-radius: 999px;
    }

    .cs-quick-send i {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .cs-hero-stage {
        padding-top: calc(var(--header-h, 96px) + 28px);
        padding-bottom: 120px;
        border-radius: 0 0 28px 28px;
    }

    .cs-hero-stage::before {
        display: none;
    }

    .cs-hero-actions .button {
        width: 100%;
        white-space: normal;
    }

    .cs-hero-text {
        font-size: 15.5px;
    }

    .cs-hero-visual {
        max-width: 300px;
    }

    .cs-hero-nav {
        gap: 12px;
        margin-top: 28px;
    }

    .cs-hero-tab-label {
        display: none;
    }

    .cs-quick {
        margin-top: -84px;
        border-radius: 26px;
    }

    .cs-quick-side {
        padding: 18px 20px;
    }

    .cs-quick-side strong {
        font-size: 22px;
    }

    .cs-quick-panel {
        padding: 20px 18px 20px;
    }

    .cs-quick-fields {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-hero *,
    .cs-hero *::before,
    .cs-hero *::after {
        animation: none !important;
        transition: none !important;
    }

    .cs-seal-disc,
    .cs-seal-logo { opacity: 1; }
    .hero-chip,
    .hero-steps-float li,
    .cs-hero-copy > * { opacity: 1; transform: none; }
}

/* ================================================================ audit fixes (2026-09-30) */

/* One heading scale for home sections: Atlantic's sizes were set for short titles and
   Cyprus titles are long ("Frequently Asked Questions" broke onto two lines at 74px). */
.guide-home-head h2,
.guide-process-copy h2,
.guide-location-copy h2,
.guide-home-about-copy h2,
.guide-cta-copy h2 {
    font-size: clamp(34px, 3.5vw, 50px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

/* Page hero: the recoloured Atlantic glow read as a muddy grey-green patch; use the
   home hero's cream / sand light instead. */
.guide-page-hero {
    background:
        radial-gradient(ellipse 46% 70% at 80% 38%, #fffdf8 0, rgba(255, 253, 248, 0) 72%),
        radial-gradient(ellipse 36% 60% at 0% 100%, rgba(89, 103, 63, 0.12), rgba(89, 103, 63, 0) 72%),
        linear-gradient(118deg, #f8f4ec 0%, #f1e7d5 52%, #e6d5b7 100%);
}

/* Heroes without an illustration: logo mark watermark so the right half isn't empty. */
@media (min-width: 900px) {
    .guide-page-hero-shell:not(.has-media)::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 0;
        width: min(44%, 520px);
        aspect-ratio: 901 / 468;
        background: url("../img/cs-mark.webp") center / contain no-repeat;
        opacity: 0.09;
        transform: translateY(-50%);
        pointer-events: none;
    }
}

/* Contact / consultation form fields: same filled cream fields as the home form
   (white-on-white fields were barely visible). */
.guide-form-grid input,
.guide-form-grid select,
.guide-form-grid textarea {
    border-color: rgba(25, 68, 49, 0.16);
    background: #f7f2e9;
}

.guide-form-grid input:focus,
.guide-form-grid select:focus,
.guide-form-grid textarea:focus {
    border-color: #194431;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(200, 173, 127, 0.3);
}

/* Long Cyprus hero leads filled the whole phone screen at 17px. */
@media (max-width: 640px) {
    .guide-page-hero-copy p {
        font-size: 15.5px;
        line-height: 1.65;
    }
}

/* FAQ toggle: Atlantic referenced a "bootstrap-icons" family that isn't loaded here — the
   icon subset is registered as "Site Icons" (app.css), so the chevron showed as a tofu box. */
.guide-faq-item summary::after {
    font-family: "Site Icons";
}

/* Buttons on dark green bands. Atlantic's `.guide-cta-copy .button` (white) outranked
   .button-ghost, so "Contact Us" rendered white and turned dark-on-dark on hover; the
   process band's .button-dark sat dark-on-dark at rest. */
.guide-cta-copy .button-light:hover {
    background: #f1e7d5;
    color: #133b21;
}

.guide-cta-copy .button-ghost {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #fff;
}

.guide-cta-copy .button-ghost:hover {
    border-color: #fff;
    background: #fff;
    color: #133b21;
}

.guide-process-shell .button-dark {
    background: #fffdf8;
    color: #133b21;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.guide-process-shell .button-dark:hover {
    background: #e6d5b7;
    color: #133b21;
}

/* Process band CTA was centred with display: table, which left the label top-aligned
   inside its 52px min-height. */
.guide-process-shell .guide-process-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================================ contact page */
.cs-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    grid-template-areas: "intro form" "consult form";
    grid-template-rows: auto 1fr;
    gap: 28px 48px;
    align-items: start;
}

.cs-contact-intro {
    grid-area: intro;
}

.cs-contact-form {
    grid-area: form;
}

.cs-contact-consult {
    grid-area: consult;
}

.cs-contact-intro h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 2.6vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.cs-contact-lead p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.cs-contact-lead a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--sand);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.cs-contact-consult {
    position: relative;
    overflow: hidden;
    padding: 30px 30px 32px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(200, 173, 127, 0.24), rgba(200, 173, 127, 0) 55%),
        #194431;
    color: #fff;
}

.cs-contact-consult::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -40px;
    width: 300px;
    aspect-ratio: 901 / 468;
    background: url("../img/cs-mark-white.webp") center / contain no-repeat;
    opacity: 0.08;
    pointer-events: none;
}

.cs-contact-consult-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #dcc8a3;
}

.cs-contact-consult-icon .cs-icon {
    width: 26px;
    height: 26px;
}

.cs-contact-consult h3 {
    margin: 18px 0 10px;
    color: #fff;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.cs-contact-consult p {
    position: relative;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.7;
}

.cs-contact-consult .button {
    position: relative;
    z-index: 1;
}

.cs-contact-consult .button:hover {
    background: #f1e7d5;
}

.cs-contact .guide-contact-form {
    position: sticky;
    top: calc(var(--header-h, 164px) + 24px);
}

.cs-contact-more {
    padding-top: 24px;
}

/* Link cards (contact "Find Out More") */
.cs-link-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.cs-link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 22px 22px 24px;
    border: 1px solid rgba(58, 93, 73, 0.08);
    border-radius: 22px;
    background: var(--paper);
    box-shadow: 0 14px 36px rgba(29, 48, 37, 0.05);
    color: var(--text);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cs-link-card:hover {
    border-color: rgba(200, 173, 127, 0.7);
    box-shadow: 0 18px 44px rgba(29, 48, 37, 0.09);
    transform: translateY(-2px);
}

.cs-link-card-icon {
    display: grid;
    flex: 0 0 52px;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(25, 68, 49, 0.08);
}

.cs-link-card-body {
    flex: 1 1 auto;
    min-width: 0;
}

.cs-link-card-body strong {
    display: block;
    font-size: 17px;
    line-height: 1.3;
}

.cs-link-card-body small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.55;
}

.cs-link-card > i {
    color: #194431;
    transition: transform 0.25s ease;
}

.cs-link-card:hover > i {
    transform: translateX(3px);
}

@media (max-width: 980px) {
    .cs-contact-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "intro" "form" "consult";
    }

    .cs-contact .guide-contact-form {
        position: static;
    }

    .cs-link-cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ================================================================ treatments overview */
/* Sticky category nav + one identical section per category; every treatment card has the
   same size (thumb/icon, title, two-line summary). On phones the nav becomes sticky chips. */
.cs-tx {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.cs-tx-side {
    position: sticky;
    top: calc(var(--header-h, 164px) + 24px);
    display: grid;
    gap: 18px;
    min-width: 0;
}

.cs-tx-nav {
    min-width: 0;
}

.cs-tx-nav {
    padding: 18px;
    border: 1px solid rgba(58, 93, 73, 0.08);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: 0 14px 36px rgba(29, 48, 37, 0.05);
}

.cs-tx-nav-title {
    display: block;
    margin: 2px 6px 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cs-tx-nav ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-tx-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cs-tx-nav a:hover {
    background: rgba(25, 68, 49, 0.06);
}

.cs-tx-nav-icon {
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: rgba(25, 68, 49, 0.08);
    color: #194431;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cs-tx-nav-icon .cs-icon {
    width: 20px;
    height: 20px;
}

.cs-tx-nav-label {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.3;
}

.cs-tx-nav em {
    min-width: 26px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(25, 68, 49, 0.08);
    color: #194431;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    text-align: center;
}

.cs-tx-nav a.is-active {
    background: #194431;
    color: #fff;
}

.cs-tx-nav a.is-active .cs-tx-nav-icon,
.cs-tx-nav a.is-active em {
    background: rgba(255, 255, 255, 0.12);
    color: #dcc8a3;
}

.cs-tx-main {
    display: grid;
    gap: 64px;
    min-width: 0;
}

.cs-tx-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(25, 68, 49, 0.1);
}

.cs-tx-head-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #194431;
    color: #dcc8a3;
}

.cs-tx-head-icon .cs-icon {
    width: 28px;
    height: 28px;
}

.cs-tx-head h2 {
    margin: 2px 0 6px;
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.cs-tx-head h2 a {
    color: var(--text);
}

.cs-tx-head p {
    max-width: 640px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.cs-tx-head-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 9px 16px;
    border: 1px solid rgba(25, 68, 49, 0.18);
    border-radius: 999px;
    color: #194431;
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cs-tx-head-link:hover {
    border-color: #194431;
    background: #194431;
    color: #fff;
}

.cs-tx-head-link i {
    font-size: 11px;
}

.cs-tx-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-tx-card {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    min-height: 104px;
    padding: 16px 18px 16px 16px;
    border: 1px solid rgba(58, 93, 73, 0.1);
    border-radius: 20px;
    background: var(--paper);
    color: var(--text);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cs-tx-card:hover {
    border-color: rgba(200, 173, 127, 0.8);
    box-shadow: 0 16px 36px rgba(29, 48, 37, 0.08);
    transform: translateY(-2px);
}

.cs-tx-card-thumb {
    display: grid;
    flex: 0 0 64px;
    place-items: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #f6efe2, #eadcc1);
    color: #194431;
}

.cs-tx-card-thumb .cs-icon {
    width: 30px;
    height: 30px;
}

.cs-tx-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-tx-card-body {
    flex: 1 1 auto;
    min-width: 0;
}

.cs-tx-card-body strong {
    display: block;
    font-size: 16px;
    line-height: 1.3;
}

.cs-tx-card-body small {
    display: -webkit-box;
    margin-top: 4px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cs-tx-card > i {
    color: #194431;
    font-size: 13px;
    transition: transform 0.25s ease;
}

.cs-tx-card:hover > i {
    transform: translateX(3px);
}

/* A tall nav + CTA can't stay sticky on short screens. */
@media (max-height: 820px) {
    .cs-tx-side-cta {
        display: none;
    }
}

@media (max-width: 1180px) {
    .cs-tx {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 32px;
    }

    .cs-tx-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 980px) {
    .cs-tx {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .cs-tx-side {
        top: var(--header-h, 88px);
        z-index: 5;
        margin: 0 -16px;
        padding: 10px 16px;
        background: rgba(249, 243, 235, 0.94);
        backdrop-filter: blur(8px);
    }

    .cs-tx-side-cta,
    .cs-tx-nav-title {
        display: none;
    }

    .cs-tx-nav {
        padding: 0;
        border: 0;
        background: none;
        box-shadow: none;
    }

    .cs-tx-nav ul {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .cs-tx-nav ul::-webkit-scrollbar {
        display: none;
    }

    .cs-tx-nav a {
        padding: 6px 12px 6px 6px;
        border: 1px solid rgba(25, 68, 49, 0.12);
        border-radius: 999px;
        background: var(--paper);
        font-size: 14px;
        white-space: nowrap;
    }

    .cs-tx-nav-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
    }

    .cs-tx-nav-icon .cs-icon {
        width: 17px;
        height: 17px;
    }

    .cs-tx-nav em {
        display: none;
    }

    .cs-tx-main {
        gap: 48px;
    }

    .cs-tx-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cs-tx-head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .cs-tx-head-link {
        grid-column: 1 / -1;
        justify-self: start;
        margin-top: 0;
    }

    .cs-tx-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cs-tx-card {
        min-height: 92px;
    }

    .cs-tx-card-thumb {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }
}

/* ================================================================ online consultation */
.cs-consult-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 48px;
    align-items: start;
}

.cs-consult-aside {
    display: grid;
    gap: 18px;
}

/* "How it works" steps */
.cs-steps {
    padding: 30px 30px 26px;
    border: 1px solid rgba(58, 93, 73, 0.08);
    border-radius: 28px;
    background: var(--paper);
    box-shadow: 0 14px 36px rgba(29, 48, 37, 0.05);
}

.cs-steps h2 {
    margin: 0 0 22px;
    font-size: clamp(24px, 2.2vw, 30px);
    letter-spacing: -0.03em;
}

.cs-steps ol {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding-bottom: 22px;
}

.cs-steps li:last-child {
    padding-bottom: 0;
}

/* connector between the numbers */
.cs-steps li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 48px;
    bottom: 4px;
    left: 21px;
    width: 2px;
    border-radius: 2px;
    background: rgba(200, 173, 127, 0.55);
}

.cs-steps-num {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #194431;
    color: #fff;
    font-weight: 700;
}

.cs-steps h3 {
    margin: 9px 0 6px;
    font-size: 17px;
    line-height: 1.3;
}

.cs-steps p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

/* "Understanding This Consultation" notice */
.cs-consult-notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 24px 26px;
    border: 1px solid rgba(200, 173, 127, 0.45);
    border-radius: 24px;
    background: #f5ecdb;
}

.cs-consult-notice-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #fffdf8;
    color: #194431;
}

.cs-consult-notice h3 {
    margin: 2px 0 8px;
    font-size: 17px;
}

.cs-consult-notice p {
    margin: 0;
    color: #3d4d43;
    font-size: 14.5px;
    line-height: 1.7;
}

/* Form */
.cs-consult-form {
    gap: 26px;
    padding: 38px 40px 36px;
}

.cs-consult-form-head h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 2.4vw, 32px);
}

.cs-consult-form-head .lead {
    margin: 0;
}

.cs-form-group {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.cs-form-group + .cs-form-group {
    padding-top: 24px;
    border-top: 1px solid rgba(25, 68, 49, 0.1);
}

.cs-form-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
}

.cs-form-group-title span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(25, 68, 49, 0.1);
    color: #194431;
    font-size: 13px;
}

.cs-choice-label,
.cs-form-message > span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.cs-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: -8px;
}

.cs-choice {
    position: relative;
    cursor: pointer;
}

.cs-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cs-choice span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px 9px 11px;
    border: 1px solid rgba(25, 68, 49, 0.16);
    border-radius: 999px;
    background: #f7f2e9;
    color: #194431;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cs-choice:hover span {
    border-color: #194431;
}

.cs-choice input:checked + span {
    border-color: #194431;
    background: #194431;
    color: #fff;
}

.cs-choice input:checked + span .cs-icon {
    color: #dcc8a3;
}

.cs-choice input:focus-visible + span {
    outline: 3px solid rgba(200, 173, 127, 0.6);
    outline-offset: 2px;
}

.cs-form-message {
    display: grid;
    gap: 8px;
}

.cs-form-message textarea {
    width: 100%;
    min-height: 150px;
    padding: 14px 16px;
    border: 1px solid rgba(25, 68, 49, 0.16);
    border-radius: 14px;
    background: #f7f2e9;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    resize: vertical;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cs-form-message textarea:focus {
    outline: none;
    border-color: #194431;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(200, 173, 127, 0.3);
}

.cs-form-message small {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.cs-consult-form .form-consent {
    margin: 0;
}

.cs-consult-submit {
    width: 100%;
    gap: 10px;
    min-height: 56px;
    font-size: 15px;
}

.cs-consult-form .form-response:empty {
    display: none;
}

/* Sent state: the panel replaces the fields */
.cs-consult-form.is-sent > :not([data-success-panel]) {
    display: none;
}

.cs-form-sent {
    padding: 12px 4px 4px;
    text-align: center;
    outline: none;
}

.cs-form-sent-icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #194431;
    color: #dcc8a3;
}

.cs-form-sent-icon .cs-icon {
    width: 30px;
    height: 30px;
}

.cs-form-sent h3 {
    margin: 18px 0 8px;
    font-size: 26px;
}

.cs-form-sent p {
    max-width: 460px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.7;
}

.cs-form-sent-next {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(25, 68, 49, 0.1);
    font-size: 14.5px;
}

/* Cards under the form */
.cs-consult-more {
    padding-top: 24px;
}

.cs-info-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cs-info-card {
    padding: 28px 28px 26px;
    border: 1px solid rgba(58, 93, 73, 0.08);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: 0 14px 36px rgba(29, 48, 37, 0.05);
}

.cs-info-card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(25, 68, 49, 0.08);
    color: #194431;
}

.cs-info-card h3 {
    margin: 16px 0 8px;
    font-size: 18px;
    line-height: 1.3;
}

.cs-info-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.cs-info-card a,
.cs-consult-notice a,
.cs-form-sent a {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--sand);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

@media (max-width: 980px) {
    .cs-consult-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    /* Phones: the form first, the explanation after it. */
    .cs-consult-main {
        order: -1;
    }

    .cs-info-cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .cs-consult-form {
        padding: 26px 20px 24px;
    }

    .cs-steps {
        padding: 24px 20px 22px;
    }

    .cs-consult-notice {
        grid-template-columns: minmax(0, 1fr);
        padding: 20px;
    }
}

/* ================================================================ legal + 404 */
/* Legal copy ran ~110 characters per line at 15.5px. */
.guide-policy-article {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}

/* Centred 404 copy sits over the right-hand watermark. */
.page-404 .guide-page-hero-shell::after {
    display: none;
}

/* Language switch: the original sand pill, deepened to bronze so its white text reaches
   ~6:1 (was 2.2:1); the active locale is a cream disc with forest text (12:1). */
.compact-switch {
    gap: 2px;
    padding: 3px 3px 3px 14px;
    border: 0;
    background: #7a5f38;
}

.compact-switch > span {
    margin-right: 6px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 1;
}

.compact-switch a {
    min-width: 28px;
    min-height: 28px;
    font-size: 12px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.compact-switch a:not(.is-active) {
    color: #fff;
}

.compact-switch a:not(.is-active):hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.compact-switch a.is-active {
    background: #fffdf8;
    color: #133b21;
}
