/*
Theme Name: Elect Premium
Theme URI: https://www.electdermatology.com/
Author: Elect Dermatology
Author URI: https://www.electdermatology.com/
Description: A premium, board-certified-practice WordPress theme for Elect Dermatology of New Braunfels, TX. Navy, gold and ice-blue design system with Playfair Display headings and Open Sans body. Restyles an existing WordPress content site to match the Elect premium mockup.
Version: 1.2
Requires at least: 5.5
Tested up to: 6.5
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elect-premium
Tags: medical, business, custom-logo, custom-menu, featured-images, blog, two-columns, right-sidebar
*/

/* ===== CSS RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --deep-navy: #0A2A43;
    --med-blue: #1B5E8A;
    --accent-blue: #2E86C1;
    --ice-blue: #D6EAF5;
    --pale-sky: #EBF5FB;
    --warm-white: #FAFCFE;
    --gold: #C9A84C;
    --gold-light: #E8D48B;
    --text-dark: #1A2332;
    --text-body: #3D4F5F;
    --text-light: #6B7C8D;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(10,42,67,0.06);
    --shadow-md: 0 8px 30px rgba(10,42,67,0.10);
    --shadow-lg: 0 20px 60px rgba(10,42,67,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

/* WordPress alignment / utility classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--text-light); text-align: center; margin-top: 8px; }
.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
    height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: var(--deep-navy);
    color: var(--white);
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.announcement-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.announcement-message { flex: 1; text-align: center; }
.announcement-bar span { color: var(--gold-light); }

.pay-bill-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border: 1px solid rgba(232, 212, 139, 0.35);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.pay-bill-link svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.pay-bill-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--deep-navy);
}

/* ===== NAVIGATION ===== */
.nav-wrapper {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 14px;
    padding: 14px 20px;
    max-width: 1520px;
    margin: 0 auto;
}

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

.logo img {
    height: 46px;
    width: auto;
    max-width: 280px;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--deep-navy);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-tagline {
    font-size: 0.65rem;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-links > li {
    white-space: nowrap;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-body);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover { color: var(--deep-navy); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { color: var(--deep-navy); }
.nav-links a.active::after,
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after { width: 100%; }

/* Keep dropdown sub-menus from breaking the bar */
.nav-links .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 10px 0;
    min-width: 220px;
    list-style: none;
    z-index: 1100;
}
.nav-links li { position: relative; }
.nav-links li:hover > .sub-menu { display: block; }
.nav-links .sub-menu li { display: block; }
.nav-links .sub-menu a {
    display: block;
    padding: 10px 22px;
    text-transform: none;
    letter-spacing: 0.3px;
    font-size: 0.9rem;
}
.nav-links .sub-menu a::after { display: none; }
.nav-links .sub-menu a:hover { background: var(--pale-sky); color: var(--accent-blue); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-cta .btn-primary {
    white-space: nowrap;
    padding: 11px 20px;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--deep-navy);
    font-size: 0.82rem;
    padding: 8px 14px;
    border: 1.5px solid var(--gold);
    border-radius: 50px;
    background: rgba(201, 168, 76, 0.06);
    transition: var(--transition);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-phone svg {
    width: 14px;
    height: 14px;
    fill: var(--gold);
    transition: var(--transition);
}

.nav-phone:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(201, 168, 76, 0.3);
}

.nav-phone:hover svg { fill: var(--white); }

@keyframes phone-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.35); }
    50% { box-shadow: 0 0 0 6px rgba(201, 168, 76, 0); }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: #b8953e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--deep-navy);
    color: var(--deep-navy);
}

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

.btn-white {
    background: var(--white);
    color: var(--deep-navy);
    font-weight: 700;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--deep-navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile slide-down menu (theme JS) */
.mobile-nav {
    display: none;
    background: var(--white);
    border-top: 1px solid rgba(10,42,67,0.06);
    box-shadow: var(--shadow-sm);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: 8px 0; }
.mobile-nav li a {
    display: block;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(10,42,67,0.04);
}
.mobile-nav li a:hover { color: var(--accent-blue); background: var(--pale-sky); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--med-blue) 60%, #3498DB 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46,134,193,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.8rem;
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 700;
}

