/* =============================================
   RESET & TOKENS
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #F7F5F1;
  --bg-white:    #FFFFFF;
  --bg-alt:      #EDF3F6;
  --primary:     #2A5F72;
  --primary-dk:  #1D4556;
  --accent:      #E07A4A;
  --accent-lt:   #F5A07A;
  --text:        #1E2D35;
  --text-body:   #3D5060;
  --text-light:  #6B8090;
  --border:      #D4E2E8;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(42,95,114,.08);
  --shadow-md:   0 6px 24px rgba(42,95,114,.12);
  --nav-h:       68px;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;
  --transition:  .22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* =============================================
   TYPOGRAPHY HELPERS
   ============================================= */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
  font-weight: 600;
  margin-bottom: .5rem;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  font-size: .95rem;
  margin-bottom: 3rem;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #c8663a;
  border-color: #c8663a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247,245,241,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}
.brand-locations {
  font-size: .72rem;
  color: var(--text-light);
  letter-spacing: .04em;
}
.loc-sep { margin: 0 .3rem; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: .25rem;
}
.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-body);
  padding: .4rem .7rem;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--primary);
  background: rgba(42,95,114,.07);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: .25rem;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: .25rem .4rem;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  transition: all var(--transition);
  opacity: .55;
}
.lang-btn:hover  { opacity: .9; border-color: var(--border); }
.lang-btn.active { opacity: 1; border-color: var(--accent); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-white);
  z-index: 99;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-110%);
  transition: transform var(--transition);
}
.mobile-drawer.open  { transform: translateY(0); }
.mobile-drawer ul    { list-style: none; }
.mobile-drawer li    { border-bottom: 1px solid var(--border); }
.mobile-drawer a     { display: block; padding: .85rem 0; font-weight: 500; color: var(--text); }
.drawer-langs        { display: flex; gap: .5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.drawer-langs .lang-btn { font-size: .85rem; padding: .4rem .75rem; }

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.25);
  z-index: 98;
}
.drawer-overlay.open { display: block; }

/* =============================================
   HERO
   ============================================= */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 4rem) 1.5rem 5rem;
  background: linear-gradient(135deg, var(--bg) 55%, var(--bg-alt) 100%);
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-photo-wrap {
  display: flex;
  justify-content: center;
}
.hero-photo-placeholder {
  width: 260px;
  height: 320px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--primary), var(--primary-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 3.5rem;
  color: rgba(255,255,255,.35);
  box-shadow: var(--shadow-md);
  letter-spacing: .05em;
}

.hero-label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}
.hero-name {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-intro p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--text-light);
  transition: color var(--transition);
}
.meta-item:hover { color: var(--primary); }
.meta-item svg { flex-shrink: 0; }

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.about-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.about-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.about-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: .75rem;
}
.about-card p { font-size: .95rem; color: var(--text-body); }

/* =============================================
   VISION
   ============================================= */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.vision-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.vision-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.vision-icon { font-size: 1.8rem; margin-bottom: .75rem; }
.vision-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: .5rem;
}
.vision-card p { font-size: .9rem; line-height: 1.75; }

/* =============================================
   CV
   ============================================= */
.cv-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.cv-col-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--border);
}

.cv-items { display: flex; flex-direction: column; gap: 1.75rem; }

.cv-item {
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  transition: border-color var(--transition);
}
.cv-item:hover { border-color: var(--accent); }

.cv-period {
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cv-item h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--text);
  margin: .2rem 0;
}
.cv-org  { font-size: .82rem; color: var(--text-light); margin-bottom: .3rem; }
.cv-desc { font-size: .88rem; }

/* =============================================
   INTERESTS
   ============================================= */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.interest-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.interest-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--accent-lt);
}
.interest-icon { font-size: 1.8rem; margin-bottom: .5rem; }
.interest-item p { font-size: .85rem; font-weight: 500; color: var(--text); }

/* =============================================
   GALLERY
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item--large {
  grid-row: span 2;
}
.gallery-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--bg-alt), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-light);
}
.gallery-item--large .gallery-placeholder { height: 100%; min-height: 410px; }

/* =============================================
   BOOK
   ============================================= */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 680px;
  margin: 0 auto;
}

.book-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
}
.book-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--accent-lt);
}
.book-icon { font-size: 2.5rem; }
.book-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--text);
}
.book-card p { font-size: .88rem; color: var(--text-light); }

/* =============================================
   CONTACT
   ============================================= */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42,95,114,.1);
}

.contact-form .btn { width: 100%; justify-content: center; }

.form-note {
  text-align: center;
  color: var(--primary);
  font-size: .9rem;
  margin-top: 1rem;
  font-weight: 500;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 3rem 1.5rem;
}
.footer-inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-name  { font-family: var(--font-head); font-size: 1.3rem; color: #fff; font-weight: 600; }
.footer-locs  { font-size: .85rem; }
.footer-email { color: var(--accent-lt); font-size: .85rem; transition: color var(--transition); }
.footer-email:hover { color: var(--accent); }
.footer-copy  { font-size: .75rem; margin-top: .5rem; opacity: .5; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .nav-links      { display: none; }
  .hamburger      { display: flex; }
  .mobile-drawer  { display: block; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-ctas  { justify-content: center; }
  .hero-meta  { justify-content: center; }
  .hero-intro p { margin-left: auto; margin-right: auto; }

  .about-grid   { grid-template-columns: 1fr; }
  .vision-grid  { grid-template-columns: 1fr; }
  .cv-columns   { grid-template-columns: 1fr; gap: 2.5rem; }
  .interests-grid { grid-template-columns: repeat(3, 1fr); }
  .book-grid    { grid-template-columns: 1fr; max-width: 360px; }
  .form-row     { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item--large { grid-row: span 1; }
  .gallery-item--large .gallery-placeholder { min-height: 200px; }
}

@media (max-width: 560px) {
  section { padding: 3.5rem 0; }
  .interests-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid   { grid-template-columns: 1fr; }
  .contact-form   { padding: 1.75rem; }
  .hero-photo-placeholder { width: 200px; height: 250px; }
}
