@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ============================================================
   PILLAR LAB SERVICES — Brand Design System
   Pillar Teal #0E4D4F · Aqua Mint #6FD1B6 · Silver Gray #D9E0E0
   Charcoal #2F3A3A · Clean White #FFFFFF
   Playfair Display (display) · Montserrat (supporting)
   ============================================================ */

:root {
    --teal-950: #062F31;
    --teal-900: #083B3D;
    --teal-800: #0B4749;
    --teal: #0E4D4F;
    --teal-600: #176463;
    --teal-500: #1E7A77;

    --aqua: #6FD1B6;
    --aqua-200: #C2EBDE;
    --aqua-100: #E6F7F1;

    --silver: #D9E0E0;
    --silver-200: #E6ECEC;
    --silver-100: #F2F5F5;

    --charcoal: #2F3A3A;
    --charcoal-600: #4E5C5C;
    --charcoal-400: #6E7D7D;

    --white: #FFFFFF;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --shadow-sm: 0 4px 14px rgba(20, 40, 40, 0.07);
    --shadow-md: 0 12px 30px rgba(20, 40, 40, 0.10);
    --shadow-lg: 0 28px 56px rgba(14, 77, 79, 0.16);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --section-pad: clamp(4rem, 8vw, 6.5rem);
}

/* ---------- Base ---------- */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1, h2 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--teal-900);
    letter-spacing: -0.3px;
}

h3, h4 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.3;
    color: var(--teal-900);
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--teal-600);
}

p {
    margin: 0;
}

ul {
    list-style: none;
}

::selection {
    background: var(--aqua-100);
    color: var(--teal-900);
}

:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

section {
    padding: var(--section-pad) 0;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 30px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.2;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease,
        box-shadow 0.24s ease, border-color 0.24s ease;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 12px 26px rgba(14, 77, 79, 0.22);
}

.btn-primary:hover {
    background: var(--teal-900);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(14, 77, 79, 0.26);
}

.btn-secondary {
    background: transparent;
    color: var(--teal);
    border-color: var(--teal);
}

.btn-secondary:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ---------- Section headers ---------- */

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    color: var(--teal-900);
}

.section-header h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: var(--aqua);
    margin: 20px auto 0;
}

.section-subtitle {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--charcoal-600);
}

/* ---------- Header ---------- */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--silver-200);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 12px 0;
}

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

.logo img {
    height: 52px;
    width: auto;
}

.desktop-nav {
    margin-left: auto;
}

.desktop-nav > ul {
    display: flex;
    align-items: center;
    gap: 2px;
}

.desktop-nav li {
    position: relative;
}

.desktop-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--charcoal);
}

.desktop-nav > ul > li > a:hover {
    color: var(--teal);
    background: var(--aqua-100);
}

.desktop-nav .dropdown > a {
    color: var(--teal-900);
}

.desktop-nav .dropdown-menu {
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 300px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    z-index: 50;
}

.desktop-nav .dropdown:hover .dropdown-menu,
.desktop-nav .dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.dropdown-menu li a {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--charcoal-600);
}

.dropdown-menu li a:hover {
    color: var(--teal-900);
    background: var(--aqua-100);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--teal);
    white-space: nowrap;
}

.phone-link i {
    color: var(--teal);
    font-size: 0.85rem;
}

.header-right .btn {
    padding: 11px 24px;
    font-size: 0.86rem;
}

/* Mobile toggle + nav */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--teal-900);
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}

/* ---------- Hero (home) ---------- */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(5, 42, 43, 0.58), rgba(7, 61, 63, 0.60)),
        url("../images/hero.png") center/cover no-repeat;
    color: var(--white);
    padding: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 18%, rgba(111, 209, 182, 0.28), transparent 52%),
        radial-gradient(circle at 6% 88%, rgba(111, 209, 182, 0.14), transparent 46%);
    pointer-events: none;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--aqua);
    margin-bottom: 22px;
}

.hero-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--aqua);
    flex-shrink: 0;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.3rem, 4.6vw, 3.6rem);
    line-height: 1.12;
    margin-bottom: 20px;
}

.hero-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: var(--aqua);
    margin-bottom: 16px;
}

.subtitle {
    color: #D7E4E3;
    font-size: 1.02rem;
    max-width: 540px;
}

.hero-form {
    background: var(--white);
    color: var(--charcoal);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 3vw, 34px);
    box-shadow: 0 30px 64px rgba(0, 0, 0, 0.30);
}

/* ---------- Forms ---------- */

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--teal-900);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--silver);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.94rem;
    color: var(--charcoal);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--charcoal-400);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--aqua);
    box-shadow: 0 0 0 4px rgba(111, 209, 182, 0.22);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 0 22px;
}

.form-group.checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.55;
    color: var(--charcoal-600);
}

