/* ========================================
   SOS MED - Dark Theme (babicedental.pl style)
   ======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: #c8d6e5;
    line-height: 1.6;
    background: #0b1622;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 0;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* === CSS Variables === */
:root {
    --bg-body: #0b1622;
    --bg-card: #121f2f;
    --bg-card-hover: #182a3d;
    --bg-card-alt: #0f1a28;
    --bg-header: #0d1825;
    --primary: #1e6ca4;
    --primary-light: #2b8fd4;
    --accent: #d4a843;
    --accent-hover: #c49935;
    --text: #c8d6e5;
    --text-muted: #7b8fa3;
    --text-white: #ffffff;
    --text-heading: #e8eef4;
    --border: rgba(255,255,255,0.08);
    --shadow: 0 2px 15px rgba(0,0,0,0.3);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.4);
    --radius: 16px;
    --radius-sm: 12px;
    --transition: 0.3s ease;
    --container: 1200px;
    --section-padding: 70px;
    --bottom-bar-height: 70px;
}

/* === Typography === */
h1, h2, h3 {
    font-family: 'DM Serif Display', serif;
    color: var(--text-white);
    line-height: 1.25;
    font-weight: 400;
}

h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: var(--text-white);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.9rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text);
}

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

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

/* === Container === */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* === Section === */
.section {
    padding: var(--section-padding) 0;
}

.section--alt {
    background: var(--bg-card-alt);
}

.section__header {
    text-align: center;
    margin-bottom: 40px;
}

.section__header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0.5rem auto 0;
}

.section__subtitle {
    color: var(--accent);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

/* Section heading with underline bar (babicedental style) */
.section__heading-bar {
    display: inline-block;
}

.section__heading-bar::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 2px;
    margin-top: 12px;
}

.section__heading-bar--center::after {
    margin-left: auto;
    margin-right: auto;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-align: center;
    letter-spacing: 0.3px;
}

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

.btn--primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 108, 164, 0.4);
}

.btn--accent {
    background: var(--accent);
    color: #1a1a1a;
}

.btn--accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn--outline:hover {
    border-color: var(--text-white);
    background: rgba(255,255,255,0.05);
}

.btn--outline-dark {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--primary);
}

.btn--outline-dark:hover {
    background: var(--primary);
    color: var(--text-white);
}

.btn--sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* === Header / Navigation === */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.header__logo img {
    height: 40px;
    width: auto;
}

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

.nav__link {
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.nav__link:hover,
.nav__link--active {
    color: var(--text-white);
}

/* Dropdown */
.nav__dropdown {
    position: relative;
}

.nav__dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__dropdown-trigger::after {
    content: '';
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform var(--transition);
}

.nav__dropdown:hover .nav__dropdown-trigger::after {
    transform: rotate(180deg);
}

.nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 100;
}

.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: all var(--transition);
}

.nav__dropdown-menu a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-white);
    padding-left: 24px;
}

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

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.95rem;
    background: rgba(255,255,255,0.08);
    padding: 8px 18px;
    border-radius: 50px;
    transition: all var(--transition);
}

.header__phone:hover {
    background: rgba(255,255,255,0.12);
}

.header__phone svg {
    width: 16px;
    height: 16px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 8px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-white);
    transition: all var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === Info Bar (address, hours, phone) === */
.info-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.info-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.info-bar__items {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.info-bar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.info-bar__item svg {
    width: 15px;
    height: 15px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.info-bar__item a {
    color: var(--text-white);
    font-weight: 600;
}

.info-bar__item a:hover {
    color: var(--primary-light);
}

.info-bar__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #1a1a1a;
    padding: 7px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    transition: all var(--transition);
}

.info-bar__cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    color: #1a1a1a;
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(11,22,34,0.3) 0%, rgba(11,22,34,0.85) 100%),
                linear-gradient(135deg, #0d2137 0%, #1a3a5c 50%, #0d2137 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 60px 0;
}

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

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__tag {
    display: inline-block;
    background: rgba(212, 168, 67, 0.15);
    border: 1px solid rgba(212, 168, 67, 0.3);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 2.8rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.15;
    font-weight: 400;
    font-family: 'DM Serif Display', serif;
}

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

.hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.hero__phone a {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.1rem;
}

.hero__phone a:hover {
    color: var(--primary-light);
}

.hero__phone svg {
    width: 18px;
    height: 18px;
    color: var(--primary-light);
}

.hero__image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08);
}

.hero__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hero__image-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(11, 22, 34, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero__image-badge svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.hero__image-badge span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.3;
}

