/* =========================================
   RAVI'S DENTAL CARE - Main Stylesheet
   Matched to Figma Design
   ========================================= */

/* --- CSS Variables --- */
:root {
    --primary: #0A6EBD;
    --primary-dark: #084B7F;
    --primary-light: #E8F4FD;
    --secondary: #12B886;
    --accent: #F59E0B;
    --dark: #0F1B2D;
    --dark-2: #132238;
    --gray-900: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-400: #9CA3AF;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --danger: #DC2626;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-script: 'Playfair Display', Georgia, serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.3;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
p { margin-bottom: 1rem; }

/* Accent/script text used in headings */
.accent-text, .section-header h2 span, .hero h1 span {
    font-family: var(--font-script);
    font-style: italic;
    font-weight: 500;
}

/* --- Utility --- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.link { color: var(--primary); font-weight: 600; border-bottom: 2px solid transparent; }
.link:hover { border-bottom-color: var(--primary); }
.required { color: var(--danger); }
.alt-bg { background: var(--gray-50); }

/* --- Skip Link --- */
.skip-link {
    position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: var(--white); padding: 8px 16px;
    border-radius: var(--radius); z-index: 10000; font-weight: 600;
}
.skip-link:focus { top: 10px; color: var(--white); }

/* --- Section --- */
.section { padding: 90px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-tag {
    display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--primary);
    text-transform: uppercase; letter-spacing: 3px; margin-bottom: 12px;
    font-family: var(--font-body);
    background: var(--primary-light); padding: 6px 16px; border-radius: 50px;
}
.section-header h2 { margin-bottom: 8px; }
.section-header h2 span { color: var(--primary); }
.section-header p { color: var(--gray-600); margin-top: 12px; font-size: 0.95rem; }

/* =========================================
   NAVBAR
   ========================================= */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.navbar {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex; align-items: center; gap: 10px; color: var(--dark);
    text-decoration: none;
}
.logo-icon { font-size: 1.8rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 1.15rem; letter-spacing: 1px; color: var(--primary); font-family: var(--font-body); }
.logo-text small { font-size: 0.52rem; letter-spacing: 0.5px; color: var(--gray-600); text-transform: uppercase; }

.nav-menu {
    display: flex; align-items: center; gap: 4px;
}
.nav-menu a {
    padding: 8px 16px; font-size: 0.9rem; font-weight: 500; color: var(--gray-700);
    border-radius: var(--radius); transition: all var(--transition); font-family: var(--font-body);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: var(--primary-light); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all var(--transition); border: 1px solid var(--gray-100);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 20px; font-size: 0.88rem; border-radius: 0; }
.dropdown a:hover { background: var(--primary-light); }
.dropdown-arrow { font-size: 0.7rem; margin-left: 2px; }

/* Nav CTA */
.nav-cta a.btn { padding: 10px 24px; font-size: 0.85rem; border-radius: 50px; }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 24px; height: 2px; background: var(--dark);
    transition: all var(--transition); position: relative;
}
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; font-size: 0.95rem; font-weight: 600; font-family: var(--font-body);
    border: 2px solid transparent; border-radius: 50px; cursor: pointer;
    transition: all var(--transition); text-decoration: none; line-height: 1.4;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10,110,189,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-danger:hover { background: #B91C1C; border-color: #B91C1C; color: var(--white); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

/* =========================================
   HERO — Two-column with team photo
   ========================================= */
.hero {
    position: relative; min-height: 620px; display: flex; align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--primary-dark) 100%);
    padding: 110px 0 0; overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 2;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(10,110,189,0.15) 0%, transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content {
    position: relative; z-index: 1; color: var(--white);
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
    padding-bottom: 80px;
}
.hero-text { max-width: 540px; }
.hero h1 { color: var(--white); margin-bottom: 16px; line-height: 1.2; }
.hero h1 span { color: var(--accent); font-style: italic; }
.hero-subtitle { font-size: 1.05rem; opacity: 0.85; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 0; }
.hero-image {
    display: flex; justify-content: flex-end; align-items: flex-end;
}
.hero-image img {
    max-height: 480px; border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    object-fit: cover;
}
.hero-image-placeholder {
    width: 100%; height: 400px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; opacity: 0.3;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Hero stats bar — below hero */
.hero-stats-bar {
    background: var(--white); padding: 30px 0;
    position: relative; z-index: 3;
    margin-top: -40px;
}
.hero-stats-bar .container {
    display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary); font-family: var(--font-heading); }