.hero h1 em {
    font-style: normal;
    color: var(--gold-light);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 560px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

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

.hero-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold-light);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 4px;
}

/* Decorative shapes on right */
.hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%;
    height: 100%;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: var(--white);
}

.hero-shape-1 { width: 500px; height: 500px; top: 10%; right: -5%; }
.hero-shape-2 { width: 300px; height: 300px; top: 50%; right: 20%; }
.hero-shape-3 { width: 150px; height: 150px; top: 20%; right: 30%; background: var(--gold); opacity: 0.12; }

/* ===== INSIDE OUR OFFICE GALLERY ===== */
.office-section { padding: 100px 0; background: var(--warm-white); }
.sand-divider {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, var(--med-blue), var(--accent-blue));
    background-size: cover;
    background-position: center 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.sand-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,42,67,0.82), rgba(27,94,138,0.72));
}
.sand-divider p {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    max-width: 760px;
    padding: 0 24px;
    line-height: 1.5;
}
.sand-divider p em { color: var(--gold-light); font-style: normal; }
.office-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 16px;
}
.office-grid figure {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg, 20px);
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(10,42,67,0.14);
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--ice-blue), var(--pale-sky));
}
.office-grid img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.office-grid figure:hover img { transform: scale(1.06); }
.office-grid figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 30px 18px 16px;
    background: linear-gradient(to top, rgba(10,42,67,0.88), transparent);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
@media (max-width: 900px) {
    .office-grid { grid-template-columns: repeat(2, 1fr); }
    .sand-divider p { font-size: 1.3rem; }
}
@media (max-width: 520px) {
    .office-grid { grid-template-columns: 1fr; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid rgba(10,42,67,0.06);
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--pale-sky);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* ===== SECTIONS ===== */
.front-page section,
.section { padding: 100px 0; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold);
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.8;
}

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

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

/* ===== SERVICES ===== */
.services-section {
    background: var(--pale-sky);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--accent-blue));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ice-blue), var(--pale-sky));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}
.service-img { margin: -40px -32px 28px; height: 180px; overflow: hidden; background: linear-gradient(135deg, var(--ice-blue), var(--pale-sky)); }
.service-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: var(--transition); }
.service-card:hover .service-img img { transform: scale(1.05); }

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.service-card .learn-more:hover { gap: 12px; }

/* XTRAC Callout */
.xtrac-callout {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--med-blue) 100%);
    border-radius: var(--radius-lg);
    padding: 56px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.xtrac-callout::before {
    content: ''; position: absolute;
    top: -120px; right: -120px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.18), transparent 65%);
    border-radius: 50%;
}
.xtrac-callout-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.xtrac-callout-label {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 700;
    margin-bottom: 14px;
}
.xtrac-callout-content h3 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}
.xtrac-callout-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    font-size: 1.02rem;
}
.xtrac-callout-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.xtrac-visual-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(232, 212, 139, 0.22);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
}
.xtrac-visual-stat:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(232, 212, 139, 0.45);
    transform: translateY(-2px);
}
.xtrac-visual-stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--gold-light);
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.1;
}
.xtrac-visual-stat span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .xtrac-callout { padding: 36px 28px; }
    .xtrac-callout-inner { grid-template-columns: 1fr; gap: 32px; }
    .xtrac-callout-content h3 { font-size: 1.7rem; }
}

/* ===== WHY CHOOSE US ===== */
.why-section { background: var(--white); }

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

.why-features { display: flex; flex-direction: column; gap: 32px; }

.why-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.why-feature:hover {
    background: var(--pale-sky);
}

.why-feature-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--deep-navy), var(--med-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
}

.why-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

.why-feature p {
    font-size: 0.92rem;
    color: var(--text-light);
}

.why-image-area {
    position: relative;
    height: 500px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--ice-blue), var(--pale-sky));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-image-area::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--gold);
    opacity: 0.1;
    border-radius: 50%;
    top: 20px;
    right: 20px;
}

.why-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-visual {
    text-align: center;
    padding: 40px;
}

.placeholder-visual .icon-large {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

.placeholder-visual p {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.5;
}

/* ===== CONDITIONS TREATED ===== */
.conditions-section {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--med-blue) 100%);
    color: var(--white);
}

