/* =====================================================
   Steinmark Rechtsberatung — Main Stylesheet
   Classic & Professional Theme
   ===================================================== */

:root {
    --navy: #0a2540;
    --navy-light: #1a3a5c;
    --navy-dark: #051a2e;
    --gold: #c5a572;
    --gold-light: #d9bf8f;
    --gold-dark: #a88a55;
    --gold-text: #76582d;
    --cream: #faf8f3;
    --gray-light: #f5f5f5;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;
    --text-dark: #2c2c2c;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 37, 64, 0.12);
    --shadow-lg: 0 8px 40px rgba(10, 37, 64, 0.18);
    --font-serif: 'Playfair Display', 'Georgia', serif;
    --font-sans: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    background-color: var(--white);
}

/* ---------- Language Entry ---------- */
.language-entry {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(5, 26, 46, 0.96), rgba(10, 37, 64, 0.88)),
        url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1600&q=80') center / cover no-repeat;
}

.language-entry-card {
    width: min(100%, 680px);
    padding: clamp(40px, 8vw, 72px);
    border-top: 3px solid var(--gold);
    background: rgba(5, 26, 46, 0.86);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    text-align: center;
}

.language-entry-card h1 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: clamp(2rem, 6vw, 3.2rem);
}

.language-entry-card > p:not(.language-entry-kicker) {
    color: rgba(255, 255, 255, 0.82);
}

.language-entry-kicker {
    margin-bottom: 1rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.language-entry-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 2rem;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 10px 30px;
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--navy);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.4rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--gold-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-cream { background-color: var(--cream) !important; }
.bg-gray-light { background-color: var(--gray-light) !important; }

/* ---------- Top Bar ---------- */
.top-bar {
    background-color: var(--navy-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--gold);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
    color: var(--gold);
}

.top-bar .lang-switch a.active-lang {
    color: var(--gold);
    font-weight: 600;
}

/* ---------- Navbar ---------- */
.navbar {
    background-color: var(--white);
    padding: 18px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(10, 37, 64, 0.08);
    transition: padding 0.2s ease, box-shadow 0.2s ease;
}

.navbar.navbar-scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.5px;
}

.navbar-brand .brand-sub {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: var(--gold-dark);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
}

.navbar .nav-link {
    color: var(--navy) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--gold-dark) !important;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--gold);
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--gold);
    border-radius: 0;
}

.navbar .dropdown-item {
    padding: 10px 18px;
    font-size: 0.9rem;
    color: var(--navy);
}

.navbar .dropdown-item:hover {
    background-color: var(--cream);
    color: var(--gold-dark);
}

/* ---------- CTA Button ---------- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold);
    color: var(--navy-dark);
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 2px;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold:hover {
    background-color: var(--navy-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-navy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 10px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 2px;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

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

/* ---------- Hero Section ---------- */
.hero {
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.78) 100%),
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1920&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 140px 0 120px;
    position: relative;
}

.hero h1 {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 650px;
}

.hero .gold-divider {
    width: 80px;
    height: 3px;
    background-color: var(--gold);
    margin-bottom: 1.5rem;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.95) 0%, rgba(26, 58, 92, 0.90) 100%),
                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1920&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 90px 0 70px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.page-header .breadcrumb-item.active {
    color: var(--gold);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--gold);
}

/* ---------- Section Spacing ---------- */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title .gold-line {
    width: 70px;
    height: 3px;
    background-color: var(--gold);
    margin: 0 auto 1.5rem;
}

.section-title p {
    color: var(--gray-medium);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ---------- Service Cards ---------- */
.service-card {
    background-color: var(--white);
    border: 1px solid rgba(10, 37, 64, 0.08);
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    border-top: 3px solid transparent;
}

.service-card:hover {
    border-top-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-card .service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--gold-dark);
    font-size: 1.6rem;
}

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

