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

/* ============================================================
   MIGESDO GmbH — „Schwäbischer Adel" Design System
   Warm Charcoal + Antique Ravensburg Gold
   ============================================================ */

:root {
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* === Core Backgrounds === */
  --bg-primary:   #0b0a08;   /* Near-black with warm undertone */
  --bg-secondary: #121008;   /* Slightly lighter warm dark */
  --bg-warm:      #16120a;   /* Warm section backgrounds */
  --bg-surface:   #1c1710;   /* Card surfaces */
  --bg-surface-2: #221c12;   /* Elevated card surfaces */

  /* === Gold Palette — Ravensburg / Antique === */
  --gold:         #c9a84c;   /* Classic antique gold */
  --gold-light:   #e8c97a;   /* Champagne / Hover gold */
  --gold-pale:    #f0dfa0;   /* Very light gold for emphasis */
  --gold-dark:    #8c6e2a;   /* Deep bronze */
  --gold-muted:   #6b5422;   /* Muted bronze for subtle uses */

  /* === Text === */
  --text-primary:   #f0ebe0;   /* Warm cream white */
  --text-secondary: #a89060;   /* Muted gold-grey */
  --text-muted:     #5a4e38;   /* Very muted for captions */
  --text-accent:    var(--gold-light);

  /* === Glass / Surfaces === */
  --glass-bg:           rgba(22, 18, 10, 0.82);
  --glass-border:       rgba(201, 168, 76, 0.14);
  --glass-border-hover: rgba(201, 168, 76, 0.42);
  --glass-blur:         24px;

  /* === Shadows === */
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md:   0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg:   0 20px 50px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 8px 30px rgba(201, 168, 76, 0.15);

  /* === Transitions === */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:   0.18s var(--ease-in-out);
  --t-normal: 0.35s var(--ease-out);
  --t-slow:   0.7s  var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  line-height: 1.65;
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--gold-muted);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ============================================================
   AMBIENT BACKGROUND — Warm Ember Glows
   ============================================================ */
.bg-blobs {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.06;
  animation: blob-drift 30s infinite alternate var(--ease-in-out);
}

.blob-1 {
  top: -20%; left: -15%;
  width: 55vw; height: 55vw;
  background: var(--gold);
  animation-duration: 35s;
}

.blob-2 {
  bottom: -20%; right: -15%;
  width: 65vw; height: 65vw;
  background: var(--gold-dark);
  animation-duration: 42s;
  opacity: 0.05;
}

.blob-3 {
  top: 40%; left: 35%;
  width: 40vw; height: 40vw;
  background: #7a5c20;
  opacity: 0.04;
  animation-duration: 28s;
}

@keyframes blob-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(25px, 15px) scale(1.04); }
  100% { transform: translate(-15px, -25px) scale(0.96); }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 130px 0;
  position: relative;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 72px;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.section-title::before,
.section-title::after {
  content: '';
  display: block;
}

.section-title::after {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 22px auto 0;
  opacity: 0.7;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold-pale) 0%, var(--gold) 45%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   ORNAMENT DIVIDERS
   ============================================================ */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 32px;
  opacity: 0.55;
}

.ornament-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament-line.right {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.ornament-dot {
  width: 3px;
  height: 3px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.6;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 10, 8, 0.55);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal);
}

header.scrolled {
  background: rgba(11, 10, 8, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  border-bottom-color: rgba(201, 168, 76, 0.22);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.08em;
  transition: color var(--t-fast);
}

.logo:hover { color: var(--gold-light); }

.logo img {
  filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.35));
  transition: filter var(--t-normal);
}
.logo:hover img {
  filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.55));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color var(--t-fast);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--t-normal);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-btn {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.45);
  padding: 10px 26px;
  border-radius: 2px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background var(--t-normal), color var(--t-normal), border-color var(--t-normal), box-shadow var(--t-normal);
}

.nav-btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 101;
  padding: 4px;
  line-height: 1;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 88px;
  position: relative;
  overflow: hidden;
}

/* Dark overlay over the hero bg image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.22;
  z-index: 0;
  transform: scale(1.04);
  animation: hero-drift 30s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.07) translate(-8px, -5px); }
}

/* Additional gradient overlay for readability */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 40%, rgba(201, 168, 76, 0.06) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(11,10,8,0.3) 0%, rgba(11,10,8,0.0) 40%, rgba(11,10,8,0.5) 100%);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
}

/* Location badge */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 20px;
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold-light);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 32px;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold), 0 0 16px rgba(201, 168, 76, 0.4);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px var(--gold), 0 0 12px rgba(201, 168, 76, 0.3); }
  50%       { box-shadow: 0 0 10px var(--gold), 0 0 22px rgba(201, 168, 76, 0.5); }
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.85;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 38px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all var(--t-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
  border: 1px solid var(--gold);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 168, 76, 0.28);
}

