/* ============================================
   DentalCare - Main Stylesheet
   Premium Dental Clinic Website
   ============================================ */

:root {
    --primary: #1a6b8a;
    --secondary: #2ec4b6;
    --accent: #ff9f1c;
    --dark: #0d2137;
    --text: #2d3748;
    --text-light: #718096;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-blue: #eef7fb;
    --border: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(26, 107, 138, 0.08);
    --shadow-md: 0 8px 40px rgba(26, 107, 138, 0.12);
    --shadow-lg: 0 20px 60px rgba(26, 107, 138, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Global list reset — prevents bullet points appearing outside of content areas */
ul, ol { list-style: none; }

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
    color: var(--dark);
    font-weight: 600;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; }

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 50px; font-family: 'DM Sans', sans-serif;
    font-weight: 600; font-size: 15px; border: 2px solid transparent;
    cursor: pointer; transition: var(--transition); text-decoration: none;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: transparent; color: var(--primary); }
.btn-secondary { background: var(--secondary); color: white; border-color: var(--secondary); }
.btn-secondary:hover { background: transparent; color: var(--secondary); }
.btn-accent { background: var(--accent); color: white; border-color: var(--accent); }
.btn-accent:hover { background: transparent; color: var(--accent); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: var(--accent); color: white; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-whatsapp { background: #25D366; color: white; border-color: #25D366; }
.btn-whatsapp:hover { background: transparent; color: #25D366; }

/* ---- Section Titles ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-soft); }
.section-blue { background: var(--bg-blue); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block; background: var(--primary-light, rgba(26,107,138,0.1));
    color: var(--primary); padding: 6px 16px; border-radius: 50px; font-size: 13px;
    font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); color: var(--dark); margin-bottom: 16px; }
.section-subtitle { font-size: 17px; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.title-line {
    width: 60px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 16px auto 0; border-radius: 2px;
}

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

.header-top { background: var(--dark); padding: 8px 0; }
.header-top-content { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-contacts { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.header-contacts a { color: rgba(255,255,255,0.85); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.header-contacts a:hover { color: var(--secondary); }
.header-contacts i { color: var(--secondary); }
.header-social { display: flex; gap: 12px; }
.header-social a { color: rgba(255,255,255,0.7); font-size: 14px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); }
.header-social a:hover { color: white; border-color: var(--secondary); background: var(--secondary); }

.main-nav { padding: 0; }
.nav-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; }
.logo img { max-height: 50px; }
.logo-text { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 28px; }
.logo-text strong { display: block; font-family: 'Playfair Display', serif; font-size: 18px; color: var(--primary); line-height: 1; }
.logo-text small { display: block; font-size: 12px; color: var(--text-light); line-height: 1; margin-top: 2px; }

.nav-menu { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-menu > li > a { padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--text); border-radius: 8px; display: flex; align-items: center; gap: 4px; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--primary); background: rgba(26,107,138,0.07); }
.nav-menu > li.nav-cta > a { background: var(--primary); color: white; }
.nav-menu > li.nav-cta > a:hover { background: var(--secondary); }
.nav-menu > li.nav-cta > a i { color: #25D366; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; background: white; border-radius: var(--radius); box-shadow: var(--shadow-md); list-style: none; min-width: 220px; padding: 8px; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: var(--transition); border: 1px solid var(--border); z-index: 100; }
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown li a { display: block; padding: 9px 14px; font-size: 14px; color: var(--text); border-radius: 8px; }
.dropdown li a:hover { background: var(--bg-blue); color: var(--primary); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative; min-height: 90vh; display: flex; align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, #1a6b8a 60%, #2ec4b6 100%);
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text { color: white; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.25); padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.hero-badge i { color: var(--accent); }
.hero-title { font-size: clamp(36px, 5vw, 58px); color: white; line-height: 1.15; margin-bottom: 20px; }
.hero-title span { color: var(--accent); }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.82); margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: white; line-height: 1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

.hero-image { position: relative; }
.hero-img-wrap {
    position: relative; border-radius: 24px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.15);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); gap: 12px; }
.hero-img-placeholder i { font-size: 80px; color: rgba(255,255,255,0.3); }
.hero-card {
    position: absolute; background: white; border-radius: 16px; padding: 16px 20px;
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
}
.hero-card-left { bottom: 30px; left: -30px; }
.hero-card-right { top: 30px; right: -30px; }
.hero-card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-blue); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.hero-card-text strong { display: block; font-size: 15px; color: var(--dark); font-family: 'Playfair Display', serif; }
.hero-card-text span { font-size: 12px; color: var(--text-light); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { position: relative; }
.about-img-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--bg-blue); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
    position: absolute; bottom: -20px; right: -20px; background: var(--primary);
    color: white; padding: 20px 24px; border-radius: var(--radius); text-align: center;
    box-shadow: var(--shadow-md);
}
.about-badge strong { display: block; font-size: 36px; font-family: 'Playfair Display', serif; }
.about-badge span { font-size: 12px; opacity: 0.9; }
.about-text .section-tag { text-align: left; }
.about-text .section-title { text-align: left; }
.about-features { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-feature { display: flex; align-items: flex-start; gap: 12px; }
.about-feature-icon { width: 40px; height: 40px; background: var(--bg-blue); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.about-feature h5 { font-size: 14px; margin-bottom: 3px; }
.about-feature p { font-size: 13px; color: var(--text-light); }

/* ============================================
   SPECIALTIES SECTION
   ============================================ */
.specialties-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.specialty-card {
    background: white; border-radius: var(--radius-lg); padding: 32px 28px;
    border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden;
    text-align: center;
}
.specialty-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0); transition: var(--transition); transform-origin: left;
}
.specialty-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.specialty-card:hover::before { transform: scaleX(1); }
.specialty-icon { font-size: 48px; margin-bottom: 16px; display: block; }
.specialty-card img { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; margin: 0 auto 16px; }
.specialty-card h3 { font-size: 18px; margin-bottom: 10px; }
.specialty-card p { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }
.specialty-link { color: var(--primary); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.specialty-link:hover { gap: 10px; }

/* ============================================
   TREATMENTS
   ============================================ */
.treatments-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.treatment-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.treatment-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.treatment-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-blue); }
.treatment-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.treatment-card:hover .treatment-img img { transform: scale(1.05); }
.treatment-body { padding: 24px; }
.treatment-category { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--secondary); font-weight: 600; margin-bottom: 8px; }
.treatment-body h3 { font-size: 20px; margin-bottom: 10px; }
.treatment-body p { font-size: 14px; color: var(--text-light); }