.service-card p {
    color: var(--gray-medium);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.service-card .service-link {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Feature / Why Choose Us ---------- */
.feature-box {
    text-align: center;
    padding: 20px;
}

.feature-box .feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--navy);
}

.feature-box h4 {
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

/* ---------- Founder Spotlight ---------- */
.founder-spotlight {
    background:
        radial-gradient(circle at 92% 8%, rgba(197, 165, 114, 0.16), transparent 30%),
        var(--white);
    overflow: hidden;
}

.founder-portrait-frame {
    position: relative;
    max-width: 470px;
    margin: 0 auto;
}

.founder-portrait-frame::before {
    content: '';
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 1px solid var(--gold);
    z-index: 0;
}

.founder-portrait-frame img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    box-shadow: var(--shadow-lg);
}

.founder-badge {
    position: absolute;
    z-index: 2;
    left: -18px;
    bottom: 28px;
    padding: 12px 20px;
    background: var(--navy-dark);
    color: var(--white);
    border-left: 4px solid var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
}

.section-eyebrow {
    margin-bottom: 0.65rem !important;
    color: var(--gold-text) !important;
    font-size: 0.78rem !important;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.founder-spotlight h2 {
    margin-bottom: 0.35rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.founder-role {
    color: var(--gold-text);
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.founder-intro {
    max-width: 680px;
    margin: 1.7rem 0 0;
    color: var(--gray-dark);
    font-size: 1.08rem;
    line-height: 1.8;
}

.founder-quote {
    margin: 1.8rem 0;
    padding: 1.2rem 0 1.2rem 1.5rem;
    border-left: 3px solid var(--gold);
    color: var(--navy);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.55;
}

.founder-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 1.4rem;
    color: var(--gray-dark);
    font-size: 0.92rem;
}

.founder-details i {
    margin-right: 7px;
    color: var(--gold-text);
}

.founder-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 4px;
    color: var(--navy);
    font-weight: 700;
}

.founder-text-link:hover {
    color: var(--gold-text);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-top: 3px solid var(--gold);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.testimonial-media {
    position: relative;
    overflow: hidden;
}

.testimonial-media img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: saturate(0.65) contrast(1.04);
}

.testimonial-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(5, 26, 46, 0.58));
    pointer-events: none;
}

.testimonial-service {
    position: absolute;
    z-index: 1;
    left: 20px;
    bottom: 16px;
    padding: 7px 10px;
    background: rgba(5, 26, 46, 0.88);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.testimonial-content {
    padding: 30px;
}

.testimonial-card .quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
    opacity: 0.4;
}

.testimonial-card .testimonial-text {
    border: 0;
    padding: 0;
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.7;
}

.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-card .testimonial-author .author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 14px;
    font-family: var(--font-serif);
    flex: 0 0 50px;
}

.testimonial-card .testimonial-author .author-info h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--navy);
}

.testimonial-card .testimonial-author .author-info span {
    font-size: 0.82rem;
    color: var(--gray-medium);
}

.testimonial-privacy-note {
    margin: 28px auto 0;
    max-width: 760px;
    color: var(--gray-dark);
    font-size: 0.86rem;
    text-align: center;
}

.testimonial-privacy-note i {
    margin-right: 6px;
    color: var(--gold-text);
}

/* ---------- Portrait-Side Testimonials ---------- */
.testimonial-card--portrait {
    border-top: 0;
    border-left: 3px solid var(--gold);
}

.testimonial-card--portrait .testimonial-layout {
    display: grid;
    grid-template-columns: clamp(180px, 23vw, 280px) minmax(0, 1fr);
    height: 100%;
}

.testimonial-card--portrait .testimonial-media {
    min-height: 250px;
    background-color: var(--navy-dark);
}

.testimonial-card--portrait .testimonial-media::after {
    display: none;
}

.testimonial-card--portrait .testimonial-media img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.78) contrast(1.03);
}

.testimonial-card--portrait .testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 40px;
}

.testimonial-card--portrait .testimonial-text {
    margin: 0 0 1rem;
}