.hero__image-badge small {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Service page hero */
.hero--service {
    min-height: 340px;
    padding: 100px 0 50px;
}

.hero--service h1 {
    font-size: 2.2rem;
}

.hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.hero__breadcrumb a {
    color: rgba(255,255,255,0.5);
}

.hero__breadcrumb a:hover {
    color: var(--text-white);
}

/* === Dark Cards (babicedental style) === */
.dark-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition);
}

.dark-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.12);
}

.dark-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--text-white);
}

.dark-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* === Feature Cards (Atuty) === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all var(--transition);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-3px);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 108, 164, 0.15);
    border-radius: var(--radius-sm);
    color: var(--primary-light);
}

.feature-card__icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-3px);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 108, 164, 0.15);
    border-radius: var(--radius-sm);
    color: var(--primary-light);
}

.service-card__icon svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.service-card__link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-card__link:hover {
    color: var(--text-white);
    gap: 8px;
}

/* === Staff Grid === */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.staff-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.staff-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-3px);
}

.staff-card__image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #0f1f30 0%, #1a3050 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.staff-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.staff-card__info {
    padding: 18px;
}

.staff-card__info h3 {
    font-size: 0.98rem;
    margin-bottom: 0.3rem;
}

.staff-card__info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* === Testimonials === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.testimonial-card__stars {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 12px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text);
    font-size: 0.92rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.testimonial-card__author {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-white);
}

/* === Mini CTA Banner === */
.mini-cta {
    background: linear-gradient(135deg, rgba(30, 108, 164, 0.15) 0%, rgba(30, 108, 164, 0.05) 100%);
    border: 1px solid rgba(30, 108, 164, 0.2);
    border-radius: var(--radius);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
}

.mini-cta__text h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.mini-cta__text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.mini-cta__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* === CTA Section === */
.cta-section {
    background: linear-gradient(135deg, #0f1f30 0%, #152a40 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-size: 2.1rem;
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
}

.cta-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.cta-section .btn {
    margin: 0 6px;
}

.cta-phone {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.cta-phone a {
    color: var(--text-white);
    transition: color var(--transition);
}

.cta-phone a:hover {
    color: var(--primary-light);
}

/* === Footer === */
.footer {
    background: var(--bg-header);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    padding: 50px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

.footer__logo {
    margin-bottom: 14px;
}

.footer__logo img {
    height: 36px;
    width: auto;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}

.footer h4 {
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 3px 0;
    transition: all var(--transition);
}

.footer__links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.88rem;
}

.footer__contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-light);
}

.footer__bottom {
    border-top: 1px solid var(--border);
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer__bottom-links {
    display: flex;
    gap: 20px;
}

.footer__bottom-links a {
    color: var(--text-muted);
    transition: color var(--transition);
}

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

.footer__mediratey {
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
}

/* === Mobile Sticky Bottom Bar (babicedental style) === */
.bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--bg-header);
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    gap: 10px;
}

.bottom-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.bottom-bar__call {
    background: var(--primary);
    color: var(--text-white);
}

.bottom-bar__write {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

/* === Pricing Table === */
.pricing-section {
    margin-bottom: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.pricing-section:hover {
    border-color: rgba(255,255,255,0.12);
}

.pricing-category {
    background: linear-gradient(135deg, rgba(30, 108, 164, 0.2) 0%, rgba(30, 108, 164, 0.08) 100%);
    color: var(--text-white);
    padding: 18px 24px;
    font-size: 1.05rem;
    font-weight: 400;
    font-family: 'DM Serif Display', serif;
    border-bottom: 1px solid var(--border);
    margin-top: 0;
}

.pricing-category span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-table-wrap {
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 1;
}

.pricing-section.collapsed .pricing-table-wrap {
    max-height: 0 !important;
    opacity: 0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table thead {
    display: none;
}

.pricing-table tbody tr {
    transition: background var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: rgba(30, 108, 164, 0.08);
}

.pricing-table td {
    padding: 14px 24px;
    font-size: 0.92rem;
    color: var(--text);
}

.pricing-table td:first-child {
    padding-left: 24px;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--primary-light);
    white-space: nowrap;
    font-size: 0.95rem;
    padding-right: 24px;
}

/* === Contact Page === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 6px;
    color: var(--text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    transition: border-color var(--transition);
    color: var(--text-white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(30, 108, 164, 0.15);
}

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

.contact-form select option {
    background: var(--bg-card);
    color: var(--text);
}

.contact-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.contact-form .form-check input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 16px;
}

.contact-info-card h3 {
    margin-bottom: 14px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.92rem;
}

.contact-info-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary-light);
    margin-top: 2px;
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background: var(--bg-card);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 1px solid var(--border);
}

/* === Service Page Content === */
.service-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition);
}

.highlight-card:hover {
    background: var(--bg-card-hover);
}

.highlight-card__icon {
    display: none;
}

