/* =========================================================
   DMK Mimarlık İnşaat — Global Design System
   ========================================================= */

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

/* ---- CSS Variables ---- */
:root {
  --bg-0: #f5f0e8;
  --bg-1: #ece3d2;
  --bg-dark: #1e1710;
  --bg-dark-2: #2a1f14;

  --surface: rgba(255, 252, 245, 0.82);
  --surface-dark: rgba(30, 23, 16, 0.85);
  --surface-border: rgba(93, 63, 40, 0.16);
  --surface-border-dark: rgba(255, 220, 160, 0.12);

  --text-0: #1e160d;
  --text-1: #5a4636;
  --text-muted: #8a7060;
  --text-light: #f5ede0;
  --text-light-2: #c9b89a;

  --accent: #8b5f3a;
  --accent-hover: #a3713f;
  --accent-2: #6f8a7a;
  --accent-gold: #c9942a;
  --accent-gold-light: #e8bf6a;

  --shadow-sm: 0 4px 16px rgba(72, 49, 31, 0.12);
  --shadow-md: 0 12px 40px rgba(72, 49, 31, 0.18);
  --shadow-lg: 0 26px 70px rgba(72, 49, 31, 0.22);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --nav-h: 72px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  color: var(--text-0);
  background: var(--bg-0);
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ========================================================
   NAVIGATION
   ======================================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 60px);
  background: rgba(245, 240, 232, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--surface-border);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  background: rgba(245, 240, 232, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}

.nav-brand-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-0);
}

.nav-brand-text span {
  display: block;
  font-size: 0.65rem;
  font-family: 'Sora', sans-serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: 24px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-1);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: rgba(139, 95, 58, 0.08);
}

.nav-cta {
  padding: 9px 20px;
  background: var(--text-0);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-0);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 999;
  background: rgba(245, 240, 232, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-border);
  padding: 16px clamp(20px, 5vw, 60px) 24px;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
}
.nav-drawer .nav-link { padding: 12px 14px; font-size: 1rem; }
.nav-drawer .nav-cta { margin-top: 8px; text-align: center; padding: 13px; }
.nav-drawer.open { display: flex; }

@media (max-width: 780px) {
  .nav-links, .nav-cta:not(.nav-drawer .nav-cta) { display: none; }
  .nav-toggle { display: flex; }
}

/* ========================================================
   PAGE WRAPPER
   ======================================================== */
.page-content { padding-top: var(--nav-h); }

/* ========================================================
   HERO (HOME)
   ======================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 8% 20%, rgba(111, 138, 122, 0.35), transparent 45%),
    radial-gradient(ellipse at 90% 10%, rgba(139, 95, 58, 0.28), transparent 40%),
    radial-gradient(ellipse at 50% 90%, rgba(201, 148, 42, 0.15), transparent 50%),
    linear-gradient(155deg, var(--bg-0) 0%, var(--bg-1) 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 95, 58, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 95, 58, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orbFloat 14s ease-in-out infinite;
}
.hero-orb-1 { width: 400px; height: 400px; background: rgba(111, 138, 122, 0.22); top: -80px; left: -100px; }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(139, 95, 58, 0.18); bottom: 40px; right: -60px; animation-delay: -7s; }
.hero-orb-3 { width: 200px; height: 200px; background: rgba(201, 148, 42, 0.15); top: 50%; right: 20%; animation-delay: -3s; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(139, 95, 58, 0.1);
  border: 1px solid rgba(139, 95, 58, 0.22);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-1);
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.73rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 4px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrap {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(139, 95, 58, 0.2);
  animation: ringRotate 30s linear infinite;
}
.hero-logo-ring::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
}
.hero-logo-ring-2 {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px dashed rgba(111, 138, 122, 0.3);
  animation: ringRotate 20s linear infinite reverse;
}

.hero-logo-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,252,245,0.9);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-logo-wrap { width: 220px; height: 220px; }
  .hero-logo-img { width: 130px; height: 130px; }
}

/* ========================================================
   BUTTONS
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--text-0);
  color: #fff;
  box-shadow: 0 6px 20px rgba(30, 23, 16, 0.22);
}
.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(139, 95, 58, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--text-0);
  border: 1.5px solid rgba(30, 23, 16, 0.25);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(139,95,58,0.06); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-1);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.95); }

.btn-sm { padding: 9px 18px; font-size: 0.8rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ========================================================
   SECTION COMMONS
   ======================================================== */
.section {
  padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 60px);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-0);
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--accent); }

.section-desc {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: var(--text-1);
  line-height: 1.8;
  max-width: 60ch;
  margin-bottom: 48px;
}

.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ========================================================
   DARK SECTION BAND
   ======================================================== */
.dark-band {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(111,138,122,0.18), transparent 60%),
    linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.dark-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,220,160,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,220,160,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.dark-band .section-title { color: var(--text-light); }
