/*
Theme Name: Monkfield Dental
Author: Tatevik Grigoryan
Author URI: 
Description: Custom block theme for Monkfield Dental
Requires at least: 6.9
Requires PHP: 8.2
Version: 1.0.0
Text Domain: monkfielddental
*/

/* ═══════════════════════════════════════════
   CSS VARIABLES & RESET (shared with homepage)
   ═══════════════════════════════════════════ */
:root {
    --cream: #faf8f5;
    --cream-warm: #f5f0ea;
    --white: #ffffff;
    --charcoal: #2a2a2a;
    --charcoal-light: #4a4a4a;
    --text-muted: #7a7a7a;
    --gold: #c4a265;
    --gold-light: #d4b87a;
    --gold-dark: #a8894f;
    --sage: #8fa68f;
    --sage-light: #e8ede8;
    --border: #e8e4de;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --font-heading: "Cormorant Garamond", Georgia, serif;
    --font-body: "DM Sans", -apple-system, sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body:has(.header) {
    padding-top: var(--header-height);
}
img {
    max-width: 100%;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}
h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    letter-spacing: -0.02em;
}
h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: -0.01em;
}
h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
}
h4 {
    font-size: 1.15rem;
}
p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal-light);
}
.text-sm {
    font-size: 0.875rem;
}

.btn,
.wp-element-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary {
    background: var(--charcoal);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-secondary,
.wp-block-button.is-style-outline > .wp-element-button {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--charcoal);
}
.btn-secondary:hover,
.wp-block-button.is-style-outline > .wp-element-button:hover {
    background: var(--charcoal);
    color: var(--white);
}
.btn-gold,
.wp-block-button.is-style-gold > .wp-element-button {
    background: var(--gold);
    color: var(--white);
}
.btn-gold:hover,
.wp-block-button.is-style-gold > .wp-element-button:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-gold,
.wp-block-button.is-style-black > .wp-element-button {
    background: var(--charcoal);
    color: var(--white);
}
.btn-gold:hover,
.wp-block-button.is-style-black > .wp-element-button:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-white {
    background: var(--white);
    color: var(--charcoal);
}
.btn-white:hover {
    background: var(--cream);
    transform: translateY(-1px);
}
.btn svg {
    width: 16px;
    height: 16px;
}
.btn-loading {
    position: relative;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
.btn-loading:before {
    content: "";
    display: inline-flex;
    width: 16px;
    height: 16px;
    background: url(assets/img/loading.svg) no-repeat center center;
    animation: spin 0.75s infinite linear;
}
.btn:disabled,
input:disabled,
textarea:disabled,
select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════
   HEADER (shared)
   ═══════════════════════════════════════════ */
.admin-bar {
    --page-top-offset: 32px;
}
.header {
    position: fixed;
    top: calc(0px + var(--page-top-offset, 0px));
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}
.header.scrolled {
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.logo {
    display: flex;
    align-items: center;
}
.logo-img {
    height: 48px;
    width: auto;
}
.nav > ul {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav ul {
    list-style: none;
}
.nav a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--charcoal-light);
    transition: color 0.2s;
    position: relative;
}
.nav a:hover {
    color: var(--gold-dark);
}
.nav .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 4px;
    vertical-align: middle;
    opacity: 0.5;
}
.nav .menu-item-has-children {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 8px 0;
}
.nav .sub-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: -16px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 100;
    border: 1px solid var(--border);
    pointer-events: none;
}
.nav .menu-item-has-children::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -16px;
    width: calc(100% + 32px);
    height: 12px;
    background: transparent;
}
.nav .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.nav .sub-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 0.88rem;
    color: var(--charcoal-light);
    transition: all 0.2s ease;
}
.nav .sub-menu a:hover {
    background: var(--cream);
    color: var(--gold-dark);
    padding-left: 28px;
}
.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 16px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-phone {
    font-size: 0.875rem;
    color: var(--charcoal);
    font-weight: 500;
}
.header-phone svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: -1px;
}
.header-portal {
    font-size: 0.82rem;
    color: var(--charcoal-light);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.header-portal:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}
.mobile-menu-btn {
    display: flex;
    background: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 1001;
    position: relative;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--charcoal);
    transition: all 0.3s;
}

/* Side Panel */
.menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.menu-backdrop.active {
    display: block;
    opacity: 1;
}
.side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 85vw;
    height: 100%;
    background: var(--white);
    z-index: 999;
    padding: 32px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}
