/* ============================================
   PEDODOCTOR.COM - Pediatric Dentistry by Dr. Jeffries
   Mobile-First Responsive Stylesheet
   Project Value: $8,800 - Premium Quality
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
    /* Brand Colors */
    --color-primary: #4EAAB3;        /* Teal - from logo */
    --color-primary-dark: #2D7A85;   /* Darker teal for hover/gradient end */
    --color-primary-darker: #1D6570; /* Even darker for depth */
    --color-primary-light: #E8F6F7;  /* Light teal background */

    /* Brand Gradient (left to right, light to dark) */
    --gradient-primary: linear-gradient(90deg, #5BC0C8 0%, #4EAAB3 40%, #3D8A92 70%, #2D7A85 100%);
    --gradient-primary-hover: linear-gradient(90deg, #4EAAB3 0%, #3D8A92 40%, #2D7A85 70%, #1D6570 100%);

    /* Neutral Colors */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #FFFFFF;
    --color-off-white: #F9FAFB;
    --color-border: #E5E7EB;

    /* Accent Colors */
    --color-accent: #F59E0B;         /* Warm yellow for CTAs */
    --color-accent-hover: #D97706;
    --color-success: #10B981;
    --color-error: #EF4444;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;
    --font-size-5xl: 48px;
    --line-height: 1.6;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --border-radius: 8px;
    --border-radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility: Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    z-index: 1000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--font-size-3xl);
}

h2 {
    font-size: var(--font-size-2xl);
}

h3 {
    font-size: var(--font-size-xl);
}

h4 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

ul, ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

li {
    margin-bottom: var(--space-xs);
}

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

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-2xl) 0;
}

.section-lg {
    padding: var(--space-3xl) 0;
}

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 48px; /* Touch target */
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
}

.btn-primary:hover {
    background: var(--gradient-primary-hover);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary-light);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-white);
}

.btn-lg {
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--font-size-lg);
}

.btn-block {
    width: 100%;
}

/* ============================================
   HEADER / NAVIGATION (Two-tier layout)
   ============================================ */
.header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 100;
    overflow: visible;
}

/* Top Row: Logo + CTA */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    gap: var(--space-md);
}

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

.logo img {
    height: 60px;
    width: auto;
    max-width: 280px;
}