.hero-stat span { font-size: 0.78rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 1px; }

/* Old hero-stats (in hero component) */
.hero-stats {
    display: flex; gap: 32px; flex-wrap: wrap; padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats .stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.hero-stats .stat span { font-size: 0.82rem; opacity: 0.8; text-transform: uppercase; letter-spacing: 1px; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 20px; }
.breadcrumb ol { display: flex; gap: 8px; align-items: center; font-size: 0.88rem; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; opacity: 0.5; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li:last-child { opacity: 0.7; }

/* =========================================
   WELCOME / ABOUT INTRO
   ========================================= */
.welcome-section { padding: 80px 0 60px; text-align: center; }
.welcome-section .section-tag { margin-bottom: 16px; }
.welcome-section h2 { margin-bottom: 20px; }
.welcome-section h2 span { color: var(--primary); font-style: italic; }
.welcome-text { max-width: 800px; margin: 0 auto 40px; color: var(--gray-600); font-size: 0.95rem; line-height: 1.8; }
.welcome-stats {
    display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
    padding-top: 30px; border-top: 1px solid var(--gray-200);
}
.welcome-stat { text-align: center; display: flex; align-items: center; gap: 12px; }
.welcome-stat-icon {
    width: 44px; height: 44px; border-radius: 50%; background: var(--primary-light);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.welcome-stat div strong { display: block; font-size: 1.2rem; color: var(--dark); }
.welcome-stat div span { font-size: 0.75rem; color: var(--gray-600); }

/* =========================================
   MARQUEE / TICKER
   ========================================= */
.marquee-section {
    padding: 20px 0; overflow: hidden; background: var(--white);
    border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100);
}
.marquee-track {
    display: flex; gap: 60px; animation: marquee 20s linear infinite;
    white-space: nowrap;
}
.marquee-track span {
    font-size: 1.6rem; font-family: var(--font-heading); font-weight: 600;
    color: var(--gray-200); flex-shrink: 0;
}
.marquee-track span.filled { color: var(--dark); }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   PROMISES / WHAT MAKES US DIFFERENT
   ========================================= */
.promises { background: var(--white); }
.promises-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.promise-card {
    background: var(--white); padding: 28px 24px; border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200); transition: all var(--transition);
}
.promise-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.promise-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.promise-card p { color: var(--gray-600); font-size: 0.88rem; margin: 0; line-height: 1.6; }

/* =========================================
   SERVICES — Cards with image tops
   ========================================= */
.services-section { background: var(--gray-50); }
.services-section .section-header { text-align: left; max-width: 500px; margin-left: 0; }
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.service-card {
    display: block; background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200); transition: all var(--transition); text-decoration: none;
    color: var(--gray-700); overflow: hidden;
}
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-6px); color: var(--gray-700); }
.service-card-img {
    height: 200px; background: var(--primary-light);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; }
.service-icon { font-size: 3rem; }
.service-card-body { padding: 24px; }
.service-card h3 { margin-bottom: 8px; color: var(--dark); font-size: 1.1rem; }
.service-card p { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 12px; line-height: 1.6; }
.service-link { font-size: 0.85rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }

/* =========================================
   BEFORE & AFTER
   ========================================= */
.before-after { background: var(--dark); color: var(--white); padding: 80px 0; }
.before-after .section-header h2 { color: var(--white); }
.before-after .section-header h2 span { color: var(--accent); font-style: italic; }
.before-after .section-header p { color: rgba(255,255,255,0.7); }
.before-after .section-tag { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }
.cases-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px;
}
.case-card {
    background: rgba(255,255,255,0.06); padding: 28px; border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1); text-align: center;
    backdrop-filter: blur(4px); transition: all var(--transition);
}
.case-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.case-icon { font-size: 2rem; margin-bottom: 12px; }
.case-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--white); }
.case-card p { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin: 0; }
.before-after .text-center a.link { color: var(--accent); border-bottom-color: transparent; }
.before-after .text-center a.link:hover { border-bottom-color: var(--accent); }
.before-after .text-center { color: rgba(255,255,255,0.7); }

/* =========================================
   STATS
   ========================================= */
