:root {
  --bg: #f4f8f9;
  --surface: #ffffff;
  --surface-soft: #f1f7f7;
  --text: #0f2a44;
  --muted: #5b6b80;
  --line: #dde7ea;
  --accent: #0b7a6f;
  --accent-2: #14b8a6;
  --gold: #fbbf24;
  --dark: #0c2238;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 0% 0%, rgba(153, 246, 228, 0.22) 0, transparent 38%),
    radial-gradient(circle at 100% 20%, rgba(254, 243, 199, 0.25) 0, transparent 34%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1080px, calc(100% - 2.6rem));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(12, 34, 56, 0.1);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.logo-image {
  height: 50px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 1.4rem;
  color: #4b5d73;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent-2);
  transition: width 0.25s ease;
}

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

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Layout */

html,
body {
  overflow-x: clip;
}

main {
  width: min(1220px, calc(100% - 2.8rem));
  margin-inline: auto;
  background: var(--surface);
}

/* Full-bleed blocks inside main */
.hero,
.contact-panel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

section {
  padding: 4.4rem 0;
}

section h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  margin-bottom: 1.3rem;
  max-width: 22ch;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin-bottom: 0.85rem;
}

.section-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  background: linear-gradient(125deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 0.75rem 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 22px rgba(11, 122, 111, 0.28);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.4);
  outline-offset: 2px;
}

.btn-small {
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
}

.btn-ghost-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(72vh - 80px);
  padding: 3rem 0 2.4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("../img/hero.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 24, 40, 0.8) 0%, rgba(6, 24, 40, 0.6) 45%, rgba(6, 24, 40, 0.15) 100%);
}

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

.hero-content {
  max-width: 720px;
  padding: 1.6rem 1.6rem;
  border-left: 4px solid var(--gold);
  border-radius: 4px 16px 16px 4px;
  background: linear-gradient(140deg, rgba(6, 24, 40, 0.6), rgba(6, 24, 40, 0.3));
  backdrop-filter: blur(3px);
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  max-width: 16ch;
  color: #f8fafc;
}

.hero-text {
  margin-top: 1.2rem;
  max-width: 54ch;
  color: #e2e8f0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

/* Stats */

.stats {
  padding: 2.4rem 0 0;
}

.metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.metrics li {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
}

.metric-num,
.metric-suffix {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Services */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.05rem;
}

.card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 12px 28px rgba(12, 34, 56, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.card:nth-child(1) {
  background: linear-gradient(140deg, var(--dark), #12405a);
  border-color: transparent;
  color: #f1f7f7;
}

.card:nth-child(1) p {
  color: #c6dbe0;
}

.card:nth-child(1) .card-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(12, 34, 56, 0.14);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.4rem;
  align-items: center;
}

.about-text {
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.benefit-list li {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent-2);
  border-radius: 14px;
  padding: 0.95rem;
}

.benefit-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.benefit-list span {
  color: var(--muted);
}

.about-media {
  margin: 0;
  height: 100%;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(12, 34, 56, 0.18);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Process */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.9rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.timeline span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.timeline h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.timeline p {
  color: var(--muted);
}

/* Contact */

.contact {
  padding-bottom: 0;
}

.contact-panel {
  background: linear-gradient(145deg, var(--dark), #0f4c5c);
  color: #eef6f7;
  padding: 2.4rem max(1.3rem, calc((100vw - 1080px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.6rem;
}

.contact-panel .eyebrow {
  color: var(--gold);
}

.contact-panel h2 {
  color: #fff;
}

.contact-company {
  font-weight: 600;
  color: #fff;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.5rem;
  color: #c6dbe0;
}

.contact-list a {
  color: #5eead4;
}

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

.contact-logo2 {
  width: min(320px, 34vw);
  height: auto;
  display: block;
}

/* Section head (title + text side by side) */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head-text {
  color: var(--muted);
}

/* Products */

.products {
  padding-top: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.product-item {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.3rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.product-item svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-item:hover {
  border-color: var(--accent-2);
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(12, 34, 56, 0.1);
}

/* Markets (full-width band) */

.markets {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  color: #eef6f7;
  background:
    radial-gradient(circle, rgba(94, 234, 212, 0.16) 1.2px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(135deg, #0c2238, #0f3a4f);
}

.markets .eyebrow {
  color: var(--gold);
}

.markets h2 {
  color: #fff;
}

.markets-text {
  color: #c6dbe0;
  max-width: 46ch;
}

.markets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  align-items: center;
}

.route-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.route-list li {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
}

.route-from {
  font-weight: 600;
}

.route-to {
  text-align: right;
  color: #5eead4;
  font-weight: 600;
}

.route-line {
  position: relative;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 6px, transparent 6px 12px);
}

.route-line::before,
.route-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.route-line::before {
  left: 0;
  background: var(--gold);
}

.route-line::after {
  right: 0;
  background: #5eead4;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.4rem;
  align-items: start;
}

.faq-text {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  transition: background 0.2s ease;
}

.faq-list details[open] {
  background: #fff;
  box-shadow: 0 12px 26px rgba(12, 34, 56, 0.07);
}

.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1rem 3rem 1rem 1.1rem;
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
}

/* CTA */

.cta {
  padding-top: 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding: 2rem 2.2rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 20px 40px rgba(11, 122, 111, 0.25);
}

.cta-box h2 {
  margin-bottom: 0.4rem;
  max-width: none;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.cta-box p {
  color: #d9f5f0;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 10px 22px rgba(12, 34, 56, 0.2);
}

/* Back to top button */

.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(11, 122, 111, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 30;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Footer */

.site-footer {
  width: 100%;
  background: #081a2c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #9fb3c2;
  font-size: 0.9rem;
}

.footer-wrap a:hover {
  color: #5eead4;
}

/* Responsive */

@media (max-width: 990px) {
  main {
    width: min(1220px, calc(100% - 1.2rem));
  }

  .nav-wrap > .btn-small {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 16px 30px rgba(12, 34, 56, 0.12);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .about-grid,
  .timeline,
  .cards,
  .section-head,
  .markets-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 0.8rem;
  }

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

  .about-media {
    min-height: 260px;
  }

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

@media (max-width: 620px) {
  .container {
    width: calc(100% - 2rem);
  }

  .logo-image {
    height: 42px;
  }

  .hero {
    min-height: calc(60vh - 44px);
    align-items: flex-end;
  }

  .hero-content {
    padding: 1.1rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  section {
    padding: 3.2rem 0;
  }

  .contact {
    padding-bottom: 0;
  }

  .product-item {
    padding: 1rem 0.9rem;
    font-size: 0.88rem;
  }

  .route-list li {
    grid-template-columns: 1fr 0.8fr 1fr;
    padding: 0.75rem 0.8rem;
    font-size: 0.85rem;
  }

  .cta-box {
    padding: 1.5rem 1.2rem;
  }

  .cta-box .btn {
    width: 100%;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .contact-logo2 {
    width: min(240px, 70vw);
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
    text-align: center;
  }
}
