:root {
  --blue: #002E5D;
  --red: #E63946;
  --gray: #F4F5F7;
  --text: #1f2a3d;
  --max-width: 1200px;
  --shadow: 0 20px 40px rgba(0,0,0,0.08);
  --radius: 10px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  scroll-behavior: smooth;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--red);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo img {
  height: 64px;
  object-fit: contain;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-weight: 600;
  color: var(--text);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.hero.small {
  min-height: 80vh;
}

.hero-content {
  padding: 160px 0;
}

.hero-text h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
  font-weight: 800;
}

.hero .subtitle {
  max-width: 700px;
  margin-bottom: 28px;
  color: #e8edf3;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d8e4f2;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.section {
  padding: 110px 0;
}

.section.alt {
  background: var(--gray);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 10px;
  font-weight: 800;
}

.section-desc {
  max-width: 720px;
  margin: 0 auto;
  color: #4a5568;
}

.eyebrow {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
}

.grid {
  display: grid;
  gap: 24px;
}

.cards-4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(230, 57, 70, 0.1);
  color: var(--red);
  font-size: 22px;
  margin-bottom: 14px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.card p {
  color: #4a5568;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.tab {
  padding: 10px 18px;
  border: 1px solid #dce2ea;
  background: #fff;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-grid figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

.hidden {
  display: none;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: start;
}

.about-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-card ul {
  list-style: disc;
  padding-left: 20px;
  margin: 14px 0 20px;
  color: #4a5568;
}

.facts {
  list-style: none;
  margin-top: 16px;
}

.facts li {
  margin-bottom: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: start;
}

.contact-info .contact-details p {
  margin-bottom: 8px;
}

.contact-info .cta-box {
  margin-top: 18px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.form-row label {
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #dce2ea;
  font: inherit;
  transition: border var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,46,93,0.1);
  outline: none;
}

.checkbox-row {
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 10px 20px rgba(230,57,70,0.25);
}

.btn.primary {
  background: var(--red);
  color: #fff;
}

.btn.primary:hover {
  background: #c62f3b;
}

.btn.ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.25);
}

.contact-form-card .btn {
  width: 100%;
}

.form-feedback {
  margin-top: 8px;
  font-weight: 600;
}

.site-footer {
  background: var(--blue);
  color: #e8edf3;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 0 20px 40px;
}

.footer-logo {
  height: 42px;
  margin-bottom: 12px;
}

.footer-nav {
  list-style: none;
  margin-top: 10px;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: #e8edf3;
}

.footer-bottom-links a {
  color: #c7d4e8;
  margin-right: 12px;
  font-size: 14px;
}

.footer-meta {
  background: #002344;
  text-align: center;
  padding: 16px;
  font-size: 14px;
}

.price-grid .card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #4a5568;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.price-list .hint {
  color: #6b7280;
  font-size: 14px;
}

.price {
  font-size: 28px;
  font-weight: 800;
}

.cta-slab {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.video-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.video-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.video-card video {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
}

.cta-panel {
  background: linear-gradient(120deg, #002E5D, #013b75);
  color: #fff;
}

.applications .card {
  height: 100%;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.video-embed {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right var(--transition);
    padding: 80px 24px;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 80px 0;
  }

  .cta-slab {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 80px 0;
  }
}