.conditions-section .section-label { color: var(--gold-light); }
.conditions-section .section-title { color: var(--white); }
.conditions-section .section-subtitle { color: rgba(255,255,255,0.7); }

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

.condition-tag {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.condition-tag:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    border-color: var(--gold);
}

.condition-tag h4 {
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

/* ===== AESTHETICS ===== */
.aesthetics-section { background: var(--warm-white); }

.aesthetics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.aesthetic-card {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid rgba(10,42,67,0.04);
    overflow: hidden;
}
.aesthetic-img { width: 120px; min-width: 120px; margin: -32px 0 -32px -32px; overflow: hidden; background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.aesthetic-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.aesthetic-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.aesthetic-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.aesthetic-card h4 {
    font-size: 1.15rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
}

.aesthetic-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== DOCTORS ===== */
.doctors-section { background: var(--pale-sky); }

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.doctor-photo {
    height: 260px;
    background: linear-gradient(135deg, var(--ice-blue), var(--pale-sky));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.doctor-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(transparent, var(--white));
}

.doctor-photo .icon-large {
    font-size: 5rem;
    opacity: 0.2;
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.doctor-info { padding: 28px 32px 36px; }

.doctor-info h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.doctor-info .title {
    font-size: 0.88rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 14px;
}

.doctor-info p {
    font-size: 0.92rem;
    color: var(--text-light);
}

/* ===== FAQ ===== */
.faq-section { background: var(--white); }

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid rgba(10,42,67,0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover { border-color: var(--accent-blue); }

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover { color: var(--accent-blue); }

.faq-question .arrow {
    font-size: 1.2rem;
    transition: var(--transition);
    color: var(--gold);
}

.faq-item.active .arrow { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer-inner {
    padding: 0 28px 24px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== REVIEWS ===== */
.reviews-section { background: var(--pale-sky); }

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

.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
}

.review-stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.review-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-body);
    margin-bottom: 20px;
}

.review-card .review-text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.review-card.is-expanded .review-text {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.review-toggle {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    margin: 0 0 18px;
    color: var(--accent-blue);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: var(--transition);
}

.review-toggle:hover { color: var(--deep-navy); text-decoration: underline; }

.review-author {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--deep-navy);
}

.review-source {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--deep-navy), var(--med-blue));
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.cta-phone-card {
    margin: 48px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 26px;
    padding: 22px 44px 22px 26px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(201,168,76,0.06));
    border: 1px solid rgba(232, 212, 139, 0.22);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-phone-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 50%, rgba(201,168,76,0.18), transparent 55%);
    pointer-events: none;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.cta-phone-card:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 212, 139, 0.5);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(232, 212, 139, 0.18);
}

.cta-phone-card:hover::before { opacity: 1; }

.cta-phone-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F0DC95 0%, #D4B35A 45%, #A68936 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(201, 168, 76, 0.4), inset 0 1px 2px rgba(255,255,255,0.45), inset 0 -2px 4px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

.cta-phone-icon::after {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1.5px solid rgba(232, 212, 139, 0.35);
    animation: gentle-breath 3s ease-in-out infinite;
}

.cta-phone-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}

@keyframes gentle-breath {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.12); opacity: 0; }
}

