/* ==============================
   Dynamic Life Chiropractic
   Global Stylesheet — Breeze-inspired
   ============================== */

/* --- CSS Variables --- */
:root {
    --navy: #191970;
    --light-blue: #6EB4E2;
    --off-white: #FAFAFA;
    --text-gray: #7A7A7A;
    --text-dark: #54595F;
    --gold: #d3b574;
    --max-width: 1200px;
    --shadow-sm: 0 2px 8px rgba(25, 25, 112, 0.06);
    --shadow-md: 0 8px 30px rgba(25, 25, 112, 0.1);
    --shadow-lg: 0 16px 48px rgba(25, 25, 112, 0.14);
    --radius: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.7;
    background: #fff;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
}

p {
    color: var(--text-gray);
    line-height: 1.8;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ==============================
   HEADER
   ============================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* Top Bar */
.top-bar {
    background-color: var(--navy);
    padding: 10px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    font-size: 13px;
    transition: color 0.3s;
}

.contact-list a:hover {
    color: #fff;
}

.contact-list i {
    font-size: 13px;
    color: var(--light-blue);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    font-size: 15px;
    padding: 5px;
    transition: color 0.3s;
}

.search-toggle:hover {
    color: var(--light-blue);
}

.social-list {
    display: flex;
    gap: 12px;
}

.social-list a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    transition: color 0.3s;
}

.social-list a:hover {
    color: var(--light-blue);
}

/* Main Nav Bar */
.main-nav-bar {
    background: #fff;
    padding: 0 20px;
}

.main-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    padding: 8px 0;
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu-toggle {
    display: none;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--navy);
    padding: 10px;
}

.nav-menu {
    display: flex;
    gap: 0;
}

.nav-menu > li > a {
    display: block;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    position: relative;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 3px;
    background-color: var(--light-blue);
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-menu > li > a:hover,
.nav-menu > li.current > a {
    color: var(--light-blue);
}

.nav-menu > li > a:hover::after,
.nav-menu > li.current > a::after {
    opacity: 1;
}

/* Submenu */
.has-submenu {
    position: relative;
}

.has-submenu > a .fa-caret-down {
    font-size: 11px;
    margin-left: 4px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 50;
    overflow: hidden;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu a {
    display: block;
    padding: 14px 20px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s;
}

.submenu a:hover {
    background: var(--off-white);
    color: var(--light-blue);
}

/* Header CTA */
.header-cta {
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cta {
    background-color: var(--light-blue);
    color: #fff;
    flex-direction: row-reverse;
}

.btn-cta:hover {
    background-color: var(--navy);
    color: #fff;
}

.btn-cta:hover i {
    color: #fff;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 25, 112, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 80%;
    max-width: 600px;
    position: relative;
}

.search-input {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 300;
    padding: 10px 0;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
}

.search-close:hover {
    color: var(--light-blue);
}

/* ==============================
   HERO SECTION
   ============================== */
.hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: stretch;
    background-image: url('../images/hero-pensacola-beach.jpg');
    background-size: cover;
    background-position: center 40%;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(25, 25, 112, 0.15);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px;
    width: 100%;
}

.hero-content {
    max-width: 720px;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.hero-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 46px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 19px;
    line-height: 1.7;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.25);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-social-proof .stars {
    color: #fbbc04;
    font-size: 20px;
    letter-spacing: 2px;
}

.hero-social-proof span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.btn-hero {
    background-color: var(--light-blue);
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 36px;
    align-self: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition);
}

.btn-hero:hover {
    background-color: #fff;
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.btn-hero:hover i {
    color: var(--navy);
}

.btn-hero i {
    transition: color 0.3s;
}

/* ==============================
   SERVICES SECTION
   ============================== */
.services {
    background-color: #fff;
    padding: 80px 0;
}

.services .container > h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 12px;
}

.services .container > p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

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

.service-card {
    background: var(--light-blue);
    border: none;
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.service-card--navy,
.service-card--blue {
    background: var(--light-blue);
}

.service-card .service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    font-size: 24px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.service-card p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* ==============================
   PRACTITIONER SECTIONS
   ============================== */
.practitioner-section {
    background: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.practitioner-section--alt {
    background: #fff;
}

.practitioner-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.practitioner-inner--reverse {
    flex-direction: row-reverse;
}

.practitioner-photo {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
}

.practitioner-photo img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
    margin-top: -2px;
    box-shadow: 0 20px 50px rgba(25, 25, 112, 0.15);
    transition: transform 0.5s var(--transition), box-shadow 0.5s var(--transition);
}

.practitioner-photo img:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(25, 25, 112, 0.22);
}

.practitioner-card {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.practitioner-section--alt .practitioner-card {
    background: #fff;
}

.practitioner-label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--light-blue);
}