.highlight-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: var(--text-white);
}

.highlight-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Service content */
.service-content h2 {
    display: inline-block;
}

.service-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 2px;
    margin-top: 12px;
    margin-bottom: 24px;
}

.service-content h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    padding-bottom: 0;
    border-bottom: none;
    color: var(--text-white);
}

.service-content-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 12px;
}

.service-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text);
}

.service-content ul {
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.service-content ul li {
    padding: 5px 0 5px 20px;
    position: relative;
    font-size: 0.92rem;
    color: var(--text);
}

.service-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
}

/* Doctor card */
.doctor-card {
    display: flex;
    gap: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.doctor-card__image {
    width: 180px;
    height: 220px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0f1f30 0%, #1a3050 100%);
    border-radius: var(--radius);
    overflow: hidden;
}

.doctor-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.doctor-card__info h3 {
    margin-bottom: 0.3rem;
}

.doctor-card__specialization {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.8rem;
}

.doctor-card__info p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text);
}

/* Service pricing */
.service-pricing {
    margin-top: 0;
}

/* === Legal Pages === */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
}

.legal-content p {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    font-size: 0.92rem;
    color: var(--text);
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 0;
}

.legal-content ul li {
    padding: 4px 0 4px 20px;
    position: relative;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text);
}

.legal-content ul li::before {
    content: '\2022';
    position: absolute;
    left: 4px;
    color: var(--primary-light);
    font-weight: bold;
}

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

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

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

@media (max-width: 991px) {
    :root {
        --section-padding: 50px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

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

    .hero h1 {
        font-size: 2rem;
    }

    .hero__image img {
        height: 300px;
    }

    .info-bar__inner {
        justify-content: center;
        text-align: center;
    }

    .info-bar__items {
        justify-content: center;
    }

    .mini-cta {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

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

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

    .doctor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 40px;
    }

    body {
        padding-bottom: var(--bottom-bar-height);
    }

    /* Show bottom bar on mobile */
    .bottom-bar {
        display: flex;
    }

    /* Mobile nav */
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: var(--bottom-bar-height);
        background: var(--bg-body);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform var(--transition);
        overflow-y: auto;
        z-index: 999;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav__link {
        padding: 14px 16px;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        color: var(--text);
    }

    .nav__dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        display: none;
        background: transparent;
    }

    .nav__dropdown.active .nav__dropdown-menu {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .header__actions .btn {
        display: none;
    }

    .info-bar {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 30px 0 40px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero__image {
        display: none;
    }

    .hero__phone {
        display: none;
    }

    .hero__buttons {
        margin-bottom: 0;
    }

    .hero--service {
        min-height: 280px;
        padding: 90px 0 40px;
    }

    .hero--service h1 {
        font-size: 1.6rem;
    }

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

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

    .service-highlights {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .pricing-table,
    .pricing-table thead,
    .pricing-table tbody,
    .pricing-table tr,
    .pricing-table td {
        display: block;
    }

    .pricing-table thead {
        display: none;
    }

    .pricing-table tr {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 12px;
        padding: 10px 12px;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .pricing-table tr:last-child {
        border-bottom: none;
    }

    .pricing-table td {
        padding: 0;
        font-size: 0.84rem;
    }

    .pricing-table td:first-child {
        flex: 1;
        min-width: 0;
        word-break: break-word;
        overflow-wrap: break-word;
        padding-left: 0;
        width: auto;
    }

    .pricing-table td:last-child {
        flex-shrink: 0;
        white-space: nowrap;
        text-align: right;
        padding-right: 0;
        width: auto;
        font-size: 0.84rem;
    }

    .pricing-category {
        padding: 14px 12px;
        font-size: 0.88rem;
    }

    .pricing-category span {
        word-break: break-word;
        overflow-wrap: break-word;
        line-height: 1.4;
    }

    .pricing-search input {
        padding: 16px 48px 16px 48px;
        font-size: 0.92rem;
    }

    .cta-phone {
        font-size: 1.3rem;
    }

    /* Hide desktop CTA section on mobile (bottom bar replaces it) */
    .cta-section {
        padding: 40px 0;
    }
}

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

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

    .doctor-card__image {
        width: 140px;
        height: 170px;
    }

    .pricing-table tr {
        padding: 8px 10px;
        gap: 8px;
    }

    .pricing-table td {
        font-size: 0.8rem;
    }

    .pricing-table td:last-child {
        font-size: 0.8rem;
    }

    .pricing-category {
        padding: 12px 10px;
        font-size: 0.84rem;
    }
}

/* === Pricing Search === */
.pricing-search {
    position: relative;
    margin-bottom: 8px;
}

.pricing-search svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--transition);
}

.pricing-search:focus-within svg {
    color: var(--primary-light);
}

.pricing-search input {
    width: 100%;
    padding: 18px 52px 18px 56px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-white);
    transition: all var(--transition);
}

