@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #8b7355;
    --primary-light: #a89278;
    --primary-dark: #6d5a43;
    --dark: #1a1a1a;
    --dark-soft: #2d2d2d;
    --text: #555555;
    --text-light: #888888;
    --border: #e0dbd4;
    --bg: #ffffff;
    --bg-alt: #f5f1eb;
    --bg-warm: #eae5dc;
    --bg-cream: #f0ebe3;
    --white: #ffffff;
    --gold: #c4a265;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* SCROLL PROGRESS */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 100002;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    width: 0%; transition: width 0.1s linear;
}

/* HEADER */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 1rem 4vw;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.header__inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1400px; margin: 0 auto;
}
.header__logo img { height: 100px; width: auto; }
.header__nav { display: flex; align-items: center; gap: 2rem; }
.header__link {
    font-size: 0.82rem; font-weight: 400; letter-spacing: 0.5px;
    text-transform: uppercase; color: var(--dark);
    display: flex; align-items: center; gap: 5px;
}
.header__link:hover { color: var(--primary); }
.header__cta {
    background: var(--dark); color: var(--white); padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.5px; text-transform: uppercase;
}
.header__cta:hover { background: var(--primary); }
.header__mobile {
    display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px;
}
.header__mobile span {
    width: 24px; height: 1.5px; background: var(--dark); transition: var(--transition);
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--dark); z-index: 10000;
    display: none; flex-direction: column; padding: 1.5rem;
    opacity: 0; transition: opacity 0.4s;
}
.mobile-menu.active { display: flex; opacity: 1; }
.mobile-menu__header {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu__close {
    background: none; border: none; color: var(--white);
    font-size: 1.5rem; cursor: pointer;
}
.mobile-menu__logo img { height: 80px; filter: brightness(0) invert(1); }
.mobile-menu__search {
    background: none; border: none; color: var(--white);
    font-size: 1.2rem; cursor: pointer;
}
.mobile-menu__nav { flex: 1; overflow-y: auto; padding: 2rem 0; }
.mobile-menu__link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 0; color: var(--white); font-size: 1.1rem;
    font-weight: 300; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu__footer { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-menu__cta {
    display: inline-block; background: var(--white); color: var(--dark);
    padding: 0.8rem 2rem; border-radius: var(--radius-sm);
    font-size: 0.85rem; font-weight: 500; text-transform: uppercase;
}

/* PROFILE HERO */
.profile-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background: var(--bg-cream);
    overflow: hidden;
}
.profile-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 4vw;
    align-items: center;
    width: 100%;
}
.profile-hero__photo {
    position: relative;
}
.profile-hero__photo img {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: 3/4;
}
.profile-hero__photo::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    max-width: 480px;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    z-index: -1;
    aspect-ratio: 3/4;
}
.profile-hero__info { padding: 2rem 0; }
.profile-hero__breadcrumb {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.profile-hero__breadcrumb a { color: var(--primary); }
.profile-hero__breadcrumb a:hover { text-decoration: underline; }
.profile-hero__name {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 400;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 0.8rem;
}
.profile-hero__specialty {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}
.profile-hero__summary {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 2rem;
    max-width: 520px;
}
.profile-hero__details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}
.profile-hero__detail {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--text);
}
.profile-hero__detail i {
    width: 20px;
    color: var(--primary);
    font-size: 0.85rem;
}
.profile-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.8rem; border-radius: var(--radius-sm);
    font-size: 0.82rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.5px; cursor: pointer; transition: var(--transition);
    border: 1px solid transparent;
}
.btn--primary { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn--primary:hover { background: var(--primary); border-color: var(--primary); }
.btn--outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn--outline:hover { background: var(--dark); color: var(--white); }

/* SECTIONS */
.section {
    padding: 5rem 4vw;
    max-width: 1300px;
    margin: 0 auto;
}
.section--full {
    max-width: 100%;
    padding: 5rem 4vw;
}
.section--cream { background: var(--bg-cream); }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--dark); }

.section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.8rem;
}
.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    background: linear-gradient(90deg, #8b7355 0%, #8b7355 var(--title-fill, 0%), #1a1a1a var(--title-fill, 0%), #1a1a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section--dark .section__title {
    background: linear-gradient(90deg, #c4a87c 0%, #c4a87c var(--title-fill, 0%), #ffffff var(--title-fill, 0%), #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section__line {
    width: 50px; height: 2px; background: var(--primary);
    margin: 1rem auto; border-radius: 2px;
}
.section__desc {
    max-width: 600px; margin: 0 auto;
    font-size: 0.95rem; font-weight: 300;
    color: var(--text); line-height: 1.7;
}
.section--dark .section__desc { color: rgba(255,255,255,0.7); }

/* BIO SECTION */
.bio { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.bio__text h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 1.5rem;
}
.bio__text p {
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    color: var(--text);
}
.bio__quote {
    position: relative;
    padding: 2rem 2.5rem;
    background: var(--bg-cream);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
    margin-top: 2rem;
}
.bio__quote p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 0;
}
.bio__sidebar { display: flex; flex-direction: column; gap: 2rem; }
.bio__card {
    background: var(--bg-cream);
    border-radius: var(--radius);
    padding: 2rem;
}
.bio__card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1rem;
}
.bio__card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.bio__card li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
}
.bio__card li i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* SPECIALTIES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    background: var(--bg-cream);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.service-card__icon {
    width: 60px; height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.3rem;
}
.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.8rem;
}
.service-card__text {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text);
}

