/* ========================================
   INTERNAL PAGES - Signature Medicine
   Premium design system for internal pages
   Uses variables from home-scroll.css
======================================== */

/* ----------------------------------------
   PAGE HERO
---------------------------------------- */
.page-hero {
    background: var(--color-forest);
    padding: 180px 48px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 24px;
}

.page-label::before,
.page-label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--color-gold);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
}

.page-title em {
    font-style: italic;
    color: var(--color-gold-light);
}

.page-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ----------------------------------------
   CONTENT SECTIONS
---------------------------------------- */
.page-section {
    padding: 120px 48px;
}

.page-section--cream {
    background: var(--color-cream);
}

.page-section--warm {
    background: var(--color-warm);
}

.page-section--white {
    background: white;
}

.page-section--forest {
    background: var(--color-forest);
}

.page-section--forest * {
    color: white;
}

.page-section--forest .section-label,
.page-section--forest .page-label {
    color: var(--color-gold-light);
}

.section-inner {
    max-width: var(--container-width);
    margin: 0 auto;
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--color-text);
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    color: var(--color-forest);
}

.section-intro {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ----------------------------------------
   PHYSICIAN BIO PAGE
---------------------------------------- */
.physician-hero {
    background: var(--color-warm);
    padding: 160px 48px 120px;
}

.physician-hero-grid {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.physician-photo {
    position: relative;
}

.physician-photo img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(20%);
}

.physician-photo::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border: 1px solid var(--color-gold);
    opacity: 0.3;
    z-index: -1;
}

.physician-badge-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: var(--color-forest);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.physician-badge-box .badge-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
    line-height: 1;
}

.physician-badge-box .badge-text {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 4px;
}

.physician-info {
    padding-top: 0;
}

.physician-name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--color-text);
    line-height: 1.1;
    margin-bottom: 8px;
}

.physician-credentials {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.physician-role {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(45, 74, 62, 0.15);
}

.physician-bio {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text-muted);
}

.physician-bio p {
    margin-bottom: 20px;
}

.physician-bio strong {
    color: var(--color-text);
    font-weight: 500;
}

.physician-bio em {
    font-style: italic;
    color: var(--color-forest);
}

.credential-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.credential-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-forest);
    padding: 8px 16px;
    background: white;
    border: 1px solid rgba(45, 74, 62, 0.15);
    border-radius: 100px;
}

/* Credential Tags - Smaller, text-based */
.credential-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.cred-tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-forest);
    padding: 6px 12px;
    background: white;
    border: 1px solid rgba(45, 74, 62, 0.15);
    border-radius: 100px;
    white-space: nowrap;
}

/* Section Label Variants */
.section-label--gold {
    color: var(--color-gold-light);
}

.section-label--gold::before,
.section-label--gold::after {
    background: var(--color-gold-light);
}

.section-title--light {
    color: white;
}

/* Good Doctoring Section */
.good-doctoring-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.good-doctoring-text {
    text-align: left;
}

.good-doctoring-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

.philosophy-quote {
    margin-top: 40px;
    padding: 32px 40px;
    background: rgba(0,0,0,0.15);
    border-left: 3px solid var(--color-gold);
    text-align: left;
}

.philosophy-quote p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 16px;
}

.philosophy-quote cite {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: normal;
    color: var(--color-gold-light);
}

/* Credentials Grid */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.credential-card {
    padding: 40px 32px;
    background: white;
    border-radius: 4px;
    border: 1px solid rgba(45, 74, 62, 0.1);
}

.credential-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(45, 74, 62, 0.1);
}

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

.credential-list li {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.credential-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
}

/* Approach Content */
.approach-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.approach-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

/* ----------------------------------------
   PHILOSOPHY / APPROACH SECTION
---------------------------------------- */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.philosophy-card {
    padding: 48px 40px;
    background: white;
    border-radius: 4px;
    border: 1px solid rgba(45, 74, 62, 0.1);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

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

.philosophy-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 16px;
}

.philosophy-card p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ----------------------------------------
   CONTACT PAGE
---------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--color-cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-forest);
}

.contact-item-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.contact-item-content p,
.contact-item-content a {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-item-content a:hover {
    color: var(--color-forest);
}

.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.contact-form-wrapper h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 8px;
}