.pricing-search input::placeholder {
    color: var(--text-muted);
}

.pricing-search input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(30, 108, 164, 0.12);
    background: var(--bg-card-hover);
}

.pricing-search__clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all var(--transition);
}

.pricing-search__clear.visible {
    display: flex;
}

.pricing-search__clear:hover {
    color: var(--text-white);
    background: rgba(255,255,255,0.15);
}

.pricing-search__count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-left: 4px;
    display: none;
    animation: fadeIn 0.2s ease;
}

.pricing-search__count.visible {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Pricing Accordion === */
.pricing-category {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: all var(--transition);
}

.pricing-category:hover {
    background: linear-gradient(135deg, rgba(30, 108, 164, 0.3) 0%, rgba(30, 108, 164, 0.14) 100%);
}

.pricing-category:active {
    transform: scale(0.995);
}

.pricing-category__count {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255,255,255,0.06);
    padding: 2px 10px;
    border-radius: 50px;
    margin-left: 10px;
}

.pricing-category__chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color var(--transition);
}

.pricing-category:hover .pricing-category__chevron {
    color: var(--text-white);
}

.pricing-section.collapsed .pricing-category {
    border-bottom: none;
}

.pricing-section.collapsed .pricing-category__chevron {
    transform: rotate(-90deg);
}

.pricing-section.search-hidden {
    display: none;
}

.pricing-table tr.search-hidden {
    display: none;
}

.pricing-table tr.search-highlight td:first-child {
    color: var(--accent);
}

/* Expand/collapse all toggle */
.pricing-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 20px;
}

.pricing-controls button {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.pricing-controls button:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
    border-color: rgba(255,255,255,0.15);
}

/* === Scroll Reveal Animations === */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger--visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger--visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger--visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger--visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger--visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger--visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger--visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger--visible > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger--visible > *:nth-child(9) { transition-delay: 0.64s; }

.reveal-stagger--visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* === Noise Texture Overlay === */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* === Atmospheric Glows === */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 108, 164, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(30, 108, 164, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-section {
    position: relative;
    overflow: hidden;
}

/* === Enhanced Card Effects === */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    box-shadow: 0 0 30px rgba(30, 108, 164, 0.1);
}

.service-card:hover .service-card__icon {
    background: rgba(30, 108, 164, 0.25);
    transform: scale(1.05);
}

.service-card__icon {
    transition: all var(--transition);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    box-shadow: 0 0 30px rgba(30, 108, 164, 0.08);
}

.feature-card:hover .feature-card__icon {
    background: rgba(30, 108, 164, 0.25);
    transform: scale(1.08);
}

.feature-card__icon {
    transition: all var(--transition);
}

/* === Enhanced Hero Image === */
.hero__image img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__image:hover img {
    transform: scale(1.03);
}

.hero__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(11, 22, 34, 0.4) 100%);
    pointer-events: none;
}

/* Badge pulse */
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(212, 168, 67, 0); }
}

.hero__image-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

/* === Enhanced Testimonials === */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    right: 20px;
    font-family: 'DM Serif Display', serif;
    font-size: 5rem;
    line-height: 1;
    color: rgba(30, 108, 164, 0.08);
    pointer-events: none;
}

.testimonial-card__stars {
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.testimonial-card:hover {
    border-color: rgba(212, 168, 67, 0.2);
    background: var(--bg-card-hover);
}

/* === Staff Card Hover === */
.staff-card:hover .staff-card__image img {
    transform: scale(1.05);
}

.staff-card__image img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Enhanced Buttons === */
.btn--accent:hover {
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.35);
}

.btn--primary:hover {
    box-shadow: 0 4px 20px rgba(30, 108, 164, 0.4);
}

/* === CTA Section Variants === */
.cta-section--alt {
    background: linear-gradient(135deg, #101d2d 0%, #0d1825 50%, #121f2f 100%);
}

.cta-section--alt::before {
    background: radial-gradient(ellipse, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
}

/* === Section Decorative Accent === */
.section__header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    border-radius: 2px;
    margin: 14px auto 0;
}

/* === Utility === */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

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

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}
.faq-item:hover {
    border-color: var(--accent);
}
.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    gap: 16px;
    user-select: none;
}
.faq-item__question span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text);
}
.faq-item__question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-item__question svg {
    transform: rotate(180deg);
}
.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}
.faq-item.active .faq-item__answer {
    max-height: 300px;
    padding: 0 24px 20px;
}
.faq-item__answer p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero__image-badge {
        animation: none;
    }
}
