:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --gold: #D4AF37;
  --gold-light: #E5C76B;
  --gold-dark: #B8860B;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-dark: rgba(15, 23, 42, 0.8);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --max-width: 1200px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--slate-900);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure sections land below the fixed header */
section[id] {
  scroll-margin-top: 100px;
}

.app-container {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-decoration {
  position: fixed;
  inset: 0;
  z-index: -10;
  background: radial-gradient(circle at 0% 0%, #f1f5f9 0%, #ffffff 100%);
  pointer-events: none;
}

.bg-glow-1 {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  filter: blur(80px);
}

.bg-glow-2 {
  position: absolute;
  bottom: 5%;
  right: -5%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.05) 0%, transparent 70%);
  filter: blur(100px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 1.5rem 0;
}

.navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--slate-100);
  box-shadow: var(--shadow-md);
}

.nav-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: none;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-btn {
  background: var(--navy);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(27, 43, 65, 0.1);
  transition: background 0.3s;
  text-decoration: none;
}

.nav-btn:hover {
  background: var(--gold);
}

.mobile-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  display: block;
  z-index: 100;
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--slate-100);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  padding: 1rem 0;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--slate-50);
}

/* Hero */
.hero {
  padding-top: 12rem;
  padding-bottom: 6rem;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 9999px;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(4px);
  animation: fadeInDown 0.8s ease-out forwards;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--slate-600);
  max-width: 42rem;
  font-weight: 400;
  margin-bottom: 3.5rem;
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
}

.btn-primary {
  background: var(--navy);
  color: white;
  padding: 1.25rem 3.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.4);
  background: var(--navy-light);
}

.btn-secondary {
  border: 1px solid var(--slate-200);
  color: var(--navy);
  padding: 1.25rem 3.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: var(--slate-50);
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Services */
.services-section {
  padding: 10rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1.25rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.title-line {
  height: 4px;
  width: 5rem;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-top: 1.5rem;
  border-radius: 9999px;
  margin-bottom: 5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 3rem 2.5rem;
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--slate-50);
  width: fit-content;
  border-radius: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--navy);
  transform: rotate(10deg);
}

.service-card:hover .service-icon svg {
  stroke: var(--gold);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.service-card p {
  color: var(--slate-500);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* About Section */
.about-section {
  padding: 10rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text {
  position: relative;
}

.about-text p {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--slate-600);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 2rem;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.02);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: -1.5rem;
  border: 1px solid var(--gold-light);
  border-radius: 2.5rem;
  z-index: -1;
  opacity: 0.3;
}

/* Contact Form */
.contact-section {
  padding: 10rem 1.5rem;
  background: white;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  filter: blur(80px);
}

.form-container {
  max-width: 50rem;
  margin: 0 auto;
  background: white;
  padding: 4rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-100);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .form-container {
    padding: 2.5rem 1.5rem;
  }
}

.form-header {
  text-align: center;
  margin-bottom: 4rem;
}

.form-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.form-header p {
  color: var(--slate-500);
  font-weight: 400;
  font-size: 1.125rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.1em;
}

.form-input {
  width: 100%;
  padding: 1.125rem 1.5rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
  color: var(--navy);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-submit {
  width: 100%;
  padding: 1.25rem;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.2);
}

.form-submit:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(184, 134, 11, 0.3);
}

.form-success {
  text-align: center;
  padding: 3rem 0;
}

.success-circle {
  width: 64px;
  height: 64px;
  background: var(--gold);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.form-success h3 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--slate-600);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.hidden {
  display: none;
}

/* Footer */
footer {
  background: var(--navy);
  color: white;
  padding: 8rem 1.5rem 4rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 450px;
}

.footer-brand p {
  color: var(--slate-400);
  font-size: 1rem;
  margin-top: 2rem;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-nav h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: var(--slate-400);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--transition);
}

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

.footer-contact h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.footer-email {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.footer-email:hover {
  color: var(--gold);
}

.footer-address {
  color: var(--slate-400);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--slate-500);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: clamp(80px, 10vw, 110px);
  width: auto;
}