/* ============================================
   Haghshenas Dental Care — Modern Theme
   ============================================ */

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --accent: #06b6d4;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --text: #475569;
    --text-light: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-muted: #f1f5f9;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Outfit', system-ui, sans-serif;
    --header-h: 80px;
    --topbar-h: 42px;
    --demo-banner-h: 40px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    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); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--dark);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

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

/* ---- Demo banner (temporary) ---- */
.demo-banner {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: var(--demo-banner-h);
    background: linear-gradient(90deg, #d97706, #fbbf24);
    color: #1c1917;
    z-index: 1100;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.demo-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    padding: 0 12px;
}

.demo-banner strong {
    flex-shrink: 0;
    background: #1c1917;
    color: #fbbf24;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.has-demo-banner .site-header {
    top: var(--demo-banner-h);
}

@media (max-width: 640px) {
    .demo-banner__inner span {
        display: none;
    }

    .demo-banner strong {
        font-size: 0.58rem;
    }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.45);
    color: #fff;
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn--outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn--outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
    background: #fff;
    color: var(--primary-dark);
}

.btn--white {
    background: #fff;
    color: var(--primary-dark);
}
.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--primary-dark);
}

.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---- Top Bar ---- */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    z-index: 1001;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-bar a { color: rgba(255,255,255,0.9); }
.top-bar a:hover { color: var(--primary-light); }
.top-bar i { color: var(--primary-light); margin-right: 6px; }

.top-bar__left, .top-bar__right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar__divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.2);
}

.top-bar__cta {
    background: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    color: #fff !important;
}
.top-bar__cta:hover { background: var(--primary-light); color: #fff !important; }

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
    flex-shrink: 0;
}
.logo:hover { color: var(--dark); }

.logo__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.logo__text strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
}
.logo__text small {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 10px 16px;
    color: var(--dark-soft);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: rgba(13, 148, 136, 0.08);
}

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

.nav-cta-mobile { display: none; }

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: calc(100vh - var(--topbar-h) - var(--header-h));
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero__slide--active,
.hero__slide[data-slide="0"].hero__slide--active {
    opacity: 1;
}

.hero__slide[data-slide="0"] {
    background-image: url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?w=1920&h=1080&fit=crop');
}
.hero__slide[data-slide="1"] {
    background-image: url('https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?w=1920&h=1080&fit=crop');
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.75) 45%, rgba(13,148,136,0.4) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: center;
    padding: 60px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}
.hero__badge i { color: #fbbf24; }

.hero__text h1 {
    color: #fff;
    margin-bottom: 20px;
}
.hero__text h1 span {
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__text p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 520px;
    margin-bottom: 28px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
}
.hero__trust i {
    color: var(--primary-light);
    margin-right: 8px;
}

.hero-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}

.hero-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.hero-card__header i {
    font-size: 1.5rem;
    color: var(--primary);
}
.hero-card__header h3 {
    font-size: 1.15rem;
}

.hero-form input,
.hero-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.95rem;
    margin-bottom: 12px;
    transition: border-color var(--transition);
}
.hero-form input:focus,
.hero-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}

.hero-card__note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 12px;
}

.hero__dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}
.hero__dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}
.hero__dots button.active {
    background: var(--primary-light);
    width: 28px;
    border-radius: 5px;
}

