/* =========================================
   INTERPRETING FC
   Shared styles for Home, About, Glossary, Legal, and Medical pages
   ========================================= */

:root {
    --navy: #12304a;
    --blue: #01296B;
    --blue-soft: #dbe6f4;
    --ink: #222222;
    --muted: #555555;
    --paper: rgba(255, 255, 255, 0.94);
    --soft: #f7f9fb;
    --line: rgba(18, 48, 74, 0.13);
    --shadow: 0 12px 35px rgba(18, 48, 74, 0.08);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background-color: #eeeeee;
    background-image: radial-gradient(circle, #cccccc 2px, transparent 2px);
    background-size: 35px 35px;
}

img {
    max-width: 100%;
}

a {
    color: var(--blue);
}

h1,
h2,
h3 {
    line-height: 1.2;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* =========================================
   LANGUAGE SYSTEM
   ========================================= */

.lang-en,
.lang-es {
    display: none;
}

html[lang="en"] .lang-en {
    display: block;
}

html[lang="es"] .lang-es {
    display: block;
}

span.lang-en,
span.lang-es {
    display: none;
}

html[lang="en"] span.lang-en {
    display: inline;
}

html[lang="es"] span.lang-es {
    display: inline;
}

/* =========================================
   ONE SHARED HEADER — ALL PAGES
   ========================================= */

.site-header {
    width: 100%;
    padding: 26px 20px 22px;
    text-align: center;
    background: rgba(247, 249, 251, 0.97);
    border-bottom: 1px solid var(--line);
}

.site-brand {
    display: inline-block;
    color: var(--navy);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
}

.site-brand span {
    color: var(--blue);
}

.header-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 980px);
    margin: 18px auto 0;
}

.site-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px 26px;
    text-align: center;
}

.site-nav a {
    padding: 6px 0;
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--blue);
}

.site-nav .request-nav-link {
    padding: 8px 14px;
    color: #ffffff;
    background: var(--navy);
    border-radius: 999px;
}

.site-nav .request-nav-link:hover {
    color: #ffffff;
    background: var(--blue);
}

.language-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 3px;
    background: #ffffff;
    border: 1px solid var(--navy);
    border-radius: 999px;
}

.language-toggle button {
    min-width: 42px;
    padding: 7px 10px;
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 800;
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.language-toggle button[aria-pressed="true"] {
    color: #ffffff;
    background: var(--navy);
}

/* =========================================
   SHARED COMPONENTS
   ========================================= */

.eyebrow {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 27px;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    background: var(--navy);
    border: 2px solid var(--navy);
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.button:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.button:focus-visible,
.site-nav a:focus-visible,
.language-toggle button:focus-visible,
.contact-email a:focus-visible,
.footer-contact a:focus-visible,
.footer-service-links a:focus-visible,
.service-card a:focus-visible,
.credential-verify a:focus-visible {
    outline: 3px solid rgba(1, 41, 107, 0.28);
    outline-offset: 3px;
}

.button-secondary {
    color: var(--navy);
    background: #ffffff;
    border-color: rgba(18, 48, 74, 0.25);
}

.hero-actions,
.form-actions,
.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}


.contact-email {
    margin-top: 15px !important;
    font-size: 0.95rem !important;
}

.contact-email a,
.footer-contact a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
}

.contact-email a:hover,
.footer-contact a:hover {
    text-decoration: underline;
}

.team-line {
    margin: 16px auto 0 !important;
    color: var(--blue);
    font-weight: 700;
    font-style: italic;
}

.language-pair {
    margin: 0.65rem auto 1.5rem !important;
    color: var(--blue);
    font-size: 0.95rem !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
}

/* =========================================
   CREDENTIALS — PURPOSELY PROMINENT
   ========================================= */

.hero-credentials,
.credential-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hero-credentials {
    max-width: 780px;
    margin: 22px auto 24px;
}

.credential-card {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 98px;
    padding: 18px 19px;
    text-align: left;
    background: #ffffff;
    border: 1px solid rgba(1, 41, 107, 0.22);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(18, 48, 74, 0.07);
}

