/* =========================================================
   WEBPLEX SOLUTION — TESTIMONIALS
   Rating summary, service filters, review list and the
   feedback form. Card + star styles live in
   assets/testimonial-cards.css.
   ========================================================= */

:root {
    --bg: #f7f9fc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;

    --primary: #8b2cf0;
    --primary-soft: #f3e9fd;
    --blue: #1f63ea;
    --pink: #f0209e;
    --cyan: #0fb4f7;
    /* Logo colours: pink -> violet -> blue (-> cyan) */
    --brand-gradient: linear-gradient(135deg, var(--pink) 0%, var(--primary) 52%, var(--blue) 100%);
    --text-gradient: linear-gradient(110deg, var(--pink) 0%, var(--primary) 38%, var(--blue) 72%, var(--cyan) 100%);

    --text-dark: #111827;
    --text: #263143;
    --muted: #667085;
    --error: #d92d20;

    --border: #e5e9f2;
    --border-dark: #d0d5dd;

    --shadow-sm: 0 8px 25px rgba(40, 50, 80, 0.06);
    --shadow-md: 0 18px 45px rgba(44, 51, 90, 0.10);
    --shadow-lg: 0 30px 80px rgba(16, 24, 40, 0.12);

    --radius: 22px;
    --container: 1180px;
}

/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.no-scroll {
    overflow: hidden; /* Prevents scrolling when the mobile menu is open */
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(139, 44, 240, 0.30) 1.2px, transparent 1.2px);
    background-size: 28px 28px;
    opacity: 0.75;
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.92) 75%, transparent 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 76px;
    padding: 12px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(229, 233, 242, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.nav-button,
.contact-us-btn {
    min-height: 42px;
    padding: 9px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.nav-button {
    color: #535d70;
}

.nav-button:hover {
    color: var(--primary);
    background: #f5ecfe;
}

.nav-button.active {
    color: var(--primary);
    background: #f3e9fd;
}

.contact-us-btn {
    margin-left: 7px;
    padding-inline: 19px;
    color: #ffffff;
    background: var(--brand-gradient);
    box-shadow: 0 8px 20px rgba(139, 44, 240, 0.20);
}

.contact-us-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(139, 44, 240, 0.28);
}

/* Animated Menu Icon */
.menu-icon {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 1001; /* Keep above full screen menu */
    transition: all 0.3s ease;
}

.menu-icon .bar {
    width: 21px;
    height: 2px;
    border-radius: 10px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hamburger to X Animation */
.menu-icon.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-icon.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   SHARED TYPOGRAPHY + BUTTONS
   ========================================================= */

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.section-kicker::before,
.section-kicker::after {
    content: "";
    width: 22px;
    height: 1px;
    background: rgba(139, 44, 240, 0.45);
}

.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 25px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    color: #ffffff;
    background: var(--brand-gradient);
    box-shadow: 0 14px 32px rgba(139, 44, 240, 0.22);
}

.button-primary:hover {
    box-shadow: 0 18px 38px rgba(139, 44, 240, 0.30);
}

.button-outline {
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-dark);
}

.button-outline:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: #ffffff;
}

