/* ============================================================
   ABOUT PAGE — ARGAMAN SURGERIES
   ============================================================ */

/* --- 1. CONFIGURATION DE BASE ET PALETTE --- */
:root {
    --color-gold: #C0A062;
    --color-dark: #2F353B;
    --color-cream: #F9F8F4;
    --color-slate: #545F66;
    --color-grey: #666666;
    --color-border: #999999;
    --color-grey-dark: #1E242A;

    --site-padding-left: max(40px, 5vw);
    --site-max-width: 1400px;
    --site-gutter: max(40px, calc((100% - 1200px) / 2));
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--color-dark);
    background-color: #fff;
    overflow-x: hidden;
    margin: 0;
}

/* ============================================================
   2. HEADER & NAVIGATION (copied from contact.css)
   ============================================================ */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    height: 110px;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 1000;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: absolute;
    left: var(--site-gutter);
    z-index: 1001;
    transition: opacity 0.3s;
}

.brand-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 2px;
    color: var(--color-slate);
    transition: transform 0.3s ease, color 0.3s ease;
}

.brand-icon svg { width: 100%; height: 100%; overflow: visible; }

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.brand-name {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 30px;
    letter-spacing: 3px;
    color: var(--color-slate);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.brand-sub {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 8px;
    letter-spacing: 5px;
    color: var(--color-slate);
    text-transform: uppercase;
    margin-top: 3px;
    transition: color 0.3s ease;
}

.brand-logo:hover .brand-icon,
.brand-logo:hover .brand-name,
.brand-logo:hover .brand-sub {
    color: var(--color-gold);
}
.brand-logo:hover .brand-icon { transform: scale(1.05); }

.navbar {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 15px;
    margin-left: 100px;
}

.nav-wrapper-mega, .nav-wrapper-simple {
    height: 100%;
    display: flex;
    align-items: center;
}
.nav-wrapper-mega { position: static; }
.nav-wrapper-simple { position: relative; }

.nav-link {
    text-decoration: none;
    color: var(--color-dark);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link:hover { color: var(--color-gold); }
.nav-link i { font-size: 10px; color: var(--color-gold); transition: transform 0.3s; }

.btn-book {
    text-decoration: none;
    color: var(--color-grey);
    background-color: transparent;
    border: 1px solid var(--color-border);
    padding: 12px 25px;
    position: absolute;
    right: var(--site-gutter);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-book:hover {
    border-color: var(--color-gold);
    background-color: var(--color-gold);
    color: #fff;
}

@media (min-width: 1025px) {
    .nav-wrapper-mega:hover .nav-link, .nav-wrapper-simple:hover .nav-link { color: var(--color-gold); }
    .nav-wrapper-mega:hover .nav-link i, .nav-wrapper-simple:hover .nav-link i { transform: rotate(180deg); }
    .nav-wrapper-mega:hover .dropdown-menu, .nav-wrapper-simple:hover .dropdown-menu {
        visibility: visible; opacity: 1; transform: translateY(0);
    }
}

.dropdown-menu {
    background-color: var(--color-dark);
    position: absolute; top: 100%; visibility: hidden; opacity: 0;
    transform: translateY(10px); transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2); z-index: 999;
}
.dropdown-menu.mega-style { left: 0; width: 100%; padding: 50px 80px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.dropdown-menu.simple-style { left: 50%; transform: translateX(-50%) translateY(10px); min-width: 250px; padding: 30px; display: flex; flex-direction: column; }

@media (min-width: 1025px) {
    .nav-wrapper-simple:hover .dropdown-menu.simple-style { transform: translateX(-50%) translateY(0); }
}

.column-title { color: #fff; font-size: 18px; margin-bottom: 20px; font-weight: 600; }
ul { list-style: none; }
li { margin-bottom: 12px; }

li a { color: #b0b2b5; text-decoration: none; font-size: 14px; position: relative; display: block; transition: all 0.3s ease; }
li a::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 0px; height: 1px; background-color: var(--color-gold); transition: width 0.3s ease; }
li a:hover { color: var(--color-gold); padding-left: 25px; }
li a:hover::before { width: 15px; }

.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 2001; }
.bar { width: 30px; height: 2px; background-color: var(--color-dark); transition: all 0.3s; }
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* ============================================================
   3. ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.about-hero h1 { animation: fadeInUp 0.8s ease-out both; }
.about-hero > p { animation: fadeInUp 0.8s ease-out 0.2s both; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ============================================================
   4. HERO
   ============================================================ */
.about-hero {
    position: relative; width: 100%; height: 55vh; min-height: 380px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: #fff; overflow: hidden;
    background: linear-gradient(to right, rgba(0,0,0,0.55), rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.1)),
        url("Images/about-hero.jpg") center / cover no-repeat;
    background-color: #3a3a3a;
}
.about-hero h1 {
    font-size: 52px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--color-gold);
    color: #fff;
    border: 1px solid var(--color-gold);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.hero-btn:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}



/* ============================================================
   5. BREADCRUMB (below hero)
   ============================================================ */
.breadcrumb-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 40px;
    border-bottom: 1px solid #eee;
}
.breadcrumb-bar ol {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.breadcrumb-bar li {
    font-size: 13px;
    color: var(--color-grey);
    margin-bottom: 0;
}
.breadcrumb-bar li a {
    color: var(--color-grey);
    text-decoration: none;
    font-size: 13px;
    padding-left: 0;
}
.breadcrumb-bar li a::before { display: none; }
.breadcrumb-bar li a:hover { color: var(--color-gold); padding-left: 0; }
.breadcrumb-bar li + li::before {
    content: '>';
    margin: 0 10px;
    color: #ccc;
}

/* ============================================================
   6. ANCHOR BUTTONS
   ============================================================ */
.anchor-buttons {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px;
}
.anchor-buttons-inner {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.anchor-buttons-inner a {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #ccc;
    color: var(--color-dark);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}
.anchor-buttons-inner a:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* ============================================================
   7. DUO SECTIONS (h2 left / text right)
   ============================================================ */
.duo-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.duo-even {
    background: #f8f8f6;
    max-width: 100%;
    padding: 60px 40px;
}
.duo-even .duo-inner {
    max-width: 1120px;
    margin: 0 auto;
}
.duos-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.duo-inner {
    display: flex;
    gap: 60px;
    padding: 50px 0;
    align-items: flex-start;
}
.duo-first {
    flex: 0 0 35%;
}
.duo-second {
    flex: 1;
}
.duo-first h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-dark);
    line-height: 1.4;
    margin: 0;
}
.duo-first p {
    font-size: 15px;
    color: var(--color-grey);
    line-height: 1.75;
    margin-top: 15px;
}
.duo-second p {
    font-size: 15px;
    color: var(--color-grey);
    line-height: 1.75;
    margin: 0 0 12px;
}
.duo-second p:last-child { margin-bottom: 0; }
.duo-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    border: 1px solid var(--color-dark);
    color: var(--color-dark);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}