.side-panel.active {
    transform: translateX(0);
}
.side-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.side-panel-header .logo-img {
    height: 42px;
    width: auto;
}
.side-panel-close {
    width: 36px;
    height: 36px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--charcoal);
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}
.side-panel-close:hover {
    background: var(--border);
}
.side-panel-nav {
    flex: 1;
}
.side-panel-nav ul {
    list-style: none;
}
.side-panel-nav a {
    display: block;
    padding: 14px 0;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--charcoal);
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}
.side-panel-nav a:hover {
    color: var(--gold);
}
.side-panel-nav .panel-label {
    display: block;
    padding: 14px 0 6px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 500;
    border: none;
}
.side-panel-nav .sub-menu {
    padding-left: 16px;
}
.side-panel-nav .sub-menu a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--charcoal-light);
    padding: 10px 0;
}
.side-panel-nav .panel-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}
.side-panel-ctas {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.side-panel-ctas .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}
.side-panel-contact {
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.side-panel-contact a {
    color: var(--gold-dark);
}

/* ═══════════════════════════════════════════
   PAGE SWITCHER (prototype only)
   ═══════════════════════════════════════════ */
.page-switcher {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    gap: 4px;
    background: var(--charcoal);
    padding: 6px;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.page-switcher button {
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s;
    white-space: nowrap;
}
.page-switcher button:hover {
    color: white;
}
.page-switcher button.active {
    background: var(--gold);
    color: white;
}

.prototype-badge {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 200;
    background: var(--gold);
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════
   PAGE HERO (shared inner page hero)
   ═══════════════════════════════════════════ */
.page-hero {
    padding-top: 48px;
    padding-bottom: 48px;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.breadcrumb a {
    color: var(--gold-dark);
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span {
    opacity: 0.5;
}
.page-hero h1 {
    max-width: 720px;
    margin-bottom: 12px;
}
.page-hero .page-hero-description {
    font-size: 1.1rem;
    max-width: 640px;
    color: var(--charcoal-light);
}

/* ═══════════════════════════════════════════
   TREATMENT / CONTENT POST PAGE
   ═══════════════════════════════════════════ */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    padding: 60px 0;
}
.content-main h2,
.content h2 {
    font-size: 1.8rem;
    margin: 40px 0 16px;
}
.content-main h2:first-child {
    margin-top: 0;
}
.content-main h3,
.content h3 {
    font-size: 1.3rem;
    margin: 32px 0 12px;
    color: var(--charcoal);
}
.content-main p,
.content p {
    margin-bottom: 16px;
}
.content-main ul,
.content-main ol,
.content ul,
.content ol {
    margin: 0 0 20px 20px;
    color: var(--charcoal-light);
}
.content-main li,
.content li {
    margin-bottom: 8px;
    line-height: 1.7;
}
.content-main > .entry-content > .wp-block-image {
    margin-top: 32px;
    margin-bottom: 32px;
}
.content-main > .entry-content > .wp-block-image img {
    width: 100%;
}
.content-main a,
.content a {
    color: var(--gold-dark);
    font-weight: 500;
}
.content-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 32px 0;
    background: linear-gradient(135deg, var(--cream-warm) 0%, #e8ddd0 100%);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.content-callout {
    background: var(--cream);
    border-left: 4px solid var(--gold);
    padding: 24px 28px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 32px 0;
}
.content-callout p {
    margin: 0;
    font-size: 0.95rem;
}
.content-callout strong {
    color: var(--charcoal);
}

.content-cta-inline {
    background: var(--charcoal);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}
.content-cta-inline h3 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.4rem;
}
.content-cta-inline p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
}

/* Sidebar */
.content-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px + var(--page-top-offset));
    align-self: start;
}
.sidebar-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
}
.sidebar-card h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.sidebar-card ul {
    display: block;
    list-style: none;
}
.sidebar-card li,
.sidebar-card .wp-block-navigation .wp-block-navigation-item {
    display: block;
    margin-bottom: 0;
}
.sidebar-card li a {
    display: block;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--charcoal-light);
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
}
.sidebar-card li:last-child a {
    border-bottom: none;
}
.sidebar-card li a:hover {
    color: var(--gold-dark);
    padding-left: 4px;
}
.sidebar-card li.wp-block-navigation-item.current-menu-item a {
    color: var(--gold-dark);
    font-weight: 600;
}

.sidebar-cta {
    background: var(--charcoal);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
}
.sidebar-cta h4 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 12px;
}
.sidebar-cta p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.sidebar-cta .btn {
    width: 100%;
    justify-content: center;
}

/* ═══════════════════════════════════════════
   PRICE GUIDE PAGE
   ═══════════════════════════════════════════ */
.price-intro {
    padding: 48px 0;
    max-width: 720px;
}
.price-intro p {
    font-size: 1.05rem;
}

.price-section {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}
.price-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.price-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.price-section-header h2 {
    font-size: 1.6rem;
    margin: 0;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}
.price-table tr {
    border-bottom: 1px solid var(--border);
}
.price-table tr:last-child {
    border-bottom: none;
}
.price-table td {
    padding: 16px 0;
    font-size: 0.95rem;
    vertical-align: top;
}
.price-table td:first-child {
    color: var(--charcoal);
    font-weight: 400;
    padding-right: 24px;
}
.price-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--charcoal);
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}
.price-table .price-note {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}
.price-table .price-from {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    font-family: var(--font-body);
    display: block;
}

/* Finance Section */
.finance-section {
    padding: 80px 0;
    background: var(--cream);
}
.finance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.finance-content h2 {
    margin-bottom: 16px;
}
.finance-content p {
    margin-bottom: 16px;
}
.finance-features {
    list-style: none;
    margin: 24px 0;
}
.finance-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--charcoal-light);
}
.finance-features li::before {
    content: "✓";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sage-light);
    color: var(--sage);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.finance-example {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}
.finance-example h3 {
    margin-bottom: 24px;
    font-size: 1.3rem;
}
.finance-example-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.finance-example-item:last-child {
    border-bottom: none;
}
.finance-example-item .label {
    font-size: 0.9rem;
    color: var(--charcoal-light);
}
.finance-example-item .value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--charcoal);
}
.finance-example-item .value.highlight {
    color: var(--gold-dark);
    font-size: 1.5rem;
}
.finance-example-note {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* ═══════════════════════════════════════════
   REFERRAL PAGE
   ═══════════════════════════════════════════ */
.referral-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}
.referral-intro-content h2 {
    margin-bottom: 16px;
}
.referral-intro-content p {
    margin-bottom: 16px;
}

.referral-image {
    background: linear-gradient(135deg, var(--cream-warm) 0%, #e8ddd0 100%);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.referral-services {
    padding: 60px 0;
    background: var(--cream);
}
.referral-services h2 {
    text-align: center;
    margin-bottom: 40px;
}
.referral-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.referral-service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.referral-service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}
.referral-service-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cream);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.referral-service-card h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}
.referral-service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--charcoal);
    transition: border-color 0.2s;
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ═══════════════════════════════════════════
   MEMBERSHIP PAGE
   ═══════════════════════════════════════════ */
.membership-intro {
    padding: 48px 0 0;
    max-width: 640px;
}
.membership-intro p {
    font-size: 1.05rem;
}

