/*
 * Heritage Apothecary — Dr. Ouassim Anane Dental
 * Warm parchment ground, olive + brass accents, serif display paired
 * with a serif body face and a small sans utility face for UI chrome.
 * Fonts are self-hosted (./fonts/) — subsetted to arabic/latin/latin-ext,
 * the scripts this site actually serves (EN/FR/AR).
 */

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/cairo-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/cairo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/cairo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/cairo-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/cairo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/cairo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/cairo-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/cairo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/cairo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/sourceserif4-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/sourceserif4-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/sourceserif4-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/sourceserif4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/sourceserif4-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/sourceserif4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/sourceserif4-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/sourceserif4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --primary-dark: #332A20;
    --text: #3B3225;
    --muted: #6C5F4C;
    --background: #EAE2D2;
    --surface: #FFFCF5;
    --border: #DCD2BC;
    --accent: #41562F;
    --accent-dark: #334524;
    --accent-soft: #DCE3CB;
    --brass: #AD8A52;
    --brass-text: #8A6E41;

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-ui: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

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

:focus-visible {
    outline: 2.5px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}

html, body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--text);
    background: var(--background);
    display: flex;
    flex-direction: column;
}

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

/* Navigation */
.navbar {
    background: var(--surface);
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--brass);
    box-shadow: 0 2px 12px rgba(51, 42, 32, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 0.01em;
}

.brand-mark {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    font-family: var(--font-display);
}

.nav-links a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: all 0.25s ease;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
    border-radius: 3px;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--surface);
    background-color: var(--accent);
}

.nav-call {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    padding: 0.4rem 0.7rem;
    border: 1.5px solid var(--brass);
    border-radius: 100px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.nav-call:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--surface);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-family: var(--font-ui);
}

.lang-btn {
    background: var(--border);
    color: var(--text);
    border: 2px solid transparent;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.25s ease;
    font-family: var(--font-ui);
}

.lang-btn:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.lang-btn.active {
    background: var(--accent);
    color: var(--surface);
    border-color: var(--accent);
}

/* RTL Support — redefine the type tokens themselves so every component
   (which all reference var(--font-display/body/ui)) picks up Cairo
   automatically, instead of chasing each component's selector. */
html[dir="rtl"] {
    --font-display: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
    --font-body: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
    --font-ui: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
}

html[dir="rtl"] body {
    letter-spacing: 0.01em;
}

/* Hero Section */
.hero {
    background: var(--surface);
    padding: 30px 0;
    margin-bottom: 16px;
    border-bottom: 3px solid var(--brass);
    box-shadow: 0 4px 15px rgba(51, 42, 32, 0.08);
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--brass) 1px, transparent 1.5px);
    background-size: 26px 26px;
    opacity: 0.12;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    position: relative;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass-text);
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 2.6rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.12;
    font-weight: 500;
    font-family: var(--font-display);
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 1.2rem;
    max-width: 560px;
    line-height: 1.6;
}

.ctarow {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    font-family: var(--font-ui);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--surface);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    font-weight: 700;
    font-family: var(--font-ui);
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(65, 86, 47, 0.25);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(65, 86, 47, 0.35);
}

.cta-link {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--brass);
    padding-bottom: 2px;
    transition: color 0.25s ease;
}

.cta-link:hover {
    color: var(--accent);
}

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

.hero-seal {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--brass);
    overflow: hidden;
}

.hero-seal::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    border: 1px dashed var(--brass);
    opacity: 0.6;
}

.hero-seal img {
    position: relative;
    width: 67%;
    height: auto;
}

