:root {
  --primary: #2c3e50;
  --accent: #e67e22;
  --light: #f4f7f6;
  --text: #2b2b2b;
  --muted: #6b7280;
  --white: #ffffff;
  --pin-red: #bd081c;
  --plume-blue: #34495e;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);

  --ring: 0 0 0 3px rgba(230, 126, 34, 0.25);

  --container: 1100px;

  --text-base: clamp(15px, 1.05vw, 17px);
  --h1: clamp(30px, 3.2vw, 46px);
  --h2: clamp(22px, 2.2vw, 32px);
  --h3: clamp(18px, 1.5vw, 22px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-wrap: balance;
}
h1 { font-size: var(--h1); letter-spacing: -0.02em; }
h2 { font-size: var(--h2); letter-spacing: -0.01em; }
h3 { font-size: var(--h3); }

p { margin-bottom: 1.2rem; }
a { text-decoration: none; color: inherit; transition: 0.2s ease; }
a:hover { color: var(--accent); }

a:focus-visible, button:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--white);
  color: var(--primary);
  border: 1px solid rgba(0,0,0,0.12);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 2000;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { left: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: white;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { background: #d35400; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.img-fluid { max-width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.profile-img {
  width: 240px; height: 240px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
}
.page-illustration {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

/* Header */
header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 96px;
  position: relative;
}

.logo-area { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.social-header { display: flex; gap: 14px; }
.social-header a { color: var(--primary); font-size: 1.1rem; opacity: 0.75; }
.social-header a:hover { opacity: 1; color: var(--accent); }

.nav-links { display: flex; gap: 15px; list-style: none; }
.nav-links a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #666;
  padding: 10px 8px;
  border-radius: 10px;
}
.nav-links a:hover { color: var(--accent); background: rgba(230,126,34,0.08); }
.nav-links a.active { color: var(--accent); background: rgba(230,126,34,0.12); }

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
  background: transparent;
  border: 0;
  padding: 10px;
  border-radius: 12px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  transition: 0.3s;
  border-radius: 3px;
}

/* Layout */
main { padding-top: 140px; padding-bottom: 80px; }
.hero {
  text-align: center;
  padding: 56px 28px;
  background: var(--light);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  border: 1px solid rgba(0,0,0,0.05);
}
.hero p { margin-left: auto; margin-right: auto; max-width: 850px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 30px;
  margin-bottom: 30px;
}
.card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  border-left: 4px solid var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-link { color: var(--accent); font-weight: 800; cursor: pointer; display: inline-block; margin-top: 6px; }

.method-box {
  background: var(--primary);
  color: white;
  padding: 34px;
  border-radius: var(--radius-lg);
  margin-top: 34px;
  box-shadow: var(--shadow-sm);
}
.method-box h3 { color: var(--accent); }

.highlight-text {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 600;
  border-left: 3px solid var(--accent);
  padding-left: 15px;
  margin: 18px 0 26px;
}

.pin-accent { border-left-color: var(--pin-red); }
.plume-accent { border-left-color: var(--plume-blue); }

.contact-section {
  text-align: center;
  background: var(--light);
  padding: 70px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
}
.about-flex { display: flex; gap: 34px; align-items: center; flex-wrap: wrap; }
.about-text { flex: 1; min-width: 280px; }

footer {
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  border-top: 1px solid #eee;
}

@media (max-width: 992px) {
  .nav-links a { font-size: 0.7rem; }
}

@media (max-width: 768px) {
  nav { justify-content: center; flex-direction: column; padding: 14px 0; }
  .logo-area { align-items: center; }
  .hamburger { display: flex; position: absolute; right: 14px; top: 22px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 96px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 18px;
    box-shadow: var(--shadow-md);
    text-align: center;
    gap: 10px;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
  }
  .nav-links.mobile-open { display: flex; }
  main { padding-top: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}