.membership-plans {
    padding: 48px 0 80px;
}
.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.membership-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    padding: 36px;
    position: relative;
    transition: all 0.3s ease;
}
.membership-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}
.membership-card.featured {
    border-color: var(--gold);
    background: var(--cream);
}
.membership-card.featured .badge {
    display: block;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: white;
    padding: 4px 20px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.membership-card-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 4px;
}
.membership-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.membership-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.membership-card-price .amount {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--charcoal);
}
.membership-card-price .period {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.membership-card-features {
    list-style: none;
    margin-bottom: 28px;
}
.membership-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--charcoal-light);
}
.membership-card-features li::before {
    content: "✓";
    color: var(--sage);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.membership-card .btn {
    width: 100%;
    justify-content: center;
}

.membership-benefits {
    padding: 60px 0;
    background: var(--cream);
}
.membership-benefits h2 {
    text-align: center;
    margin-bottom: 40px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.benefit-item {
    text-align: center;
}
.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
}
.benefit-item h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}
.benefit-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   BLOG LISTING PAGE
   ═══════════════════════════════════════════ */
.blog-filter {
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}
.blog-filter-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.blog-filter-btn {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    background: var(--cream);
    color: var(--charcoal-light);
    border: 1px solid transparent;
    transition: all 0.2s;
}
.blog-filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}
.blog-filter-btn.active {
    background: var(--charcoal);
    color: var(--white);
}

.blog-listing {
    padding: 48px 0 80px;
}
.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.blog-card-image {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--cream-warm) 0%, #e0d8cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    overflow: hidden;
}
.blog-card-image img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card-body {
    padding: 24px;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.blog-card-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
    font-weight: 600;
}
.blog-card-category {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 10px;
}
.blog-card-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.blog-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.35;
}
.blog-card-body h3 a:hover {
    color: var(--gold-dark);
}
.blog-card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-read-more {
    font-size: 0.82rem;
    color: var(--charcoal);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.blog-read-more:hover {
    color: var(--gold-dark);
}
.blog-read-more::after {
    content: "→";
    transition: transform 0.2s;
}
.blog-card:hover .blog-read-more::after {
    transform: translateX(4px);
}

.blog-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.blog-featured:has(.blog-featured-image) {
    grid-template-columns: 1fr 1fr;
}
.blog-featured-image {
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--cream-warm) 0%, #e0d8cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.blog-featured-content .blog-card-tag {
    margin-bottom: 12px;
    display: inline-block;
}
.blog-featured-content h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}
.blog-featured-content h2 a:hover {
    color: var(--gold-dark);
}
.blog-featured-content p {
    margin-bottom: 20px;
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.page-numbers {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--charcoal-light);
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}
a.page-numbers {
    cursor: pointer;
}
.page-numbers:hover {
    border-color: var(--gold);
    color: var(--charcoal);
}
.page-numbers.current {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}
.page-numbers.next,
.page-numbers.prev {
    width: auto;
    padding: 0 14px;
    font-size: 0.8rem;
}
.page-numbers.next:disabled,
.page-numbers.prev:disabled {
    opacity: 0.35;
    cursor: default;
    border-color: var(--border);
}

/* ═══════════════════════════════════════════
   BLOG POST PAGE
   ═══════════════════════════════════════════ */
.blog-post-hero {
    padding-top: 48px;
    padding-bottom: 32px;
    background: var(--cream);
}
.blog-post-hero .breadcrumb {
    margin-bottom: 20px;
}
.blog-post-hero .blog-card-tag {
    display: inline-block;
    margin-bottom: 12px;
}
.blog-post-hero h1 {
    max-width: 720px;
    margin-bottom: 16px;
}
.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.blog-post-meta .author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.blog-post-meta .author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sage);
}

.blog-post-image {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}
.blog-post-image-inner {
    width: 100%;
    aspect-ratio: 2/1;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--cream-warm) 0%, #e0d8cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 24px;
}

.blog-post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.blog-post-content h2,
.post-content h2 {
    font-size: 1.7rem;
    margin: 40px 0 16px;
}
.blog-post-content h3,
.post-content h3 {
    font-size: 1.3rem;
    margin: 32px 0 12px;
}
.blog-post-content p,
.post-content p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}
.blog-post-content ul,
.blog-post-content ol,
.post-content ul,
.post-content ol {
    margin: 0 0 20px 20px;
    color: var(--charcoal-light);
    list-style-position: inside;
}
.blog-post-content li,
.post-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}
.blog-post-content a,
.post-content a {
    color: var(--gold-dark);
    font-weight: 500;
}

.blog-post-content .content-callout {
    background: var(--cream);
    border-left: 4px solid var(--gold);
    padding: 24px 28px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 32px 0;
}

.blog-post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.share-btn:hover {
    background: var(--charcoal);
    color: white;
}

.blog-related {
    padding: 60px 0;
    background: var(--cream);
}
.blog-related h2 {
    text-align: center;
    margin-bottom: 36px;
}
.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ═══════════════════════════════════════════
   SHARED CTA SECTION
   ═══════════════════════════════════════════ */
.page-cta {
    padding: 80px 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}
.page-cta::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.15) 0%, transparent 70%);
}
.page-cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}
.page-cta-inner h2 {
    color: var(--white);
    margin-bottom: 12px;
}
.page-cta-inner p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
}
.page-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   FOOTER (shared)
   ═══════════════════════════════════════════ */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .logo-img {
    height: 46px;
    filter: brightness(1.8) contrast(0.95);
}
.footer-brand p {
    margin-top: 16px;
    font-size: 0.85rem;
    max-width: 280px;
    line-height: 1.7;
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 500;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}
.footer-col a:hover {
    color: var(--gold-light);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}
.footer-legal ul {
    display: flex;
    gap: 20px;
    list-style: none;
}
.footer-legal a {
    color: rgba(255, 255, 255, 0.35);
}
.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════════
   REFERRAL FORM (enhanced)
   ═══════════════════════════════════════════ */