/* ============================================
   TEAM
   ============================================ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.team-card { text-align: center; }
.team-photo { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; margin: 0 auto 20px; background: var(--bg-blue); border: 4px solid white; box-shadow: var(--shadow); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 64px; }
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-role { color: var(--secondary); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.team-cro { font-size: 12px; color: var(--text-light); }
.team-bio { font-size: 14px; color: var(--text-light); margin-top: 10px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-slider { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.testimonial-card {
    background: white; border-radius: var(--radius-lg); padding: 32px;
    border: 1px solid var(--border); position: relative;
}
.testimonial-stars { color: #fbbf24; font-size: 16px; margin-bottom: 16px; }
.testimonial-text { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-text::before { content: '"'; font-size: 60px; color: var(--primary); opacity: 0.15; line-height: 0; position: relative; top: 20px; left: -5px; font-family: 'Playfair Display', serif; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-initials { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; font-family: 'Playfair Display', serif; }
.testimonial-author strong { display: block; font-size: 15px; }
.testimonial-author span { font-size: 13px; color: var(--text-light); }

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(13,33,55,0.6); opacity: 0; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.gallery-overlay i { color: white; font-size: 28px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,0.5); object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: white; font-size: 32px; cursor: pointer; opacity: 0.8; }
.lightbox-close:hover { opacity: 1; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 22px 0; font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 600; color: var(--dark); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-question:hover { color: var(--primary); }
.faq-question i { color: var(--primary); font-size: 14px; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { padding: 0 0 20px; font-size: 15px; color: var(--text-light); line-height: 1.8; display: none; }
.faq-item.open .faq-answer { display: block; }

/* ============================================
   BLOG
   ============================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-blue); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 24px; }
.blog-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-light); margin-bottom: 12px; }
.blog-meta i { color: var(--secondary); }
.blog-cat { background: var(--bg-blue); color: var(--primary); padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.blog-card h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a { color: var(--dark); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { font-size: 14px; color: var(--text-light); margin-bottom: 18px; }
.blog-read-more { color: var(--primary); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 32px; margin-bottom: 16px; }
.contact-info p { color: var(--text-light); margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon { width: 48px; height: 48px; background: var(--bg-blue); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 20px; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 15px; margin-bottom: 3px; }
.contact-item span, .contact-item a { font-size: 14px; color: var(--text-light); }
.contact-item a:hover { color: var(--primary); }

.contact-form-wrap { background: white; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-form-wrap h3 { font-size: 24px; margin-bottom: 8px; }
.contact-form-wrap > p { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control {
    width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 10px;
    font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text);
    transition: var(--transition); background: white;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,107,138,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.form-check input { margin-top: 3px; flex-shrink: 0; accent-color: var(--primary); }
.form-check a { color: var(--primary); }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ============================================
   MAP SECTION
   ============================================ */