.cta-phone-divider {
    width: 1px;
    height: 46px;
    background: linear-gradient(to bottom, transparent, rgba(232,212,139,0.45), transparent);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.cta-phone-text {
    text-align: left;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.cta-phone-label {
    font-size: 0.68rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(232, 212, 139, 0.85);
    font-weight: 500;
    margin-bottom: 8px;
    font-family: 'Open Sans', sans-serif;
}

.cta-phone-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.15rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.8px;
    line-height: 1;
}

.cta-phone {
    margin-top: 32px;
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    color: var(--gold-light);
    font-weight: 700;
    position: relative;
}

/* ===== MAP / LOCATION ===== */
.location-section { background: var(--white); }

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

.location-info h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.location-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: var(--pale-sky);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.location-detail h5 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.location-detail p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.map-placeholder {
    height: 400px;
    background: var(--pale-sky);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(10,42,67,0.1);
    overflow: hidden;
}
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

/* ===== PAGE / ARTICLE HEROES (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--med-blue) 60%, #3498DB 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero .breadcrumb {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
    position: relative;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.65); }
.page-hero .breadcrumb a:hover { color: var(--gold-light); }
.page-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}
.page-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* ===== GENERIC PAGE CONTENT ===== */
.page-wrap { padding: 64px 0 100px; }
.content-container {
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 56px 60px;
}
.entry-content { font-size: 1.05rem; line-height: 1.9; color: var(--text-body); }
.entry-content h2 { font-size: 1.8rem; margin: 48px 0 18px; }
.entry-content h3 { font-size: 1.35rem; margin: 36px 0 14px; }
.entry-content h4 { font-size: 1.15rem; margin: 28px 0 12px; }
.entry-content p { margin-bottom: 22px; }
.entry-content ul, .entry-content ol { margin: 0 0 24px 24px; }
.entry-content li { margin-bottom: 10px; }
.entry-content img { border-radius: var(--radius); margin: 24px 0; }
.entry-content strong { color: var(--text-dark); }
.entry-content a { color: var(--accent-blue); font-weight: 600; }
.entry-content a:hover { text-decoration: underline; }
.entry-content blockquote {
    background: var(--pale-sky);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 24px 28px;
    margin: 32px 0;
    font-style: italic;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.entry-content th, .entry-content td { border: 1px solid rgba(10,42,67,0.1); padding: 12px 16px; text-align: left; }
.entry-content th { background: var(--pale-sky); color: var(--deep-navy); }

/* Page links / pagination inside content */
.page-links { margin: 32px 0; font-weight: 600; }
.page-links a, .page-links > span {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 4px;
    border-radius: 8px;
    background: var(--pale-sky);
    color: var(--accent-blue);
}

/* ===== SINGLE POST ARTICLE LAYOUT ===== */
.article-hero {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--med-blue) 60%, #3498DB 100%);
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}
.article-hero::before { content: ''; position: absolute; top: -40%; right: -15%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%); border-radius: 50%; }
.article-hero .breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 24px; position: relative; }
.article-hero .breadcrumb a { color: rgba(255,255,255,0.65); }
.article-hero .breadcrumb a:hover { color: var(--gold-light); }
.article-hero-inner { max-width: 780px; position: relative; }
.article-hero .post-meta { display: flex; align-items: center; gap: 16px; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 20px; flex-wrap: wrap; }
.article-hero .post-meta .category { background: rgba(201,168,76,0.2); color: var(--gold-light); font-weight: 600; padding: 5px 14px; border-radius: 50px; font-size: 0.8rem; }
.article-hero h1 { font-size: 2.6rem; color: var(--white); margin-bottom: 20px; line-height: 1.2; }
.article-hero .excerpt { font-size: 1.1rem; color: rgba(255,255,255,0.75); line-height: 1.8; max-width: 650px; }
.author-bar { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; overflow: hidden; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.author-name { font-weight: 700; color: var(--white); font-size: 0.95rem; }
.author-title { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    padding: 64px 0 100px;
}
.article-content { max-width: 780px; }
.article-content > .featured-image { margin: 0 0 36px; border-radius: var(--radius-lg); overflow: hidden; }
.article-content > .featured-image img { width: 100%; display: block; }
.article-content h2 { font-size: 1.8rem; margin: 48px 0 18px; }
.article-content h3 { font-size: 1.35rem; margin: 36px 0 14px; }
.article-content p { font-size: 1.05rem; line-height: 1.9; margin-bottom: 22px; color: var(--text-body); }
.article-content ul, .article-content ol { margin: 0 0 24px 24px; }
.article-content li { font-size: 1.02rem; line-height: 1.8; margin-bottom: 10px; color: var(--text-body); }
.article-content strong { color: var(--text-dark); }
.article-content a { color: var(--accent-blue); font-weight: 600; }
.article-content a:hover { text-decoration: underline; }
.article-content img { border-radius: var(--radius); margin: 24px 0; }

/* Callout Box */
.callout {
    background: var(--pale-sky);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 28px 32px;
    margin: 36px 0;
}
.callout h4 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    color: var(--deep-navy);
    font-size: 1.05rem;
    margin-bottom: 10px;
}
.callout p { font-size: 0.95rem; margin-bottom: 0; }