.referral-compact {
    padding: 48px 0 80px;
}
.referral-compact-intro {
    max-width: 640px;
    margin-bottom: 40px;
}
.referral-compact-intro p {
    margin-bottom: 12px;
}

.referral-form-grid {
    max-width: 820px;
}
.form-section-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 36px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.form-section-label:first-child {
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-row.three-col {
    grid-template-columns: 1fr 1fr 1fr;
}
.form-row.four-col {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.form-row .form-group {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 16px;
}
.form-group label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--charcoal);
}
.form-group label .required {
    color: #c0392b;
    margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--charcoal);
    transition: border-color 0.2s;
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.form-group textarea {
    min-height: 100px;
    resize: vertical;
}
.form-group .form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Urgency toggle */
.urgency-toggle {
    display: flex;
    gap: 8px;
}
.urgency-option {
    position: relative;
    flex: 1;
}
.urgency-option input {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.000001;
    z-index: 1;
}
.urgency-option label {
    position: relative;
    z-index: 2;
    display: block;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal-light);
    transition: all 0.2s;
    background: var(--white);
}
.urgency-option label:hover {
    border-color: var(--gold);
}
.urgency-option input:checked + label {
    border-color: var(--sage);
    background: var(--sage-light);
    color: var(--charcoal);
}
.urgency-option input[value="urgent"]:checked + label {
    border-color: #c0392b;
    background: #fdf0ef;
    color: #c0392b;
}

/* File upload */
.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--cream);
}
.file-upload-area:hover {
    border-color: var(--gold);
    background: var(--white);
}
.file-upload-area .upload-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.file-upload-area .upload-text {
    font-size: 0.88rem;
    color: var(--charcoal-light);
    font-weight: 500;
}
.file-upload-area .upload-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.file-upload-area input[type="file"] {
    display: none;
}

/* Tooth selector */
.tooth-inputs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.tooth-inputs .form-group {
    flex: 1;
    min-width: 120px;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════
   TREATMENTS LISTING PAGE
   ═══════════════════════════════════════════ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.treatments-filter {
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}
.treatments-filter-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.treatments-listing {
    padding: 48px 0 80px;
}

.treatment-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.treatment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.treatment-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.treatment-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--cream-warm) 0%, #e0d8cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
}
.treatment-card-image .treatment-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.treatment-card-body {
    padding: 24px;
}
.treatment-card-body .treatment-card-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}
.treatment-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.35;
}
.treatment-card-body h3 a:hover {
    color: var(--gold-dark);
}
.treatment-card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.treatment-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.treatment-card-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
}
.treatment-card-price .from-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-muted);
    display: block;
}
.treatment-card-link {
    font-size: 0.82rem;
    color: var(--charcoal);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.treatment-card-link::after {
    content: "→";
    transition: transform 0.2s;
}
.treatment-card:hover .treatment-card-link::after {
    transform: translateX(4px);
}
.content-cta-2 {
    margin-top: 48px;
    background: var(--sage-light);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.content-cta-2__main {
    flex: 1;
    min-width: 280px;
}
.content-cta-2 h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.content-cta-2 p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    margin: 0;
}
/* Featured treatments row */
.treatments-featured {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}
.treatments-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.treatment-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.treatment-featured-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.treatment-featured-image {
    background: linear-gradient(135deg, var(--cream-warm) 0%, #e0d8cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    min-height: 220px;
}
.treatment-featured-card.style--sage .treatment-featured-image {
    background: linear-gradient(145deg, #e8ede8 0%, #d5ddd5 100%);
}
.treatment-featured-card.style--sage .treatment-card-tag {
    color: var(--sage);
}
.treatment-featured-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.treatment-featured-body .treatment-card-tag {
    margin-bottom: 8px;
}
.treatment-featured-body h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.treatment-featured-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   LANDING PAGE — NEW PATIENTS
   ═══════════════════════════════════════════ */
.landing-hero {
    padding-top: 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
body:has(.header) .landing-hero {
    min-height: calc(80vh - var(--header-height));
}
.landing-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.landing-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.landing-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 42, 42, 0.88) 0%,
        rgba(42, 42, 42, 0.65) 40%,
        rgba(42, 42, 42, 0.3) 100%
    );
}
.landing-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 80px 0;
}
.landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    margin-bottom: 24px;
}
.landing-hero-badge span:first-child {
    color: var(--gold-light);
    font-size: 0.8rem;
}
.landing-hero-badge span:last-child {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}
.landing-hero h1 {
    color: var(--white);
    margin-bottom: 16px;
}
.landing-hero h1 em {
    font-style: italic;
    color: var(--gold-light);
}
.landing-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.75;
}
.landing-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Steps section */
.steps-section {
    padding: 80px 0;
    background: var(--white);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.step-card {
    text-align: center;
    position: relative;
}
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cream);
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-dark);
    position: relative;
}
.step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(50% + 36px);
    width: calc(100% - 72px);
    height: 1px;
    background: var(--border);
}
.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* What's included highlight box */
.included-section {
    padding: 80px 0;
    background: var(--cream);
}
.included-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.included-content h2 {
    margin-bottom: 16px;
}
.included-content p {
    margin-bottom: 20px;
}
.included-list {
    list-style: none;
}
.included-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--charcoal-light);
}
.included-list li:last-child {
    border-bottom: none;
}
.included-list li .check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--sage-light);
    color: var(--sage);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}
.included-price-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}
.included-price-card-headline {
    display: block;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: white;
    padding: 4px 20px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.included-price-amount {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1;
    margin: 16px 0 4px;
}
.included-price-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.included-price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}
.included-price-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--charcoal-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.included-price-features li::before {
    content: "✓";
    color: var(--sage);
    font-weight: 700;
    font-size: 0.85rem;
}
.included-price-card .btn {
    width: 100%;
    justify-content: center;
}