.map-section { background: var(--dark); }
.map-grid { display: grid; grid-template-columns: 1fr 1fr; }
.map-info { padding: 60px 40px; color: white; }
.map-info h2 { color: white; font-size: 32px; margin-bottom: 24px; }
.map-detail { display: flex; gap: 16px; margin-bottom: 24px; }
.map-detail-icon { color: var(--secondary); font-size: 20px; flex-shrink: 0; margin-top: 3px; }
.map-detail strong { display: block; color: rgba(255,255,255,0.9); margin-bottom: 4px; }
.map-detail p { color: rgba(255,255,255,0.65); font-size: 14px; }
.map-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.map-embed { min-height: 400px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }
.map-placeholder { width: 100%; height: 100%; min-height: 400px; background: #1a3040; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); font-size: 80px; }

/* ============================================
   DIFFERENTIALS / FEATURES
   ============================================ */
.differentials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.differential-card { text-align: center; padding: 40px 28px; background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); }
.differential-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.differential-icon { width: 72px; height: 72px; background: var(--bg-blue); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--primary); margin: 0 auto 20px; transition: var(--transition); }
.differential-card:hover .differential-icon { background: var(--primary); color: white; }
.differential-card h3 { font-size: 18px; margin-bottom: 10px; }
.differential-card p { font-size: 14px; color: var(--text-light); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, #0d4a66 100%); padding: 80px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; right: -100px; top: -100px; width: 400px; height: 400px; background: var(--secondary); opacity: 0.1; border-radius: 50%; }
.cta-content { text-align: center; position: relative; z-index: 2; }
.cta-content h2 { color: white; font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 36px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================
   INNER PAGE HERO
   ============================================ */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%); padding: 60px 0; }
.page-hero-content { text-align: center; color: white; }
.page-hero h1 { color: white; font-size: clamp(28px, 4vw, 48px); margin-bottom: 12px; }
.page-hero .breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a:hover { color: white; }
.page-hero .breadcrumb .sep { opacity: 0.5; }

/* ============================================
   BLOG SINGLE
   ============================================ */
.blog-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; }
.blog-post-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; aspect-ratio: 16/7; }
.blog-post-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-post-content { font-size: 16px; line-height: 1.9; color: var(--text); }
.blog-post-content h2, .blog-post-content h3 { margin: 28px 0 14px; }
.blog-post-content p { margin-bottom: 18px; }
.blog-post-content ul, .blog-post-content ol { margin: 0 0 18px 24px; }
.blog-post-content blockquote { border-left: 4px solid var(--primary); padding: 16px 24px; background: var(--bg-blue); border-radius: 0 8px 8px 0; margin: 24px 0; font-style: italic; }
.blog-sidebar { }
.sidebar-widget { background: white; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); margin-bottom: 24px; }
.sidebar-widget h4 { font-size: 18px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--bg-blue); }
.sidebar-post { display: flex; gap: 14px; margin-bottom: 16px; }
.sidebar-post-img { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--bg-blue); }
.sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post h5 { font-size: 14px; line-height: 1.4; margin-bottom: 4px; }
.sidebar-post h5 a { color: var(--dark); }
.sidebar-post h5 a:hover { color: var(--primary); }
.sidebar-post span { font-size: 12px; color: var(--text-light); }
.sidebar-cats a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.sidebar-cats a:last-child { border: none; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.75); }

.footer-main { padding: 64px 0 40px; }

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

/* Each footer column */
.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: white;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Footer brand column */
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin: 12px 0 20px;
}

.logo-text-footer {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo img { max-height: 48px; }

/* Footer nav lists */
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-col ul li a::before {
    content: '›';
    color: var(--secondary);
    font-weight: 700;
    font-size: 16px;
}
.footer-col ul li a:hover { color: white; padding-left: 4px; }

/* Footer contact list */
.footer-contact ul { list-style: none; padding: 0; margin: 0; }
.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}
.footer-contact ul li i {
    color: var(--secondary);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
}
.footer-contact ul li a { color: rgba(255,255,255,0.65); }
.footer-contact ul li a:hover { color: white; }

/* Footer social */
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7); font-size: 14px;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-links a:hover { color: var(--secondary); }

/* Footer responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-main { padding: 40px 0 24px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* ============================================
   COOKIES, FLOATING, MISC
   ============================================ */
