/* ==========================================================================
   MetalGuard Private Limited — Design System
   Theme: Bold Scientific / Chemical
   ========================================================================== */

:root {
  /* Core palette */
  --navy-950: #060a17;
  --navy-900: #0b1224;
  --navy-800: #111a35;
  --navy-700: #16204a;
  --blue-700: #1e3a8a;
  --blue-600: #1d4ed8;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --amber-500: #f97316;
  --amber-400: #fb923c;

  /* Text */
  --ink-900: #0b1224;
  --ink-700: #2a3550;
  --ink-600: #47536b;
  --ink-400: #8592ab;
  --on-dark-100: #f4f7fc;
  --on-dark-300: #c3ccdf;
  --on-dark-500: #8b98b8;

  /* Surfaces */
  --white: #ffffff;
  --cloud-50: #f5f8fc;
  --cloud-100: #eef2f8;
  --line: rgba(15, 23, 42, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #060a17 0%, #10193a 32%, #1e3a8a 68%, #0d9488 100%);
  --gradient-cta: linear-gradient(120deg, #0b1224 0%, #0d9488 60%, #14b8a6 100%);
  --gradient-accent: linear-gradient(90deg, #22d3ee, #2dd4bf);
  --gradient-warm: linear-gradient(120deg, #f97316, #fb923c);
  --gradient-card-icon: linear-gradient(135deg, #1e3a8a, #0d9488);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(11, 18, 36, 0.06), 0 1px 1px rgba(11, 18, 36, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(11, 18, 36, 0.18);
  --shadow-lg: 0 24px 48px -16px rgba(11, 18, 36, 0.28);
  --shadow-glow: 0 0 0 1px rgba(34, 211, 238, 0.25), 0 12px 40px -8px rgba(34, 211, 238, 0.35);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.5s;

  /* Layout */
  --container-w: 1240px;
  --header-h: 84px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p { color: var(--ink-600); }

address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--teal-400);
  color: var(--navy-950);
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--cloud-50);
}

.section-dark {
  background: var(--navy-950);
  color: var(--on-dark-300);
  position: relative;
  overflow: hidden;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-tight { padding: 3.5rem 0; }

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

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-responsive { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Molecule pattern overlay
   ========================================================================== */

.molecule-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%2322d3ee' stroke-width='1' opacity='0.35'%3E%3Ccircle cx='24' cy='24' r='3' fill='%2322d3ee'/%3E%3Ccircle cx='104' cy='46' r='2.5' fill='%232dd4bf'/%3E%3Ccircle cx='58' cy='112' r='3' fill='%2322d3ee'/%3E%3Ccircle cx='134' cy='128' r='2.5' fill='%232dd4bf'/%3E%3Ccircle cx='140' cy='30' r='2' fill='%2367e8f9'/%3E%3Cline x1='24' y1='24' x2='104' y2='46'/%3E%3Cline x1='104' y1='46' x2='134' y2='128'/%3E%3Cline x1='24' y1='24' x2='58' y2='112'/%3E%3Cline x1='58' y1='112' x2='134' y2='128'/%3E%3Cline x1='104' y1='46' x2='140' y2='30'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 0.5;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-warm);
  color: var(--white);
  box-shadow: 0 12px 24px -8px rgba(249, 115, 22, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(249, 115, 22, 0.6);
}

.btn-secondary {
  background: rgba(34, 211, 238, 0.1);
  color: var(--teal-600);
  border: 1px solid rgba(13, 148, 136, 0.35);
}

.btn-secondary:hover {
  background: rgba(34, 211, 238, 0.18);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--line-dark);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy-950);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.05rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(6, 10, 23, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header.scrolled {
  background: rgba(6, 10, 23, 0.92);
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: var(--on-dark-300);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  transition: width 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.mobile-menu-btn {
  display: none;
  color: var(--white);
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.mobile-menu-btn:hover { background: rgba(255, 255, 255, 0.08); }

.mobile-menu-btn .icon-close { display: none; }
.mobile-menu-btn.is-open .icon-burger { display: none; }
.mobile-menu-btn.is-open .icon-close { display: block; }

@media (max-width: 960px) {
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: rgba(6, 10, 23, 0.98);
    backdrop-filter: blur(14px);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu.active {
    max-height: 480px;
    opacity: 1;
    pointer-events: auto;
    padding: 0.5rem 1.5rem 1.5rem;
  }

  .nav-link {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-actions .btn { display: none; }

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

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 10, 23, 0.94) 0%, rgba(16, 25, 58, 0.9) 35%, rgba(30, 58, 138, 0.82) 68%, rgba(13, 148, 136, 0.8) 100%);
}

.hero .molecule-field { z-index: -1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-300);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
}

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

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

.hero p.lead {
  font-size: 1.15rem;
  color: var(--on-dark-300);
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

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

/* Stats */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  max-width: 760px;
}

.stat-tile {
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.stat-number {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--cyan-300);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--on-dark-300);
  margin-top: 0.35rem;
}

/* Page hero (inner pages) */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 4.5rem) 0 4rem;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero .hero-media,
.page-hero .molecule-field { position: absolute; }

.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: var(--on-dark-300); max-width: 620px; font-size: 1.05rem; }

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--on-dark-500);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--on-dark-500);
}

.breadcrumb-item a:hover { color: var(--cyan-300); }
.breadcrumb-item.active { color: var(--cyan-300); }

/* ==========================================================================
   Section headers
   ========================================================================== */

