/*
Theme Name: Dental Care - Multi-Page
Theme URI: https://rouell.com
Author: Rouell Rodrigues
Author URI: https://rouell.com
Description: Professional dental care multi-page WordPress theme with minimalistic design
Version: 2.0.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dental-care
*/

/* ===== FONT IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');



/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #8B6D55;
    --secondary-color: #A68C72;
    --accent-color: #7A5A40;
    --bg-light: #E9E2D8;
    --text-dark: #000000;
    --text-medium: #1B1B1B;
    --text-light: #666666;
    --white: #ffffff;
    --border-color: #d4c9bb;
    --transition: all 0.3s ease;
    --animation-timing: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-light: 0 5px 15px rgba(139, 109, 85, 0.1);
    --shadow-medium: 0 10px 30px rgba(139, 109, 85, 0.15);
    --shadow-dark: 0 15px 50px rgba(139, 109, 85, 0.2);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-medium);
    font-size: 16px;
    font-weight: 400;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1.2rem;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-light);
    box-shadow: 0 2px 10px rgba(139, 109, 85, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.sticky {
    background: rgba(233, 226, 216, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(139, 109, 85, 0.15);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    max-height: 50px;
    width: auto;
    transition: var(--transition);
}

.site-logo img:hover {
    transform: scale(1.05);
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
}

.primary-menu li a {
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.primary-menu li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.primary-menu li a:hover,
.primary-menu li.current-menu-item a,
.primary-menu li.current_page_item a,
.primary-menu li a.active-section {
    color: var(--primary-color);
}

.primary-menu li a:hover:after,
.primary-menu li.current-menu-item a:after,
.primary-menu li.current_page_item a:after,
.primary-menu li a.active-section:after {
    width: 80%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    display: block;
}

.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    
    .primary-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-light);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
        gap: 0;
    }
    
    .primary-menu.active {
        left: 0;
    }
    
    .primary-menu li a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        display: block;
    }
    
    .primary-menu li:last-child a {
        border-bottom: none;
    }
    
    .primary-menu li a:hover {
        padding-left: 1.5rem;
    }
    
    .primary-menu li a:after {
        display: none;
    }
}

/* ===== PAGE MAIN CONTENT ===== */
.page__main {
    padding-top: 80px;
}

/* ===== PAGE HERO ===== */
.page-hero {
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero--large {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
}

.page-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.page-hero__overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.page-hero__content {
    max-width: 900px;
}

.page-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.page-hero__description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.page-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 460px;
    }
    
    .page-hero--large {
        min-height: 450px;
    }
    
    .page-hero__actions {
        flex-direction: column;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    font-size: 1rem;
}

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

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

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

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

.btn-white:hover {
    background: var(--bg-light);
    border-color: var(--bg-light);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* ===== SECTIONS ===== */
.content-section {
    padding: 5rem 2rem;
    position: relative;
}

.content-section.bg-light {
    background: var(--white);
}

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

.container--narrow {
    max-width: 900px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

/* ===== SERVICES GRID (Homepage) ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.service-card__icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-card__icon svg {
    width: 35px;
    height: 35px;
    color: var(--white);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.service-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card__link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-card__link:hover {
    color: var(--accent-color);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===== PROFILE LAYOUT — ALTERNATING BLOCKS ===== */

/* Title + subtitle above the blocks */
.profile-header {
    margin-bottom: 3rem;
}

.profile-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

.profile-subtitle {
    color: var(--text-medium);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Each alternating block */
.profile-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-block:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
    padding-bottom: 0;
}

/* Block 1 & 3: text LEFT, image RIGHT — image is second child in markup */
.profile-block--img-right .profile-block__image {
    order: 2;
}
.profile-block--img-right .profile-block__content {
    order: 1;
}

/* Block 2: image LEFT, text RIGHT — image is first child in markup */
.profile-block--img-left .profile-block__image {
    order: 1;
}
.profile-block--img-left .profile-block__content {
    order: 2;
}

.profile-block__image {
    align-self: start;
}

.profile-text {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.1rem;
}

.profile-text p {
    margin-bottom: 1.5rem;
}

.profile-text p:last-child {
    margin-bottom: 0;
}

/* Editor content appended after blocks */
.profile-editor-content {
    margin-top: 3rem;
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Image wrapper — consistent height for all three blocks */
.profile-image-wrapper {
    position: relative;
    height: 560px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
    display: block;
}

.profile-image-wrapper:hover .profile-photo {
    transform: scale(1.03);
}

/* Optional full-width bottom banner */
.profile-image-bottom {
    margin-top: 3.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    height: 460px;
}

.profile-photo-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.credentials-box {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-light);
}

.credentials-box h3 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

.credentials-list {
    list-style: none;
}

.credentials-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-medium);
}