.duo-btn:hover {
    border-color: var(--color-gold);
    background: var(--color-gold);
    color: #fff;
}

/* ============================================================
   8. NUMBERS / STATS SECTION (white background)
   ============================================================ */
.numbers-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 40px;
}
.numbers-inner {
    display: flex;
    gap: 0;
    align-items: flex-start;
}
.number-item {
    flex: 1;
    padding: 30px 25px;
}
.number-item + .number-item {
    border-left: 1px solid #e5e5e5;
}
.number {
    font-size: 52px;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 10px;
}
.number-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}
.number-text {
    font-size: 13px;
    color: var(--color-grey);
    line-height: 1.65;
}

/* ============================================================
   9. TEAM SECTION
   ============================================================ */
/* Full-bleed team photo. The shot is a very bright, near-white clinic scene,
   so the copy sits on a dark scrim that fades out to the right — dark text
   straight on the photo was unreadable. */
.team-section {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    background: url("Images/top%20plastic%20surgeons%20mexico.webp") center top / cover no-repeat;
}
.team-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(30,36,43,0.94) 0%,
        rgba(30,36,43,0.86) 32%,
        rgba(30,36,43,0.45) 62%,
        rgba(30,36,43,0.12) 100%);
}
.team-section .duo-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 40px;
    min-height: 420px;
    align-items: center;
}
.team-section .duo-first h2,
.team-section .duo-first p {
    color: #fff;
}
@media (max-width: 900px) {
    /* Stacked: the scrim has to cover the whole card, not just its left edge */
    .team-section::before {
        background: rgba(30,36,43,0.86);
    }
    .team-section .duo-inner { padding: 60px 24px; min-height: 0; }
}