.testimonial-card--portrait .testimonial-text p,
.testimonial-card--portrait .testimonial-author {
    margin: 0;
}

.testimonial-card--portrait .testimonial-author {
    display: block;
    color: var(--navy);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
}

.testimonial-card--portrait .testimonial-author cite {
    font-style: normal;
}

/* ---------- Trust Strip ---------- */
.trust-strip {
    padding: 46px 0;
    background: var(--navy-dark);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 4px 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-item > i {
    color: var(--gold);
    font-size: 1.6rem;
}

.trust-item strong,
.trust-item span {
    display: block;
}

.trust-item strong {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.05rem;
}

.trust-item span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
}

/* ---------- Team Cards ---------- */
.team-card {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(10, 37, 64, 0.06);
}

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

.team-card .team-img {
    width: 100%;
    height: 320px;
    background-color: var(--navy);
    background-size: cover;
    background-position: center top;
    position: relative;
}

/* Keep the leadership portrait at its native 3:4 composition rather than
   cropping it into the landscape team-card treatment. */
.team-card--founder {
    max-width: 360px;
    margin-inline: auto;
}

.team-card--founder .team-img {
    height: auto;
    aspect-ratio: 3 / 4;
    background-position: center center;
}

.team-card .team-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--gold);
}

.team-card .team-info {
    padding: 24px;
    text-align: center;
}

.team-card .team-info h4 {
    margin-bottom: 4px;
    font-size: 1.2rem;
}

.team-card .team-info .role {
    color: var(--gold-text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.team-card .team-info .bio {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-bottom: 16px;
}

.team-card .team-info .credentials {
    font-size: 0.82rem;
    color: var(--gray-medium);
    border-top: 1px solid rgba(10, 37, 64, 0.08);
    padding-top: 12px;
}

/* ---------- Founder Biography ---------- */
.founder-profile {
    max-width: 960px;
    margin: 4rem auto 0;
    padding: clamp(30px, 5vw, 52px);
    background-color: var(--cream);
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow-sm);
}

.founder-profile .gold-divider {
    width: 60px;
    height: 3px;
    margin-bottom: 1.4rem;
    background: var(--gold);
}

.founder-profile h3 {
    margin-bottom: 1.25rem;
    color: var(--navy);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.founder-profile p {
    margin-bottom: 1.25rem;
    color: var(--gray-dark);
    font-size: 1.03rem;
    line-height: 1.82;
}

.founder-profile .lead {
    color: var(--navy-light);
    font-family: var(--font-serif);
    font-size: clamp(1.12rem, 2vw, 1.3rem);
    line-height: 1.7;
}

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

/* ---------- Legal Team ---------- */
.legal-team {
    border-top: 1px solid rgba(10, 37, 64, 0.08);
}

.legal-team__list {
    display: grid;
    gap: 28px;
    max-width: 1160px;
    margin: 0 auto;
}

.legal-team-card {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid rgba(10, 37, 64, 0.08);
    box-shadow: var(--shadow-sm);
}

.legal-team-card__media {
    position: relative;
    min-height: 360px;
    margin: 0;
    overflow: hidden;
    background-color: var(--navy-dark);
}

.legal-team-card__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.84) contrast(1.03);
}

.legal-team-card__body {
    padding: clamp(28px, 4vw, 46px);
}

.legal-team-card__body h3 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.legal-team-card__role {
    margin-bottom: 1.5rem;
    color: var(--gold-text);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.45;
    text-transform: uppercase;
}

.legal-team-card__body p:not(.legal-team-card__role) {
    color: var(--gray-dark);
    line-height: 1.78;
}

.legal-team-card__body p:last-child {
    margin-bottom: 0;
}

/* ---------- Content Pages ---------- */
.content-section h2 {
    margin-bottom: 1.2rem;
    margin-top: 2.5rem;
}

.content-section h2:first-child { margin-top: 0; }