.credentials-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

@media (max-width: 968px) {
    /* Alternating blocks stack to single column */
    .profile-block,
    .profile-block--img-left,
    .profile-block--img-right {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
        padding-bottom: 3rem;
    }

    /* Image always above text on tablet/mobile regardless of side */
    .profile-block--img-right .profile-block__image,
    .profile-block--img-left .profile-block__image {
        order: -1;
    }
    .profile-block--img-right .profile-block__content,
    .profile-block--img-left .profile-block__content {
        order: 1;
    }

    .profile-image-wrapper {
        height: 360px;
    }

    .profile-image-bottom {
        height: 340px;
    }
}

/* ===== TREATMENTS SHOWCASE ===== */
.treatments-showcase {
    margin-top: 3rem;
}

.treatment-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start; /* Changed from center so content aligns to top when media is tall */
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.treatment-showcase-item:last-child {
    margin-bottom: 0;
}

/* Alternate layout - even items have media on left */
.treatment-showcase-item--even .treatment-showcase-item__content {
    order: 2;
}

.treatment-showcase-item--even .treatment-showcase-item__media {
    order: 1;
}

.treatment-showcase-item__content {
    padding: 1rem 2rem;
}

.treatment-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.treatment-showcase-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.treatment-description {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.1rem;
}

.treatment-description p {
    margin-bottom: 1rem;
}

.treatment-description p:last-child {
    margin-bottom: 0;
}

.treatment-description ul,
.treatment-description ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.treatment-description li {
    margin-bottom: 0.5rem;
}