/* ---- Sections ---- */
.section {
    padding: 80px 0;
}
.section--alt {
    background: var(--bg-alt);
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section-header {
    margin-bottom: 48px;
}
.section-header--center {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.section-header p {
    margin-top: 12px;
    color: var(--text);
}

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

/* ---- Features Bar ---- */
.features-bar {
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.features-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px;
}
.feature-pill i {
    width: 48px;
    height: 48px;
    background: rgba(13,148,136,0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.feature-pill strong {
    display: block;
    color: var(--dark);
    font-size: 0.95rem;
}
.feature-pill span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ---- About Preview ---- */
.about-preview__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.image-frame img {
    width: 100%;
    aspect-ratio: 5/6;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 24px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.experience-badge__num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}
.experience-badge__text {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
}

.about-preview__content h2 {
    margin-bottom: 20px;
}
.about-preview__content p {
    margin-bottom: 16px;
}

.check-list {
    list-style: none;
    margin: 24px 0 28px;
}
.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--dark-soft);
}
.check-list i {
    color: var(--primary);
    font-size: 0.9rem;
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(13,148,136,0.12), rgba(6,182,212,0.12));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.service-card__icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.service-card h3 { margin-bottom: 12px; }
.service-card p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.service-card__link {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.service-card__link i {
    transition: transform var(--transition);
}
.service-card:hover .service-card__link i {
    transform: translateX(4px);
}

/* ---- Stats ---- */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item__number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.stat-item__label {
    display: block;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* ---- Why Section ---- */
.why-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-section__visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 6/5;
    object-fit: cover;
}

.why-items { margin-top: 28px; }

.why-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}
.why-item__icon {
    width: 52px;
    height: 52px;
    background: rgba(13,148,136,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.why-item__icon i {
    font-size: 1.25rem;
    color: var(--primary);
}
.why-item h4 { margin-bottom: 6px; }

/* ---- Testimonials ---- */
.testimonials-slider {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 280px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.testimonial-card__stars {
    color: #fbbf24;
    margin-bottom: 16px;
    font-size: 0.9rem;
}
.testimonial-card p {
    font-style: italic;
    color: var(--dark-soft);
    margin-bottom: 20px;
    font-size: 1rem;
}
.testimonial-card footer strong {
    display: block;
    color: var(--dark);
}
.testimonial-card footer span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--dark);
}
.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ---- Gallery ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.6s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-item--wide {
    grid-column: span 2;
}
.gallery-item--wide img {
    aspect-ratio: 21/9;
}

/* ---- Hours & CTA ---- */
.hours-cta__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
}

.hours-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}

.hours-list {
    list-style: none;
    margin-top: 24px;
}
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li.closed span:last-child { color: var(--text-light); }
.hours-list li span:first-child { font-weight: 600; color: var(--dark); }

.hours-list--compact li { padding: 8px 0; }

.cta-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--accent));
    border-radius: var(--radius-lg);
    padding: 48px;
    color: #fff;
}
.cta-card h2 { color: #fff; margin-bottom: 12px; }
.cta-card p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
}
.cta-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.cta-card__address {
    font-size: 0.95rem;
    opacity: 0.9;
}
.cta-card__address i { margin-right: 8px; }

/* ---- Map ---- */
.map-section { padding: 0; }
.map-embed {
    width: 100%;
    height: 400px;
    background: var(--bg-muted);
}
.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    padding: 48px 0 56px;
    color: #fff;
}
.page-hero h1 {
    color: #fff;
    margin-bottom: 12px;
}
.page-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}
.page-hero a { color: var(--primary-light); }

.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }

/* ---- About Page ---- */
.about-page__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.about-page__content .lead {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
}