/* Testimonial highlight */
.landing-testimonial {
    padding: 80px 0;
    background: var(--white);
}
.landing-testimonial-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.landing-testimonial-quote {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 20px;
}
.landing-testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--charcoal);
    margin-bottom: 20px;
}
.landing-testimonial-author {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.landing-testimonial-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 0.9rem;
    margin-bottom: 4px;
}
.landing-testimonial-star--highlighted {
    color: var(--gold);
}

/* FAQ Accordion */
.faq-section {
    padding: 80px 0;
    background: var(--cream);
}
.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
    background: none;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--charcoal);
}
.faq-question::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--gold);
    transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
    content: "−";
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-answer-inner {
    padding: 0 0 20px;
    font-size: 0.95rem;
    color: var(--charcoal-light);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   LANDING PAGE — DENTAL IMPLANTS
   ═══════════════════════════════════════════ */
.implant-stats {
    padding: 60px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.implant-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.implant-stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--gold-dark);
    line-height: 1;
    margin-bottom: 4px;
}
.implant-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.implant-types {
    padding: 80px 0;
    background: var(--white);
}
.implant-types h2 {
    text-align: center;
    margin-bottom: 48px;
}
.implant-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.implant-type-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.implant-type-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.implant-type-card.highlight {
    background: var(--charcoal);
    border-color: var(--gold);
}
.implant-type-card.highlight h3 {
    color: var(--white);
}
.implant-type-card.highlight p {
    color: rgba(255, 255, 255, 0.6);
}
.implant-type-card.highlight .implant-type-price {
    color: var(--gold-light);
}
.implant-type-card.highlight .implant-type-tag {
    background: rgba(196, 162, 101, 0.2);
    color: var(--gold-light);
}
.implant-type-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.implant-type-card.highlight .implant-type-icon {
    background: rgba(255, 255, 255, 0.1);
}
.implant-type-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.implant-type-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}
.implant-type-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
}
.implant-type-price-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.implant-type-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--sage-light);
    color: var(--sage);
}

/* Process timeline */
.process-section {
    padding: 80px 0;
    background: var(--cream);
}
.process-section h2 {
    text-align: center;
    margin-bottom: 48px;
}
.process-timeline {
    max-width: 700px;
    margin: 0 auto;
}
.process-step {
    display: flex;
    gap: 24px;
    padding-bottom: 40px;
    position: relative;
}
.process-step:last-child {
    padding-bottom: 0;
}
.process-step-marker {
    width: 48px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.process-step-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-dark);
    position: relative;
    z-index: 1;
}
.process-step-marker::after {
    content: "";
    width: 2px;
    flex: 1;
    background: var(--border);
    margin-top: 8px;
}
.process-step:last-child .process-step-marker::after {
    display: none;
}
.process-step-content {
    padding-top: 8px;
    flex: 1;
}
.process-step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}
.process-step-content p {
    font-size: 0.92rem;
    color: var(--charcoal-light);
    line-height: 1.6;
}
.process-step-content .step-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-dark);
    margin-bottom: 8px;
}

/* Technology grid */
.tech-section {
    padding: 80px 0;
    background: var(--white);
}
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.tech-grid.theme--white .tech-card {
    background: var(--white);
}
.tech-grid.theme--white .tech-card-icon {
    background: var(--cream);
}
.tech-grid.align--vertical {
    grid-template-columns: 1fr;
}
.tech-grid.align--vertical .tech-card {
    display: flex;
    gap: 14px;
    text-align: left;
    padding: 18px 20px;
}
.tech-grid.align--vertical h4 {
    font-weight: 500;
    font-size: 0.92rem;
    margin-bottom: 2px;
    font-family: var(--font-body);
}
.tech-grid.align--vertical .tech-card-icon {
    min-width: 40px;
    height: 40px;
    font-size: 1rem;
    margin: 0;
}
.tech-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}
.tech-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.tech-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.tech-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   TEAM LISTING PAGE
   ═══════════════════════════════════════════ */
.team-intro {
    padding: 48px 0 0;
    max-width: 640px;
}
.team-intro p {
    font-size: 1.05rem;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.team-card-photo {
    aspect-ratio: 3/4;
    background: linear-gradient(145deg, var(--cream-warm) 0%, #e0d8cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    overflow: hidden;
}
.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-card-body {
    padding: 24px;
}
.team-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}
.team-card-role {
    font-size: 0.82rem;
    color: var(--gold-dark);
    font-weight: 500;
    margin-bottom: 10px;
}
.team-card-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.team-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: var(--charcoal);
    font-weight: 500;
    margin-top: 12px;
}
.team-card-link::after {
    content: "→";
    transition: transform 0.2s;
}
.team-card:hover .team-card-link::after {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════
   TEAM MEMBER PROFILE PAGE
   ═══════════════════════════════════════════ */
.team-profile {
    padding: 48px 0 80px;
}
.team-profile.has-image .team-profile-inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: start;
}
.team-profile-photo {
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--cream-warm) 0%, #e0d8cc 100%);
    overflow: hidden;
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.team-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-profile-content {
}
.team-profile-content h1 {
    margin-bottom: 4px;
}
.team-profile-role {
    font-size: 1rem;
    color: var(--gold-dark);
    font-weight: 500;
    margin-bottom: 24px;
}
.team-profile-content p {
    margin-bottom: 16px;
}

.team-profile-credentials {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    margin: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.team-credential {
    flex: 1;
    min-width: 140px;
}
.team-credential strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold-dark);
    margin-bottom: 2px;
}
.team-credential span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.team-profile-interests h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}
.team-profile-interests ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.team-profile-interests li {
    padding: 6px 16px;
    background: var(--cream);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--charcoal-light);
}