.contact-form-wrapper p {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 1px solid rgba(45, 74, 62, 0.15);
    border-radius: 4px;
    background: var(--color-cream);
    transition: all 0.3s var(--ease-out-expo);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-forest);
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 51, 41, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

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

.btn-submit {
    width: 100%;
    padding: 18px 36px;
    background: var(--color-forest);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(30, 51, 41, 0.3);
}

/* ----------------------------------------
   HUBSPOT FORM OVERRIDES
   Aggressive styling to match site design
---------------------------------------- */
.hubspot-form-container {
    margin-top: 24px;
}

/* Target HubSpot form wrapper */
.hs-form-frame,
.hs-form-frame iframe {
    width: 100% !important;
    min-height: 400px;
}

/* HubSpot form field groups */
.hs-form fieldset,
.hs-form .hs-form-field {
    margin-bottom: 20px !important;
}

/* HubSpot labels */
.hs-form label,
.hs-form .hs-form-field > label {
    display: block !important;
    font-family: 'Manrope', -apple-system, sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #2C241C !important;
    margin-bottom: 8px !important;
}

/* HubSpot inputs */
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form input[type="number"],
.hs-form textarea,
.hs-form select,
.hs-input {
    width: 100% !important;
    padding: 14px 18px !important;
    font-size: 1rem !important;
    font-family: 'Manrope', -apple-system, sans-serif !important;
    border: 1px solid rgba(45, 74, 62, 0.15) !important;
    border-radius: 4px !important;
    background: #F8F6F1 !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.hs-form input:focus,
.hs-form textarea:focus,
.hs-form select:focus,
.hs-input:focus {
    outline: none !important;
    border-color: #1E3329 !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(30, 51, 41, 0.1) !important;
}

.hs-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* HubSpot submit button */
.hs-form .hs-button,
.hs-form input[type="submit"],
.hs-form button[type="submit"],
.hs-submit .actions input {
    width: 100% !important;
    padding: 18px 36px !important;
    background: #1E3329 !important;
    color: white !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    font-family: 'Manrope', -apple-system, sans-serif !important;
    border: none !important;
    border-radius: 100px !important;
    cursor: pointer !important;
    transition: all 0.4s ease !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.hs-form .hs-button:hover,
.hs-form input[type="submit"]:hover,
.hs-form button[type="submit"]:hover,
.hs-submit .actions input:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 20px 50px rgba(30, 51, 41, 0.3) !important;
    background: #2D4A3E !important;
}

/* HubSpot form rows */
.hs-form .form-columns-2,
.hs-form .form-columns-1 {
    max-width: 100% !important;
}

.hs-form .form-columns-2 .hs-form-field {
    width: calc(50% - 10px) !important;
}

/* Error messages */
.hs-form .hs-error-msgs,
.hs-form .hs-error-msg {
    color: #c53030 !important;
    font-size: 0.8rem !important;
    margin-top: 6px !important;
}

/* Required asterisk */
.hs-form .hs-form-required {
    color: #C4956A !important;
}

/* Legal/GDPR consent */
.hs-form .legal-consent-container,
.hs-form .hs-richtext {
    font-size: 0.8rem !important;
    color: #6B6358 !important;
    line-height: 1.6 !important;
}

.hs-form .legal-consent-container a {
    color: #1E3329 !important;
    text-decoration: underline !important;
}

/* Checkbox styling */
.hs-form input[type="checkbox"] {
    width: auto !important;
    margin-right: 8px !important;
}

/* Success message */
.hs-form .submitted-message,
.submitted-message {
    background: rgba(30, 51, 41, 0.05) !important;
    border: 1px solid rgba(30, 51, 41, 0.2) !important;
    padding: 24px !important;
    border-radius: 4px !important;
    color: #1E3329 !important;
    font-family: 'Manrope', -apple-system, sans-serif !important;
    text-align: center !important;
}

/* Hide HubSpot branding if possible */
.hs-form .hubspot-link__container {
    display: none !important;
}

/* Dropdown/select styling */
.hs-form select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231E3329' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
}

/* ----------------------------------------
   MAP SECTION
---------------------------------------- */
.map-section {
    padding: 0;
    height: 450px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ----------------------------------------
   SERVICE PAGES
---------------------------------------- */
.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.service-intro-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--color-text);
    line-height: 1.1;
    margin-bottom: 24px;
}

.service-intro-content p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-intro-image {
    position: relative;
}