/* EXPERIENCE TIMELINE */
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline__item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2.5rem;
}
.timeline__dot {
    position: absolute;
    left: 16px;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg);
    z-index: 1;
}
.timeline__year {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}
.timeline__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.3rem;
}
.timeline__place {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.timeline__desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text);
}

/* PUBLICATIONS */
.publications-list { max-width: 800px; margin: 0 auto; }
.publication {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}
.publication:last-child { border-bottom: none; }
.publication__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.4rem;
}
.publication__meta {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.publication__excerpt {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text);
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--dark);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    gap: 1rem;
}
.faq-item__question i {
    font-size: 0.8rem;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-item.active .faq-item__question i { transform: rotate(45deg); }
.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-item__answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}
.faq-item__answer p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text);
}

/* CTA SECTION */
.cta-section {
    background: var(--dark);
    padding: 5rem 4vw;
    text-align: center;
}
.cta-section h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1rem;
}
.cta-section p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}
.cta-section .btn--white {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}
.cta-section .btn--white:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 4rem 4vw 2rem;
}
.footer__inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer__brand img {
    height: 80px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}
.footer__brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 280px;
}
.footer__col h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
}
.footer__col a {
    display: block;
    font-size: 0.85rem;
    padding: 0.3rem 0;
    color: rgba(255,255,255,0.6);
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: rgba(255,255,255,0.5); }
.footer__legal a:hover { color: var(--white); }

/* COOKIE */
.cookie-banner {
    display: none;
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 100001;
    background: var(--dark); color: rgba(255,255,255,0.85);
    padding: 1.2rem 4vw; align-items: center; justify-content: space-between;
    gap: 1.5rem; font-size: 0.82rem;
}
.cookie-banner.active { display: flex; }
.cookie-banner p { flex: 1; line-height: 1.5; }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.8rem; flex-shrink: 0; }
.cookie-btn {
    padding: 0.5rem 1.2rem; border-radius: var(--radius-sm);
    font-size: 0.8rem; font-weight: 500; cursor: pointer;
    border: 1px solid rgba(255,255,255,0.3); background: transparent;
    color: var(--white); transition: var(--transition);
}
.cookie-btn--accept { background: var(--primary); border-color: var(--primary); }
.cookie-btn--accept:hover { background: var(--primary-light); }
.cookie-btn:hover { border-color: var(--white); }

/* BACK TO TOP */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 900;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--primary); transform: translateY(-2px); }

/* CHAT */
.chat-btn {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--dark); color: var(--white); border: none;
    cursor: pointer; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: var(--transition);
}
.chat-btn:hover { background: var(--primary); transform: scale(1.05); }

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* LAZY IMAGE */
img[loading="lazy"] { opacity: 0; transition: opacity 0.6s ease; }
img[loading="lazy"].loaded { opacity: 1; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .profile-hero__inner { grid-template-columns: 1fr; gap: 2rem; }
    .profile-hero__photo { text-align: center; }
    .profile-hero__photo img { max-width: 350px; margin: 0 auto; }
    .profile-hero__photo::after { display: none; }
    .bio { grid-template-columns: 1fr; gap: 2.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header__nav { display: none; }
    .header__mobile { display: flex; }
    .header__logo img { height: 90px; }
    .profile-hero { padding-top: 100px; }
    .profile-hero__inner { padding: 2rem 5vw; }
    .profile-hero__name { font-size: 2rem; }
    .section { padding: 3.5rem 5vw; }
    .section__title { font-size: 1.8rem; }
    .services-grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .cookie-banner { flex-direction: column; text-align: center; }
    .back-to-top { bottom: 1.5rem; left: 1rem; }
}

@media (max-width: 480px) {
    .profile-hero__photo img { max-width: 280px; }
    .profile-hero__name { font-size: 1.7rem; }
    .profile-hero__actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .timeline__item { padding-left: 50px; }
    .section__title { font-size: 1.5rem; }
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
}
.lang-switcher__btn {
    background: none;
    border: 1px solid transparent;
    color: inherit;
    font-size: 0.72rem;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 3px 5px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s, border-color 0.2s;
    text-transform: uppercase;
    line-height: 1;
}
.lang-switcher__btn:hover { opacity: 0.9; border-color: currentColor; }
.lang-switcher__btn.active { opacity: 1; border-color: currentColor; font-weight: 700; }
.mobile-menu .lang-switcher {
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.mobile-menu .lang-switcher__btn { color: #fff; font-size: 0.8rem; padding: 4px 7px; }
@media (max-width: 768px) {
    .lang-switcher { gap: 1px; }
    .lang-switcher__btn { font-size: 0.68rem; padding: 2px 4px; }
}
.header__inner .lang-switcher {
      margin-left: 1rem;
      flex-shrink: 0;
  }
  @media (max-width: 768px) {
      .header__inner .lang-switcher {
          display: none;
      }
  }