.cookie-notice {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
    background: var(--dark); color: white; padding: 16px;
}
.cookie-content { display: flex; align-items: center; gap: 16px; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.cookie-content i { font-size: 24px; color: var(--accent); flex-shrink: 0; }
.cookie-content p { flex: 1; font-size: 14px; color: rgba(255,255,255,0.8); margin: 0; }
.cookie-content a { color: var(--secondary); }
.btn-cookie { background: var(--primary); color: white; border: none; padding: 10px 24px; border-radius: 50px; cursor: pointer; font-size: 14px; font-weight: 600; white-space: nowrap; }
.btn-cookie:hover { background: var(--secondary); }

.whatsapp-float {
    position: fixed; bottom: 80px; right: 24px; z-index: 999;
    width: 56px; height: 56px; background: #25D366; color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 28px; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition); text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); background: #1da851; color: white; }
.whatsapp-tooltip {
    position: absolute; right: 68px; background: var(--dark); color: white;
    padding: 6px 14px; border-radius: 8px; font-size: 13px; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

.scroll-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 998;
    width: 44px; height: 44px; background: var(--primary); color: white;
    border-radius: 50%; border: none; cursor: pointer; font-size: 16px;
    display: none; align-items: center; justify-content: center;
    box-shadow: var(--shadow); transition: var(--transition);
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--secondary); transform: translateY(-3px); }

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-body { background: #f0f4f8; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px; background: var(--dark); color: white; position: fixed;
    top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 100;
    display: flex; flex-direction: column;
}
.sidebar-logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sidebar-logo a { color: white; font-family: 'Playfair Display', serif; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.sidebar-nav { flex: 1; padding: 16px 0; }
.sidebar-section { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); padding: 16px 20px 6px; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 20px; color: rgba(255,255,255,0.7); font-size: 14px; transition: var(--transition); }
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(255,255,255,0.08); color: white; }
.sidebar-nav a i { width: 18px; text-align: center; color: var(--secondary); }
.admin-content { margin-left: 260px; flex: 1; }
.admin-topbar { background: white; padding: 0 28px; height: 64px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 8px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 99; }
.admin-topbar h1 { font-size: 20px; }
.admin-topbar-actions { display: flex; align-items: center; gap: 16px; }
.admin-topbar-actions a { font-size: 14px; color: var(--text-light); display: flex; align-items: center; gap: 6px; }
.admin-topbar-actions a:hover { color: var(--primary); }
.admin-main { padding: 28px; }
.admin-card { background: white; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); margin-bottom: 20px; }
.admin-card h3 { font-size: 18px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: white; border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); display: flex; align-items: center; gap: 16px; }
.stat-card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.stat-card h4 { font-size: 24px; margin-bottom: 2px; }
.stat-card p { font-size: 13px; color: var(--text-light); }
.table-responsive { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 12px 16px; text-align: left; font-size: 13px; color: var(--text-light); border-bottom: 2px solid var(--border); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
.admin-table tr:hover td { background: var(--bg-soft); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }
.action-btns { display: flex; gap: 8px; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 8px; }
.btn-edit { background: var(--bg-blue); color: var(--primary); border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-weight: 500; font-family: 'DM Sans', sans-serif; text-decoration: none; transition: var(--transition); }
.btn-edit:hover { background: var(--primary); color: white; }
.btn-delete { background: #fee2e2; color: #991b1b; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-weight: 500; font-family: 'DM Sans', sans-serif; text-decoration: none; transition: var(--transition); }
.btn-delete:hover { background: #ef4444; color: white; }

/* ============================================
   404 PAGE
   ============================================ */
.page-404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.page-404 h1 { font-size: clamp(80px, 15vw, 160px); color: var(--primary); opacity: 0.12; line-height: 1; margin-bottom: -20px; }
.page-404 h2 { font-size: 32px; margin-bottom: 16px; }
.page-404 p { color: var(--text-light); margin-bottom: 32px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-image { display: none; }
    .hero { min-height: 70vh; }
    .about-grid { grid-template-columns: 1fr; }
    .about-img { max-width: 400px; }
    .contact-grid { grid-template-columns: 1fr; }
    .map-grid { grid-template-columns: 1fr; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { display: none; }
    .admin-sidebar { width: 220px; }
    .admin-content { margin-left: 220px; }
}

@media (max-width: 768px) {
    .header-top { display: none; }
    .nav-toggle { display: flex; }
    .nav-menu { 
        position: fixed; top: 72px; left: 0; right: 0; background: white;
        flex-direction: column; align-items: stretch; padding: 16px; gap: 4px;
        box-shadow: var(--shadow-md); transform: translateY(-20px); opacity: 0;
        pointer-events: none; transition: var(--transition); max-height: calc(100vh - 72px); overflow-y: auto;
    }
    .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-menu > li > a { padding: 12px 16px; border-radius: 10px; }
    .nav-menu > li.nav-cta { margin-top: 8px; }
    .dropdown { position: static; box-shadow: none; opacity: 1; pointer-events: all; transform: none; border: none; background: var(--bg-soft); margin: 4px 0; }
    .hero-stats { gap: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .admin-layout { }
    .admin-sidebar { left: -260px; transition: left 0.3s; }
    .admin-sidebar.open { left: 0; }
    .admin-content { margin-left: 0; }
    .about-badge { position: static; margin-top: 20px; display: inline-block; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .btn-lg { width: 100%; justify-content: center; }
    .cta-actions { flex-direction: column; align-items: center; }
    .hero-card { display: none; }
}

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }

/* ============================================
   ADDITIONAL & FIXES
   ============================================ */

/* Active nav link */
.nav-menu > li > a.active {
    color: var(--primary);
    background: rgba(26,107,138,0.08);
    font-weight: 600;
}

/* Sticky header scrolled state */
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.1); }

/* Mobile nav-toggle animation */
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Admin sidebar mobile */
@media (max-width: 768px) {
    .admin-sidebar { transform: translateX(-260px); transition: transform 0.3s ease; }
    .admin-sidebar.open { transform: translateX(0); box-shadow: 4px 0 20px rgba(0,0,0,0.2); }
    .admin-content { margin-left: 0 !important; }
    #adminToggle { display: flex !important; }
    .admin-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 99; }
    .admin-overlay.active { display: block; }
}

/* Form select styling */
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* Blog post content — restore list styles inside article */
.blog-post-content ul,
.blog-post-content ol,
.faq-answer ul,
.faq-answer ol {
    list-style: revert;
    padding-left: 24px;
    margin: 12px 0 18px;
}
.blog-post-content ul li,
.blog-post-content ol li,
.faq-answer li { margin-bottom: 6px; }

/* Blog post content images */
.blog-post-content img { max-width: 100%; border-radius: var(--radius); margin: 16px 0; }

/* Print styles */
@media print { .site-header, .whatsapp-float, .scroll-top, .cookie-notice { display: none !important; } }

/* Specialties responsive fix */
@media (max-width: 480px) {
    .specialties-grid { grid-template-columns: 1fr 1fr; }
    .specialty-card { padding: 20px 16px; }
    .specialty-icon { font-size: 36px; }
}

/* Team grid responsive */
@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr 1fr; }
    .team-photo { width: 120px; height: 120px; }
}