/* Key Takeaway */
.key-takeaway {
    background: linear-gradient(135deg, var(--deep-navy), var(--med-blue));
    border-radius: var(--radius-lg);
    padding: 36px;
    margin: 40px 0;
    color: var(--white);
}
.key-takeaway h4 { color: var(--gold-light); font-family: 'Open Sans', sans-serif; font-weight: 700; margin-bottom: 12px; font-size: 1rem; }
.key-takeaway p { color: rgba(255,255,255,0.85); font-size: 0.98rem; margin-bottom: 0; }

/* Table of Contents */
.toc {
    background: var(--white);
    border: 1px solid rgba(10,42,67,0.06);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: sticky;
    top: 100px;
}
.toc h4 { font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--deep-navy); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--pale-sky); }
.toc ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.toc li { font-size: 0.88rem; }
.toc a { display: block; padding: 8px 0; color: var(--text-light); border-left: 2px solid transparent; padding-left: 14px; transition: var(--transition); }
.toc a:hover { color: var(--accent-blue); border-left-color: var(--gold); }
.toc .sub { padding-left: 28px; font-size: 0.83rem; }

/* CTA Banner inside article */
.article-cta {
    background: linear-gradient(135deg, var(--deep-navy), var(--med-blue));
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    margin: 60px 0 0;
}
.article-cta h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 14px; }
.article-cta p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.article-cta .btn-group { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Related Posts */
.related-section { background: var(--pale-sky); padding: 80px 0; }
.related-section .section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; color: var(--accent-blue); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.related-section .section-label::before { content: ''; width: 24px; height: 2px; background: var(--gold); }
.related-section h2 { font-size: 2rem; margin-bottom: 40px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.related-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.related-card-img { height: 160px; background: linear-gradient(135deg, var(--ice-blue), var(--pale-sky)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card-img .icon-med { font-size: 2rem; opacity: 0.15; }
.related-card-body { padding: 24px; }
.related-card-body .post-meta { display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-light); margin-bottom: 10px; }
.related-card-body .post-meta .category { background: var(--pale-sky); color: var(--accent-blue); font-weight: 600; padding: 3px 10px; border-radius: 50px; }
.related-card-body h3 { font-size: 1.1rem; line-height: 1.35; margin-bottom: 10px; }
.related-card-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== BLOG LISTING (index / archive / search) ===== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    padding: 80px 0;
}

.featured-post {
    display: block;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 48px;
    transition: var(--transition);
}
.featured-post:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.featured-img {
    height: 320px;
    background: linear-gradient(135deg, var(--ice-blue), var(--pale-sky));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}
.featured-img .icon-large { font-size: 4rem; opacity: 0.15; }
.featured-img img, .post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-content { padding: 36px 40px; }
.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 14px;
}
.post-meta .category {
    background: var(--pale-sky);
    color: var(--accent-blue);
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}
.featured-content h2 {
    font-size: 1.8rem;
    margin-bottom: 14px;
    transition: var(--transition);
}
.featured-content h2:hover { color: var(--accent-blue); }
.featured-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--accent-blue);
}
.read-more:hover { gap: 14px; color: var(--deep-navy); }

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.post-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(10,42,67,0.04);
}
.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.post-img {
    height: 180px;
    background: linear-gradient(135deg, var(--ice-blue), var(--pale-sky));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.post-img .icon-med { font-size: 2.4rem; opacity: 0.15; }
.post-body { padding: 24px 26px 28px; }
.post-body .post-meta { margin-bottom: 10px; }
.post-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    transition: var(--transition);
    line-height: 1.35;
}
.post-body h3:hover { color: var(--accent-blue); }
.post-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 32px; }
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(10,42,67,0.04);
}
.sidebar-widget h4,
.sidebar-widget .widget-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--deep-navy);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--pale-sky);
}
.sidebar-widget ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sidebar-widget ul a { color: var(--text-body); font-weight: 500; }
.sidebar-widget ul a:hover { color: var(--accent-blue); }