.team-nav {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.team-nav a {
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.team-nav a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════
   HOMEPAGE SECTIONS (prefixed hp-)
   ═══════════════════════════════════════════ */
.home-section {
    padding: 100px 0;
}

.hp-hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    padding-top: 0;
}
body:has(.header) .hp-hero {
    min-height: calc(100vh - var(--header-height));
}
.hp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hp-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hp-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.4) 35%,
        rgba(0, 0, 0, 0.1) 65%,
        rgba(0, 0, 0, 0.05) 100%
    );
}
.hp-hero-inner {
    position: relative;
    z-index: 2;
    padding: 80px 0 60px;
    max-width: 640px;
}
.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    margin-bottom: 24px;
}
.hp-hero-badge-stars {
    display: flex;
    align-items: center;
    gap: 1px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}
.hp-hero-badge-star--achieved {
    color: var(--gold-light);
}
.hp-hero-badge-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}
.hp-hero h1 {
    color: var(--white);
    margin-bottom: 20px;
}
.hp-hero h1 em {
    font-style: italic;
    color: var(--gold-light);
}
.hp-hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.75;
}
.hp-hero-description p {
    font: inherit;
    color: inherit;
}
.hp-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hp-hero-float {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 16px 22px;
    margin-top: 24px;
}
.hp-hero-float-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.hp-hero-float strong {
    display: block;
    font-size: 0.95rem;
    color: var(--white);
}
.hp-hero-float span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.hp-trust {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}
.hp-trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.hp-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hp-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.hp-trust-text strong {
    display: block;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}
.hp-trust-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.hp-trust-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

.hp-services {
    background: var(--white);
}
.hp-services-description {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}
.hp-services-description p {
    font: inherit;
}
.hp-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hp-service-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
}
.hp-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
    background: var(--white);
}
.hp-service-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: width 0.3s ease;
}
.hp-service-card:hover::after {
    width: 60px;
}
.hp-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.3s;
}
.hp-service-card:hover .hp-service-icon {
    background: var(--gold);
}
.hp-service-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.hp-service-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.hp-service-link {
    font-size: 0.82rem;
    color: var(--gold-dark);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.hp-service-link::after {
    content: "→";
    transition: transform 0.2s;
}
.hp-service-card:hover .hp-service-link::after {
    transform: translateX(4px);
}
.hp-about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hp-about-image {
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #e8ddd0 0%, #d8cfc2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    font-size: 0.8rem;
    color: var(--text-muted);
    overflow: hidden;
}
.hp-about-image img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
}
.hp-about-content h2 {
    margin-bottom: 20px;
}
.hp-about-content p {
    margin-bottom: 16px;
}
.hp-about-credentials {
    display: flex;
    gap: 24px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.hp-credential {
    flex: 1;
}
.hp-credential strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--gold-dark);
    margin-bottom: 2px;
}
.hp-credential span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hp-reviews {
    background: var(--white);
}
.hp-reviews-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
}
.hp-reviews-score {
    display: flex;
    align-items: center;
    gap: 16px;
}
.hp-reviews-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
}
.hp-reviews-stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 2px;
}
.hp-reviews-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.hp-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.hp-review-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}
.hp-review-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.hp-review-quote {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}
.hp-review-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--charcoal-light);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hp-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hp-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sage);
}
.hp-review-name {
    font-weight: 500;
    font-size: 0.9rem;
}
.hp-review-stars-sm {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 1px;
}

.hp-cta {
    padding: 100px 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}
.hp-cta::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.15) 0%, transparent 70%);
}
.hp-cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}
.hp-cta-inner h2 {
    color: var(--white);
    margin-bottom: 16px;
}
.hp-cta-inner p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    margin-bottom: 36px;
}
.hp-cta-offer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 16px 28px;
    margin-bottom: 32px;
}
.hp-cta-offer-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold-light);
    font-weight: 500;
}
.hp-cta-offer-text {
    text-align: left;
}
.hp-cta-offer-text strong {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
}
.hp-cta-offer-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}
.hp-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hp-blog {
    background: var(--cream);
}
.hp-blog-description {
    max-width: 560px;
    font-size: 1.05rem;
}
.hp-blog-description p {
    font: inherit;
}
.hp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hp-contact {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.hp-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.hp-contact-item {
    text-align: center;
}
.hp-contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--cream);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.hp-contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.hp-contact-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.hp-contact-item a {
    color: var(--gold-dark);
    font-weight: 500;
}

/* ═══════════════════════════════════════════
   ABOUT US PAGE
   ═══════════════════════════════════════════ */
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-story-image {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #e8ddd0 0%, #d8cfc2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.about-value-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--cream);
    border-radius: var(--radius-lg);
}
.about-value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.about-value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.about-value-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.about-credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.about-credential-card {
    text-align: center;
    padding: 28px 16px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.about-credential-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--gold-dark);
    margin-bottom: 4px;
}
.about-credential-card span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   BEFORE & AFTER PAGE
   ═══════════════════════════════════════════ */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.ba-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.ba-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.ba-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}
.ba-img {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--cream-warm) 0%, #e0d8cc 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    position: relative;
}
.ba-img-label {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 2;
}
.ba-img.before .ba-img-label {
    background: rgba(0, 0, 0, 0.5);
    color: white;
}
.ba-img.after .ba-img-label {
    background: var(--gold);
    color: white;
}
.ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--white);
    transform: translateX(-50%);
    z-index: 1;
}
.ba-body {
    padding: 24px;
}
.ba-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.ba-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}
.ba-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.ba-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--cream);
    color: var(--charcoal-light);
    font-weight: 500;
}
.ba-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.ba-filter-btn {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--charcoal-light);
    cursor: pointer;
    transition: all 0.2s;
}
.ba-filter-btn:hover {
    border-color: var(--gold);
    color: var(--charcoal);
}
.ba-filter-btn.active {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}

/* ═══════════════════════════════════════════
   CONTACT FORM (bottom of every page)
   ═══════════════════════════════════════════ */
.page-contact-cta {
    padding: 80px 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}