/* ============================================================
   10. VALUES SECTION (dark background)
   ============================================================ */
.values-section {
    background: var(--color-dark);
    padding: 80px 40px;
    color: #fff;
}
.values-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.values-inner > h2 {
    font-size: 28px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 50px;
}
.values-grid {
    display: flex;
    gap: 50px;
}
.value-item {
    flex: 1;
    text-align: left;
}
.value-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}
.value-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}


/* ============================================================
   10. FOOTER (copied from contact.css)
   ============================================================ */
footer { padding: 0; background-color: transparent; border-top: none; width: 100%; }
.footer-cta-bar { background-color: var(--color-grey-dark); padding: 50px 10%; display: flex; align-items: center; justify-content: space-between; color: #fff; flex-wrap: wrap; gap: 30px; }
.cta-content h2 { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; font-size: 30px; font-weight: 300; line-height: 1.3; max-width: 1200px; margin: 0; text-align: left; }
.btn-footer-cta { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--color-gold); padding: 12px 30px; color: #fff; background: var(--color-gold); text-decoration: none; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; transition: all 0.3s ease; }
.btn-footer-cta:hover { background: #fff; color: var(--color-grey); border-color: #fff; }
.footer-info-section { background-color: #fff; padding: 80px 40px 30px 40px; color: var(--color-dark); }
.footer-grid-wrapper { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 60px; border-bottom: 1px solid #dcdcdc; padding-bottom: 60px; margin-bottom: 30px; align-items: flex-start; }
.f-col-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 25px; }

.f-brand-block {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-slate);
    margin-bottom: 10px;
}
.f-brand-icon-ft { width: 40px; height: 40px; color: var(--color-slate); }
.f-brand-text-ft {
    display: flex;
    flex-direction: column;
    line-height: 1;
    align-items: flex-start;
}
.f-name-ft {
    font-size: 24px;
    letter-spacing: 1px;
    font-weight: 400;
}
.f-sub-ft {
    font-size: 9px;
    letter-spacing: 2.85px;
    text-transform: uppercase;
    margin-top: 2px;
    margin-left: 1px;
}

.f-address-box p { font-size: 13px; color: var(--color-grey); line-height: 1.6; margin-bottom: 5px; }
.f-address-box .highlight { color: var(--color-dark); font-weight: 600; margin-top: 10px; display: block; }
.f-socials-row { display: flex; gap: 15px; margin-top: 10px; }
.f-socials-row a { color: var(--color-slate); font-size: 18px; transition: color 0.3s; text-decoration: none; }
.f-socials-row a:hover { color: var(--color-gold); }
.f-col-links h4 { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px; color: var(--color-slate); font-weight: 700; }
.f-link-list { list-style: none; padding: 0; margin: 0; }
.f-link-list li { margin-bottom: 10px; }
.f-link-list li a { font-size: 13px; color: var(--color-grey); text-decoration: none; transition: color 0.3s; position: relative; }
.f-link-list li a::before { display: none; }
.f-link-list li a:hover { color: var(--color-gold); padding-left: 0; }
.f-group-title { font-size: 13px; color: var(--color-slate); font-weight: 700; margin-top: 25px; margin-bottom: 15px; display: block; text-transform: uppercase; letter-spacing: 0.5px; }
.mt-0 { margin-top: 0 !important; }
.footer-legal-row { text-align: center; font-size: 11px; color: #999; }
.footer-legal-row a { color: #999; text-decoration: none; margin-left: 10px; transition: color 0.3s; }
.footer-legal-row a:hover { color: var(--color-gold); }


/* ============================================================
   11. RESPONSIVE — TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    li a::before { display: none !important; }
    li a:hover { padding-left: 0 !important; }

    /* Header mobile */
    header { justify-content: space-between; padding: 0 20px; height: 90px; position: fixed; top: 0; left: 0; width: 100%; border-bottom: 1px solid #e5e5e5; z-index: 2000; }
    body { padding-top: 90px; }
    .brand-logo { position: static; left: auto; }
    .brand-icon { width: 35px; height: 35px; }
    .brand-name { font-size: 18px; letter-spacing: 2px; }
    .brand-sub { font-size: 7px; letter-spacing: 3px; }
    .hamburger { display: flex; }
    .navbar { position: fixed; top: 90px; left: 0; width: 100%; height: calc(100vh - 90px); background-color: #fff; flex-direction: column; align-items: flex-start; padding: 40px; transform: translateX(-100%); transition: transform 0.4s ease; overflow-y: auto; gap: 0; z-index: 1999; margin-left: 0; }
    .navbar.active { transform: translateX(0); }
    .nav-wrapper-mega, .nav-wrapper-simple { width: 100%; height: auto; flex-direction: column; align-items: flex-start; border-bottom: 1px solid #f0f0f0; }
    .nav-link { width: 100%; padding: 20px 0; justify-content: space-between; font-size: 16px; }
    .btn-book { position: relative; right: auto; top: auto; transform: none; margin-top: 20px; width: 100%; text-align: center; padding: 15px; }
    .dropdown-menu, .dropdown-menu.mega-style, .dropdown-menu.simple-style { position: static; width: 100%; box-shadow: none; padding: 0; visibility: visible; opacity: 1; transform: none; display: none; background-color: #ffffff; padding-left: 15px; }
    .column-title { color: var(--color-dark); margin-top: 10px; margin-bottom: 10px; } li a { color: #444; }
    .dropdown-menu.mega-style { grid-template-columns: 1fr; gap: 20px; padding: 20px; } .dropdown-menu.simple-style { padding: 20px; }
    .nav-wrapper-mega.open .dropdown-menu { display: block; } .nav-wrapper-mega.open .dropdown-menu.mega-style { display: grid; } .nav-wrapper-simple.open .dropdown-menu { display: block; }
    .nav-wrapper-mega.open .nav-link i, .nav-wrapper-simple.open .nav-link i { transform: rotate(180deg); }

    /* Stats: 2x2 */
    .numbers-inner { flex-wrap: wrap; }
    .number-item { flex: 0 0 50%; }
    .number-item:nth-child(3) { border-left: none; }

    /* Duo: single column on tablet */
    .duo-inner { flex-direction: column; gap: 20px; }
    .duo-first { flex: none; width: 100%; }

    /* Values: single column */
    .values-grid { flex-wrap: wrap; }
    .value-item { flex: 0 0 100%; }

    /* Footer */
    .footer-cta-bar { flex-direction: column; text-align: center; justify-content: center; padding: 50px 20px; }
    .cta-content h2 { text-align: center !important; }
    .footer-grid-wrapper { grid-template-columns: repeat(3, 1fr) !important; gap: 20px; text-align: left !important; padding-bottom: 40px; }
    .f-col-identity { grid-column: span 3; align-items: center !important; border-bottom: 1px solid #ddd; padding-bottom: 20px; margin-bottom: 10px; width: 100%; text-align: center !important; }
    .f-col-links { align-items: flex-start !important; text-align: left !important; }
    .f-col-links h4, .f-group-title { text-align: left !important; font-size: 11px; }
    .f-link-list li a { justify-content: flex-start !important; text-align: left; padding-left: 0 !important; font-size: 11px; }
    .f-link-list li a:hover { padding-left: 0 !important; color: var(--color-gold); }
}


/* ============================================================
   12. RESPONSIVE — MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Stats: 1 column */
    .number-item { flex: 0 0 100%; border-left: none !important; border-top: 1px solid #e5e5e5; }
    .number-item:first-child { border-top: none; }

    /* Hero */
    .about-hero h1 { font-size: 34px; }

    /* Anchor buttons */
    .anchor-buttons-inner a { padding: 8px 18px; font-size: 11px; }

    /* Footer mobile - 3 colonnes comme index */
    .footer-grid-wrapper { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; padding-left: 10px; padding-right: 10px; }
    .f-col-identity { grid-column: span 3 !important; text-align: center !important; align-items: center !important; border-bottom: 1px solid #ddd; padding-bottom: 30px; margin-bottom: 10px; width: 100%; }
    .f-col-identity .f-address-box { width: 100%; text-align: center; }
    .f-col-identity .f-address-box p { font-size: 15px; line-height: 1.7; }
    .f-col-identity .f-socials-row { justify-content: center; width: 100%; }
    .f-col-links h4, .f-group-title { font-size: 11px; }
    .f-link-list li a { font-size: 11px; }
}