.search-box, .search-form {
    display: flex;
    border: 2px solid var(--ice-blue);
    border-radius: var(--radius);
    overflow: hidden;
}
.search-box input, .search-form input[type="search"], .search-field {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    outline: none;
    background: var(--warm-white);
}
.search-box button, .search-form button, .search-submit {
    background: var(--deep-navy);
    color: var(--white);
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}
.search-box button:hover, .search-form button:hover, .search-submit:hover { background: var(--accent-blue); }

.category-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(10,42,67,0.05);
    font-size: 0.92rem;
}
.category-list li:last-child { border-bottom: none; }
.category-list a { color: var(--text-body); font-weight: 500; }
.category-list a:hover { color: var(--accent-blue); }
.category-list .count {
    background: var(--pale-sky);
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 50px;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--deep-navy), var(--med-blue));
    border: none;
    text-align: center;
}
.sidebar-cta h4 { color: var(--white); border-bottom-color: rgba(255,255,255,0.15); }
.sidebar-cta p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.sidebar-cta .btn { width: 100%; justify-content: center; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag, .tagcloud a {
    background: var(--pale-sky);
    color: var(--text-body);
    font-size: 0.8rem !important;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-block;
}
.tag:hover, .tagcloud a:hover { background: var(--deep-navy); color: var(--white); }

/* ===== PAGINATION (archives) ===== */
.pagination-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.pagination-nav .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--white);
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(10,42,67,0.1);
}
.pagination-nav .page-numbers.current {
    background: var(--deep-navy);
    color: var(--white);
    border-color: var(--deep-navy);
}
.pagination-nav .page-numbers:hover:not(.current) { border-color: var(--accent-blue); color: var(--accent-blue); }

/* ===== NEWSLETTER BAR ===== */
.newsletter-bar {
    background: var(--pale-sky);
    padding: 60px 0;
}
.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.newsletter-text h3 { font-size: 1.5rem; margin-bottom: 8px; }
.newsletter-text p { font-size: 0.95rem; color: var(--text-light); }
.newsletter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.newsletter-form input {
    padding: 14px 20px;
    border: 2px solid var(--ice-blue);
    border-radius: 50px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    width: 280px;
    outline: none;
    background: var(--white);
}
.newsletter-form input:focus { border-color: var(--accent-blue); }

/* ===== FOOTER ===== */
footer.site-footer {
    background: var(--deep-navy);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

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

.footer-brand .logo img { height: 44px; width: auto; }
.footer-brand .logo-name { color: var(--white); font-size: 1.4rem; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.4); }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.8; }

.footer-signup { margin-top: 24px; }
.footer-signup label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.5); margin-bottom: 10px; font-weight: 600; }
.footer-signup form { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-signup input {
    flex: 1;
    min-width: 160px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    outline: none;
}
.footer-signup input::placeholder { color: rgba(255,255,255,0.4); }
.footer-signup .btn { padding: 12px 22px; }

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

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}
.footer-col a:hover { color: var(--gold-light); }

.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-social a:hover { background: var(--gold); }
.footer-social svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.7); }
.footer-social a:hover svg { fill: var(--deep-navy); }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .conditions-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .blog-layout { grid-template-columns: 1fr; }
    .sidebar { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .article-layout { grid-template-columns: 1fr; }
    .toc { position: static; }
    .related-grid { grid-template-columns: 1fr 1fr; }
}

/* Tighten the primary nav on narrower desktops so the row (logo + menu +
   phone + Schedule button) stays on one line and the gold button is never
   clipped off the right edge. */
@media (min-width: 769px) and (max-width: 1366px) {
    nav { gap: 16px; padding: 16px 20px; }
    .nav-links { gap: 18px; }
    .nav-links a { font-size: 0.8rem; letter-spacing: 0.2px; }
    .nav-cta { gap: 10px; }
    .nav-phone { padding: 9px 14px; font-size: 0.85rem; gap: 6px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .hero { min-height: 70vh; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { gap: 24px; }
    .hero-stat-number { font-size: 1.8rem; }
    .hero-visual { display: none; }
    .front-page section, .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .services-grid,
    .aesthetics-grid,
    .reviews-grid { grid-template-columns: 1fr; }
    .why-grid,
    .doctors-grid,
    .location-grid { grid-template-columns: 1fr; gap: 40px; }
    .conditions-grid { grid-template-columns: r