.form-group.checkbox input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--teal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* ---------- Services grid ---------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 26px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--aqua), #9FE4CE);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--aqua-200);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--silver-100);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    padding: 22px 24px 6px;
    font-size: 1.02rem;
    color: var(--teal-900);
}

.service-card p {
    padding: 0 24px 16px;
    font-size: 0.9rem;
    color: var(--charcoal-600);
    flex: 1;
}

.service-card .btn {
    align-self: flex-start;
    margin: 0 24px 24px;
    padding: 10px 22px;
    font-size: 0.84rem;
}

/* ---------- CTA elements ---------- */

.cta-banner {
    margin-top: 44px;
    text-align: center;
}

.cta-banner p {
    margin-bottom: 14px;
    color: var(--charcoal-600);
}

.cta-section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background: linear-gradient(128deg, var(--teal-950) 0%, var(--teal-900) 45%, var(--teal) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(111, 209, 182, 0.2), transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-content p {
    color: #D7E4E3;
    font-size: 1rem;
    margin-bottom: 28px;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--teal);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.cta-section .btn-primary:hover {
    background: var(--aqua);
    color: var(--teal-950);
}

/* ---------- Reviews ---------- */

.reviews {
    background: var(--silver-100);
}

.reviews .section-header h2 {
    font-family: var(--font-body);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: 2px;
    color: var(--teal-900);
}

.review-cta {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: var(--radius-xl);
    padding: 48px 32px;
    box-shadow: var(--shadow-md);
}

.review-cta > p {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--charcoal-400);
    margin-bottom: 22px;
}

.review-stars h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--teal-900);
    margin-bottom: 12px;
}

.stars {
    font-size: 2rem;
    letter-spacing: 6px;
    line-height: 1;
    color: #EFB93C;
    margin-bottom: 26px;
}

/* ---------- About (home) ---------- */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    margin-bottom: 26px;
}

.about-text h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--teal);
    margin: 22px 0 10px;
}

.about-text p {
    color: var(--charcoal-600);
    font-size: 0.96rem;
}

.about-image img {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-xl);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--white);
}

/* ---------- Features ---------- */

.features {
    background: var(--silver-100);
}

.features-content {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.features-content > h3 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: var(--teal-900);
    margin-bottom: 16px;
}

.features-content > p {
    color: var(--charcoal-600);
    font-size: 0.98rem;
    margin-bottom: 44px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-item {
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: var(--radius-lg);
    padding: 34px 24px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.5rem;
    color: var(--teal);
    background: var(--aqua-100);
    border-radius: 50%;
}

.feature-item h4 {
    font-size: 1rem;
    color: var(--teal-900);
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.88rem;
    color: var(--charcoal-600);
}

/* ---------- Locations ---------- */

.locations {
    background: var(--silver-100);
}

.locations .section-header h2 {
    font-family: var(--font-body);
    font-size: clamp(1.3rem, 2.4vw, 1.6rem);
    letter-spacing: 1.6px;
    color: var(--teal-900);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}

.location-item {
    display: block;
    text-align: center;
    padding: 17px 12px;
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.location-item:hover {
    transform: translateY(-3px);
    border-color: var(--aqua);
    background: var(--aqua-100);
    color: var(--teal-900);
    box-shadow: var(--shadow-sm);
}

/* ---------- Partners ---------- */

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.partner-item {
    padding: 12px 22px;
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal-600);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.partner-item:hover {
    border-color: var(--teal);
    color: var(--teal);
}

/* ---------- Stats ---------- */

.stats {
    background: linear-gradient(128deg, var(--teal-950) 0%, var(--teal-900) 50%, var(--teal) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 15%, rgba(111, 209, 182, 0.2), transparent 50%);
    pointer-events: none;
}

.stats .section-header {
    position: relative;
    z-index: 1;
}

.stats .section-header h2 {
    color: var(--white);
}

.stats .section-header p {
    color: rgba(255, 255, 255, 0.75);
}

.stats .section-subtitle {
    color: var(--aqua);
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    line-height: 1;
    color: var(--aqua);
}

.stat-label {
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
}

.stat-sublabel {
    margin-top: 2px;
    font-size: 0.76rem;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Why choose ---------- */

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.why-choose-item {
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-top: 4px solid var(--aqua);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-choose-item h3 {
    font-size: 1.02rem;
    color: var(--teal-900);
    margin-bottom: 12px;
}

.why-choose-item p {
    font-size: 0.9rem;
    color: var(--charcoal-600);
}

/* ---------- FAQ ---------- */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 840px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
    border-color: var(--aqua);
    box-shadow: 0 18px 40px rgba(14, 77, 79, 0.12);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--teal-900);
    cursor: pointer;
}

.faq-question i {
    color: var(--teal);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
}

.faq-answer.active {
    max-height: 480px;
}

.faq-answer p {
    padding: 0 24px 22px;
    font-size: 0.92rem;
    color: var(--charcoal-600);
    max-width: 92%;
}

/* ---------- Footer ---------- */

.footer {
    background: var(--teal-950);
    color: #D3E1E0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: clamp(32px, 4vw, 52px);
    padding: clamp(48px, 7vw, 72px) 0 40px;
}

.footer-brand img {
    height: 58px;
    width: auto;
    background: var(--white);
    padding: 10px 16px;
    border-radius: 10px;
}

.footer-brand p {
    margin-top: 18px;
    color: var(--silver);
    font-size: 0.92rem;
}

.footer-brand p.footer-tagline-sub {
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--aqua);
}

.footer-brand .btn {
    margin-top: 22px;
    background: var(--aqua);
    color: var(--teal-950);
    box-shadow: none;
}

.footer-brand .btn:hover {
    background: #8FE2CB;
    color: var(--teal-950);
}

.footer h3 {
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--silver);
}