.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(240, 235, 224, 0.2);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
  background: rgba(201, 168, 76, 0.04);
}

/* ============================================================
   HERO GRAPHIC — Ornamental Medallion
   ============================================================ */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.graphic-bg-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
  z-index: 0;
  animation: glow-pulse 6s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  0%   { opacity: 0.6; transform: scale(0.97); }
  100% { opacity: 1;   transform: scale(1.03); }
}

.glass-sphere {
  width: 280px;
  height: 280px;
  position: relative;
  z-index: 2;
  animation: float-sphere 9s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer ring */
.glass-sphere::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.35);
  box-shadow:
    inset 0 0 40px rgba(201, 168, 76, 0.06),
    0 0 40px rgba(201, 168, 76, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.5);
  background: radial-gradient(circle at 40% 35%, rgba(201, 168, 76, 0.08) 0%, rgba(201, 168, 76, 0.02) 50%, transparent 100%);
  backdrop-filter: blur(8px);
}

/* Dashed inner ring */
.medallion-inner {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 76, 0.28);
}

/* Second dashed ring */
.medallion-inner-2 {
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.12);
}

/* The M letter */
.medallion-letter {
  font-family: var(--font-serif);
  font-size: 7rem;
  font-weight: 300;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.4), 0 0 60px rgba(201, 168, 76, 0.15);
  opacity: 0.9;
  position: relative;
  z-index: 3;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Cross-hair lines */
.medallion-cross {
  position: absolute;
  z-index: 2;
}
.medallion-cross::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.18) 30%, rgba(201,168,76,0.18) 70%, transparent 100%);
  transform: translateY(-50%);
}
.medallion-cross::after {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(201,168,76,0.18) 30%, rgba(201,168,76,0.18) 70%, transparent 100%);
  transform: translateX(-50%);
}

@keyframes float-sphere {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-14px); }
  100% { transform: translateY(0px); }
}

/* ============================================================
   GLASS CARDS
   ============================================================ */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 2px;
  padding: 48px;
  transition: border-color var(--t-normal), transform var(--t-normal), box-shadow var(--t-normal);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* Subtle corner accent */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border-top: 1px solid rgba(201, 168, 76, 0.35);
  border-left: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 2px 0 0 0;
  transition: width var(--t-normal), height var(--t-normal), opacity var(--t-normal);
  opacity: 0;
}

.glass-card:hover::before {
  opacity: 1;
  width: 60px;
  height: 60px;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.55), var(--shadow-gold);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 2px;
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--gold);
  transition: background var(--t-normal), border-color var(--t-normal), box-shadow var(--t-normal);
}

.service-card:hover .service-icon {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.15);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.78;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  margin-bottom: 28px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.82;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* Leitwerte card */
.leitwerte-card h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.leitwerte-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.leitwerte-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.leitwerte-icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold);
}

.leitwerte-title {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.leitwerte-desc {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.contact-lead {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: center;
}

.info-icon {
  width: 52px;
  height: 52px;
  border-radius: 2px;
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.22);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-normal), border-color var(--t-normal);
}

.info-item:hover .info-icon {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.45);
}

.info-details h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.info-details p {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Contact Form */
.contact-form-wrapper {
  padding: 52px;
}

.form-group { margin-bottom: 28px; }

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

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 0;
  padding: 12px 4px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color var(--t-normal), box-shadow var(--t-normal);
  outline: none;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-bottom-color: var(--gold);
  box-shadow: 0 2px 0 -1px rgba(201, 168, 76, 0.3);
}

textarea.form-input {
  resize: vertical;
  min-height: 130px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 2px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.015);
}

textarea.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

.contact-btn {
  width: 100%;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 44px;
  position: relative;
}

/* Ornamental top accent */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.06em;
  transition: color var(--t-fast);
}
.footer-logo:hover { color: var(--gold-light); }

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color var(--t-fast);
}

.footer-links a:hover { color: var(--gold-light); }

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  border-top: 1px solid rgba(201, 168, 76, 0.07);
  padding-top: 40px;
  letter-spacing: 0.04em;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 90ms; }
.stagger > *:nth-child(3) { transition-delay: 180ms; }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .hero-content { margin: 0 auto; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 90px 0; }

  .mobile-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 88px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 88px);
    background: rgba(11, 10, 8, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 44px;
    transition: left var(--t-normal);
  }
  .nav-links.active { left: 0; }
  .nav-links a { font-size: 1.1rem; letter-spacing: 0.1em; }

  .nav-btn { display: none; }

  .hero-graphic { display: none; }

  .glass-card { padding: 32px 28px; }
  .contact-form-wrapper { padding: 32px 28px; }

  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  .about-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; gap: 16px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; }
}
