/* ============================================
   BROAD RIPPLE CHIROPRACTIC
   Custom Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-teal-50: #f0fdfa;
    --color-teal-100: #ccfbf1;
    --color-teal-200: #99f6e4;
    --color-teal-300: #5eead4;
    --color-teal-400: #2dd4bf;
    --color-teal-500: #14b8a6;
    --color-teal-600: #0d9488;
    --color-teal-700: #0f766e;
    --color-teal-800: #115e59;
    --color-teal-900: #134e4a;

    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;

    --color-cream: #faf9f6;
    --color-warm-white: #fefdfb;

    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 20px 50px -12px rgba(15, 23, 42, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-slate-700);
    background-color: var(--color-warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--color-teal-700);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 500;
}

.skip-link:focus {
    top: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: var(--color-teal-600);
    color: white;
    border-color: var(--color-teal-600);
}

.btn-primary:hover {
    background: var(--color-teal-700);
    border-color: var(--color-teal-700);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.0625rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--color-slate-800);
    line-height: 1.2;
    font-weight: 600;
}

/* --- Section Headers --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-teal-600);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-teal-400);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--color-slate-500);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254, 253, 251, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(254, 253, 251, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-slate-800);
}

.logo-icon {
    color: var(--color-teal-600);
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.logo-accent {
    color: var(--color-teal-600);
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-slate-600);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-teal-500);
    border-radius: 2px;
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--color-teal-700);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-slate-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-slate-800);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.78) 0%,
        rgba(13, 148, 136, 0.65) 50%,
        rgba(15, 23, 42, 0.72) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 500;
}

.trust-item svg {
    color: var(--color-teal-300);
    flex-shrink: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--color-cream);
}

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

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-base);
    border: 1px solid var(--color-slate-100);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-teal-50), var(--color-teal-100));
    border-radius: var(--radius-md);
    color: var(--color-teal-600);
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--color-teal-600), var(--color-teal-700));
    color: white;
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-slate-800);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--color-slate-500);
    line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    background: white;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600/750;
}

.about-img-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid white;
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 400/500;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--color-teal-600);
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .exp-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
}

.about-experience-badge .exp-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.about-content {
    max-width: 520px;
}

.about-lead {
    font-size: 1.125rem;
    color: var(--color-slate-700);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-content p {
    color: var(--color-slate-500);
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-teal-50);
    border-radius: var(--radius-sm);
    color: var(--color-teal-600);
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-slate-800);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.875rem;
    color: var(--color-slate-500);
    line-height: 1.5;
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-teal-800) 0%, var(--color-teal-900) 50%, var(--color-slate-800) 100%);
    color: white;
}

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

.philosophy-quote {
    position: relative;
    margin-bottom: 56px;
}

.philosophy-quote .quote-mark {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-teal-300);
}

.philosophy-quote blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    font-weight: 500;
    color: white;
    line-height: 1.6;
    padding: 0 20px;
}

.philosophy-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-teal-300);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--color-cream);
}

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

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--color-slate-100);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #f59e0b;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--color-slate-600);
    line-height: 1.8;
    flex: 1;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-teal-100);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-slate-800);
}

.author-detail {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-slate-400);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 100px 0;
    background: white;
}

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

.contact-lead {
    font-size: 1.0625rem;
    color: var(--color-slate-500);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-teal-50), var(--color-teal-100));
    border-radius: var(--radius-md);
    color: var(--color-teal-600);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    color: var(--color-slate-800);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--color-slate-500);
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-teal-600);
}

.contact-item a:hover {
    color: var(--color-teal-700);
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Form */
.contact-form-wrapper {
    max-width: 520px;
    margin-left: auto;
}

.form-card {
    background: var(--color-cream);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--color-slate-100);
}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9375rem;
    color: var(--color-slate-500);
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-slate-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-slate-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-slate-800);
    background: white;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-teal-500);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

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

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-teal-50), var(--color-teal-100));
    border-radius: 50%;
    margin: 0 auto 20px;
    color: var(--color-teal-600);
}

.form-success h4 {
    font-size: 1.375rem;
    margin-bottom: 8px;
    color: var(--color-slate-800);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--color-slate-500);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-slate-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.logo-footer {
    color: white;
}

.logo-footer .logo-accent {
    color: var(--color-teal-400);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-teal-400);
}

.footer-contact p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--color-teal-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* Progressive enhancement: only animate if user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .about-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-warm-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.0625rem;
    }

    .hero-content {
        padding: 100px 0 60px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .hero-trust {
        gap: 16px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about-img-accent {
        right: -16px;
        bottom: -24px;
    }

    .about-experience-badge {
        right: 16px;
        top: -12px;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrapper {
        margin-left: 0;
    }

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

    .philosophy-stats {
        gap: 32px;
    }

    .stat-divider {
        display: none;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .hero-title {
        font-size: 1.75rem;
    }

    .form-card {
        padding: 24px;
    }

    .section-header {
        margin-bottom: 48px;
    }
}