.footer-contact i {
    width: 16px;
    margin-top: 5px;
    color: var(--aqua);
    text-align: center;
    flex-shrink: 0;
}

.footer ul li a {
    display: inline-block;
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--silver);
}

.footer ul li a:hover {
    color: var(--aqua);
    padding-left: 4px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.social-links h4 {
    color: var(--white);
    font-size: 0.78rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background: var(--aqua);
    border-color: var(--aqua);
    color: var(--teal-950);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal a {
    font-size: 0.82rem;
    color: var(--silver);
}

.footer-legal a:hover {
    color: var(--aqua);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
    padding: clamp(64px, 9vw, 104px) 0;
    background: linear-gradient(128deg, var(--teal-950) 0%, var(--teal-900) 45%, var(--teal) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(111, 209, 182, 0.22), transparent 50%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
    animation: heroFadeIn 1s ease-out both;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2.1rem, 4vw, 3rem);
}

.page-hero p {
    margin-top: 16px;
    color: #D7E4E3;
    font-size: 1.02rem;
}

/* ---------- Service / location detail pages ---------- */

.service-detail,
.location-detail {
    background: var(--silver-100);
}

.service-content,
.location-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.service-text,
.location-text {
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: var(--radius-xl);
    padding: clamp(26px, 4.5vw, 46px);
}

.service-text h2,
.location-text h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.7rem);
    margin: 30px 0 14px;
    color: var(--teal-900);
}

.service-text h2:first-of-type,
.location-text h2:first-of-type {
    margin-top: 0;
}

.service-text p,
.location-text p {
    font-size: 0.96rem;
    line-height: 1.78;
    color: var(--charcoal-600);
    margin-bottom: 14px;
}

.service-text ul,
.location-text ul {
    margin: 0 0 18px;
}

.service-text ul li,
.location-text ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 0.94rem;
    color: var(--charcoal-600);
}

.service-text ul li::before,
.location-text ul li::before {
    content: "\2713";
    position: absolute;
    left: 2px;
    top: 0;
    font-weight: 700;
    color: var(--teal);
}

.service-text ol,
.location-text ol {
    list-style: decimal;
    padding-left: 26px;
    margin: 0 0 18px;
}

.service-text ol li,
.location-text ol li {
    padding-left: 4px;
    margin-bottom: 10px;
    font-size: 0.94rem;
    color: var(--charcoal-600);
}

.service-text ol li::before,
.location-text ol li::before {
    content: none;
}

.service-hero-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.service-sidebar,
.location-sidebar {
    position: sticky;
    top: 96px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    font-size: 1rem;
    color: var(--teal-900);
    margin-bottom: 10px;
}

.sidebar-card p {
    font-size: 0.88rem;
    color: var(--charcoal-600);
    margin-bottom: 16px;
}

.sidebar-card .btn {
    padding: 12px 20px;
    font-size: 0.86rem;
}

.service-links li + li {
    margin-top: 2px;
}

.service-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 2px;
    border-bottom: 1px dashed var(--silver-200);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal-600);
}

.service-links li:last-child a {
    border-bottom: none;
}

.service-links li a::before {
    content: "\203A";
    color: var(--teal);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1;
}

.service-links li a:hover {
    color: var(--teal);
    padding-left: 6px;
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.areas-grid span {
    padding: 8px 16px;
    background: var(--silver-100);
    border: 1px solid var(--silver-200);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--charcoal-600);
}

/* ---------- About page ---------- */

.about-story .about-content {
    grid-template-columns: 0.9fr 1.1fr;
}

.team-section .section-header,
.process-section .section-header,
.gallery-section .section-header {
    margin-bottom: 56px;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.team-image img,
.poster-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.team-text h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--teal-900);
    margin-bottom: 4px;
}