.content-section h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--navy-light);
}

.content-section .lead {
    font-size: 1.15rem;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.content-section ul,
.content-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.content-section li {
    margin-bottom: 0.6rem;
}

.content-section blockquote {
    border-left: 4px solid var(--gold);
    background-color: var(--cream);
    padding: 20px 28px;
    margin: 2rem 0;
    font-style: italic;
}

/* ---------- Value / Icon List ---------- */
.icon-list {
    list-style: none;
    padding: 0;
}

.icon-list li {
    padding-left: 36px;
    position: relative;
    margin-bottom: 14px;
}

.icon-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ---------- Contact / Forms ---------- */
.contact-form .form-control,
.consultation-form .form-control {
    border: 1px solid rgba(10, 37, 64, 0.15);
    border-radius: 2px;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.contact-form .form-control:focus,
.consultation-form .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 165, 114, 0.15);
}

.contact-form label,
.consultation-form label {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin: 0 0 24px;
    padding: 15px 18px;
    border-left: 4px solid var(--gold);
    background: var(--cream);
    color: var(--navy-dark);
    font-weight: 600;
}

.form-status--success {
    border-left-color: #24734c;
    background: #edf8f1;
    color: #164d32;
}

.form-status--error {
    border-left-color: #9b3b35;
    background: #fff3f1;
    color: #702b26;
}

.consultation-form .btn-gold:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.contact-info-box {
    padding: 24px;
    background-color: var(--cream);
    border-left: 4px solid var(--gold);
    margin-bottom: 24px;
}

.contact-info-box h5 {
    margin-bottom: 16px;
    color: var(--navy);
}

.contact-info-box p {
    margin-bottom: 8px;
    color: var(--gray-dark);
}

.contact-info-box .info-icon {
    color: var(--gold-dark);
    margin-right: 10px;
}

/* ---------- FAQ ---------- */
.accordion-item {
    border: 1px solid rgba(10, 37, 64, 0.1);
    border-radius: 2px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--white);
    color: var(--navy);
    font-weight: 600;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    padding: 20px 24px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--cream);
    color: var(--navy);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--gold);
}

.accordion-body {
    padding: 4px 24px 24px;
    color: var(--gray-dark);
}

/* ---------- Blog Cards ---------- */
.blog-card {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(10, 37, 64, 0.06);
}

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

.blog-card .blog-img {
    width: 100%;
    height: 200px;
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
}

.blog-card .blog-meta {
    padding: 16px 24px 0;
    font-size: 0.8rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.blog-card .blog-body {
    padding: 12px 24px 28px;
}

.blog-card .blog-body h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-card .blog-body h4 a {
    color: var(--navy);
}

.blog-card .blog-body h4 a:hover {
    color: var(--gold-dark);
}

.blog-card .blog-body p {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-bottom: 14px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-banner .btn-gold {
    background-color: var(--gold);
    color: var(--navy-dark);
}

.cta-banner .btn-gold:hover {
    background-color: var(--white);
    color: var(--navy-dark);
}

/* ---------- Map ---------- */
.map-container {
    width: 100%;
    height: 400px;
    border: 1px solid rgba(10, 37, 64, 0.1);
    border-top: 4px solid var(--gold);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ---------- Footer ---------- */
footer {
    background-color: var(--navy-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 0 0;
}

footer h5 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

footer .footer-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 16px;
    display: block;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
}

footer ul li a:hover {
    color: var(--gold);
}

footer .footer-contact p {
    font-size: 0.92rem;
    margin-bottom: 8px;
}

footer .footer-contact .info-icon {
    color: var(--gold);
    margin-right: 10px;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.75);
    margin-right: 8px;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--navy-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding: 24px 0;
    font-size: 0.85rem;
}

.footer-bottom .legal-disclaimer {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    line-height: 1.5;
}

/* ---------- Legal Disclaimer Box ---------- */
.legal-note {
    background-color: var(--cream);
    border: 1px solid rgba(197, 165, 114, 0.3);
    border-left: 4px solid var(--gold);
    padding: 20px 24px;
    margin: 2rem 0;
    font-size: 0.88rem;
    color: var(--gray-dark);
}

.legal-note strong {
    color: var(--navy);
}

/* ---------- Utility ---------- */
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }
.img-fluid-shadow { box-shadow: var(--shadow-md); }

/* ---------- Interaction & Accessibility ---------- */
:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 3px;
}