.credential-mark {
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 900;
    background: var(--blue);
    border-radius: 50%;
}

.credential-card strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.35;
}

.credential-verify {
    margin-top: 7px;
    font-size: 0.78rem;
    line-height: 1.35;
}

.credential-verify a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.credential-verify a:hover {
    text-decoration: underline;
}

.credential-band {
    margin-top: 30px;
    padding: 32px 38px 38px;
    background: var(--paper);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.credential-band .eyebrow {
    text-align: center;
}

/* =========================================
   HOMEPAGE
   ========================================= */

.homepage-content {
    width: min(100% - 32px, 1000px);
    margin: 0 auto;
}

.homepage-hero {
    margin-top: 30px;
    padding: 48px 25px 52px;
    text-align: center;
    background: var(--paper);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.profile-image {
    display: block;
    width: 220px;
    height: 220px;
    max-width: 220px;
    max-height: 220px;
    margin: 0 auto 25px;
    object-fit: cover;
    border: 4px solid var(--navy);
    border-radius: 50%;
}

.homepage-hero h1 {
    max-width: 800px;
    margin: 0 auto 15px;
    color: var(--navy);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
}

.homepage-hero h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.5rem;
}

.homepage-hero > p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.75;
}

.homepage-hero .hero-actions {
    margin-top: 27px;
}

.services-section,
.service-area,
.why-section,
.faq-section {
    margin-top: 30px;
    padding: 40px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.services-section > h2,
.service-area h2,
.why-section h2,
.faq-section h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 2rem;
}

.services-intro,
.service-area p {
    max-width: 750px;
    margin: 0 auto;
}

.services-intro {
    margin-bottom: 35px;
}

.service-area p {
    font-size: 1.05rem;
    line-height: 1.75;
}

.service-grid,
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}

.service-card,
.why-item {
    padding: 25px 22px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(18, 48, 74, 0.07);
}

.service-card {
    border-top: 4px solid var(--blue);
}

.why-item {
    min-height: 190px;
    text-align: center;
    border: 1px solid rgba(18, 48, 74, 0.14);
    border-top: 4px solid var(--blue);
}

.why-item h3 {
    margin-bottom: 12px;
}

.service-card h3,
.why-item h3 {
    margin-top: 0;
    color: var(--navy);
}

.service-card p,
.why-item p {
    margin-bottom: 0;
}

.service-card h3 a {
    color: inherit;
    text-decoration: none;
}

.service-card h3 a:hover {
    color: var(--blue);
}

.service-card .service-link {
    margin-top: 16px;
}

.service-link a {
    font-weight: 800;
    text-decoration: none;
}

.service-link a:hover {
    text-decoration: underline;
}

.why-section h2,
.faq-section h2 {
    margin-bottom: 25px;
}

.faq-list {
    display: grid;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-list details,
.glossary-list details {
    overflow: hidden;
    background: var(--soft);
    border: 1px solid rgba(18, 48, 74, 0.1);
    border-radius: 10px;
}

.faq-list summary,
.glossary-list summary {
    padding: 17px 20px;
    color: var(--navy);
    font-weight: 800;
    cursor: pointer;
}

.faq-list summary:hover,
.glossary-list summary:hover {
    color: var(--blue);
}

.faq-list details p,
.glossary-list details p {
    margin: 0;
    padding: 16px 20px 20px;
    color: #444444;
}

/* =========================================
   STREAMLINED INQUIRY
   ========================================= */

.inquiry-section {
    margin: 30px 0 0;
    padding: 36px 40px 38px;
    color: #ffffff;
    text-align: center;
    background: var(--navy);
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(18, 48, 74, 0.14);
}

.inquiry-heading {
    max-width: 700px;
    margin: 0 auto;
}

.inquiry-heading h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.7rem);
}

.inquiry-heading p {
    margin: 0 auto 9px;
    color: rgba(255, 255, 255, 0.9);
}

.inquiry-heading .eyebrow {
    color: var(--blue-soft);
}