.button:disabled {
    cursor: wait;
    opacity: 0.8;
    transform: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   HERO
   ========================================================= */

.t-hero {
    padding: 105px 0 70px;
    text-align: center;
}

.hero-inner {
    max-width: 900px;
}

.t-hero h1 {
    color: var(--text-dark);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.t-hero p {
    max-width: 680px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.t-hero__actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* =========================================================
   RATING SUMMARY
   ========================================================= */

.t-reviews {
    padding: 0 0 100px;
}

.t-summary {
    position: relative;
    overflow: hidden;
    margin-bottom: 26px;
    padding: 30px 34px 30px 38px;
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr) minmax(0, 0.95fr);
    gap: 36px;
    align-items: center;
    background:
        radial-gradient(circle at 0% 0%, rgba(240, 32, 158, 0.07), transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(31, 99, 234, 0.08), transparent 45%),
        #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.t-summary::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--brand-gradient);
}

.t-score {
    text-align: center;
}

.t-score strong {
    display: block;
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.t-score .t-stars {
    --size: 22px;
    margin-top: 12px;
}

.t-score small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.t-bars {
    display: flex;
    flex-direction: column;
    gap: 9px;
    list-style: none;
}

.t-bar {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.t-bar__label {
    display: flex;
    align-items: center;
    gap: 4px;
}

.t-bar__label .t-stars {
    --size: 12px;
    width: 12px;
}

.t-bar__track {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef0f5;
}

/* display:block - a <span> ignores width, which kept every bar empty */
.t-bar__fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--star-gradient);
    transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.t-bar__count {
    color: var(--muted);
    font-weight: 600;
    text-align: right;
}

.t-summary__cta {
    padding-left: 34px;
    border-left: 1px solid var(--border);
}

.t-summary__cta h2 {
    color: var(--text-dark);
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.t-summary__cta p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

.t-summary__cta .button {
    margin-top: 16px;
    min-height: 48px;
}

/* =========================================================
   FILTERS + LIST
   ========================================================= */

.t-filters {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 26px;
    padding: 6px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.t-filters[hidden] {
    display: none;
}

.filter-btn {
    min-height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 11px;
    color: #535d70;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.filter-btn:hover {
    color: var(--primary);
    background: #f5ecfe;
}

.filter-count {
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.filter-btn.active {
    color: #ffffff;
    background: var(--brand-gradient);
    box-shadow: 0 8px 20px rgba(139, 44, 240, 0.22);
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.filter-btn:focus-visible,
.t-more:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

#testimonialList[aria-busy="true"] {
    opacity: 0.55;
    transition: opacity 0.2s ease;
}

.t-list-error {
    grid-column: 1 / -1;
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
    background: #ffffff;
    border: 1px dashed var(--border-dark);
    border-radius: 20px;
}

.t-load-more {
    margin-top: 32px;
    text-align: center;
}

.t-load-more .button[hidden] {
    display: none;
}

/* =========================================================
   FEEDBACK FORM
   ========================================================= */

.t-feedback {
    position: relative;
    padding: 100px 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    scroll-margin-top: 60px;
}

.t-feedback__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
}

.t-feedback__intro {
    position: sticky;
    top: 110px;
}

.t-feedback__intro h2 {
    color: var(--text-dark);
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.t-feedback__intro > p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.t-points {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
}

.t-points li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.t-points__icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
}

.t-points__icon svg {
    width: 20px;
    height: 20px;
}

.t-points strong {
    display: block;
    color: var(--text-dark);
    font-size: 14px;
}

/* Only the description text - not the .t-points__icon box, which is also a span */
.t-points div span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.t-whatsapp {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

/* --- Form card --- */

.t-form,
.t-success {
    position: relative;
    padding: 34px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.t-form::before,
.t-success::before {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    top: -1px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--brand-gradient);
}

.t-form[hidden],
.t-success[hidden] {
    display: none;
}

.t-form__head h3 {
    color: var(--text-dark);
    font-size: 21px;
    letter-spacing: -0.03em;
}

.t-form__head p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.req {
    color: var(--pink);
}

.field {
    min-width: 0;
    margin: 22px 0 0;
    padding: 0;
    border: 0;
}

.field > label,
.field > legend {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
}

.field-optional {
    color: var(--muted);
    font-weight: 500;
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    background: #ffffff;
    color: var(--text-dark);
    font: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #98a2b3;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 44, 240, 0.12);
}

.field textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.65;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.field-hint {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

.field-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.char-count {
    margin-top: 6px;
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.field-error {
    margin-top: 6px;
    color: var(--error);
    font-size: 12.5px;
    font-weight: 600;
}

.field-error:empty {
    display: none;
}

.has-error input[type="text"],
.has-error input[type="email"],
.has-error textarea {
    border-color: #f97066;
    box-shadow: 0 0 0 4px rgba(240, 68, 56, 0.10);
}

/* --- Star rating input --- */

.rate-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.rate-stars {
    display: flex;
    gap: 6px;
}

.rate-option {
    position: relative;
    display: block;
    padding: 2px;
    border-radius: 8px;
    cursor: pointer;
}

.rate-option input,
.choice-chip input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.rate-star {
    display: block;
    width: 38px;
    height: 38px;
    background: #e4e7ec;
    -webkit-mask: var(--star-mask) center / contain no-repeat;
    mask: var(--star-mask) center / contain no-repeat;
    transition: transform 0.2s ease, background 0.2s ease;
}

.rate-option:hover .rate-star {
    transform: scale(1.14) rotate(-6deg);
}

.rate-option.is-on .rate-star {
    background: var(--star-gradient);
}

.rate-option:has(input:focus-visible) {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.rating-word {
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.rating-word.is-set {
    background: var(--primary-soft);
    color: var(--primary);
}

.has-error .rate-star {
    background: #fbd5d2;
}

/* --- Service chips --- */

.choice-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.choice-chip {
    position: relative;
    display: block;
    cursor: pointer;
}

.choice-chip__box {
    min-height: 50px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    background: #ffffff;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    transition: all 0.2s ease;
}

.choice-chip__box img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

/* Tick box on the right shows that several services can be chosen */
.choice-chip__check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-left: auto;
    display: grid;
    place-items: center;
    border: 1.5px solid var(--border-dark);
    border-radius: 5px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.choice-chip input:checked + .choice-chip__box .choice-chip__check {
    border-color: transparent;
    background: var(--brand-gradient);
}

.choice-chip input:checked + .choice-chip__box .choice-chip__check::after {
    content: "";
    width: 4px;
    height: 8px;
    margin-top: -2px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.choice-chip:hover .choice-chip__box {
    border-color: #d9c2fb;
    background: #fcfaff;
}

.choice-chip input:checked + .choice-chip__box {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: #5b1fa0;
    box-shadow: 0 0 0 3px rgba(139, 44, 240, 0.12);
}

.choice-chip input:focus-visible + .choice-chip__box {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.has-error .choice-chip__box {
    border-color: #f97066;
}

/* --- Consent checkbox --- */

/* ".field >" outranks the general ".field > label" rule above */
.field > .consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    cursor: pointer;
}

.consent input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    display: grid;
    place-items: center;
    border: 1.5px solid var(--border-dark);
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.consent input:checked {
    border-color: transparent;
    background: var(--brand-gradient);
}

.consent input:checked::after {
    content: "";
    width: 5px;
    height: 10px;
    margin-top: -2px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.has-error .consent input {
    border-color: #f97066;
}

/* Hidden from people, filled in by bots */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- Submit --- */

.form-error {
    margin-top: 20px;
    padding: 12px 14px;
    border: 1px solid #fecdca;
    border-radius: 12px;
    background: #fef3f2;
    color: #b42318;
    font-size: 13px;
    font-weight: 600;
}

.form-error[hidden] {
    display: none;
}

.t-submit {
    width: 100%;
    min-height: 56px;
    margin-top: 24px;
    font-size: 15px;
}

.t-submit.is-loading .t-submit__arrow {
    display: none;
}

.t-submit.is-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.t-form__note {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.t-form__note svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--primary);
}

/* --- Success --- */

.t-success {
    padding: 56px 34px;
    text-align: center;
    outline: none;
}

.t-success__icon {
    width: 76px;
    height: 76px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: var(--brand-gradient);
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(139, 44, 240, 0.30);
    animation: successPop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1.3) both;
}

.t-success__icon svg {
    width: 36px;
    height: 36px;
}

.t-success h3 {
    margin-top: 22px;
    color: var(--text-dark);
    font-size: 25px;
    letter-spacing: -0.035em;
}

.t-success__text {
    max-width: 440px;
    margin: 10px auto 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.t-success .button {
    margin-top: 26px;
}

@keyframes successPop {
    from {
        opacity: 0;
        transform: perspective(500px) scale(0.6) rotateY(-90deg);
    }
}

/* =========================================================
   DEFAULT DESKTOP FOOTER
   ========================================================= */

.site-footer {
    padding: 65px 0 22px;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 70px;
    align-items: start;
}

.footer-brand-column {
    max-width: 330px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
}

.footer-brand-column p {
    max-width: 300px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.75;
}

.footer-label {
    display: block;
    margin-bottom: 17px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-column > a {
    color: #667085;
    font-size: 12px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column > a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

/* -------------------------
   CONTACT DETAILS (ICON LAYOUT)
   ------------------------- */

.footer-contact {
    gap: 16px;
}

.footer-contact .contact-link {
    display: flex;
    flex-direction: row; /* Align icon and text horizontally */
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-contact .contact-link span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-contact .contact-link:hover .footer-icon {
    transform: scale(1.15);
}

.footer-contact .contact-link:hover span {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
}

.footer-bottom-brand {
    color: var(--text-dark);
    font-weight: 700;
    transition: color 0.2s ease;
}

.footer-bottom-brand:hover {
    color: var(--primary);
}

/* =========================================================
   MEDIA QUERIES (FULLY RESPONSIVE CASCADE)
   ========================================================= */

/* Small laptops (Max Width: 1100px) */
@media (max-width: 1100px) {
    .t-summary {
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    }

    .t-summary__cta {
        grid-column: 1 / -1;
        padding: 22px 0 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .t-summary__cta .button {
        margin-top: 0;
        flex-shrink: 0;
    }

    .t-feedback__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .t-feedback__intro {
        position: static;
        max-width: 640px;
    }
}

/* Tablets & Small Laptops (Max Width: 992px) */
@media (max-width: 992px) {
    .menu-icon {
        display: flex;
    }

    /* Animated Full Screen Menu */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1000;
        overflow-y: auto;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: flex;
    }

    .nav-button, .contact-us-btn {
        width: 100%;
        max-width: 250px;
        font-size: 18px;
        padding: 15px;
        justify-content: center;
    }

    .nav-button {
        background: transparent;
    }

    /* Transition footer to 2 columns before mobile */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
        max-width: 500px;
    }
}

/* Tablets Landscape & Large Phones (Max Width: 768px) */
@media (max-width: 768px) {
    .t-hero {
        padding: 80px 0 50px;
    }

    .t-hero h1 {
        font-size: clamp(34px, 8vw, 48px);
    }

    .t-hero p {
        font-size: 15px;
    }

    .t-summary {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 26px 22px 24px 26px;
    }

    .t-summary__cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .t-feedback {
        padding: 70px 0;
    }

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

    /* --- CENTERED FOOTER FOR MOBILE --- */
    .site-footer {
        text-align: center;
        padding: 50px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand-column,
    .footer-column {
        align-items: center;
        margin: 0 auto;
    }

    .footer-brand-column p {
        margin-inline: auto;
    }

    .footer-column > a:hover {
        transform: translateY(-2px);
    }

    .footer-contact > a {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 40px;
    }
}

/* Mobile Phones (Max Width: 560px) */
@media (max-width: 560px) {
    .container {
        width: calc(100% - 30px);
    }

    .t-hero__actions {
        flex-direction: column;
    }

    .t-hero__actions .button,
    .t-summary__cta .button {
        width: 100%;
    }

    .t-filters {
        width: 100%;
    }

    .filter-btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .t-form,
    .t-success {
        padding: 26px 18px;
    }

    .t-form::before,
    .t-success::before {
        left: 18px;
        right: 18px;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .rate-stars {
        gap: 2px;
    }

    .rate-star {
        width: 34px;
        height: 34px;
    }

    .choice-chip__box {
        padding: 9px 10px;
        font-size: 12.5px;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
