/* ===== CSS Custom Properties ===== */
:root {
  --color-primary-dark: #0B1628;
  --color-primary: #132044;
  --color-primary-mid: #1A2D52;
  --color-primary-light: #1E3A5F;
  --color-accent: #C9A84C;
  --color-accent-light: #DFC06A;
  --color-accent-dark: #A88A30;
  --color-accent-glow: rgba(201, 168, 76, 0.15);
  --color-bg: #FFFFFF;
  --color-bg-alt: #F4F6FB;
  --color-bg-section: #F9FAFC;
  --color-bg-dark: #0B1628;
  --color-bg-card: #FFFFFF;
  --color-text: #111827;
  --color-text-secondary: #4B5563;
  --color-text-light: #6B7280;
  --color-text-on-dark: #E5E7EB;
  --color-text-heading-dark: #F9FAFB;
  --color-border: #E5E7EB;
  --color-border-light: #F0F1F3;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-max: 1200px;
  --container-padding: 0 24px;

  --section-padding: 100px 0;
  --section-padding-sm: 70px 0;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 10px 15px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 20px 40px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
  --shadow-accent: 0 4px 20px rgba(201, 168, 76, 0.3);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

ul {
  list-style: none;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
h4 { font-size: 1.25rem; }

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

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: var(--color-primary-dark);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.45);
  color: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(11, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary-dark);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-logo-text span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
}

.nav-links a:hover {
  color: #fff;
}

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

.nav-cta {
  padding: 10px 22px !important;
  background: var(--color-accent);
  color: var(--color-primary-dark) !important;
  border-radius: var(--radius-sm);
  font-weight: 500 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-accent-light) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--color-accent-light);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  color: #fff;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--color-text-on-dark);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat h3 {
  font-size: 1.8rem;
  color: var(--color-accent);
  font-weight: 700;
  font-family: var(--font-heading);
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}

/* ===== Trusted Section ===== */
.trusted {
  padding: 50px 0;
  background: var(--color-bg-alt);
  text-align: center;
}

.trusted-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.6;
}

.trusted-logos span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 1px;
}

/* ===== Services ===== */
.services {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-dark));
  transition: var(--transition-slow);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--color-accent-glow);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

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

/* ===== About ===== */
.about {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}

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

.about-text .section-subtitle {
  text-align: left;
  margin: 0 0 20px;
}

.about-text p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  display: block;
}

.stat-number-suffix {
  font-size: 1.2rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 4px;
  display: block;
}

.about-visual {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.6;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(201,168,76,0.1) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.05) 0%, transparent 40%);
}

.about-image-placeholder span {
  position: relative;
  z-index: 1;
  padding: 40px;
}

.about-accent-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  max-width: 220px;
  text-align: center;
}

/* ===== Why Us ===== */
.why-us {
  padding: var(--section-padding);
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.why-us .section-header {
  position: relative;
  z-index: 1;
}

.why-us .section-title {
  color: var(--color-text-heading-dark);
}

.why-us .section-subtitle {
  color: var(--color-text-on-dark);
  opacity: 0.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.feature-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
}

.feature-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-on-dark);
  font-size: 0.9rem;
  opacity: 0.65;
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

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

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

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.contact-form {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .btn {
  width: 100%;
  justify-content: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-primary-dark);
  color: var(--color-text-on-dark);
  position: relative;
}

.footer-main {
  padding: 70px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--color-text-on-dark);
  opacity: 0.6;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 300px;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: var(--color-text-on-dark);
  opacity: 0.6;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact p {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-on-dark);
  opacity: 0.6;
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 4px;
  color: var(--color-accent);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  opacity: 0.5;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--color-text-on-dark);
  opacity: 0.5;
}

.footer-bottom-links a:hover {
  opacity: 1;
  color: var(--color-accent);
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(255,255,255,0.03) 0%, transparent 40%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--color-text-on-dark);
  opacity: 0.7;
  font-size: 1.05rem;
}

.page-breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.page-breadcrumb a {
  color: var(--color-accent);
}

/* ===== Legal Pages ===== */
.legal-content {
  padding: 70px 0;
}

.legal-content .container {
  max-width: 860px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-bg-alt);
}

.legal-section h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  margin-top: 28px;
  color: var(--color-primary);
}

.legal-section p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.legal-section ul,
.legal-section ol {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
  padding-left: 24px;
  font-size: 0.95rem;
}

.legal-section ul {
  list-style: disc;
}

.legal-section ol {
  list-style: decimal;
}

.legal-section li {
  margin-bottom: 6px;
}

.legal-section strong {
  color: var(--color-text);
}

.legal-date {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  font-style: italic;
}

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ===== Scroll-reveal (JS will add visible class) ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-primary-dark);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-row {
    gap: 24px;
    flex-wrap: wrap;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 16px 8px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .hero-content {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .page-header {
    padding: 120px 0 50px;
  }
}

@media (max-width: 480px) {
  .hero-stats-row {
    flex-direction: column;
    gap: 16px;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