.inquiry-reassurance {
    max-width: 650px;
    font-size: 0.86rem;
}


.inquiry-form {
    max-width: 760px;
    margin: 18px auto 0;
    padding: 20px;
    color: var(--ink);
    text-align: left;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}


.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.form-field {
    display: grid;
    gap: 5px;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 800;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid rgba(18, 48, 74, 0.25);
    border-radius: 8px;
    outline: none;
}

.form-field input,
.form-field select {
    min-height: 42px;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(1, 41, 107, 0.12);
}

.inquiry-form .form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.inquiry-form .form-actions .button {
    width: 100%;
}

.inquiry-form .button-secondary {
    border-color: rgba(18, 48, 74, 0.2);
}

.form-call-option {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.form-call-option a {
    font-weight: 800;
    text-decoration: none;
}

.form-call-option a:hover {
    text-decoration: underline;
}

.form-status {
    min-height: 1.5em;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    text-align: center;
}

/* =========================================
   ABOUT PAGE
   ========================================= */

.about-page,
.glossary-page {
    width: min(100% - 32px, 1000px);
    margin: 0 auto;
    padding: 50px 0 60px;
}

.about-hero {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: center;
    gap: 60px;
    padding: 45px;
    background: var(--paper);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.about-photo img {
    display: block;
    width: 260px;
    height: 260px;
    max-width: 260px;
    object-fit: cover;
    border: 6px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 16px 40px rgba(18, 48, 74, 0.15);
}

.about-introduction h1 {
    margin: 0 0 24px;
    color: var(--navy);
    font-size: clamp(2rem, 5vw, 3.3rem);
    line-height: 1.08;
}

.about-introduction p {
    margin: 0 0 18px;
    font-size: 1.05rem;
    line-height: 1.75;
}

.education-card,
.experience-card,
.mission-card {
    margin-top: 30px;
    padding: 40px;
    background: var(--paper);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.education-card h2 {
    margin: 0 0 25px;
    color: var(--navy);
    font-size: 2rem;
}

.education-item {
    padding: 18px 20px;
    margin-bottom: 14px;
    background: var(--soft);
    border-left: 5px solid var(--blue);
    border-radius: 8px;
}

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

.education-item strong {
    display: block;
    color: var(--navy);
    font-size: 1.05rem;
}

.education-item span {
    color: var(--muted);
}

.mission-card {
    padding: 45px;
    background: #ffffff;
    border-left: 7px solid var(--blue);
    box-shadow: 0 15px 40px rgba(18, 48, 74, 0.1);
}

.mission-card h2 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: clamp(2rem, 5vw, 3rem);
}

.mission-card p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.75;
}

.goal-word {
    color: var(--blue);
}

.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
    padding: 30px;
    color: #ffffff;
    background: var(--navy);
    border-radius: 18px;
}

.about-cta > div:first-child {
    flex: 1 1 360px;
    min-width: 0;
}

.about-cta h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(1.65rem, 2.7vw, 2rem);
    line-height: 1.15;
}

.about-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.about-cta .team-line {
    color: var(--blue-soft);
}

.about-cta .cta-actions {
    flex: 0 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}


.experience-card {
    margin-top: 30px;
    padding: 40px;
    background: var(--paper);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.experience-card h2 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: clamp(1.9rem, 4vw, 2.5rem);
}

.experience-card p {
    max-width: 820px;
    margin: 0 0 16px;
    font-size: 1.05rem;
    line-height: 1.75;
}

.experience-card p:last-child {
    margin-bottom: 0;
}

/* =========================================
   SERVICE DETAIL PAGES
   ========================================= */

.service-detail-page {
    width: min(100% - 32px, 1000px);
    margin: 0 auto;
    padding: 50px 0 60px;
}

.service-detail-hero,
.service-detail-section,
.service-detail-cta {
    margin-top: 30px;
    padding: 40px;
    background: var(--paper);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.service-detail-hero {
    margin-top: 0;
    text-align: center;
}

.service-detail-hero h1 {
    max-width: 850px;
    margin: 0 auto 18px;
    color: var(--navy);
    font-size: clamp(2.25rem, 5vw, 3.7rem);
}

.service-detail-hero p {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.75;
}

.service-detail-section h2,
.service-detail-cta h2 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: clamp(1.8rem, 4vw, 2.45rem);
}

