/* =============================================
   ROH-DEL SECURITY SYSTEMS LTD.
   Premium Security Website
   ============================================= */

/* ---- Custom Properties ---- */
:root {
  --bg-primary: #060a13;
  --bg-secondary: #0c1220;
  --bg-tertiary: #0a0f1a;
  --bg-card: #111a2e;
  --bg-card-hover: #162038;
  --bg-surface: #0f1729;

  --gold: #c8a227;
  --gold-light: #e2c04d;
  --gold-dark: #9a7a10;
  --blue: #1e4fd0;
  --blue-light: #3b6ee8;
  --red: #cc1a1a;

  --text-primary: #edf0f5;
  --text-secondary: #8d95a5;
  --text-muted: #5a6378;

  --border-gold: rgba(200, 162, 39, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);

  --shadow-gold: 0 0 40px rgba(200, 162, 39, 0.08);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);

  --section-pad: clamp(4rem, 8vw, 8rem);
  --container-max: 1400px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing scale (4px geometric) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 100px;

  /* Font sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;

  /* Motion */
  --duration-fast: 0.2s;
  --duration-base: 0.4s;
  --duration-slow: 0.7s;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button, input, textarea, select {
  font-family: inherit; font-size: inherit; color: inherit;
  border: none; outline: none; background: none;
}

/* Noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p { color: var(--text-secondary); max-width: 65ch; line-height: 1.7; }
.text-gold { color: var(--gold); }

/* ---- Utility Classes ---- */
.section--alt { background: var(--bg-secondary); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--compact { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--compact .section-header { margin-bottom: 2rem; }
.section-header--centered { text-align: center; }
.section-header--centered .section-label { justify-content: center; }
.section-header--centered p { margin-left: auto; margin-right: auto; }
.footer-logo-img { height: 56px; }
.btn-block { width: 100%; justify-content: center; }
.text-highlight { color: var(--gold); font-weight: 500; }
.text-center { text-align: center; }
.tagline-section { text-align: center; }
.tagline-section h2 { max-width: 700px; margin: 0 auto; }
.tagline-section p { margin: 1.5rem auto 2.5rem; max-width: 55ch; font-size: 1.05rem; }
.tagline-section .section-label { justify-content: center; }
.contact-form-header h3 { margin-bottom: 0.5rem; }
.contact-form-header p { margin-bottom: 2rem; font-size: 0.95rem; }

/* ---- Layout ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--gold);
}
.section-header {
  margin-bottom: 3.5rem;
}
.section-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease-out-expo);
}
.nav.scrolled {
  background: rgba(6, 10, 19, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.75rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo img {
  height: 64px;
  width: auto;
}
.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: var(--bg-primary);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(200, 162, 39, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}
.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); }

/* ---- Buttons ---- */
.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 162, 39, 0.25);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary--success {
  background: #16a34a;
}
.btn-primary--success:hover {
  background: #15803d;
  box-shadow: 0 8px 30px rgba(22, 163, 74, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0); }

/* ---- Hero ---- */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 19, 0.95) 0%, rgba(6, 10, 19, 0.7) 50%, rgba(6, 10, 19, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 162, 39, 0.08);
  border: 1px solid var(--border-gold);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 2rem;
  width: fit-content;
}
.hero-badge svg { width: 14px; height: 14px; }

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .highlight { color: var(--gold); }

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 3rem;
  padding: 2rem var(--container-pad);
  border-top: 1px solid var(--border-subtle);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}
.hero-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ---- Services Grid (Home) ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.service-card:hover::before { opacity: 1; }

.service-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 0;
}
.service-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.service-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition);
}
.service-card:hover .learn-more { gap: 0.75rem; }
.learn-more svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ---- Why Choose Us ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition);
}
.why-item:hover {
  border-color: var(--border-gold);
}
.why-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(200, 162, 39, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.why-content { }
.why-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 162, 39, 0.08);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.why-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-item h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.why-item p { font-size: 0.85rem; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(200, 162, 39, 0.06) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 162, 39, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 1rem; }
.cta-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* ---- Page Header ---- */
.page-header {
  padding: 10rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-header h1 { margin-bottom: 1rem; }
.page-header p { font-size: 1.15rem; max-width: 60ch; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ---- Service Detail (Services page) ---- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}
.service-detail:not(:last-child) {
  border-bottom: 1px solid var(--border-subtle);
}
.service-detail--reverse .service-detail-visual {
  order: 2;
}
.service-detail--reverse .service-detail-content {
  order: 1;
}

.service-detail-visual {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.service-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}
.service-detail-visual:hover img {
  transform: scale(1.05);
}
.service-detail-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 10, 19, 0.3) 0%, rgba(200, 162, 39, 0.05) 100%);
  pointer-events: none;
}
.service-detail-content h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
}
.service-detail-content p { margin-bottom: 1rem; }
.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.service-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.service-feature svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* Even service sections get subtle bg alternation */
.service-detail-section:nth-child(even) {
  background: var(--bg-tertiary);
}

/* ---- About Page ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image img { width: 100%; height: auto; }
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { margin-bottom: 1.25rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.value-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
  border-left: 3px solid var(--border-subtle);
}
.value-item:hover { border-color: var(--border-gold); }
.value-item:nth-child(1) { border-left-color: var(--gold); }
.value-item:nth-child(2) {
  border-left-color: var(--blue);
  margin-top: var(--space-8);
}
.value-item:nth-child(3) { border-left-color: var(--red); }
.value-item:nth-child(4) { border-left-color: var(--gold); }
.value-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
}
.value-item p { font-size: 0.85rem; }

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 162, 39, 0.1);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-info-sidebar {
  position: sticky;
  top: 6rem;
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-info-card:not(:last-child) { margin-bottom: 1.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
}
.contact-info-item:not(:last-child) {
  border-bottom: 1px solid var(--border-subtle);
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 162, 39, 0.08);
  border-radius: 10px;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}
.contact-info-text h4 {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.2rem;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-info-text p { font-size: 0.95rem; color: var(--text-primary); }
.contact-info-text a { color: var(--gold); }
.contact-info-text a:hover { color: var(--gold-light); }

/* ---- Footer ---- */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 0.5rem; }
.footer-brand p {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 32ch;
}
.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}
.reveal--left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal--right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal--left.visible,
.reveal--right.visible,
.reveal--scale.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Mobile Nav ---- */
.nav-links .mobile-cta { display: none; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero {
    text-align: left;
    padding-top: 8rem;
  }
  .hero-description { margin-bottom: 2.5rem; }
  .hero-stats { gap: 2rem; }

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

  .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 2rem;
  }
  .cta-actions { justify-content: center; }

  .service-detail { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail--reverse .service-detail-visual { order: 0; }
  .service-detail--reverse .service-detail-content { order: 0; }

  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(6, 10, 19, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.25rem; }
  .nav-links .mobile-cta { display: inline-flex; }
  .nav > .nav-inner > .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding-top: 7rem; padding-bottom: 2rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .values-grid { grid-template-columns: 1fr; }
  .value-item:nth-child(2) { margin-top: 0; }
  .page-header { padding: 8rem 0 3rem; }
}

@media (max-width: 480px) {
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .why-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .why-number {
    font-size: 3rem;
    text-align: left;
    min-width: auto;
  }
}