.stats-section { background: var(--gray-50); padding: 60px 0; }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; }
.stat-card { text-align: center; }
.stat-card strong {
    display: block; font-size: 2.8rem; font-weight: 800;
    color: var(--dark); font-family: var(--font-heading);
}
.stat-card span { font-size: 0.82rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   WHY US
   ========================================= */
.why-us { background: var(--white); }
.why-us-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px;
}
.why-card {
    background: var(--gray-50); padding: 28px; border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100); transition: all var(--transition);
    display: flex; gap: 16px; align-items: flex-start;
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); background: var(--white); border-color: var(--gray-200); }
.why-icon {
    font-size: 1.6rem; flex-shrink: 0;
    width: 50px; height: 50px; border-radius: 12px;
    background: var(--primary-light); display: flex; align-items: center; justify-content: center;
}
.why-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.why-card p { color: var(--gray-600); font-size: 0.88rem; margin: 0; line-height: 1.6; }

/* =========================================
   DOCTORS
   ========================================= */
.doctors-section { background: var(--gray-50); }
.doctors-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
}
.doctor-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--gray-200); text-align: center; transition: all var(--transition);
}
.doctor-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.doctor-photo {
    background: linear-gradient(135deg, var(--primary-light), #dbeafe);
    height: 220px; display: flex; align-items: center; justify-content: center;
}
.doctor-placeholder {
    width: 100px; height: 100px; border-radius: 50%;
    background: var(--primary); color: var(--white); font-size: 2rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.doctor-info { padding: 20px; }
.doctor-info h3 { font-size: 1rem; margin-bottom: 4px; }
.doctor-specialty { font-size: 0.82rem; color: var(--primary); font-weight: 500; margin-bottom: 2px; }
.doctor-role { font-size: 0.78rem; color: var(--gray-400); margin: 0; }

/* =========================================
   EMERGENCY
   ========================================= */
.emergency-section { background: var(--white); }
.emergency-box {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    color: var(--white); padding: 60px; border-radius: var(--radius-xl);
    text-align: center; position: relative; overflow: hidden;
}
.emergency-box::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(10,110,189,0.2), transparent 70%);
    border-radius: 50%;
}
.emergency-box h2 { color: var(--white); margin-bottom: 16px; position: relative; }
.emergency-box > p { opacity: 0.85; max-width: 600px; margin: 0 auto 28px; position: relative; }
.emergency-cases { margin-bottom: 30px; position: relative; }
.emergency-cases ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.emergency-cases li {
    background: rgba(255,255,255,0.08); padding: 10px 24px; border-radius: 50px;
    font-size: 0.88rem; border: 1px solid rgba(255,255,255,0.1);
}
.emergency-box .btn { position: relative; }

/* =========================================
   CERTIFICATIONS
   ========================================= */
.certifications { background: var(--primary-light); }
.cert-list { max-width: 700px; margin: 0 auto; }
.cert-item {
    padding: 18px 24px; margin-bottom: 12px; background: var(--white);
    border-radius: var(--radius-lg); border: 1px solid rgba(10,110,189,0.1);
    font-size: 0.92rem; box-shadow: var(--shadow-sm);
}

/* =========================================
   FAQ
   ========================================= */
.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    margin-bottom: 12px; overflow: hidden; background: var(--white);
    transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
    padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; font-weight: 600; font-size: 0.95rem; color: var(--dark);
    list-style: none; font-family: var(--font-body);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
    font-size: 1.4rem; color: var(--primary); transition: transform var(--transition);
    font-weight: 300; flex-shrink: 0; margin-left: 16px;
}
details[open] .faq-icon { transform: rotate(45deg); }
details[open] .faq-question { border-bottom: 1px solid var(--gray-100); color: var(--primary); }
.faq-answer { padding: 18px 24px; font-size: 0.92rem; color: var(--gray-600); line-height: 1.7; }
.faq-answer p { margin: 0; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials { background: var(--gray-50); }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.testimonial-card {
    background: var(--white); padding: 30px; border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200); transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card blockquote p { font-size: 0.92rem; color: var(--gray-600); font-style: italic; margin: 0 0 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%; background: var(--primary);
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
}
.testimonial-author strong { display: block; font-size: 0.92rem; color: var(--dark); }
.testimonial-author span { font-size: 0.8rem; color: var(--gray-400); }

/* =========================================
   CTA / BOOK APPOINTMENT SECTION
   ========================================= */
.cta-section { padding: 0; }
.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white); padding: 70px 40px; border-radius: 0;
    text-align: center;
}
.cta-box h2 { color: var(--white); margin-bottom: 12px; }
.cta-box p { opacity: 0.9; max-width: 550px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Appointment form section (homepage) */
.appointment-section { background: var(--gray-50); padding: 80px 0; }
.appointment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.appointment-info h2 { margin-bottom: 16px; }
.appointment-info p { color: var(--gray-600); margin-bottom: 24px; }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start;
}
.contact-card {
    padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
    margin-bottom: 16px; background: var(--white);
}
.contact-card h3 { font-size: 1rem; margin-bottom: 10px; font-family: var(--font-body); }
.contact-card address { font-style: normal; font-size: 0.92rem; color: var(--gray-600); line-height: 1.7; }
.contact-card p { font-size: 0.92rem; margin: 4px 0; }
.emergency-card { border-color: var(--danger); background: #FEF2F2; }

.hours-table { width: 100%; font-size: 0.9rem; }
.hours-table td { padding: 6px 0; color: var(--gray-600); }
.hours-table td:last-child { text-align: right; font-weight: 600; }

/* Form */
.contact-form-wrap {
    background: var(--white); padding: 40px; border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200); box-shadow: var(--shadow-lg);
}
.contact-form-wrap h2 { margin-bottom: 24px; font-size: 1.6rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 13px 16px; border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); font-size: 0.92rem; font-family: var(--font-body);
    transition: border-color var(--transition); background: var(--gray-50);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,110,189,0.1);
    background: var(--white);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.82rem; color: var(--gray-400); margin-top: 12px; text-align: center; }