.philosophy-quote {
    background: var(--bg-alt);
    border-left: 4px solid var(--primary);
    padding: 24px 28px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 28px 0;
    position: relative;
}
.philosophy-quote i {
    color: var(--primary);
    opacity: 0.3;
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.philosophy-quote p {
    font-size: 1.05rem;
    color: var(--dark-soft);
    font-style: italic;
}

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

.timeline-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.timeline-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.timeline-year {
    display: inline-block;
    background: rgba(13,148,136,0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.timeline-item h4 { margin-bottom: 8px; }

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

.value-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.value-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.value-card h3 { margin-bottom: 10px; }

/* ---- Services Page ---- */
.services-page-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.service-detail-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
    padding: 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.service-detail-card:hover {
    box-shadow: var(--shadow);
}

.service-detail-card__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(13,148,136,0.15), rgba(6,182,212,0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-detail-card__icon i {
    font-size: 2rem;
    color: var(--primary);
}
.service-detail-card h2 { margin-bottom: 12px; }
.service-detail-card p { margin-bottom: 12px; }
.service-detail-card .btn { margin-top: 16px; }

.info-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 48px;
    border-radius: var(--radius-lg);
}
.info-banner h2 { color: #fff; margin-bottom: 8px; }
.info-banner p { color: rgba(255,255,255,0.9); }

/* ---- Forms ---- */
.appointment-page__grid,
.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.contact-info-list {
    list-style: none;
    margin: 24px 0 32px;
}
.contact-info-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}
.contact-info-list i {
    width: 44px;
    height: 44px;
    background: rgba(13,148,136,0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-list strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.contact-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.contact-card i {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.contact-card h3 { margin-bottom: 8px; font-size: 1rem; }
.contact-card a { font-weight: 600; }

.form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.form-card h2 { margin-bottom: 8px; }
.form-card > p {
    margin-bottom: 28px;
    color: var(--text);
}

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

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.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(13,148,136,0.12);
}

.alert {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}
.alert i { font-size: 1.5rem; flex-shrink: 0; }
.alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.alert--success i { color: #10b981; }
.alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.alert--error i { color: #ef4444; }

/* ---- Footer ---- */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    padding-top: 0;
    position: relative;
}

.footer-wave {
    color: var(--dark);
    line-height: 0;
    margin-top: -1px;
}
.footer-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}
.footer-col a:hover { color: var(--primary-light); }

.logo--footer .logo__text strong,
.logo--footer .logo__text small { color: #fff; }
.logo--footer .logo__text small { opacity: 0.7; }

.footer-col--brand p {
    margin: 16px 0 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 0.95rem;
}
.footer-contact i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}

/* ---- Floating Call ---- */
.floating-call {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 20px rgba(13,148,136,0.5);
    z-index: 999;
    transition: transform var(--transition);
}
.floating-call:hover {
    transform: scale(1.08);
    color: #fff;
}

/* ---- Reveal Animation ---- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__text p { margin-left: auto; margin-right: auto; }
    .hero__actions, .hero__trust { justify-content: center; }
    .hero__card { max-width: 400px; margin: 0 auto; }

    .features-bar__grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-preview__grid,
    .why-section__grid { grid-template-columns: 1fr; }
    .experience-badge { right: 16px; }
    .testimonial-card { flex: 0 0 calc(50% - 12px); }
    .timeline { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hours-cta__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root {
        --header-h: 70px;
    }

    .top-bar__left .top-bar__divider,
    .top-bar__right span:first-child { display: none; }

    .nav-toggle { display: flex; }
    .header-cta { display: none; }

    .main-nav {
        position: fixed;
        top: calc(var(--topbar-h) + var(--header-h));
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }
    body.has-demo-banner .main-nav {
        top: calc(var(--demo-banner-h) + var(--topbar-h) + var(--header-h));
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .main-nav ul {
        flex-direction: column;
    }
    .main-nav a {
        padding: 14px 16px;
        font-size: 1.05rem;
    }
    .nav-cta-mobile {
        display: flex !important;
        margin-top: 16px;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .section { padding: 60px 0; }
    .features-bar { margin-top: -24px; }
    .features-bar__grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item--wide { grid-column: span 1; }

    .about-page__grid,
    .appointment-page__grid,
    .contact-page__grid {
        grid-template-columns: 1fr;
    }

    .contact-page__grid .contact-cards {
        order: -1;
    }

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

    .service-detail-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .service-detail-card__icon { margin: 0 auto; }

    .info-banner {
        flex-direction: column;
        text-align: center;
    }

    .timeline { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .testimonial-card { flex: 0 0 100%; }
    .stats-grid { gap: 32px; }
}

@media (max-width: 480px) {
    .top-bar { font-size: 0.75rem; }
    .top-bar__right .top-bar__cta { display: none; }
    .hero { min-height: auto; padding-bottom: 40px; }
    .hero__content { padding: 40px 24px 60px; }
    .cta-card { padding: 32px 24px; }
    .cta-card__actions { flex-direction: column; }
    .cta-card__actions .btn { width: 100%; }
}