.page-contact-cta::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.1) 0%, transparent 70%);
}
.page-contact-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.page-contact-left h2 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.page-contact-left p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}
.page-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.page-contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}
.page-contact-method-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.page-contact-method a {
    color: var(--gold-light);
    font-weight: 500;
}
.page-contact-form {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.page-contact-form label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    margin-bottom: 6px;
}
.page-contact-form input,
.page-contact-form select,
.page-contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}
.page-contact-form input:focus,
.page-contact-form select:focus,
.page-contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
}
.page-contact-form input::placeholder,
.page-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}
.page-contact-form textarea {
    min-height: 80px;
    resize: vertical;
}
.page-contact-form .cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.page-contact-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}
.page-contact-form select option {
    background: var(--charcoal);
    color: var(--white);
}
.page-contact-form-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: flex-start;
}
.response {
    color: rgba(255, 255, 255, 0.75);
    background-color: #4caf508a;
    font-size: 0.85em;
    padding: 20px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid;
}
.response--error {
    background-color: #f4433673;
}
.response--dark {
    background-color: #4caf50f2;
    color: #fff;
}
.response--dark.response--error {
    background-color: #db1708c4;
}
.response + .referral-form-grid {
    margin-top: 32px;
}
.section-label,
html p.section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
}

/* ═══════════════════════════════════════════
   HERO — Sage-toned, warm, non-clinical
   ═══════════════════════════════════════════ */
.np-hero {
    padding: 120px 0 80px;
    background: linear-gradient(170deg, var(--sage-light) 0%, var(--cream) 60%, var(--white) 100%);
    position: relative;
}
.np-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--white));
}
.np-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.np-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 4.5vw, 3rem);
}
.np-hero h1 em {
    font-style: italic;
    color: var(--sage);
}
.np-hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--charcoal-light);
    margin-bottom: 32px;
    max-width: 600px;
}
.np-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   EMPATHY SECTION
   ═══════════════════════════════════════════ */
.np-empathy {
    padding: 80px 0;
}
.np-empathy-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}
.np-empathy-text h2 {
    margin-bottom: 20px;
}
.np-empathy-text p {
    margin-bottom: 16px;
}
.np-empathy-image {
}
.np-empathy-image img {
    width: 100%;
    height: 380px;
}

/* ═══════════════════════════════════════════
   COMFORT CARDS
   ═══════════════════════════════════════════ */
.np-comfort {
    padding: 80px 0;
    background: var(--cream);
}
.np-comfort-header {
    text-align: center;
    margin-bottom: 56px;
}
.np-comfort-header h2 {
    margin-bottom: 12px;
}
.np-comfort-header p {
    max-width: 560px;
    margin: 0 auto;
}
.np-comfort-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.np-comfort-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}
.np-comfort-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.np-comfort-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.np-comfort-main h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.np-comfort-main p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--charcoal-light);
}

/* ═══════════════════════════════════════════
   FIRST VISIT STEPS
   ═══════════════════════════════════════════ */
.np-steps {
    padding: 80px 0;
    background: var(--cream);
}
.np-steps-header {
    text-align: center;
    margin-bottom: 56px;
}
.np-steps-header h2 {
    margin-bottom: 12px;
}
.np-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}
.np-step {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.np-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.np-step-main h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.np-step-main p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--charcoal-light);
}

/* ═══════════════════════════════════════════
   MEET RICARDO
   ═══════════════════════════════════════════ */