.practitioner-card h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.practitioner-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
}

.btn-practitioner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    padding: 14px 28px;
    text-decoration: none;
    transition: all var(--transition);
}

.btn-practitioner:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(110, 180, 226, 0.3);
}

.btn-practitioner i {
    transition: transform var(--transition);
}

.btn-practitioner:hover i {
    transform: translateX(4px);
}

.practitioner-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-practitioner--center {
    align-self: center;
    font-size: 17px;
    padding: 18px 44px;
    gap: 12px;
}

/* ==============================
   FOOTER
   ============================== */
.footer-main {
    background-color: var(--navy);
    padding: 60px 0 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--light-blue);
}

.footer-col .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-col .footer-contact-item i {
    color: var(--light-blue);
    margin-top: 4px;
    width: 16px;
    flex-shrink: 0;
}

.footer-col .footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col .footer-contact-item a:hover {
    color: var(--light-blue);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--light-blue);
    color: #fff;
}

.footer-map {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.footer-map iframe {
    width: 100%;
    height: 160px;
    border: 0;
}

/* Legacy footer styles (keep for backwards compat during transition) */
.footer-contact {
    display: none;
}

/* Copyright */
.footer-copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 18px 0;
    text-align: center;
}

.footer-copyright .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-copyright a:hover {
    color: var(--light-blue);
}

.footer-copyright .footer-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    margin: 0 4px;
}

/* ==============================
   ROLLING REVIEWS CAROUSEL
   ============================== */
.reviews-section {
    padding: 80px 0 60px;
    overflow: hidden;
    background: var(--off-white);
}

.reviews-section h2 {
    text-align: center;
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 8px;
}

.reviews-section .reviews-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 16px;
}

.reviews-section .google-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    font-size: 16px;
}

.reviews-section .google-badge .stars {
    color: #fbbc04;
    font-size: 20px;
    letter-spacing: 2px;
}

.reviews-section .google-badge .badge-rating {
    font-weight: 700;
    color: var(--navy);
    font-size: 16px;
}

.reviews-section .google-badge .badge-count {
    color: var(--text-gray);
    font-weight: 400;
}

.reviews-section .google-badge .google-logo {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-weight: 600;
    font-size: 16px;
}

.reviews-section .google-badge .badge-separator {
    color: var(--text-gray);
    font-weight: 300;
    font-size: 18px;
}

.reviews-section .google-badge .google-logo .g-blue { color: #4285f4; }
.reviews-section .google-badge .google-logo .g-red { color: #ea4335; }
.reviews-section .google-badge .google-logo .g-yellow { color: #fbbc05; }
.reviews-section .google-badge .google-logo .g-green { color: #34a853; }

.reviews-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 10px 0;
}

.reviews-carousel::before,
.reviews-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.reviews-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--off-white), transparent);
}

.reviews-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--off-white), transparent);
}

