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

:root {
  /* Dark Theme Default */
  --bg-main: #080410;
  --bg-card: rgba(22, 13, 41, 0.7);
  --bg-card-hover: rgba(33, 19, 61, 0.85);
  --bg-nav: rgba(9, 5, 18, 0.8);
  --text-main: #F5F3FF;
  --text-muted: #A799CC;
  --text-inverse: #090514;
  --border-color: rgba(167, 139, 250, 0.18);
  --border-gold: rgba(212, 175, 55, 0.4);
  
  /* Brand Colors */
  --purple-primary: #7C3AED;
  --purple-vibrant: #8B5CF6;
  --purple-light: #A78BFA;
  --lilac-soft: #C4B5FD;
  --lilac-bg: #EDE9FE;
  
  /* Gold Accents */
  --gold-primary: #D4AF37;
  --gold-light: #FDE68A;
  --gold-dark: #997A15;
  --gold-gradient: linear-gradient(135deg, #FFF1B0 0%, #D4AF37 50%, #A68218 100%);
  --purple-gradient: linear-gradient(135deg, #A78BFA 0%, #7C3AED 50%, #4C1D95 100%);
  --accent-gradient: linear-gradient(135deg, #D4AF37 0%, #8B5CF6 50%, #7C3AED 100%);
  
  /* Shadows & Glows */
  --glow-purple: 0 0 35px rgba(139, 92, 246, 0.35);
  --glow-gold: 0 0 25px rgba(212, 175, 55, 0.3);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-main: #FAFAFE;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(243, 232, 255, 0.95);
  --bg-nav: rgba(250, 250, 254, 0.85);
  --text-main: #120924;
  --text-muted: #5B4E7A;
  --text-inverse: #FFFFFF;
  --border-color: rgba(124, 58, 237, 0.15);
  --border-gold: rgba(212, 175, 55, 0.5);
  --shadow-card: 0 15px 35px -10px rgba(124, 58, 237, 0.12);
  --glow-purple: 0 0 25px rgba(139, 92, 246, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Background Ambient Orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}
.glow-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--purple-primary) 0%, transparent 70%);
}
.glow-2 {
  bottom: 10%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, #5B21B6 0%, transparent 70%);
}
.glow-3 {
  top: 40%;
  left: 35%;
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, var(--gold-primary) 0%, transparent 75%);
  opacity: 0.15;
}

/* Typography Headings */
h1, h2, h3, h4, .font-heading {
  font-family: 'Syne', sans-serif;
  letter-spacing: -0.02em;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--lilac-soft) 50%, var(--purple-vibrant) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .gradient-text-purple {
  background: linear-gradient(135deg, #1E1B4B 0%, var(--purple-primary) 60%, var(--purple-vibrant) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Reusable UI Components */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--border-color);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lilac-soft);
  backdrop-filter: blur(8px);
  margin-bottom: 1.25rem;
}
[data-theme="light"] .badge-tag {
  color: var(--purple-primary);
  background: rgba(124, 58, 237, 0.08);
}
.badge-tag.gold {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--border-gold);
  color: var(--gold-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--purple-gradient);
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s;
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.6);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(167, 139, 250, 0.15);
  border-color: var(--purple-light);
  transform: translateY(-2px);
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: rgba(167, 139, 250, 0.35);
}

.glass-card.gold-border {
  border: 1px solid var(--border-gold);
  position: relative;
}
.glass-card.gold-border:hover {
  box-shadow: var(--shadow-card), var(--glow-gold);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--purple-gradient);
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-gold);
  transform: rotate(45deg);
  transition: var(--transition);
}
.logo-icon svg {
  transform: rotate(-45deg);
  width: 22px;
  height: 22px;
  fill: var(--gold-primary);
}
.brand-logo:hover .logo-icon {
  transform: rotate(225deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; width: 0; height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Switcher */
.theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold-primary);
  transition: var(--transition);
}
.theme-toggle:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: scale(1.05);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  padding-top: 11rem;
  padding-bottom: 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.hero-content h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.philosophy-banner {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(212, 175, 55, 0.1) 100%);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-main);
}
.philosophy-banner strong {
  color: var(--gold-primary);
  font-style: normal;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}