/* Responsive images */
img,
.specialty-card img,
.feature-card img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Page Header */
.page-header {
    background: var(--surface);
    color: var(--primary-dark);
    padding: 22px 0;
    margin-bottom: 16px;
    text-align: center;
    border-bottom: 3px solid var(--brass);
    box-shadow: 0 4px 15px rgba(51, 42, 32, 0.06);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.page-header p {
    font-size: 1rem;
    color: var(--muted);
}

/* Intro Section */
.intro {
    background: var(--surface);
    padding: 18px 0;
    margin-bottom: 16px;
    border-top: 4px solid var(--accent);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(65, 86, 47, 0.08);
}

.intro h2 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

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

/* Features Grid */
.features {
    padding: 0 0 24px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.feature-card {
    background: var(--surface);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(51, 42, 32, 0.08);
    transition: all 0.25s ease;
    border-top: 4px solid var(--accent);
}

.feature-card:hover {
    box-shadow: 0 8px 25px rgba(65, 86, 47, 0.18);
    transform: translateY(-4px);
}

.feature-card h3 {
    font-family: var(--font-body);
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 0 0 24px;
}

.gallery h2 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.gallery-card {
    background: var(--surface);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(51, 42, 32, 0.08);
    transition: all 0.25s ease;
    border-top: 4px solid var(--accent);
}

.gallery-card:hover {
    box-shadow: 0 8px 25px rgba(65, 86, 47, 0.18);
    transform: translateY(-4px);
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-card p {
    padding: 12px 16px 16px;
    text-align: center;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Location Photo (Contact page) */
.location-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(51, 42, 32, 0.08);
    margin-bottom: 12px;
}

/* Biography Section */
.biography {
    padding: 0 0 24px;
}

.bio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.bio-text,
.resume-section {
    background: var(--surface);
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(51, 42, 32, 0.08);
    border-left: 4px solid var(--accent);
}

.bio-text h2,
.resume-section h2 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--brass);
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.bio-text h3,
.resume-section h3 {
    color: var(--accent);
    margin-top: 0.75rem;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-ui);
    letter-spacing: 0.02em;
}

.bio-text ul,
.resume-section ul {
    list-style-position: inside;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.bio-text li,
.resume-section li {
    margin-bottom: 0.25rem;
    padding-left: 8px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.resume-item {
    margin-bottom: 0.7rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--border);
}

.resume-item:last-child {
    border-bottom: none;
}

/* Specialties */
.specialties {
    padding: 0 0 24px;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.specialty-card {
    background: var(--surface);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(51, 42, 32, 0.08);
    transition: all 0.25s ease;
    border-left: 4px solid var(--accent);
}

.specialty-card:hover {
    box-shadow: 0 8px 25px rgba(65, 86, 47, 0.18);
    transform: translateX(5px);
}

.specialty-card h2 {
    font-family: var(--font-body);
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.specialty-card p {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.services-list {
    list-style: none;
    font-size: 0.88rem;
    font-family: var(--font-ui);
}

.services-list li {
    color: var(--accent);
    padding: 0.2rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 600;
}

.services-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 900;
}

/* Contact Section */
.contact {
    padding: 0 0 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-info {
    background: var(--surface);
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(51, 42, 32, 0.08);
    border-left: 4px solid var(--accent);
}

.map-embed {
    position: relative;
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.map-embed iframe {
    display: block;
    border: 0;
}

.map-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
}

.contact-info h2 {
    font-family: var(--font-body);
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 700;
    border-bottom: 2px solid var(--brass);
    padding-bottom: 0.6rem;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.2rem;
    min-width: 30px;
}

.contact-icon svg path,
.contact-icon svg circle,
.contact-icon svg rect,
.contact-icon svg line,
.contact-icon svg polyline,
.contact-icon svg polygon {
    stroke: var(--accent) !important;
}

.contact-icon svg circle[fill="#2e7d32"],
.contact-icon svg rect[fill="#2e7d32"],
.contact-icon svg path[fill="#2e7d32"],
.contact-icon svg polygon[fill="#2e7d32"],
.contact-icon svg polyline[fill="#2e7d32"] {
    fill: var(--accent) !important;
}

.contact-details h3 {
    font-family: var(--font-ui);
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding-right: 20px;
    font-weight: 700;
}

.contact-details p {
    color: var(--text);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-details a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.contact-details a:hover {
    text-decoration: underline;
}

.small-text {
    font-size: 0.85rem !important;
    color: var(--muted) !important;
    font-family: var(--font-ui);
}

.hours-list {
    list-style: none;
    font-family: var(--font-ui);
}

.hours-list li {
    color: var(--text);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #4A3D2C 100%);
    color: var(--surface);
    padding: 18px 0;
    margin-top: auto;
    text-align: center;
    border-top: 3px solid var(--brass);
    font-family: var(--font-ui);
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.eco-note {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 1rem;
}

.eco-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 1rem;
}

.eco-badges img {
    display: block;
    border-radius: 4px;
}

/* Responsive Design */

/* Optimization for 1024px and 1366px screens (tablets and laptops) */
@media (min-width: 769px) and (max-width: 1200px) {
    .container {
        max-width: 95%;
    }

    .hero .container {
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .intro h2 {
        font-size: 1.5rem;
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .specialty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-list {
        font-size: 0.9rem;
    }

    .bio-content {
        gap: 25px;
    }
}

/* Mobile and tablet optimization */
@media (max-width: 768px) {
    .nav-links {
        gap: 0.6rem;
        font-size: 0.85rem;
        justify-content: center;
        flex-wrap: wrap;
        order: 3;
        width: 100%;
    }

    .nav-call {
        order: 2;
    }

    .language-switcher {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        order: 4;
    }

    .hero .container,
    .bio-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .hero-seal {
        max-width: 220px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 22px 0;
        margin-bottom: 18px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .feature-grid,
    .specialty-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .navbar .container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .intro h2 {
        font-size: 1.5rem;
    }

    .bio-text h2,
    .resume-section h2,
    .contact-info h2 {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .nav-links {
        gap: 0.4rem;
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .brand-mark {
        width: 22px;
        height: 22px;
    }

    .hero-content h1,
    .page-header h1 {
        font-size: 1.5rem;
    }

    .hero-content p,
    .page-header p {
        font-size: 0.9rem;
    }

    .bio-text,
    .resume-section,
    .contact-info,
    .specialty-card,
    .feature-card {
        padding: 16px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .feature-card h3,
    .specialty-card h2 {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }

    .navbar,
    .footer,
    .nav-links,
    .nav-call,
    .cta-button {
        display: none;
    }

    .page-header {
        background: none;
        color: black;
        border: 1px solid #ccc;
    }
}