.hero a:focus-visible,
.cta-banner a:focus-visible,
footer a:focus-visible,
.trust-strip a:focus-visible {
    outline-color: var(--white);
}

a[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.58;
}

.disabled-control {
    cursor: default;
    opacity: 0.62;
}

[id] {
    scroll-margin-top: 110px;
}

/* ---------- Responsive ---------- */
@media (min-width: 992px) and (max-width: 1399px) {
    .navbar-brand {
        font-size: 1.4rem;
    }

    .navbar-brand .brand-sub {
        letter-spacing: 2px;
    }

    .navbar .nav-link {
        padding: 10px 9px !important;
        font-size: 0.8rem;
        letter-spacing: 0.2px;
    }

    .navbar .nav-item.ms-lg-3 {
        margin-left: 0.5rem !important;
    }

    .navbar .btn-gold {
        padding: 12px 18px;
        font-size: 0.78rem;
    }
}

@media (max-width: 991px) {
    h1 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.4rem; }
    .hero { padding: 90px 0 80px; }
    section { padding: 60px 0; }
    .navbar .nav-link::after { display: none; }
    .navbar-collapse {
        border-top: 1px solid rgba(10, 37, 64, 0.08);
        margin-top: 12px;
        padding-top: 12px;
    }
    .founder-spotlight .col-lg-7 {
        padding-top: 1.5rem;
    }
    .trust-item {
        border-left: 0;
    }
}

@media (max-width: 767.98px) {
    .legal-team-card {
        grid-template-columns: 1fr;
    }
    .legal-team-card__media {
        position: static;
        min-height: 0;
    }
    .legal-team-card__media img {
        position: static;
        height: auto;
        aspect-ratio: 4 / 5;
    }
    .legal-team-card__body {
        padding: 28px 22px;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.7rem; }
    .row.g-5 { --bs-gutter-x: 1.5rem; }
    .hero h1 { font-size: 1.9rem; }
    .hero .hero-subtitle { font-size: 1.05rem; }
    .section-title { margin-bottom: 40px; }
    .navbar-brand {
        min-width: 0;
        max-width: calc(100% - 64px);
        font-size: clamp(1.18rem, 6vw, 1.45rem);
        white-space: normal;
    }
    .navbar-brand .brand-sub {
        font-size: 0.62rem;
        letter-spacing: 2px;
    }
    .service-card { padding: 28px 22px; }
    .founder-portrait-frame::before {
        inset: 14px -10px -14px 10px;
    }
    .founder-badge {
        left: -8px;
        bottom: 18px;
    }
    .founder-quote {
        font-size: 1.1rem;
    }
    .founder-profile {
        margin-top: 3rem;
        padding: 28px 22px;
    }
    .founder-profile p {
        font-size: 1rem;
    }
    .testimonial-content {
        padding: 26px 22px;
    }
    .testimonial-media img {
        height: 210px;
    }
    .testimonial-card--portrait .testimonial-layout {
        grid-template-columns: 1fr;
    }
    .testimonial-card--portrait .testimonial-media,
    .testimonial-card--portrait .testimonial-media img {
        height: 220px;
        min-height: 0;
    }
    .testimonial-card--portrait .testimonial-content {
        padding: 26px 22px;
    }
    .trust-strip {
        padding: 36px 0;
    }
    .trust-item {
        align-items: flex-start;
        padding: 4px;
    }
    .trust-item > i {
        font-size: 1.3rem;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
