:root {
  --primary: #0E7490;
  --primary-dark: #0B5C73;
  --secondary: #1E3A5F;
  --secondary-deep: #162C49;
  --accent: #E63946;
  --accent-dark: #C8303C;
  --background: #F6F8FA;
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #4B5563;
  --line: #E3E8EE;
  --radius: 12px;
  --shadow-sm: 0 2px 10px rgba(22, 44, 73, 0.06);
  --shadow-md: 0 10px 30px rgba(22, 44, 73, 0.10);
  --font-head: "Sora", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 84px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

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

/* ---------- Section headers ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.eyebrow-light {
  color: #7FD1E8;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  color: var(--secondary);
}

.section-head .lead {
  margin-top: 16px;
  font-size: 1.06rem;
  color: var(--text-muted);
}

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(30, 58, 95, 0.97);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 20px rgba(0, 0, 0, 0.18);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo img {
  height: 54px;
  width: auto;
  display: block;
}

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

nav a {
  color: #fff;
  font-size: 0.93rem;
  font-weight: 500;
  opacity: 0.88;
  transition: opacity 0.2s, color 0.2s;
}

nav a:hover {
  opacity: 1;
}

.nav-cta {
  background: var(--accent);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  opacity: 1;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.nav-toggle,
.nav-burger {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(14, 116, 144, 0.55), transparent 60%),
    linear-gradient(150deg, var(--secondary-deep) 0%, var(--secondary) 55%, var(--primary-dark) 100%);
  color: #fff;
  padding: 108px 0 88px;
  overflow: hidden;
}

/* subtle woven texture */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.028) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.028) 0 2px, transparent 2px 14px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1120px;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8FD8EC;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  max-width: 720px;
}

.hero-sub {
  font-size: 1.12rem;
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 22px rgba(230, 57, 70, 0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(230, 57, 70, 0.42);
}

.btn-ghost {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 30px;
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}

/* ---------- About ---------- */
.about {
  background: var(--surface);
  padding: 96px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.about-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--secondary);
}

.about-body {
  border-left: 3px solid var(--primary);
  padding-left: 28px;
}

.about-body p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.about-body p + p {
  margin-top: 18px;
  color: var(--text);
  font-weight: 500;
}

/* ---------- Sections ---------- */
section {
  padding: 88px 0;
}

/* ---------- Services ---------- */
.services {
  background: var(--background);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(14, 116, 144, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.card p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* ---------- Quality chain ---------- */
.quality {
  background: var(--surface);
}

.quality-chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

.quality-chain::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.25;
}

.chain-step {
  position: relative;
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 58px 20px 26px;
  text-align: center;
}

.chain-num {
  position: absolute;
  top: -0px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-sm);
}

.chain-step h3 {
  color: var(--secondary);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.chain-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- Why ---------- */
.why {
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(14, 116, 144, 0.35), transparent 60%),
    var(--secondary-deep);
  color: #fff;
}

.why .section-head h2 {
  color: #fff;
}

.why-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-grid li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px 22px 22px 52px;
  position: relative;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.25s, border-color 0.25s;
}

.why-grid li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.why-grid li::before {
  content: "✓";
  position: absolute;
  left: 22px;
  top: 25px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
}

.why-grid strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* ---------- Markets ---------- */
.markets {
  background: var(--surface);
}

.market-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.market-tags span {
  background: var(--background);
  border: 1px solid var(--line);
  color: var(--secondary);
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.market-tags span:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(14, 116, 144, 0.05);
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(800px 420px at 88% 110%, rgba(30, 58, 95, 0.5), transparent 60%),
    var(--primary);
  color: #fff;
  text-align: center;
}

.contact .section-head {
  margin-bottom: 36px;
}

.contact .section-head h2 {
  color: #fff;
}

.contact-lead {
  max-width: 560px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.9);
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-bottom: 26px;
}

.contact-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 1.02rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 22px 40px;
  min-width: 260px;
  transition: background 0.25s;
}

.contact-person:hover {
  background: rgba(255, 255, 255, 0.12);
}

.contact-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
}

.contact-person a:hover {
  text-decoration: underline;
}

.contact-address {
  display: block;
  font-size: 0.95rem;
  opacity: 0.9;
}

.map-embed {
  margin: 26px auto 0;
  max-width: 700px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.map-embed iframe {
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--secondary-deep);
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 40px;
  padding: 56px 24px 40px;
}

.footer-logo {
  height: 46px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.93rem;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

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

  .quality-chain {
    grid-template-columns: repeat(2, 1fr);
  }

  .quality-chain::before {
    display: none;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    grid-template-columns: repeat(2, auto);
    gap: 28px 56px;
  }

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

@media (max-width: 720px) {
  /* Mobile nav */
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    align-items: center;
  }

  .nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--secondary-deep);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
    display: none;
  }

  .nav-toggle:checked ~ nav {
    display: flex;
  }

  nav a {
    padding: 13px 24px;
    font-size: 1rem;
  }

  .nav-cta {
    margin: 10px 24px 0;
    text-align: center;
    border-radius: 8px;
  }

  .hero {
    padding: 84px 0 64px;
  }

  .hero-cta {
    margin-bottom: 48px;
  }
}

@media (max-width: 560px) {
  section {
    padding: 64px 0;
  }

  .quality-chain,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .stat-num {
    font-size: 1.6rem;
  }

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

  .contact-person {
    width: 100%;
  }
}