/* Gallery grid responsive */
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* Differentials responsive */
@media (max-width: 600px) {
    .differentials-grid { grid-template-columns: 1fr 1fr; }
    .differential-card { padding: 24px 16px; }
}

/* About features responsive */
@media (max-width: 480px) {
    .about-features { grid-template-columns: 1fr; }
}

/* Admin table responsive */
@media (max-width: 900px) {
    .admin-table th:nth-child(3),
    .admin-table td:nth-child(3) { display: none; }
}

/* Admin stats responsive */
@media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* Loading skeleton animation */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* Smooth page transitions */
.page-hero { animation: fadeInUp 0.5s ease; }

/* Better focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Hero section on mobile */
@media (max-width: 768px) {
    .hero { min-height: 60vh; padding: 50px 0; }
    .hero-stats { gap: 16px; }
    .stat-number { font-size: 26px; }
    .map-grid { grid-template-columns: 1fr; }
    .map-info { padding: 40px 24px; }
    .contact-grid { gap: 32px; }
    .about-grid { gap: 32px; }
    .about-img { max-width: 100%; }
}

/* Blog layout responsive */
@media (max-width: 900px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { display: none; }
}

/* Specialty single page responsive */
@media (max-width: 900px) {
    .container[style*="grid-template-columns:1fr 300px"] {
        display: block !important;
    }
}

/* Admin blog editor */
#editor a { color: var(--primary); text-decoration: underline; }
#editor blockquote { border-left: 4px solid var(--primary); padding: 12px 20px; background: var(--bg-blue); margin: 16px 0; border-radius: 0 8px 8px 0; font-style: italic; }
#editor h2 { font-size: 26px; margin: 20px 0 10px; font-family: 'Playfair Display', serif; }
#editor h3 { font-size: 20px; margin: 16px 0 8px; font-family: 'Playfair Display', serif; }
#editor ul, #editor ol { margin: 10px 0 10px 24px; }
#editor p { margin-bottom: 14px; }