.stat-item h3 {
  font-size: 2.2rem;
  color: var(--gold-primary);
  font-weight: 800;
}
.stat-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Hero Visual Box */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card), var(--glow-purple);
}
.visual-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.visual-wrapper:hover img {
  transform: scale(1.04);
}

/* Floating Glass Cards on Hero */
.floating-badge {
  position: absolute;
  padding: 1rem 1.25rem;
  background: rgba(14, 8, 30, 0.85);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}
[data-theme="light"] .floating-badge {
  background: rgba(255, 255, 255, 0.9);
}
.badge-top-right {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}
.badge-bottom-left {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}
.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--purple-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.2rem;
}

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

/* SECTION HEADINGS */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem auto;
}
.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* ABOUT & MISSION/VISION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.mission-vision-card {
  position: relative;
  height: 100%;
}
.card-icon-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.5rem;
}
.mission-vision-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
}
.mission-vision-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* VALUES SECTION */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition);
}
.value-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--purple-light);
  box-shadow: var(--shadow-card), var(--glow-purple);
}
.value-card:hover::before {
  opacity: 1;
}
.value-icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* SERVICES SECTION */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--glow-gold);
}
.service-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}
.service-features {
  list-style: none;
  margin-bottom: 2rem;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.service-features li svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* CALCULATOR SECTION */
.calculator-container {
  max-width: 960px;
  margin: 0 auto;
}
.calc-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  border: 1px solid var(--border-gold);
}
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.calc-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.calc-group label span {
  color: var(--gold-primary);
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
}
.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(167, 139, 250, 0.2);
  outline: none;
  -webkit-appearance: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}
.calc-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(14, 8, 30, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
[data-theme="light"] .calc-select {
  background: #FFF;
}

.calc-results {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.25) 0%, rgba(20, 10, 45, 0.85) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
}
.result-box {
  margin-bottom: 1.5rem;
}
.result-box h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.result-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold-primary);
  font-family: 'Syne', sans-serif;
}

/* PORTFOLIO SECTION */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--purple-gradient);
  color: #FFF;
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple-light);
  box-shadow: var(--shadow-card), var(--glow-purple);
}
.portfolio-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.08);
}
.portfolio-category {
  position: absolute;
  top: 15px; left: 15px;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(9, 5, 18, 0.85);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.portfolio-info {
  padding: 1.5rem;
}
.portfolio-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.portfolio-metric {
  display: inline-block;
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* TESTIMONIALS SECTION */
.testimonials-slider {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
}
.testimonial-card {
  text-align: center;
  padding: 3.5rem 2.5rem;
  position: relative;
}
.quote-icon {
  font-size: 3rem;
  color: var(--gold-primary);
  opacity: 0.6;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 1.35rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 2rem;
}
.client-info h4 {
  font-size: 1.2rem;
  color: var(--lilac-soft);
}
.client-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.3);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--gold-primary);
  width: 32px;
  border-radius: var(--radius-full);
}

/* CONTACT SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.contact-item p {
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(14, 8, 30, 0.7);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
[data-theme="light"] .form-group input, 
[data-theme="light"] .form-group textarea, 
[data-theme="light"] .form-group select {
  background: #FFF;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* FOOTER */
.footer {
  background: #05020B;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem 0;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 2, 10, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 550px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card), var(--glow-gold);
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  color: var(--text-muted); font-size: 1.5rem;
  cursor: pointer;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .calc-card, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid, .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.7rem;
  }
  .nav-menu {
    position: fixed;
    top: 85px; left: -100%; width: 100%;
    height: calc(100vh - 85px);
    background: var(--bg-main);
    flex-direction: column;
    padding: 3rem;
    transition: var(--transition);
  }
  .nav-menu.active {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .values-grid, .services-grid, .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