.treatment-showcase-item__media {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    display: flex;           /* Stack video + image vertically */
    flex-direction: column;
    gap: 1.5rem;             /* Gap between video and image when both exist */
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ── Treatment image: auto-height, never cropped ── */
.treatment-image {
    width: 100%;
    height: auto;       /* Removed fixed 400px height — box grows to fit image */
    position: relative;
}

.treatment-image img {
    width: 100%;
    height: auto;       /* Full image always shown, no cropping */
    object-fit: unset;
    display: block;
    transition: var(--transition);
    border-radius: 10px;
}

.treatment-showcase-item:hover .treatment-image img {
    transform: scale(1.02); /* Subtle scale — avoids overflow issues with auto-height */
}

@media (max-width: 968px) {
    .treatment-showcase-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .treatment-showcase-item--odd {
        direction: ltr;
    }

    .treatment-showcase-item__content {
        padding: 0;
    }

    .treatment-showcase-item h3 {
        font-size: 1.5rem;
    }
}

/* ===== TESTIMONIALS GRID ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-medium);
}

.testimonial-card__quote {
    position: relative;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-card__quote p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    position: relative;
}

.testimonial-card__quote p:before,
.testimonial-card__quote p:after {
    content: '"';
    font-size: 3rem;
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
    position: absolute;
    line-height: 1;
}

.testimonial-card__quote p:before {
    top: -10px;
    left: -1.5rem;
}

.testimonial-card__quote p:after {
    bottom: -30px;
    right: -1.5rem;
}

.testimonial-card__author {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

/* ===== FAQ LIST ===== */
.faq-list {
    margin-top: 3rem;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-item__question:hover {
    background: rgba(139, 109, 85, 0.1);
}

.faq-item__question[aria-expanded="true"] {
    background: var(--primary-color);
    color: var(--white);
}

.faq-item__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item__icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
}

.faq-item__question[aria-expanded="true"] .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__question[aria-expanded="true"] .faq-item__icon svg {
    stroke: var(--white);
}

.faq-item__text {
    flex: 1;
}

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

.faq-item__answer:not([hidden]) {
    max-height: 2000px;
}

.faq-item__answer[hidden] {
    display: block;
    max-height: 0;
    padding: 0;
}

/* ── FAQ answer: increased top padding for breathing room ── */
.faq-item__answer-content {
    padding: 2.5rem 2rem 2rem 4rem; /* Increased top from 2rem → 2.5rem */
    margin-top: 0.5rem;             /* Extra visual separation from question bar */
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.faq-item__answer:not([hidden]) .faq-item__answer-content {
    opacity: 1;
}

.faq-item__answer-content p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.faq-item__answer-content p:first-child {
    margin-top: 0; /* First paragraph flush with the padding, no double gap */
}

.faq-item__answer-content p:last-child {
    margin-bottom: 0;
}

.faq-item__answer-content ul,
.faq-item__answer-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-item__answer-content li {
    margin-bottom: 0.5rem;
}

/* ===== CONTACT LAYOUT ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info-box {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    height: fit-content;
}

.contact-info-box h3 {
    margin-bottom: 2rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-info-item__icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-item__icon svg {
    width: 24px;
    height: 24px;
}

.contact-info-item__content {
    flex: 1;
}

.contact-info-item__content strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.contact-info-item__content a {
    color: var(--primary-color);
}

.contact-form-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.contact-form-fallback {
    text-align: center;
    padding: 3rem;
}

@media (max-width: 968px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===== CONTACT FORM 7 STYLING ===== */
.wpcf7-form {
    display: grid;
    gap: 1.5rem;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.wpcf7-not-valid-tip {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.wpcf7-response-output {
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0 0;
}

/* ===== CONTACT FORM 7 - REFERRAL STYLING ===== */
.cf7-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-light);
}

.cf7-section:last-of-type {
    border-bottom: none;
}

.cf7-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.cf7-col {
    min-width: 0;
}

.cf7-checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-top: 1rem;
}

.cf7-checkbox .wpcf7-list-item {
    margin: 0;
}

.cf7-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

/* Make CF7 labels look like our custom form */
.wpcf7-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* CF7 Required Asterisk */
.wpcf7-form .wpcf7-form-control-wrap[data-name]::after {
    content: none;
}

/* CF7 Quiz (Captcha) Styling */
.wpcf7-quiz {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    flex-wrap: wrap;
}

.wpcf7-quiz-label {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    min-width: 120px;
}

.wpcf7-form input.wpcf7-quiz {
    max-width: 100px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

/* CF7 Response Messages */
.wpcf7-response-output.wpcf7-validation-errors {
    background: #ffebee;
    color: #c62828;
    border: 2px solid #f44336;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #e8f5e9;
    color: #2e7d32;
    border: 2px solid #4caf50;
}

@media (max-width: 768px) {
    .cf7-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .cf7-section-title {
        font-size: 1.5rem;
    }
    
    .wpcf7-quiz {
        flex-direction: column;
        align-items: stretch;
    }
    
    .wpcf7-quiz-label {
        min-width: auto;
        text-align: center;
    }
    
    .wpcf7-form input.wpcf7-quiz {
        max-width: 100%;
    }
}

/* ===== REFERRAL FORM ===== */
.referral-intro {
    margin-bottom: 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.referral-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.referral-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-light);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.required {
    color: #d32f2f;
    margin-left: 0.2rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background: var(--white);
    transition: var(--transition);
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 109, 85, 0.1);
}

.form-control::placeholder {
    color: #999;
    opacity: 0.7;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-checkbox label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
}

.captcha-group {
    max-width: 400px;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.captcha-question {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    min-width: 120px;
}

.captcha-input {
    max-width: 100px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-actions {
    margin-top: 2rem;
    text-align: center;
}

.form-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 2px solid #4caf50;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 2px solid #f44336;
}

/* ===== ENTRY CONTENT ===== */
.entry-content {
    margin-top: 3rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content img {
    border-radius: 12px;
    margin: 2rem 0;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-top: 3rem;
}

.empty-state p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--bg-light);
    font-family: 'Playfair Display', serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.footer-section a {
    color: var(--white);
    opacity: 0.9;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--bg-light);
}

/* Footer Menu Styling */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu li a {
    color: var(--white);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-menu li a:hover {
    opacity: 1;
    color: var(--bg-light);
}

/* ===== FOOTER CREDENTIALS TEXT LIST ===== */
.footer-section--credentials {
    min-width: 250px;
}

.footer-credentials-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-credentials-list li {
    margin-bottom: 0.5rem;
    color: var(--white);
    opacity: 0.9;
    font-family: 'Montserrat', sans-serif;
}

.footer-credentials-list a {
    color: var(--white);
    opacity: 0.9;
    text-decoration: none;
    transition: var(--transition);
}

.footer-credentials-list a:hover {
    opacity: 1;
    color: var(--bg-light);
}

/* ===== PDF CAROUSEL ===== */
.pdf-carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.pdf-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.pdf-carousel-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.pdf-carousel-item:nth-child(1) { animation-delay: 0.1s; }
.pdf-carousel-item:nth-child(2) { animation-delay: 0.2s; }
.pdf-carousel-item:nth-child(3) { animation-delay: 0.3s; }

.pdf-card {
    display: block;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.pdf-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.pdf-card__image {
    width: 100%;
    height: 250px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pdf-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdf-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--primary-color);
}

.pdf-icon svg {
    width: 80px;
    height: 80px;
}

.pdf-icon span {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.pdf-card__title {
    padding: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 80px;
    display: flex;
    align-items: center;
}

/* ===== COMPACT PDF CAROUSEL (Smaller Version) ===== */
.pdf-carousel-wrapper--compact {
    max-width: 1200px;
}

.pdf-carousel--compact {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pdf-card--compact {
    border-radius: 8px;
}

.pdf-card__image--compact {
    height: 180px;
}

.pdf-icon--compact svg {
    width: 50px;
    height: 50px;
}

.pdf-icon--compact span {
    font-size: 1rem;
}

.pdf-card__title--compact {
    padding: 1rem;
    font-size: 0.95rem;
    min-height: 60px;
    line-height: 1.3;
}

/* ===== CREDENTIALS CAROUSEL ===== */
.credentials-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
}

.credentials-carousel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.credentials-carousel-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.credentials-carousel-item:nth-child(1) { animation-delay: 0.1s; }
.credentials-carousel-item:nth-child(2) { animation-delay: 0.2s; }

.credential-image-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.credential-image-card:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.credential-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
}

.credential-link:hover .credential-img {
    transform: scale(1.05);
}

.credential-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
    flex: 1;
    object-fit: contain;
    padding: 1rem;
}

.credential-image-caption {
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
}

/* ===== COMPACT CREDENTIALS CAROUSEL (Smaller Version) ===== */
.credentials-carousel-wrapper--compact {
    max-width: 1000px;
}

.credentials-carousel--compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.credential-image-card--compact {
    border-radius: 8px;
    /* Fixed height for consistency - width can vary */
    height: 280px;
}

.credential-image-card--compact .credential-img {
    padding: 0.75rem;
}

.credential-image-caption--compact {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* ===== CAROUSEL NAVIGATION ===== */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-nav__btn {
    background: var(--bg-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.carousel-nav__btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.carousel-nav__btn:hover svg {
    stroke: var(--white);
}

.carousel-nav__btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    transition: var(--transition);
}

.carousel-nav__btn--small {
    width: 35px;
    height: 35px;
}

.carousel-nav__btn--small svg {
    width: 18px;
    height: 18px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(233, 226, 216, 0.2);
    text-align: center;
    opacity: 0.8;
    font-family: 'Montserrat', sans-serif;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-light);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px) scale(1.1);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ===== BLOG STYLES ===== */
.blog-index-wrapper {
    padding: 5rem 2rem;
}

.page-header {
    margin-bottom: 3rem;
    text-align: center;
}

.page-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

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

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.blog-title a {
    color: var(--text-dark);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
}

.pagination {
    margin-top: 4rem;
    text-align: center;
}

.back-home {
    text-align: center;
    margin-top: 3rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .profile-block,
    .profile-block--img-left,
    .profile-block--img-right {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
        padding-bottom: 3rem;
    }

    .profile-block--img-right .profile-block__image,
    .profile-block--img-left .profile-block__image {
        order: -1;
    }
    .profile-block--img-right .profile-block__content,
    .profile-block--img-left .profile-block__content {
        order: 1;
    }

    .profile-image-wrapper {
        height: 340px;
    }

    .profile-image-bottom {
        height: 320px;
        margin-top: 2rem;
    }
    
    .treatment-showcase-item,
    .treatment-showcase-item--odd,
    .treatment-showcase-item--even {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .treatment-showcase-item--even .treatment-showcase-item__content {
        order: 2;
    }

    .treatment-showcase-item--even .treatment-showcase-item__media {
        order: 1;
    }

    .treatment-showcase-item__content {
        padding: 0;
    }

    .treatment-showcase-item h3 {
        font-size: 1.5rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pdf-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .pdf-carousel--compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
    .credentials-carousel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .credentials-carousel--compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 3rem 1.5rem;
    }
    
    .page-hero {
        min-height: 460px;
    }
    
    .page-hero--large {
        min-height: 450px;
        padding: 6rem 1.5rem 3rem;
    }
    
    .page-hero__title {
        font-size: 2rem;
		
    }
    
    .page-hero__description {
        font-size: 1rem;
    }
    
    .page-hero__actions {
        flex-direction: column;
    }
    
    .page-hero__actions .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faq-item__question {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .faq-item__answer-content {
        padding: 1.5rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    .blog-index-wrapper {
        padding-top: 80px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .pdf-carousel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pdf-carousel--compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .pdf-card__image {
        height: 200px;
    }
    
    .pdf-card__image--compact {
        height: 150px;
    }
    
    .pdf-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .pdf-icon--compact svg {
        width: 40px;
        height: 40px;
    }
    
    .credentials-carousel--compact {
        grid-template-columns: 1fr;
    }
    
    /* Referral Form Responsive */
    .referral-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-section-title {
        font-size: 1.5rem;
    }
    
    .captcha-box {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-question {
        min-width: auto;
        text-align: center;
    }
    
    .captcha-input {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-inner {
        padding: 0 1rem;
    }
    
    .page-hero__overlay {
        padding: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .testimonial-card__quote p:before {
        left: -1rem;
    }
    
    .testimonial-card__quote p:after {
        right: -1rem;
    }

    /* Profile blocks — compact on small phones */
    .profile-block,
    .profile-block--img-left,
    .profile-block--img-right {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        gap: 1.5rem;
    }

    .profile-image-wrapper {
        height: 260px;
    }

    .profile-image-bottom {
        height: 240px;
    }
    
    .pdf-card__title {
        padding: 1rem;
        font-size: 1rem;
        min-height: 60px;
    }
    
    .pdf-card__title--compact {
        padding: 0.75rem;
        font-size: 0.85rem;
        min-height: 50px;
    }
    
    .pdf-carousel--compact {
        grid-template-columns: 1fr;
    }
    
    /* Referral Form Mobile */
    .referral-form-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .form-control {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== FOOTER SOCIAL MEDIA ===== */
.footer-social {
    max-width: 1200px;
    margin: 2rem auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-social h3 {
    color: var(--bg-light);
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
}

.social-link:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* ===== CONTACT OPTIONS PAGE ===== */
.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-option-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

.contact-option-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.contact-option-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.contact-option-icon svg {
    width: 40px;
    height: 40px;
}

.contact-option-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-option-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-option-value {
    margin-top: 1.5rem;
}

/* ===== PRACTICES LIST ===== */
.practices-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
    margin-top: 2rem;
}

.practice-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    transition: var(--transition);
}

.practice-item:hover {
    box-shadow: var(--shadow-light);
    border-color: var(--primary-color);
}

.practice-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.practice-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.practice-detail svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--primary-color);
}

.practice-detail a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.practice-detail a:hover {
    color: var(--accent-color);
}

.practice-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

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

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

/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 2rem auto 0;
}

.contact-form-placeholder {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    color: var(--text-medium);
}

@media (max-width: 768px) {
    .contact-options-grid {
        grid-template-columns: 1fr;
    }
    
    .practice-actions {
        flex-direction: column;
    }
    
    .practice-actions .btn {
        width: 100%;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link svg {
        width: 22px;
        height: 22px;
    }
}

/* ===== FOOTER CREDENTIAL IMAGES ===== */
.footer-credential-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.25rem;
}

.footer-credential-images img {
    height: 100px !important;
    width: auto !important;
    max-width: 120px;
    object-fit: contain;
    display: inline-block !important;
    background: var(--white);
    padding: 3px 6px;
    border-radius: 6px;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-credential-images a:hover img,
.footer-credential-images img:hover {
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}