.np-dentist {
    padding: 80px 0;
}
.np-dentist-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}
.np-dentist-photo {
    height: 440px;
}
.np-dentist-photo * {
    height: inherit;
}
.np-dentist-photo img {
    width: 100%;
    object-fit: cover;
    height: inherit;
}
.np-dentist-text .section-label {
    margin-bottom: 8px;
}
.np-dentist-text h2 {
    margin-bottom: 20px;
}
.np-dentist-text blockquote {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--charcoal-light);
    font-style: italic;
    margin-bottom: 24px;
    padding-left: 20px;
    border-left: 3px solid var(--sage);
}
.np-dentist-text blockquote p {
    font-style: italic;
}
.np-dentist-text blockquote p + p {
    margin-top: 12px;
}
.np-dentist-creds {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.np-dentist-cred p {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.np-dentist-cred strong {
    color: var(--charcoal);
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   VIDEO TESTIMONIAL
   ═══════════════════════════════════════════ */
.np-video {
    padding: 80px 0;
}
.np-video-header {
    text-align: center;
    margin-bottom: 48px;
}
.np-video-header h2 {
    margin-bottom: 12px;
}
.np-video-header p {
    max-width: 560px;
    margin: 0 auto;
}
.np-video-inner {
    max-width: 800px;
    margin: 0 auto;
}
.np-video-player {
    max-width: 360px;
    margin: 0 auto;
}
.video {
    overflow: hidden;
    aspect-ratio: 9 / 16;
    position: relative;
    background: linear-gradient(145deg, #3a3a3a 0%, #1a1a1a 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 9 / 16;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}
.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: no-repeat center center;
    background-size: cover;
}
.video-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.3s,
        background 0.3s;
}
.video-play-btn:hover {
    transform: scale(1.1);
    background: var(--gold-dark);
}
.video-play-btn svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
    margin-left: 3px;
}
.video-caption {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-style: italic;
}
.video-embed {
    position: absolute;
    inset: 0;
}
.video-embed iframe {
    width: 100%;
    height: 100%;
}
.np-video-patient {
    text-align: center;
    margin-top: 20px;
}
.np-video-patient p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.np-video-patient strong {
    color: var(--charcoal);
}

/* ═══════════════════════════════════════════
   FAQ (matches implant landing page style)
   ═══════════════════════════════════════════ */
.faq-section {
    padding: 80px 0;
    background: var(--cream);
}
.faq-section .section-label {
    text-align: center;
}
.faq-section .faq-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.faq-section .faq-section-header h2 {
    margin-bottom: 12px;
}
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
    background: none;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: color 0.2s;
}
.faq-question:hover {
    color: var(--gold-dark);
}
.faq-question::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--gold);
    transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
    content: "−";
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer {
    max-height: 300px;
}
.faq-answer-inner {
    padding: 0 0 20px;
    font-size: 0.95rem;
    color: var(--charcoal-light);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
.np-cta {
    padding: 72px 0;
    background: var(--charcoal);
    position: relative;
}
.np-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(196, 162, 101, 0.06) 0%, transparent 70%);
}
.np-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.np-cta-inner h2 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.np-cta-inner p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
}
.np-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════ */
.page-contact {
    padding: 72px 0;
    background: var(--charcoal);
    position: relative;
}
.page-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(196, 162, 101, 0.06) 0%, transparent 70%);
}
.page-contact-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.page-contact-left h2 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.page-contact-left p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}
.page-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.page-contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}
.page-contact-method-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.page-contact-method a {
    color: var(--gold-light);
    font-weight: 500;
}
.page-contact-form {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.page-contact-form label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    margin-bottom: 6px;
}
.page-contact-form input,
.page-contact-form select,
.page-contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}
.page-contact-form input:focus,
.page-contact-form select:focus,
.page-contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
}
.page-contact-form input::placeholder,
.page-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}
.page-contact-form textarea {
    min-height: 80px;
    resize: vertical;
}
.page-contact-form .cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.page-contact-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}
.page-contact-form select option {
    background: var(--charcoal);
    color: var(--white);
}
.ba-single .ba-images {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .np-comfort-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .np-empathy-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .np-dentist-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .np-dentist-photo {
        height: 300px;
    }
    .page-contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .nav {
        display: none;
    }
    .content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .content-sidebar {
        position: static;
    }
    .referral-intro {
        grid-template-columns: 1fr;
    }
    .finance-grid {
        grid-template-columns: 1fr;
    }
    .membership-grid {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-featured {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .side-panel {
        width: 100%;
        max-width: 100%;
    }
    .referral-services-grid {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-profile.has-image .team-profile-inner {
        grid-template-columns: 1fr;
    }
    .team-profile.has-image .team-profile-photo {
        position: static;
        max-width: 320px;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .step-card::after {
        display: none;
    }
    .included-grid {
        grid-template-columns: 1fr;
    }
    .implant-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .implant-types-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .treatment-card-grid {
        grid-template-columns: 1fr;
    }
    .treatments-featured-grid {
        grid-template-columns: 1fr;
    }
    .treatment-featured-card {
        grid-template-columns: 1fr;
    }
    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hp-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hp-about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .page-contact-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ba-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
    }
    #page-about [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    #page-about [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    #page-about [style*="repeat(3,1fr)"] {
        grid-template-columns: 1fr !important;
    }
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-values-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .about-credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-switcher {
        flex-wrap: wrap;
        border-radius: var(--radius-lg);
        max-width: 95vw;
        justify-content: center;
    }
    .wp-block-columns {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .home-section {
        padding: 64px 0;
    }
    .blog-listing-grid {
        grid-template-columns: 1fr;
    }
    .blog-related-grid {
        grid-template-columns: 1fr;
    }
    .form-row,
    .form-row.three-col,
    .form-row.four-col {
        grid-template-columns: 1fr;
    }
    .tooth-inputs {
        flex-direction: column;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .header-phone {
        display: none;
    }
    .header-portal {
        display: none;
    }
    .page-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .landing-hero {
        min-height: auto;
    }
    .landing-hero-inner {
        padding: 48px 0 60px;
    }
    .landing-hero-ctas {
        flex-direction: column;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .implant-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .tech-grid {
        grid-template-columns: 1fr;
    }
    .process-step {
        gap: 16px;
    }
    .hp-hero {
        min-height: 85vh;
    }
    .hp-hero-inner {
        padding: 60px 0 40px;
    }
    .hp-trust-inner {
        gap: 24px;
    }
    .hp-trust-divider {
        display: none;
    }
    .hp-reviews-grid {
        grid-template-columns: 1fr;
    }
    .hp-reviews-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .hp-blog-grid {
        grid-template-columns: 1fr;
    }
    .hp-contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hp-cta-offer {
        flex-direction: column;
        text-align: center;
    }
    .hp-about-credentials {
        flex-direction: column;
        gap: 16px;
    }
    .hp-hero-ctas {
        flex-direction: column;
    }
    .hp-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-contact-form .cf-row {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .np-hero {
        padding: 100px 0 60px;
    }
    .np-comfort-grid {
        grid-template-columns: 1fr;
    }
    .np-steps-grid {
        grid-template-columns: 1fr;
    }
    .np-hero-ctas {
        flex-direction: column;
    }
    .np-hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }
    .np-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-contact-form .cf-row {
        grid-template-columns: 1fr;
    }
    .np-empathy-image {
        height: 240px;
    }
    .np-dentist-photo {
        height: 260px;
    }
}
@media (max-width: 480px) {
    .price-table td {
        padding: 12px 0;
        font-size: 0.88rem;
    }
    .hp-services-grid {
        grid-template-columns: 1fr;
    }
}
.fit-image {
    position: relative;
    overflow: hidden;
}
.fit-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    padding-left: 24px;
    padding-right: 24px;
}
.wp-block-image.is-style-theme img,
.theme-image img {
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #e8ddd0 0%, #d8cfc2 100%);
}
.wp-block-image.is-style-theme-sage img {
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--sage-light) 0%, #d5ddd5 100%);
}
.featured-image:empty {
    display: none;
}
.related-articles-section:not(:has(.blog-related-grid)) {
    display: none;
}
/* WP Editor */
.editor-styles-wrapper .fade-in {
    opacity: 1;
}
.editor-styles-wrapper a {
    color: #c4a265;
}
.acf-field-wysiwyg iframe {
    height: 150px !important;
    min-height: 150px !important;
}

.acf-field-wysiwyg .wp-editor-area {
    min-height: 150px !important;
}