.team-title {
    display: inline-block;
    margin: 10px 0 16px;
    padding: 6px 15px;
    background: var(--aqua-100);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--teal);
}

.team-text p {
    font-size: 0.96rem;
    color: var(--charcoal-600);
}

/* ---------- Process ---------- */

.process-section {
    background: var(--silver-100);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.process-item {
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-number {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: var(--teal);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 12px 22px rgba(14, 77, 79, 0.26);
}

.process-item h3 {
    font-size: 1.02rem;
    color: var(--teal-900);
    margin-bottom: 12px;
}

.process-item p {
    font-size: 0.9rem;
    color: var(--charcoal-600);
}

/* ---------- Gallery ---------- */

.gallery-section {
    background: var(--silver-100);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--silver-200);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* ---------- Contact page ---------- */

.contact-form-section {
    background: var(--silver-100);
}

.contact-form-wrapper {
    max-width: 880px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--silver-200);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 5vw, 52px);
    box-shadow: var(--shadow-md);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 36px;
}

.contact-form-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.contact-form-header p {
    max-width: 540px;
    margin: 14px auto 0;
    font-size: 0.96rem;
    color: var(--charcoal-600);
}

.contact-form-full .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--teal-900);
}

.form-links {
    text-align: center;
    margin-top: 18px;
    font-size: 0.84rem;
    color: var(--charcoal-400);
}

.form-links a {
    color: var(--teal);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        max-width: 640px;
    }

    .desktop-nav,
    .header-right .btn {
        display: none;
    }

    .header-right {
        margin-left: auto;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        top: 77px;
        left: 0;
        right: 0;
        z-index: 99;
        background: var(--white);
        border-bottom: 1px solid var(--silver-200);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .mobile-nav.active {
        max-height: 520px;
        overflow-y: auto;
    }

    .mobile-nav li a,
    .mobile-nav .mobile-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        padding: 14px 24px;
        font-size: 0.94rem;
        font-weight: 600;
        color: var(--teal-900);
        border-bottom: 1px solid var(--silver-100);
        text-align: left;
        background: none;
        border-top: none;
        border-left: none;
        border-right: none;
        cursor: pointer;
        font-family: inherit;
    }

    .mobile-nav li:last-child > a,
    .mobile-nav li:last-child .mobile-dropdown-toggle {
        border-bottom: none;
    }

    .mobile-nav li a:hover,
    .mobile-nav .mobile-dropdown-toggle:hover {
        background: var(--aqua-100);
        color: var(--teal);
    }

    .mobile-nav .mobile-dropdown-toggle .toggle-icon {
        font-size: 0.75rem;
        color: var(--teal);
        transition: transform 0.3s ease;
    }

    .mobile-nav .mobile-dropdown.open .mobile-dropdown-toggle .toggle-icon {
        transform: rotate(180deg);
    }

    .mobile-nav .mobile-dropdown.open .mobile-submenu {
        max-height: 480px;
    }

    .mobile-nav .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        background: var(--silver-100);
    }

    .mobile-nav .mobile-submenu a {
        padding: 12px 24px 12px 40px;
        font-size: 0.88rem;
        font-weight: 500;
        color: var(--charcoal-700);
        border-bottom: 1px solid var(--silver-200);
    }

    .mobile-nav .mobile-submenu li:last-child a {
        border-bottom: none;
    }

    .mobile-nav .mobile-submenu a:hover {
        background: var(--aqua-100);
        color: var(--teal-900);
    }

    .about-content,
    .about-story .about-content {
        grid-template-columns: 1fr;
    }

    .about-image img {
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-grid .process-item {
        display: grid;
        grid-template-columns: 64px 1fr;
        gap: 20px;
        align-items: start;
    }

    .process-number {
        margin-bottom: 0;
    }

    .service-content,
    .location-content {
        grid-template-columns: 1fr;
    }

    .service-sidebar,
    .location-sidebar {
        position: static;
    }

    .team-content {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    body {
        font-size: 0.96rem;
    }

    .header-right .phone-link {
        font-size: 0.82rem;
    }

    .logo img {
        height: 44px;
    }

    .mobile-nav {
        top: 69px;
    }

.hero-form {
        padding: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-legal {
        justify-content: center;
        text-align: center;
    }
}

/* ---------- Animations ---------- */

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text,
.hero-form {
    animation: heroFadeIn 0.9s ease-out both;
}

.hero-text {
    animation-delay: 0.15s;
}

.hero-form {
    animation-delay: 0.35s;
}

[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Site-wide auto-reveal (applied by JS to shared structural blocks) */

.auto-reveal {
    opacity: 0;
}

.auto-reveal.auto-revealed {
    animation: siteReveal 0.7s ease-out both;
}

@keyframes siteReveal {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    .auto-reveal {
        opacity: 1;
        animation: none;
    }
}