/* Map */
.map-section iframe { display: block; width: 100%; }

/* =========================================
   SERVICE DETAIL PAGE
   ========================================= */
.service-detail { max-width: 800px; }
.service-detail h2 { margin-bottom: 16px; }
.service-detail h3 { margin: 32px 0 16px; }
.check-list { padding-left: 0; }
.check-list li {
    padding: 8px 0 8px 32px; position: relative; font-size: 0.95rem;
}
.check-list li::before {
    content: '✓'; position: absolute; left: 0; color: var(--secondary); font-weight: 700;
    font-size: 1.1rem;
}

/* Process Steps */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 20px 0; }
.step {
    background: var(--gray-50); padding: 28px 24px; border-radius: var(--radius-lg);
    position: relative; padding-top: 40px; border: 1px solid var(--gray-100);
}
.step span:first-child {
    position: absolute; top: -12px; left: 24px; width: 36px; height: 36px;
    background: var(--primary); color: var(--white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
}
.step h4 { margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: 0.88rem; color: var(--gray-600); margin: 0; }

/* Comparison Table */
.comparison-table { overflow-x: auto; margin: 20px 0; }
.comparison-table table { width: 100%; border-collapse: collapse; border-radius: var(--radius-lg); overflow: hidden; }
.comparison-table th, .comparison-table td {
    padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}
.comparison-table th { background: var(--primary); color: var(--white); font-weight: 600; }
.comparison-table tr:hover { background: var(--gray-50); }

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-content { max-width: 800px; margin: 0 auto; }
.about-text p { font-size: 1.05rem; line-height: 1.8; }
.about-highlights {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px;
    margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--gray-200);
}
.highlight { text-align: center; }
.highlight strong { display: block; font-size: 2rem; color: var(--primary); font-weight: 800; }
.highlight span { font-size: 0.82rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: var(--dark); color: rgba(255,255,255,0.75); padding: 70px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px;
    padding-bottom: 40px;
}
.footer-about p { font-size: 0.88rem; margin-top: 16px; line-height: 1.7; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.footer-logo .logo-text strong { color: var(--white); }
.footer-logo .logo-text small { color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center; font-size: 0.75rem;
    color: rgba(255,255,255,0.6); transition: all var(--transition);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.footer-col h3 {
    color: var(--white); font-size: 1rem; margin-bottom: 20px;
    font-family: var(--font-body); font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.55); font-size: 0.88rem; }
.footer-col ul a:hover { color: var(--white); }
.footer-col address p { font-size: 0.88rem; margin-bottom: 12px; line-height: 1.6; }
.footer-col address a { color: rgba(255,255,255,0.55); }
.footer-col address a:hover { color: var(--white); }
.footer-col address strong { color: rgba(255,255,255,0.85); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; }
.emergency-link { color: var(--danger) !important; font-weight: 600; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--white); }

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
    border-radius: 50%; background: var(--primary); color: var(--white);
    border: none; cursor: pointer; font-size: 1.2rem; box-shadow: 0 4px 15px rgba(10,110,189,0.4);
    opacity: 0; visibility: hidden; transition: all var(--transition); z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