.section-header {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-header.align-left {
  margin: 0 0 3rem;
  text-align: left;
}

.section-title { margin-bottom: 1rem; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-600);
}

.section-dark .section-subtitle { color: var(--on-dark-300); }

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.25);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-card-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 24px -8px rgba(13, 148, 136, 0.5);
}

.card-title { margin-bottom: 0.75rem; }
.card-text { font-size: 0.95rem; }

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.glass-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 211, 238, 0.35);
}

.glass-card .card-title { color: var(--white); }
.glass-card .card-text { color: var(--on-dark-300); }

/* Photo frame */

.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--gradient-cta);
  opacity: 0.55;
  filter: blur(18px);
}

.photo-caption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--ink-400);
  font-style: italic;
}

.section-dark .photo-caption { color: var(--on-dark-500); }

/* ==========================================================================
   Badges
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(13, 148, 136, 0.1);
  color: var(--teal-600);
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.badge-secondary {
  background: rgba(30, 58, 138, 0.08);
  color: var(--blue-700);
  border-color: rgba(30, 58, 138, 0.2);
}

.badge-accent {
  background: rgba(249, 115, 22, 0.1);
  color: var(--amber-500);
  border-color: rgba(249, 115, 22, 0.25);
}

.badge-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Product cards
   ========================================================================== */

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-image img { transform: scale(1.06); }

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(6, 10, 23, 0.75);
  backdrop-filter: blur(6px);
  color: var(--cyan-300);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

.product-content { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.product-title { margin-bottom: 0.6rem; }
.product-description { font-size: 0.95rem; margin-bottom: 1.1rem; }

.product-features {
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-features li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-600);
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-accent);
}

/* ==========================================================================
   Process steps
   ========================================================================== */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.process-step { position: relative; padding-top: 0.5rem; }

.process-step-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
  display: block;
}

/* ==========================================================================
   Timeline (About)
   ========================================================================== */

.timeline { max-width: 760px; margin: 0 auto; position: relative; }

.timeline::before {
  content: '';
  position: absolute;
  left: 84px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--teal-500), var(--blue-700));
  opacity: 0.3;
}

.milestone-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
  position: relative;
}

.milestone-year {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal-600);
  text-align: right;
  padding-top: 0.15rem;
}

.milestone-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.milestone-body::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 1.6rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px rgba(13, 148, 136, 0.25);
}

.milestone-title { margin-bottom: 0.4rem; font-size: 1.05rem; }
.milestone-description { font-size: 0.92rem; }

@media (max-width: 620px) {
  .timeline::before { left: 6px; }
  .milestone-card { grid-template-columns: 1fr; gap: 0.75rem; }
  .milestone-year { text-align: left; }
  .milestone-body { margin-left: 1.5rem; }
  .milestone-body::before { left: -1.75rem; }
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group { margin-bottom: 1.4rem; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-900);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

textarea.form-control { resize: vertical; min-height: 140px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }

@media (max-width: 620px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-note { font-size: 0.82rem; color: var(--ink-400); margin-top: 0.5rem; }

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.show { display: block; }
.form-status.success { background: rgba(20, 184, 166, 0.1); color: var(--teal-600); border: 1px solid rgba(20, 184, 166, 0.3); }
.form-status.error { background: rgba(249, 115, 22, 0.1); color: var(--amber-500); border: 1px solid rgba(249, 115, 22, 0.3); }

/* ==========================================================================
   Contact tiles
   ========================================================================== */

.contact-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.contact-tile h4 { color: var(--white); margin-bottom: 0.3rem; font-size: 1rem; }
.contact-tile p, .contact-tile a { color: var(--on-dark-300); font-size: 0.92rem; }
.contact-tile a:hover { color: var(--cyan-300); }

/* ==========================================================================
   CTA section
   ========================================================================== */

.cta-section {
  position: relative;
  background: var(--gradient-cta);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cta-content h2 { color: var(--white); margin-bottom: 1rem; }
.cta-content p { color: rgba(255, 255, 255, 0.88); margin-bottom: 2.25rem; font-size: 1.1rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--navy-950);
  color: var(--on-dark-500);
  padding: 4.5rem 0 0;
}

.footer h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 1.1rem; }

.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: var(--on-dark-500); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--cyan-300); }

.footer-about p { color: var(--on-dark-500); font-size: 0.92rem; margin-bottom: 1.5rem; max-width: 320px; }

.footer-social { display: flex; gap: 0.75rem; }

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-social a:hover { background: rgba(34, 211, 238, 0.12); border-color: var(--cyan-400); }

.footer-bottom {
  margin-top: 3.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   Scroll to top
   ========================================================================== */

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--navy-950);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 60;
  transition: transform 0.25s var(--ease);
}

.scroll-top:hover { transform: translateY(-4px); }
.scroll-top.show { display: flex; }

/* ==========================================================================
   Scroll animations
   ========================================================================== */

.scroll-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate.delay-1 { transition-delay: 0.08s; }
.scroll-animate.delay-2 { transition-delay: 0.16s; }
.scroll-animate.delay-3 { transition-delay: 0.24s; }
.scroll-animate.delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-animate { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Misc utilities
   ========================================================================== */

.flow > * + * { margin-top: 1.1rem; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }

.divider {
  height: 1px;
  background: var(--line);
  margin: 3rem 0;
}

.section-dark .divider { background: rgba(255, 255, 255, 0.1); }

@media (max-width: 700px) {
  .section { padding: 4rem 0; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 2rem) 0 3.5rem; }
}