/* Header CTA Box (like their "5 Locations Available") */
.header-cta-box {
    display: none; /* Hidden on mobile */
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.header-cta-box:hover {
    background: var(--gradient-primary-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.header-cta-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    line-height: 1;
    padding-right: var(--space-sm);
    border-right: 2px solid rgba(255,255,255,0.3);
}

.header-cta-text {
    display: flex;
    flex-direction: column;
    font-size: var(--font-size-sm);
    line-height: 1.3;
}

.header-cta-text strong {
    font-size: var(--font-size-base);
}

.header-cta-text small {
    opacity: 0.9;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Menu */
.nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    padding: var(--space-md);
}

.nav-main.is-open {
    display: block;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    margin: 0;
}

.nav-link {
    display: block;
    padding: var(--space-md);
    color: var(--color-text);
    white-space: nowrap;
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
}

.nav-link:hover {
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    list-style: none;
    padding: 0 0 0 var(--space-md);
    margin: 0;
    background-color: var(--color-off-white);
}

.nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--color-off-white);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.lang-toggle a {
    color: var(--color-text-light);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 4px;
}

.lang-toggle a.active {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.lang-toggle a:hover:not(.active) {
    background-color: var(--color-border);
}

/* Header CTA (mobile hidden) */
.header-cta {
    display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-white) 100%);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.hero h1 span {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero-mascot {
    max-width: 200px;
    margin: 0 auto;
}

/* Hero CTA Bubbles */
.hero-cta-bubbles {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.cta-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(135deg, #5a9ea6 0%, #9ca3af 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    min-width: 150px;
}

.cta-bubble:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #4a8e96 0%, #8b929e 100%);
}

.cta-bubble-icon {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.cta-bubble-text {
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.9);
}

.cta-bubble-text strong {
    display: block;
    margin-bottom: -2px;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.cta-bubble-primary {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.cta-bubble-primary:hover {
    transform: scale(1.15) translateY(-10px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: var(--space-lg) 0;
}

.trust-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.trust-item-icon {
    font-size: var(--font-size-2xl);
}

.trust-item-text {
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background-color: var(--color-off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.service-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    transition: all var(--transition-normal);
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.service-card:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.15) 100%);
}

.service-card-content {
    position: relative;
    z-index: 1;
    padding: var(--space-lg);
    text-align: center;
}

.service-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xs);
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mobile Service Cards */
@media (max-width: 768px) {
    .service-card {
        min-height: 220px;
    }

    .service-card-content {
        padding: var(--space-md);
    }

    .service-card h3 {
        font-size: var(--font-size-lg);
    }

    .service-card p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .service-card {
        min-height: 180px;
    }

    .service-card h3 {
        font-size: var(--font-size-base);
    }

    .service-card p {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Welcome section spacing (after hero with CTA bubbles) */
.section-after-hero {
    padding-top: 140px;
}

@media (max-width: 768px) {
    .section-after-hero {
        padding-top: 120px;
    }
}

@media (max-width: 480px) {
    .section-after-hero {
        padding-top: 110px;
    }
}

/* ============================================
   LOCATIONS SECTION
   ============================================ */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.location-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.location-card h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.location-card address {
    font-style: normal;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.location-card .phone {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.location-card .phone a {
    color: inherit;
}

.location-card .btn {
    margin-top: auto;
}

.location-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: auto;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: var(--gradient-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Decorative gradient overlay */
.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.testimonials h2 {
    color: var(--color-white);
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    margin-top: var(--space-xl);
}

.testimonial-text {
    font-size: var(--font-size-lg);
    font-style: italic;
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-stars {
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

/* Testimonial Carousel */
.testimonial-carousel {
    max-width: 700px;
    margin: var(--space-xl) auto 0;
    position: relative;
}

.testimonial-track {
    position: relative;
    min-height: 200px;
}

.testimonial-carousel .testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    margin-top: 0;
    text-align: center;
}

.testimonial-carousel .testimonial-card.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.testimonial-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.testimonial-dots {
    display: flex;
    gap: var(--space-sm);
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.testimonial-dot.active {
    background: var(--color-white);
}

.testimonials .text-light {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(180deg, #E8F6F7 0%, #D4EDEE 50%, #C5E4E6 100%);
    text-align: center;
    position: relative;
}

/* Add subtle decorative elements */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(78,170,179,0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 50%, rgba(78,170,179,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cta-section h2 {
    margin-bottom: var(--space-md);
}

.cta-section p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(180deg, #4a5568 0%, #2d3748 100%);
    color: var(--color-white);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.footer-section h4 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-lg);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--color-white);
}

.footer-location {
    margin-bottom: var(--space-lg);
}

.footer-location h5 {
    color: var(--color-primary);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-xs);
}

.footer-location address {
    font-style: normal;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-location .phone {
    color: var(--color-white);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
}

.footer-copyright {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

.site-credit {
    display: block;
    margin-top: var(--space-md);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-fast);
}

.site-credit:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-lang {
    display: flex;
    justify-content: center;
}

/* Compact Footer Variant */
.footer-compact {
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .footer-grid-compact {
        grid-template-columns: 1.5fr 1fr 2fr;
        gap: var(--space-xl);
    }
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-base);
}

.footer-col p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: var(--space-xs);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
}

.footer-col a:hover {
    color: var(--color-white);
}

.locations-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm) var(--space-lg);
}

.footer-loc {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer-loc strong {
    color: var(--color-primary-light);
    display: block;
    margin-bottom: 2px;
}

.footer-loc a {
    color: var(--color-white);
}

.footer-compact .footer-bottom {
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    text-align: left;
}

.footer-compact .footer-bottom p {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-compact .footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-compact .footer-lang {
    justify-content: flex-start;
}

.footer-lang a {
    color: #333;
}

.footer-lang a.active {
    color: var(--color-white);
}

/* Compact language toggle */
.lang-toggle-compact {
    display: inline-flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    font-size: var(--font-size-xs);
}

.lang-toggle-compact a {
    padding: 4px 10px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.lang-toggle-compact a:hover {
    color: var(--color-white);
}

.lang-toggle-compact a.active {
    background: var(--color-primary);
    color: var(--color-white);
}

/* 4-Column Footer Grid */
.footer-grid-4col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-grid-4col {
        grid-template-columns: 1.5fr 1fr 1fr 2fr;
        gap: var(--space-lg);
    }
}

@media (min-width: 1024px) {
    .footer-grid-4col {
        gap: var(--space-xl);
    }
}

/* Footer location link (teal clickable city names) */
.footer-loc-link {
    display: block;
    color: var(--color-primary) !important;
    font-weight: 600;
    font-size: var(--font-size-base);
    margin-bottom: 4px;
    text-decoration: none;
}

.footer-loc-link:hover {
    color: var(--color-primary-light) !important;
    text-decoration: underline;
}

/* Footer logo */
.footer-logo {
    display: block;
    margin-bottom: var(--space-md);
}

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

.footer-phone {
    display: block;
    color: var(--color-white);
    font-weight: 500;
    margin-top: 4px;
}

/* Footer locations column */
.footer-locations-col {
    text-align: center;
}

.locations-heading-center {
    color: var(--color-white);
    font-size: var(--font-size-base);
    margin: var(--space-sm) 0;
    text-align: center;
}

.footer-address {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.footer-loc strong a {
    color: var(--color-primary-light);
    text-decoration: none;
}

.footer-loc strong a:hover {
    color: var(--color-white);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background-color: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    min-height: 48px; /* Touch target */
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(78, 170, 179, 0.2);
}

.form-input::placeholder {
    color: var(--color-text-light);
}

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

.form-error {
    color: var(--color-error);
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
}

.form-success {
    background-color: var(--color-success);
    color: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: var(--space-md);
}

/* ============================================
   CARDS (Generic)
   ============================================ */
.card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.card-header {
    margin-bottom: var(--space-md);
}

.card-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xs);
}

/* ============================================
   RESPONSIVE: TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
    :root {
        --font-size-base: 16px;
    }

    h1 {
        font-size: var(--font-size-4xl);
    }

    h2 {
        font-size: var(--font-size-3xl);
    }

    .container {
        padding: 0 var(--space-lg);
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    /* Header */
    .logo-text {
        display: block;
    }

    /* Hero */
    .hero {
        padding: var(--space-3xl) 0;
    }

    .hero h1 {
        font-size: var(--font-size-4xl);
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .hero-mascot {
        max-width: 280px;
    }

    /* Trust Bar */
    .trust-items {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-2xl);
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    /* Locations */
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .location-buttons {
        flex-direction: row;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        max-width: none;
    }

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ============================================
   RESPONSIVE: DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    h1 {
        font-size: var(--font-size-5xl);
    }

    /* Header - Two-tier layout */
    .header-top {
        padding: var(--space-lg) 0 var(--space-sm);
    }

    .logo img {
        height: 70px;
        max-width: 320px;
    }

    .header-cta-box {
        display: flex; /* Show on desktop */
    }

    .nav-toggle {
        display: none;
    }

    .nav-main {
        display: flex;
        justify-content: center;
        align-items: center;
        position: static;
        box-shadow: none;
        padding: var(--space-sm) 0;
        background: transparent;
        border-top: 1px solid var(--color-border);
    }

    .nav-list {
        display: flex;
        gap: var(--space-xs);
        justify-content: center;
    }

    .nav-link {
        padding: var(--space-sm) var(--space-md);
        border-bottom: none;
        border-radius: var(--border-radius);
        font-size: var(--font-size-sm);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .nav-link:hover {
        background-color: var(--color-primary-light);
    }

    .lang-toggle {
        margin-left: var(--space-lg);
    }

    /* Dropdown on desktop */
    .nav-dropdown {
        position: relative;
    }

    .nav-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background-color: var(--color-white);
        box-shadow: var(--shadow-lg);
        border-radius: var(--border-radius);
        padding: var(--space-sm) 0;
        z-index: 50;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--font-size-base);
    }

    .nav-dropdown-menu a:hover {
        background-color: var(--color-primary-light);
    }

    .header-cta {
        display: block;
    }

    /* Hero */
    .hero {
        padding: var(--space-4xl) 0;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero h1 {
        font-size: var(--font-size-5xl);
    }

    .hero-mascot {
        max-width: 320px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 2x2 Grid for 4-item sections */
    .services-grid.grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Center last row items in 3-column grids */
    .services-grid.center-last-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .services-grid.center-last-row > * {
        flex: 0 0 calc(33.333% - var(--space-lg));
        max-width: calc(33.333% - var(--space-lg));
        margin: calc(var(--space-lg) / 2);
    }

    /* Locations */
    .locations-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

/* ============================================
   RESPONSIVE: LARGE DESKTOP (1280px+)
   ============================================ */
@media (min-width: 1280px) {
    .container {
        padding: 0 var(--space-xl);
    }

    /* Restore full nav padding on larger screens */
    .nav-link {
        padding: var(--space-sm) var(--space-md);
    }

    /* Ensure header CTA doesn't shrink */
    .header-cta {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .services-grid {
        gap: var(--space-xl);
    }

    .locations-grid {
        gap: var(--space-xl);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header,
    .footer,
    .nav-main,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ============================================
   PREMIUM POLISH - Animations & Micro-interactions
   ============================================ */

/* Fade-in on scroll */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(n+7) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }

/* Card hover lift effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Image zoom on hover */
.img-zoom {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.img-zoom img {
    transition: transform 0.4s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Button premium hover */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 170, 179, 0.4);
}

.btn:active {
    transform: translateY(0);
}

/* Link underline animation */
.link-animated {
    position: relative;
    text-decoration: none;
}

.link-animated::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.link-animated:hover::after {
    width: 100%;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #3D8A92 0%, #4EAAB3 50%, #5BB8C0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Accent gradient text (warmer) */
.gradient-text-accent {
    background: linear-gradient(135deg, #4EAAB3 0%, #3D8A92 40%, #2D6A70 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pulse animation for CTAs */
@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(78, 170, 179, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(78, 170, 179, 0); }
}

.pulse-cta {
    animation: subtle-pulse 2s infinite;
}

/* Focus ring for accessibility (premium look) */
.btn:focus-visible,
.nav-link:focus-visible,
a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-white), 0 0 0 5px var(--color-primary);
}

/* Smooth section dividers */
.section-wave {
    position: relative;
}

.section-wave::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

/* Floating animation for mascots */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.mascot-float {
    animation: float 3s ease-in-out infinite;
}

/* Mascot image styling - polished look */
.hero-mascot img,
.mascot-img {
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.hero-mascot:hover img {
    transform: scale(1.05);
}

/* Mascot in cards - smaller, centered */
.mascot-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

/* Inline mascot (like at bottom of sections) */
.mascot-inline {
    display: inline-block;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.12));
    transition: transform 0.3s ease;
}

.mascot-inline:hover {
    transform: translateY(-5px);
}

/* Icon container with background */
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--color-primary-light);
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    transition: all 0.3s ease;
}

/* Stats counter style */
.stat-item {
    text-align: center;
    padding: var(--space-lg);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonial card enhanced */
.testimonial-card-enhanced {
    position: relative;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.testimonial-card-enhanced::before {
    content: '"';
    position: absolute;
    top: var(--space-md);
    left: var(--space-lg);
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--color-primary-light);
    line-height: 1;
}

/* Badge style */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: 50px;
}

.badge-accent {
    background: var(--color-accent);
    color: var(--color-white);
}

/* Decorative dots pattern */
.pattern-dots {
    background-image: radial-gradient(var(--color-primary-light) 2px, transparent 2px);
    background-size: 20px 20px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.text-primary { color: var(--color-primary); }
.text-white { color: var(--color-white); }
.text-light { color: var(--color-text-light); }

.bg-primary { background: var(--gradient-primary); }
.bg-primary-light { background-color: var(--color-primary-light); }
.bg-white { background-color: var(--color-white); }
.bg-off-white { background-color: var(--color-off-white); }

/* ============================================
   BLOG STYLES
   ============================================ */

/* Blog Layout - Sidebar + Main */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.blog-main {
    min-width: 0; /* Prevent overflow */
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

/* Blog Card */
.blog-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image img {
    width: auto;
    height: 80%;
    max-width: 80%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

.blog-card-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-sm);
}

.blog-card-category {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 50px;
    font-weight: 600;
}

.blog-card-date {
    color: var(--color-text-light);
}

.blog-card-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.blog-card-title a:hover {
    color: var(--color-primary);
}

.blog-card-excerpt {
    color: var(--color-text-light);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-md);
    flex: 1;
}

.blog-card-link {
    font-weight: 600;
    color: var(--color-primary);
    align-self: flex-start;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.sidebar-widget {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
    color: var(--color-text);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary-light);
}

/* Sidebar Categories */
.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-categories li:last-child {
    border-bottom: none;
}

.sidebar-categories a {
    color: var(--color-text);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.sidebar-categories a:hover {
    color: var(--color-primary);
}

.category-count {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-size: var(--font-size-sm);
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 50px;
    min-width: 28px;
    text-align: center;
}

/* Sidebar Mascot */
.sidebar-mascot {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-white) 100%);
}

.sidebar-mascot img {
    margin: 0 auto var(--space-md);
}

.sidebar-mascot p {
    margin-bottom: var(--space-md);
    font-weight: 500;
}

/* Sidebar Newsletter */
.sidebar-newsletter p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
}

.sidebar-newsletter .form-input {
    margin-bottom: var(--space-sm);
}

/* Sidebar Links */
.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: var(--space-sm);
}

.sidebar-links a {
    color: var(--color-text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: color var(--transition-fast);
}

.sidebar-links a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.sidebar-links a:hover {
    color: var(--color-primary);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
}

.pagination-current,
.pagination-link,
.pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.pagination-current {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.pagination-link {
    background-color: var(--color-white);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.pagination-link:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination-next {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.pagination-next:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   BLOG RESPONSIVE STYLES
   ============================================ */

/* Tablet: 2-column blog grid */
@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: Sidebar layout + 2-column grid */
@media (min-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr 320px;
    }

    .blog-sidebar {
        position: sticky;
        top: var(--space-lg);
        height: fit-content;
    }
}

/* Large Desktop: 3-column blog grid */
@media (min-width: 1280px) {
    .blog-layout {
        grid-template-columns: 1fr 350px;
    }

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

/* ============================================
   NEW PATIENTS PAGE STYLES
   ============================================ */

/* First Visit Steps */
.first-visit-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.step-card {
    position: relative;
    padding-left: calc(var(--space-3xl) + var(--space-lg));
}

.step-number {
    position: absolute;
    left: var(--space-lg);
    top: var(--space-lg);
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.step-card h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.step-card p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Two Column Grid */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

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

.checklist-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 700;
}

/* Insurance Grid */
.insurance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.insurance-list,
.payment-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0 0 0;
}

.insurance-list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-light);
}

.insurance-list li:last-child {
    border-bottom: none;
}

.payment-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
}

.payment-icon {
    color: var(--color-primary);
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.tip-card {
    text-align: center;
}

.tip-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
}

.tip-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.tip-card p {
    color: var(--color-text-light);
    margin-bottom: 0;
    font-size: var(--font-size-sm);
}

/* ============================================
   NEW PATIENTS RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (min-width: 768px) {
    .first-visit-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .two-column-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .first-visit-steps {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

/* ============================================
   ACCORDION COMPONENT
   ============================================ */
.accordion {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    background: var(--color-white);
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-primary-dark);
    text-align: left;
    transition: background-color var(--transition-fast);
}

.accordion-trigger:hover {
    background-color: var(--color-primary-light);
}

.accordion-trigger:focus {
    outline: none;
}

.accordion-trigger:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.accordion-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    transition: transform var(--transition-normal);
}

.accordion-icon::before {
    content: '+';
}

.accordion-item.is-open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.accordion-body {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text);
    line-height: 1.7;
}

.accordion-body p {
    margin-bottom: var(--space-md);
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.accordion-body h4 {
    color: var(--color-primary-dark);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.accordion-body ul {
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.accordion-body li {
    margin-bottom: var(--space-xs);
}

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 550px;
    overflow: visible;
}

.hero-carousel .hero-cta-bubbles {
    position: absolute;
    bottom: -118px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

/* Mobile CTA Bubbles */
@media (max-width: 768px) {
    .hero-carousel .hero-cta-bubbles {
        bottom: -100px;
        gap: var(--space-md);
        width: 95%;
    }

    .cta-bubble {
        padding: var(--space-md) var(--space-lg);
        min-width: 120px;
    }

    .cta-bubble-icon {
        font-size: 1.1rem;
    }

    .cta-bubble-text {
        font-size: 12px;
    }

    .cta-bubble-text strong {
        font-size: var(--font-size-base);
    }

    .cta-bubble-primary {
        transform: scale(1.05) translateY(-3px);
    }

    .cta-bubble-primary:hover {
        transform: scale(1.08) translateY(-5px);
    }
}

@media (max-width: 480px) {
    .hero-carousel .hero-cta-bubbles {
        bottom: -90px;
        gap: var(--space-sm);
        width: 98%;
    }

    .cta-bubble {
        padding: var(--space-sm) var(--space-md);
        min-width: 100px;
        border-radius: 12px;
    }

    .cta-bubble-icon {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    .cta-bubble-text {
        font-size: 11px;
    }

    .cta-bubble-text strong {
        font-size: var(--font-size-sm);
        margin-bottom: 1px;
    }

    .cta-bubble-primary {
        transform: scale(1.02) translateY(-2px);
    }
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 78, 86, 0.3) 0%, rgba(0, 78, 86, 0.15) 50%, transparent 100%);
}

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

.hero-slide .hero-content {
    max-width: 600px;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slide .hero-content h1 {
    color: var(--color-white);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

.hero-slide .hero-content h1 span {
    color: var(--color-accent);
}

.hero-slide .hero-subtitle {
    font-size: var(--font-size-lg);
    opacity: 0.95;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.hero-dot:hover,
.hero-dot.active {
    background: var(--color-white);
}

.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    font-size: var(--font-size-xl);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.hero-btn:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.hero-btn.prev {
    left: var(--space-lg);
}

.hero-btn.next {
    right: var(--space-lg);
}

/* Hero Carousel Responsive */
@media (max-width: 768px) {
    .hero-carousel {
        min-height: 450px;
    }

    .hero-slide .hero-content h1 {
        font-size: var(--font-size-2xl);
    }

    .hero-slide .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .hero-btn {
        width: 40px;
        height: 40px;
    }

    .hero-btn.prev {
        left: var(--space-sm);
    }

    .hero-btn.next {
        right: var(--space-sm);
    }
}

/* ============================================
   HERO CTA BUTTONS (3 circles)
   ============================================ */
.hero-ctas {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: calc(-60px);
    position: relative;
    z-index: 20;
    padding: 0 var(--space-md);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--color-white);
    text-decoration: none;
    text-align: center;
    padding: var(--space-md);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.hero-cta:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.hero-cta-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-xs);
    opacity: 0.9;
}

.hero-cta-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: 1.2;
}

.hero-cta-text em {
    font-style: italic;
    display: block;
}

/* Hero CTAs Responsive */
@media (max-width: 768px) {
    .hero-ctas {
        gap: var(--space-md);
        margin-top: -50px;
    }

    .hero-cta {
        width: 110px;
        height: 110px;
        padding: var(--space-sm);
    }

    .hero-cta-icon {
        font-size: var(--font-size-2xl);
    }

    .hero-cta-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        gap: var(--space-sm);
        margin-top: -40px;
    }

    .hero-cta {
        width: 95px;
        height: 95px;
    }

    .hero-cta-icon {
        font-size: var(--font-size-xl);
    }

    .hero-cta-text {
        font-size: 11px;
    }
}

/* ============================================
   PAGE HERO BANNER (Script Title + Background)
   ============================================ */
.page-hero {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0.9) 85%,
        rgba(255,255,255,1) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--space-lg) 0;
    text-align: center;
}

/* Script/Cursive Title Style */
.script-title {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    font-weight: 400;
    color: var(--color-primary-dark);
    margin-bottom: 0;
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

@media (min-width: 768px) {
    .page-hero {
        height: 400px;
    }

    .script-title {
        font-size: 5rem;
    }
}

@media (min-width: 1024px) {
    .page-hero {
        height: 450px;
    }

    .script-title {
        font-size: 6rem;
    }
}

/* Page Layout with Sidebar */
.page-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 1024px) {
    .page-layout {
        grid-template-columns: 1fr 280px;
    }
}

/* Location Sidebar */
.location-sidebar {
    background: var(--color-off-white);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    height: fit-content;
}

.location-sidebar h4 {
    color: var(--color-primary-dark);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-lg);
}

.location-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-sidebar li {
    margin-bottom: var(--space-sm);
}

.location-sidebar a {
    color: var(--color-primary);
    font-size: var(--font-size-sm);
}

.location-sidebar a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Accordion Enhancements for Services Style */
.accordion--services {
    border: none;
    border-radius: 0;
}

.accordion--services .accordion-item {
    border: none;
    border-bottom: 1px solid var(--color-border);
}

.accordion--services .accordion-trigger {
    padding: var(--space-lg) 0;
    background: transparent;
    font-size: var(--font-size-lg);
}

.accordion--services .accordion-trigger:hover {
    background: transparent;
    color: var(--color-primary);
}

.accordion--services .accordion-icon {
    width: 28px;
    height: 28px;
    font-size: var(--font-size-2xl);
    color: var(--color-primary);
}

.accordion--services .accordion-body {
    padding: var(--space-lg) var(--space-xl) var(--space-xl) var(--space-xl);
    background-color: var(--color-background);
    border-left: 3px solid var(--color-primary-light);
    margin-left: var(--space-md);
}

/* Office Photo Gallery */
.office-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.office-gallery-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.office-gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.office-gallery-item.featured {
    grid-column: 1 / -1;
}

.office-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.office-gallery-item.featured img {
    height: 350px;
}

@media (min-width: 768px) {
    .office-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .office-gallery-item img {
        height: 280px;
    }

    .office-gallery-item.featured img {
        height: 380px;
    }
}

@media (min-width: 1024px) {
    .office-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .office-gallery-item img {
        height: 260px;
    }

    .office-gallery-item.featured img {
        height: 360px;
    }
}