.dark-band .section-label { color: var(--accent-gold-light); }
.dark-band .section-desc { color: var(--text-light-2); }

/* ========================================================
   CARDS / GRID LAYOUTS
   ======================================================== */
.cards-grid {
  display: grid;
  gap: 20px;
}
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards-grid-2, .cards-grid-3, .cards-grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(139,95,58,0.3);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.card-text {
  font-size: 0.88rem;
  color: var(--text-1);
  line-height: 1.7;
}

/* ========================================================
   STATS BAR
   ======================================================== */
.stats-bar {
  display: grid;
  gap: 1px;
}
.stats-bar-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) { .stats-bar-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-bar-4 { grid-template-columns: 1fr; } }

.stat-item {
  padding: 32px 28px;
  text-align: center;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--surface-border-dark);
}
.stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-light-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========================================================
   TEAM CARDS
   ======================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.team-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
}

.team-card-body {
  padding: 22px 24px 26px;
}

.team-card-role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.team-card-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.team-card-text {
  font-size: 0.84rem;
  color: var(--text-1);
  line-height: 1.75;
  margin-bottom: 16px;
}

.team-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  padding: 4px 12px;
  background: rgba(139,95,58,0.08);
  border: 1px solid rgba(139,95,58,0.18);
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--accent);
}

/* ========================================================
   PROJECT CARDS
   ======================================================== */
.project-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.project-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}
.badge-completed {
  background: rgba(111,138,122,0.12);
  color: #4a7a66;
  border: 1px solid rgba(111,138,122,0.25);
}
.badge-active {
  background: rgba(201,148,42,0.12);
  color: #9a6b10;
  border: 1px solid rgba(201,148,42,0.28);
}
.badge-completed::before, .badge-active::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
}
.badge-completed::before { background: #4a7a66; }
.badge-active::before { background: var(--accent-gold); animation: pulse 2s ease-in-out infinite; }

.project-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.project-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.project-card-meta span { display: flex; align-items: center; gap: 5px; }

.project-card-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.progress-bar {
  height: 5px;
  background: rgba(139,95,58,0.1);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========================================================
   HERO PAGE BANNER (inner pages)
   ======================================================== */
.page-banner {
  background:
    radial-gradient(ellipse at 15% 40%, rgba(111,138,122,0.28), transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(139,95,58,0.22), transparent 45%),
    linear-gradient(145deg, var(--bg-0), var(--bg-1));
  padding: clamp(60px, 10vw, 100px) clamp(20px, 5vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,95,58,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,95,58,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-banner-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

/* ========================================================
   TIMELINE
   ======================================================== */
.timeline {
  position: relative;
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-gold), transparent);
}
.timeline-item {
  padding: 0 0 36px 28px;
  position: relative;
}
.timeline-dot {
  position: absolute;
  left: -22px;
  top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-0);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 6px;
}
.timeline-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline-text {
  font-size: 0.87rem;
  color: var(--text-1);
  line-height: 1.7;
}

/* ========================================================
   CONTACT SECTION
   ======================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(139,95,58,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-0);
}

/* Contact form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 7px;
  letter-spacing: 0.04em;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-0);
  background: rgba(255,255,255,0.7);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,95,58,0.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--text-0);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.form-submit:hover { background: var(--accent); transform: translateY(-2px); }

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light-2);
  padding: clamp(40px, 6vw, 70px) clamp(20px, 5vw, 60px) 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,220,160,0.08);
}

@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 40px; height: 40px; object-fit: contain; filter: brightness(0.9); }
.footer-brand-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
}
.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: 20px;
}
.footer-docs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-doc-link {
  padding: 7px 14px;
  border: 1px solid rgba(255,220,160,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-light-2);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color var(--transition), color var(--transition);
}
.footer-doc-link:hover { border-color: var(--accent-gold-light); color: var(--accent-gold-light); }

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 0.88rem;
  color: var(--text-light-2);
  transition: color var(--transition);
}
.footer-link:hover { color: var(--accent-gold-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
}

/* ========================================================
   REVEAL ANIMATIONS
   ======================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================
   KEYFRAMES
   ======================================================== */
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.04); }
}

@keyframes ringRotate {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   UTILITIES
   ======================================================== */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-gold { color: var(--accent-gold); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ========================================================
   LANGUAGE SWITCHER
   ======================================================== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(139,95,58,0.08);
  border: 1px solid rgba(139,95,58,0.18);
  border-radius: 999px;
  padding: 3px 4px;
  margin-left: 8px;
  flex-shrink: 0;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  line-height: 1.4;
}

.lang-btn.active, .lang-btn:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 780px) {
  .lang-switcher { margin-left: 4px; }
  .lang-btn { padding: 3px 8px; font-size: 0.68rem; }
}