.service-intro-image img {
    width: 100%;
    border-radius: 4px;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(45, 74, 62, 0.1);
    font-size: 1.05rem;
    color: var(--color-text);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list svg {
    width: 24px;
    height: 24px;
    color: var(--color-forest);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 40px 32px;
    background: white;
    border-radius: 4px;
    border: 1px solid rgba(45, 74, 62, 0.1);
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-forest);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ----------------------------------------
   FAQ SECTION
---------------------------------------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(45, 74, 62, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

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

.faq-question svg {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.is-open .faq-question svg {
    transform: rotate(45deg);
}

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

.faq-item.is-open .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ----------------------------------------
   CTA BANNER
---------------------------------------- */
.cta-banner {
    background: var(--color-forest);
    padding: 120px 48px;
    text-align: center;
}

.cta-banner-inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
}

.cta-banner h2 em {
    font-style: italic;
    color: var(--color-gold-light);
}

.cta-banner p {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 48px;
}

.cta-banner .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    background: white;
    color: var(--color-forest);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out-expo);
}

.cta-banner .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* ----------------------------------------
   MEMBERSHIP PAGE
---------------------------------------- */
.membership-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.membership-pillar {
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: 4px;
    border: 1px solid rgba(45, 74, 62, 0.1);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.membership-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.membership-pillar:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.membership-pillar:hover::before {
    transform: scaleX(1);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    background: var(--color-cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-forest);
}

.membership-pillar h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 12px;
}

.membership-pillar p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

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

.pathway-card {
    padding: 40px 32px;
    background: white;
    border-radius: 4px;
    border: 1px solid rgba(45, 74, 62, 0.1);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.pathway-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-gold);
    border-radius: 4px 4px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.pathway-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

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

.pathway-icon {
    width: 48px;
    height: 48px;
    background: var(--color-cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.pathway-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-forest);
}

.pathway-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 12px;
}

.pathway-card > p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.pathway-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(45, 74, 62, 0.1);
    padding-top: 20px;
}

.pathway-features li {
    font-size: 0.85rem;
    color: var(--color-text);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.pathway-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
}

/* Independence Points (forest section) */
.independence-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 48px;
}

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

.independence-point h4 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: white;
    margin-bottom: 12px;
}

.independence-point p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* ----------------------------------------
   RESPONSIVE
---------------------------------------- */
@media (max-width: 1024px) {
    .physician-hero-grid {
        grid-template-columns: 350px 1fr;
        gap: 60px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-intro-grid {
        gap: 60px;
    }
}

@media (max-width: 900px) {
    .physician-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .physician-photo {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .credential-badges,
    .credential-tags {
        justify-content: center;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .service-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .service-intro-image {
        order: -1;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .good-doctoring-text {
        text-align: center;
    }
    
    .philosophy-quote {
        text-align: center;
        border-left: none;
        border-top: 3px solid var(--color-gold);
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 24px 60px;
    }
    
    .page-section {
        padding: 70px 24px;
    }
    
    .physician-hero {
        padding: 120px 24px 60px;
    }
    
    .physician-photo {
        max-width: 280px;
    }
    
    .physician-badge-box {
        width: 90px;
        height: 90px;
        bottom: -20px;
        right: -10px;
    }
    
    .physician-badge-box .badge-number {
        font-size: 1.8rem;
    }
    
    .physician-badge-box .badge-text {
        font-size: 0.55rem;
    }
    
    .cred-tag {
        font-size: 0.65rem;
        padding: 5px 10px;
    }
    
    .credential-card {
        padding: 28px 20px;
    }
    
    .credential-card h3 {
        font-size: 1.1rem;
    }
    
    .credential-list li {
        font-size: 0.85rem;
        padding: 6px 0;
        padding-left: 16px;
    }
    
    .credential-list li::before {
        width: 5px;
        height: 5px;
        top: 12px;
    }
    
    .good-doctoring-text p {
        font-size: 1rem;
    }
    
    .philosophy-quote p {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .map-section {
        height: 350px;
    }
    
    .cta-banner {
        padding: 60px 24px;
    }
    
    .membership-pillars {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .membership-pillar {
        padding: 32px 24px;
    }
    
    .pathways-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pathway-card {
        padding: 32px 24px;
    }
    
    .independence-points {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .membership-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pathways-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