.assignment-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.assignment-list li {
    padding: 14px 16px;
    color: var(--navy);
    font-weight: 800;
    background: var(--soft);
    border-left: 4px solid var(--blue);
    border-radius: 8px;
}

.service-detail-section p {
    margin: 0 0 16px;
    font-size: 1.04rem;
    line-height: 1.75;
}

.service-detail-section p:last-child {
    margin-bottom: 0;
}

.service-detail-cta {
    color: #ffffff;
    text-align: center;
    background: var(--navy);
}

.service-detail-cta h2 {
    color: #ffffff;
}

.service-detail-cta p {
    max-width: 700px;
    margin: 0 auto 20px;
    color: rgba(255,255,255,0.9);
}

.service-detail-cta .button {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--navy);
}

.breadcrumbs {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 0.88rem;
}

.breadcrumbs a {
    font-weight: 700;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* =========================================
   GLOSSARY
   ========================================= */

.glossary-intro {
    padding: 45px;
    text-align: center;
    background: var(--paper);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.glossary-intro h1 {
    margin: 0 0 15px;
    color: var(--navy);
    font-size: clamp(2.3rem, 6vw, 4rem);
    line-height: 1.05;
}

.glossary-intro p:last-child {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.glossary-section {
    margin-top: 30px;
    padding: 40px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.glossary-section h2 {
    margin: 0 0 25px;
    color: var(--navy);
    font-size: 2rem;
}

.glossary-list {
    display: grid;
    gap: 10px;
}

/* =========================================
   FOOTER
   ========================================= */

footer {
    padding: 26px;
    color: #666666;
    text-align: center;
}

footer p {
    margin: 0;
}

footer .footer-contact {
    margin-bottom: 6px;
}

.footer-service-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.footer-service-links a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}

.footer-service-links a:hover {
    color: var(--blue);
    text-decoration: underline;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 820px) {
    .service-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .inquiry-layout {
        grid-template-columns: 1fr;
    }

    .about-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 35px 25px;
        text-align: center;
    }

    .about-photo img {
        width: 210px;
        height: 210px;
        max-width: 210px;
        margin: 0 auto;
    }

    .about-introduction p {
        text-align: left;
    }

    .about-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .about-cta > div:first-child,
    .about-cta .cta-actions {
        flex-basis: auto;
    }

    .about-cta .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .site-header {
        padding: 23px 12px 19px;
    }

    .site-nav {
        gap: 7px 15px;
        font-size: 0.88rem;
    }

    .site-nav .request-nav-link {
        padding: 7px 11px;
    }

    .homepage-content,
    .about-page,
    .glossary-page,
    .service-detail-page {
        width: min(100% - 20px, 1000px);
    }

    .homepage-hero {
        padding: 38px 18px 42px;
    }

    .hero-credentials,
    .credential-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .credential-card {
        min-height: 0;
    }

    .profile-image {
        width: 205px;
        height: 205px;
    }

    .hero-actions .button,
    .form-actions .button,
    .cta-actions .button {
        width: 100%;
    }

    .services-section,
    .service-area,
    .why-section,
    .faq-section {
        padding: 34px 17px;
    }

    .inquiry-section {
        padding: 34px 18px 36px;
    }

    .inquiry-form {
        padding: 23px 17px;
    }

    .inquiry-form .form-actions {
        grid-template-columns: 1fr;
    }

    .credential-band,
    .education-card,
    .experience-card,
    .mission-card,
    .glossary-section,
    .service-detail-hero,
    .service-detail-section,
    .service-detail-cta {
        padding: 29px 20px;
    }

    .glossary-intro {
        padding: 35px 20px;
    }

    .about-page,
    .glossary-page,
    .service-detail-page {
        padding-top: 38px;
    }

    .assignment-list {
        grid-template-columns: 1fr;
    }
}