.reviews-track {
    display: flex;
    gap: 24px;
    animation: slide-reviews 30s linear infinite;
    width: max-content;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes slide-reviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    flex-shrink: 0;
    width: 424px;
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    border-left: 3px solid var(--light-blue);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.review-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.review-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-card-name {
    font-weight: 600;
    color: var(--navy);
    font-size: 15px;
}

.review-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-card-stars {
    color: #fbbc04;
    font-size: 15px;
    letter-spacing: 1px;
}

.review-card-date {
    color: var(--text-gray);
    font-size: 13px;
}

.review-card-text {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reviews-cta {
    text-align: center;
    margin-top: 10px;
}

.reviews-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.reviews-cta a:hover {
    color: var(--light-blue);
}

/* Review Navigation Dots */
.review-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0 10px;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
}

.review-dot.active {
    background-color: var(--light-blue);
    width: 1.5rem;
}

.review-dot:hover {
    background-color: #9ca3af;
}

.review-dot.active:hover {
    background-color: var(--light-blue);
}

/* ==============================
   SCROLL TO TOP
   ============================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--navy);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 50;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--light-blue);
    color: #fff;
    transform: translateY(-2px);
}

/* ==============================
   INNER PAGE TEMPLATE
   ============================== */
.page-hero {
    background: url('../images/hero-pensacola-beach.jpg') center 80%/cover no-repeat fixed;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(25, 25, 112, 0.25);
    z-index: 1;
    pointer-events: none;
}

.page-hero::after {
    display: none;
}

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

.page-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 42px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.page-hero p {
    color: #fff;
    font-size: 18px;
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* Page hero with custom image override (e.g. contact page) */
.page-hero--image {
    padding: 120px 0;
}

.page-content {
    background: #fff;
    padding: 80px 0;
}

.page-content .container {
    max-width: 900px;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ==============================
   CTA SECTIONS
   ============================== */
.cta-section {
    background: linear-gradient(170deg, var(--navy) 0%, var(--light-blue) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    font-size: 18px;
}

/* ==============================
   SCROLL ANIMATIONS
   ============================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================
   INNER PAGE REUSABLE CLASSES
   ============================== */

/* Content sections */
.content-section {
    padding: 80px 0;
}

.content-section--white {
    background: #fff;
}

.content-section--offwhite {
    background: var(--off-white);
}

.content-section .container--narrow {
    max-width: 900px;
}

/* Section headings */
.section-heading {
    color: var(--navy);
    font-size: 32px;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.8;
}

/* Feature rows (alternating image/text) */
.feature-row {
    display: flex;
    gap: 48px;
    margin-bottom: 64px;
    align-items: center;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row--reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    color: var(--navy);
    margin-bottom: 16px;
    font-size: 26px;
}

.feature-text p {
    line-height: 1.8;
}

/* Contact page grid */
.contact-grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.contact-grid > * {
    flex: 1;
    min-width: 300px;
}

.contact-info-cards {
    display: flex;
    gap: 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-info-card {
    flex: 1;
    min-width: 200px;
    background: var(--navy);
    color: var(--off-white);
    padding: 32px 28px;
    border-radius: var(--radius);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-info-card h4 {
    color: var(--light-blue);
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--off-white);
    font-size: 14px;
    line-height: 1.7;
}

.contact-info-card a:hover {
    color: var(--light-blue);
}

.contact-info-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(110, 180, 226, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: var(--light-blue);
}

.contact-info-card__link {
    display: inline-block;
    margin-top: 12px;
    color: var(--light-blue) !important;
    font-size: 13px !important;
    font-weight: 500;
}

.contact-info-card__link i {
    margin-left: 4px;
    transition: transform var(--transition);
}

.contact-info-card__link:hover i {
    transform: translateX(4px);
}

/* Contact cards row (3-column) */
.contact-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.contact-form-wrap {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.contact-form-heading {
    color: var(--navy);
    font-size: 22px;
    margin-bottom: 8px;
}

.contact-form-heading i {
    color: var(--light-blue);
    margin-right: 8px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-input,
.contact-form .form-select,
.contact-form .form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    background: #fff;
}

.contact-form .form-input:focus,
.contact-form .form-select:focus,
.contact-form .form-textarea:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(110, 180, 226, 0.15);
}

.contact-form .form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-select {
    color: var(--text-gray);
}

.intake-info {
    margin-top: 36px;
    text-align: center;
}

.intake-info h2 {
    color: var(--navy);
    margin-bottom: 16px;
    font-size: 24px;
}

/* Map styling */
.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* ==============================
   RESPONSIVE
   ============================== */

/* Tablet */
@media (max-width: 1024px) {
    .contact-list a span {
        font-size: 12px;
    }

    .main-nav-bar {
        padding: 10px 15px;
    }

    .hero-content {
        padding: 50px 0;
    }

    .hero-content h2 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

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

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

    .practitioner-inner {
        gap: 40px;
    }

    .practitioner-photo img {
        height: 420px;
    }

    .practitioner-card {
        padding: 36px 32px;
    }

    .cta-section h2 {
        font-size: 28px;
    }
}

/* Tablet and below - hamburger menu */
@media (max-width: 1024px) {
    .main-nav-bar {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: static;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--navy);
        flex-direction: column;
        z-index: 90;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        border-radius: 0 0 16px 16px;
        padding: 8px 0;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu > li > a {
        color: rgba(255, 255, 255, 0.9);
        padding: 14px 24px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu > li:last-child > a {
        border-bottom: none;
    }

    .nav-menu > li > a:hover,
    .nav-menu > li.current > a {
        color: var(--light-blue);
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-menu > li > a::after {
        display: none;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 0;
        display: none;
    }

    .has-submenu.open .submenu {
        display: block;
    }

    .submenu a {
        padding: 12px 24px 12px 40px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

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

    .submenu a:hover {
        color: var(--light-blue);
        background: rgba(0, 0, 0, 0.1);
    }

    .header-cta {
        order: 1;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .contact-list {
        display: none;
    }

    .top-bar-inner {
        justify-content: space-between;
    }

    .top-bar-right {
        width: 100%;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .main-nav-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .site-logo img {
        width: 75px;
        height: 75px;
    }

    .header-cta .btn {
        font-size: 13px;
        padding: 12px 20px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        background-attachment: scroll;
    }

    .page-hero {
        background-attachment: scroll;
    }

    .hero-inner {
        min-height: auto;
    }

    .hero-content {
        padding: 50px 20px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .btn-hero {
        font-size: 14px;
        padding: 14px 28px;
    }

    /* Services */
    .services {
        padding: 60px 0;
    }

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

    .service-card {
        padding: 28px 20px;
    }

    /* Practitioner sections */
    .practitioner-section {
        padding: 60px 0;
    }

    .practitioner-inner,
    .practitioner-inner--reverse {
        flex-direction: column;
        gap: 30px;
    }

    .practitioner-photo img {
        height: 360px;
        border-radius: 16px;
    }

    .practitioner-card {
        padding: 32px 24px;
        text-align: center;
    }

    .practitioner-card h2 {
        font-size: 26px;
    }

    .practitioner-label {
        font-size: 11px;
    }

    .btn-practitioner {
        align-self: center;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col .footer-contact-item {
        justify-content: center;
    }

    /* Feature rows */
    .feature-row,
    .feature-row--reverse {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 48px;
    }

    .feature-text h2 {
        font-size: 22px;
        text-align: center;
    }

    .feature-text p {
        text-align: center;
    }

    /* Contact cards row */
    .contact-cards-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-info-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 24px;
        gap: 20px;
    }

    .contact-info-card__icon {
        margin: 0;
        flex-shrink: 0;
    }

    /* Contact grid */
    .contact-grid {
        flex-direction: column;
        gap: 32px;
    }

    .contact-grid > * {
        min-width: 100%;
    }

    .contact-info-cards {
        flex-direction: column;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    /* Content sections */
    .content-section {
        padding: 60px 0;
    }

    .section-heading {
        font-size: 26px;
    }

    /* Page hero */
    .page-hero {
        padding: 50px 0;
    }

    .page-hero h1 {
        font-size: 30px;
    }

    /* Hero subtitle */
    .hero-subtitle {
        font-size: 15px;
    }

    /* Search */
    .search-input {
        font-size: 22px;
    }

    /* CTA */
    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section p {
        font-size: 16px;
    }

    /* Reviews */
    .review-card {
        width: 320px;
        padding: 22px;
    }

    .reviews-section h2 {
        font-size: 24px;
    }

    .reviews-carousel::before,
    .reviews-carousel::after {
        width: 40px;
    }

    /* Forms - 16px prevents iOS zoom on focus */
    .contact-form .form-input,
    .contact-form .form-select,
    .contact-form .form-textarea {
        font-size: 16px;
        padding: 16px 18px;
    }

    /* Intake info */
    .intake-info h2 {
        font-size: 20px;
    }

    /* Inline grid overrides for service pages */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    [style*="min-width: 300px"] {
        min-width: 100% !important;
    }

    [style*="min-width: 280px"] {
        min-width: 100% !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 40px 16px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-social-proof {
        flex-direction: column;
        gap: 6px;
    }

    .btn-hero {
        font-size: 13px;
        padding: 12px 24px;
    }

    .site-logo img {
        width: 60px;
        height: 60px;
    }

    .header-cta .btn {
        font-size: 12px;
        padding: 10px 16px;
    }

    .services .container > h2,
    .section-heading {
        font-size: 24px;
    }

    .service-card {
        padding: 24px 16px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .practitioner-photo img {
        height: 300px;
    }

    .practitioner-card h2 {
        font-size: 24px;
    }

    .practitioner-card p {
        font-size: 14px;
    }

    .page-hero h1 {
        font-size: 26px;
    }

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

    .review-card {
        width: calc(100vw - 40px);
        min-width: 280px;
    }

    .footer-map iframe,
    .contact-map iframe {
        height: 200px;
    }

    .contact-info-card {
        padding: 20px;
    }

    .contact-form-wrap {
        padding: 20px 16px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .feature-text h2 {
        font-size: 20px;
    }

    .search-input {
        font-size: 18px;
    }
}
