/* ============================================
   MDF Rescue – Professional Stylesheet
   ============================================ */

/* ----- Google Fonts ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ----- CSS Custom Properties ----- */
:root {
  --color-navy-900: #0b1a2e;
  --color-navy-800: #0f2340;
  --color-navy-700: #132a4a;
  --color-navy-600: #1e4976;
  --color-blue-600: #2563eb;
  --color-blue-500: #3b82f6;
  --color-blue-400: #60a5fa;
  --color-blue-100: #dbeafe;
  --color-blue-50: #eff6ff;
  --color-gold: #d4a843;
  --color-gold-light: #e8c56a;
  --color-gold-dark: #b8922e;
  --color-white: #ffffff;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --max-width: 1200px;
  --header-height: 72px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

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

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-gray-700);
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-blue-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-navy-600);
}

ul {
  list-style: none;
}

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

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy-900);
  line-height: 1.2;
  font-weight: 700;
}

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

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  color: var(--color-navy-900);
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

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

.btn-primary {
  background: var(--color-blue-600);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy-900);
  box-shadow: 0 4px 14px rgba(212, 168, 67, 0.35);
}

.btn-gold:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.45);
  color: var(--color-navy-900);
}

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

/* ============================
   HEADER / NAVIGATION
   ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(11, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-blue-600);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-white);
}

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

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

.nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

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

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

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

.nav-cta {
  padding: 8px 20px !important;
  background: var(--color-gold);
  color: var(--color-navy-900) !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}

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

.nav-cta:hover {
  background: var(--color-gold-light) !important;
  color: var(--color-navy-900) !important;
}

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

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-navy-900);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 168, 67, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
}

.hero-grid {
  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;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-blue-400);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-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: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 36px;
}

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

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

.hero-stat h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 2px;
}

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

/* ============================
   SECTIONS COMMON
   ============================ */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--color-navy-900);
}

.section-dark .section-title {
  color: var(--color-white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.section-light {
  background: var(--color-gray-50);
}

.section-header {
  margin-bottom: 56px;
}

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

.about-visual {
  position: relative;
}

.about-image-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-navy-700), var(--color-navy-900));
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent);
  top: -50px;
  right: -50px;
}

.about-image-placeholder::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.1), transparent);
  bottom: -30px;
  left: -30px;
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.about-badge-card .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-blue-600);
  line-height: 1;
}

.about-badge-card .label {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  margin-top: 4px;
}

.about-text p {
  color: var(--color-gray-600);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.about-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-detail-icon {
  width: 38px;
  height: 38px;
  background: var(--color-blue-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.about-detail-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.about-detail-item p {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin: 0;
}

/* ============================
   SERVICES SECTION
   ============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  padding: 36px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue-600), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-blue-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: background var(--transition);
}

.service-card:hover .service-icon {
  background: var(--color-blue-600);
}

.service-card:hover .service-icon svg path {
  fill: var(--color-white);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--color-gray-500);
  font-size: 0.925rem;
  line-height: 1.7;
}

/* ============================
   WHY CHOOSE US
   ============================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  display: flex;
  gap: 20px;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* ============================
   CONTACT SECTION
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

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

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.contact-info-card:hover {
  border-color: var(--color-blue-100);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--color-blue-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

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

.contact-info-card p,
.contact-info-card a {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  line-height: 1.6;
}

.contact-info-card a:hover {
  color: var(--color-blue-600);
}

.contact-form {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--color-navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about .logo {
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
}

.footer h4 {
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================
   LEGAL PAGES
   ============================ */
.legal-header {
  background: var(--color-navy-900);
  padding: 120px 0 48px;
  text-align: center;
}

.legal-header h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 8px;
}

.legal-header p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
}

.legal-content {
  padding: 56px 0 80px;
}

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

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

.legal-section h2 {
  font-size: 1.3rem;
  color: var(--color-navy-900);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-gray-100);
}

.legal-section h3 {
  font-size: 1.1rem;
  color: var(--color-navy-800);
  margin-bottom: 8px;
  margin-top: 20px;
}

.legal-section p,
.legal-section li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-gray-600);
  margin-bottom: 10px;
}

.legal-section ul {
  padding-left: 24px;
  list-style: disc;
  margin-bottom: 12px;
}

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

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

.legal-toc {
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin-bottom: 40px;
  border: 1px solid var(--color-gray-200);
}

.legal-toc h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.legal-toc ol {
  padding-left: 20px;
}

.legal-toc li {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.legal-toc a {
  color: var(--color-blue-600);
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

/* ============================
   PAGE HEADER (inner pages)
   ============================ */
.page-header {
  background: var(--color-navy-900);
  padding: 120px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(212, 168, 67, 0.05) 0%, transparent 50%);
}

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

.page-header h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.5);
}

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

.breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumbs .current {
  color: var(--color-gold);
}

/* ============================
   PARTNERS / CLIENTS
   ============================ */
.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
}

.partner-item {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================
   CTA SECTION
   ============================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy-800), var(--color-navy-900));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent);
  top: -100px;
  right: -100px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.06), transparent);
  bottom: -80px;
  left: -80px;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--color-white);
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ============================
   SVG ICONS
   ============================ */
.icon-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

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

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

@media (max-width: 768px) {
  .header .container {
    height: 64px;
  }

  :root {
    --header-height: 64px;
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(11, 26, 46, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav.open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 92vh;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

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

  .about-badge-card {
    right: 0;
    bottom: 0;
  }

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

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

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

  .contact-form {
    padding: 24px;
  }

  .section {
    padding: 60px 0;
  }

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

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

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

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

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

  .legal-header {
    padding: 100px 0 36px;
  }

  .legal-content {
    padding: 32px 0 48px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .page-header {
    padding: 100px 0 36px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero-stat h3 {
    font-size: 1.4rem;
  }
}

/* ============================
   ANIMATIONS
   ============================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================
   PRINT
   ============================ */
@media print {
  .header,
  .menu-toggle,
  .hero-actions,
  .cta-section,
  .footer {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .page-header {
    padding: 40px 0 20px;
  }
}
