/* =========================================================
   Vincy Foods — Design System
   Premium seafood trading company website
   ========================================================= */

:root {
  /* Brand palette — derived from the Vincy Foods logo */
  --navy-950: #050c18;
  --navy-900: #071429;
  --navy-800: #0b1f3a;
  --navy-700: #122a4e;
  --navy-600: #1b3a68;
  --blue-600: #155e9e;
  --blue-500: #1c7cc4;
  --cyan-500: #17b6e8;
  --cyan-400: #3fd0f5;
  --cyan-300: #8fe6fb;
  --silver-100: #eef2f6;
  --silver-300: #c9d3de;
  --silver-500: #9fb0c2;
  --white: #ffffff;
  --gray-50: #f6f8fb;
  --gray-100: #eef1f5;
  --gray-200: #e2e7ee;
  --gray-500: #64748b;
  --gray-600: #4b5769;
  --ink: #0b1f3a;
  --ink-muted: #55647a;

  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(7, 20, 41, 0.08);
  --shadow-md: 0 10px 30px rgba(7, 20, 41, 0.12);
  --shadow-lg: 0 24px 60px rgba(7, 20, 41, 0.22);
  --shadow-navy: 0 20px 45px rgba(3, 10, 22, 0.45);

  --container: 1240px;
  --header-h: 92px;
  --header-h-scrolled: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

ul, ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--ink-muted); }

button { font-family: inherit; cursor: pointer; }

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

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

section { position: relative; }

.section-pad { padding: 96px 0; }
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
}

/* ---------- Eyebrow / section headers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--cyan-500);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--cyan-400); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(23, 182, 232, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(23, 182, 232, 0.4); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); transform: translateY(-2px); }

.btn-outline-navy {
  border-color: var(--navy-700);
  color: var(--navy-800);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--navy-800); color: var(--white); transform: translateY(-2px); }

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 12, 24, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: height 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  background: rgba(5, 12, 24, 0.92);
  box-shadow: 0 8px 24px rgba(2, 6, 14, 0.35);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  height: 56px;
  width: 56px;
  transition: height 0.3s var(--ease), width 0.3s var(--ease);
}
.is-scrolled .brand img { height: 42px; width: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.01em;
}
.brand-text .tag {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-400);
  font-weight: 600;
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  transition: background 0.25s, color 0.25s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); background: rgba(255, 255, 255, 0.1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav .btn-primary.mobile-cta { display: none; }

@media (max-width: 992px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-950);
    padding: calc(var(--header-h) + 10px) 20px 24px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 100vh;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .header-actions .btn-primary { display: none; }
  .main-nav .btn-primary.mobile-cta { display: inline-flex; margin-top: 10px; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 20% 20%, #0e2c50 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  overflow: hidden;
  color: var(--white);
  padding-top: var(--header-h);
}

.hero-waves {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}
.hero-waves svg { width: 100%; height: auto; display: block; }
.wave-layer-1 { opacity: 0.55; animation: waveDrift 18s linear infinite; }
.wave-layer-2 { opacity: 0.35; animation: waveDrift 26s linear infinite reverse; margin-top: -8%; }

@keyframes waveDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}
@media (prefers-reduced-motion: reduce) {
  .wave-layer-1, .wave-layer-2 { animation: none; }
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(23, 182, 232, 0.22) 0%, rgba(23, 182, 232, 0) 70%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 140px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 182, 232, 0.12);
  border: 1px solid rgba(63, 208, 245, 0.35);
  color: var(--cyan-300);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--cyan-400); }

.hero p.lead {
  color: rgba(232, 240, 250, 0.82);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1rem;
}
.hero-meta span { color: rgba(232, 240, 250, 0.65); font-size: 0.86rem; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(63, 208, 245, 0.25);
}
.hero-visual .ring.r1 { width: 105%; height: 105%; animation: spin 40s linear infinite; }
.hero-visual .ring.r2 { width: 88%; height: 88%; border-style: dashed; animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero-visual .ring { animation: none; }
}
.hero-visual img.logo-hero {
  width: 78%;
  max-width: 420px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; padding-bottom: 110px; text-align: left; }
  .hero-visual { max-width: 300px; margin: 0 auto; }
  .hero-visual img.logo-hero { width: 100%; }
}
@media (max-width: 560px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-meta { gap: 22px; }
}

/* ---------- Stats / Trust strip ---------- */
.stats-section {
  position: relative;
  margin-top: -80px;
  z-index: 5;
  padding-bottom: 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px;
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 18px;
  border-left: 1px solid var(--gray-200);
}
.stat-card:first-child { border-left: none; padding-left: 10px; }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  color: var(--white);
  flex-shrink: 0;
}
.stat-icon svg { width: 26px; height: 26px; }
.stat-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.stat-card p { font-size: 0.9rem; margin: 0; }

@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(3) { border-left: none; padding-left: 10px; }
}
@media (max-width: 560px) {
  .stats-section { margin-top: -50px; }
  .stats-grid { grid-template-columns: 1fr; padding: 24px; gap: 22px; }
  .stat-card { border-left: none; padding-left: 0; border-top: 1px solid var(--gray-200); padding-top: 20px; }
  .stat-card:first-child { border-top: none; padding-top: 0; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  position: relative;
}
.about-media svg.deco { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-media .badge-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-media .badge-float .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.about-media .badge-float .ic svg { width: 22px; height: 22px; }
.about-media .badge-float strong { display: block; font-family: var(--font-heading); color: var(--navy-900); font-size: 0.95rem; }
.about-media .badge-float span { font-size: 0.8rem; color: var(--ink-muted); }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 32px;
}
.about-highlight { display: flex; gap: 12px; align-items: flex-start; }
.about-highlight .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(23, 182, 232, 0.12);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-highlight .ic svg { width: 20px; height: 20px; }
.about-highlight strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; color: var(--navy-900); margin-bottom: 2px; }
.about-highlight p { font-size: 0.86rem; margin: 0; }

@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .about-highlights { grid-template-columns: 1fr; }
}

/* ---------- Product cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.product-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--navy-900);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.08); }

.product-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.product-body p { font-size: 0.88rem; flex: 1; margin-bottom: 18px; }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.product-actions .btn { flex: 1; }

.product-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(5, 12, 24, 0.55);
  backdrop-filter: blur(4px);
  color: var(--cyan-300);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(63, 208, 245, 0.35);
}

.section-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ---------- Quality section ---------- */
.section-dark {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(232, 240, 250, 0.72); }

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .quality-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .quality-grid { grid-template-columns: 1fr; } }

.quality-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color .3s var(--ease);
}
.quality-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.075); border-color: rgba(63, 208, 245, 0.4); }
.quality-card .ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(23, 182, 232, 0.22), rgba(21, 94, 158, 0.22));
  border: 1px solid rgba(63, 208, 245, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-300);
  margin-bottom: 20px;
}
.quality-card .ic svg { width: 26px; height: 26px; }
.quality-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.quality-card p { font-size: 0.88rem; margin: 0; }

.quality-tagline {
  text-align: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.quality-tagline strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  color: var(--white);
  letter-spacing: 0.02em;
}
.quality-tagline strong .cyan { color: var(--cyan-400); }
.quality-tagline span { color: rgba(232, 240, 250, 0.6); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--cyan-500);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}
.service-card .ic {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-400);
  margin-bottom: 20px;
}
.service-card .ic svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; margin: 0; }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; } }

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  transition: background 0.3s;
}
.why-item:hover { background: var(--gray-50); }
.why-item .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-item .ic svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.why-item p { font-size: 0.88rem; margin: 0; }

.why-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
}

.why-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
@media (max-width: 992px) {
  .why-layout { grid-template-columns: 1fr; }
  .why-media { max-width: 380px; margin: 0 auto; order: 2; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--blue-600) 130%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -8%; top: -30%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(23, 182, 232, 0.28), transparent 70%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.cta-inner p { color: rgba(232, 240, 250, 0.78); margin: 0; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 992px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.contact-info-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(232, 240, 250, 0.7); margin-bottom: 28px; font-size: 0.92rem; }

.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-line:first-of-type { border-top: none; }
.contact-line .ic {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(23, 182, 232, 0.14);
  border: 1px solid rgba(63, 208, 245, 0.3);
  color: var(--cyan-300);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-line .ic svg { width: 19px; height: 19px; }
.contact-line strong { display: block; font-family: var(--font-heading); font-size: 0.92rem; color: var(--white); }
.contact-line a, .contact-line span.val { color: rgba(232, 240, 250, 0.78); font-size: 0.9rem; }
.contact-line a:hover { color: var(--cyan-300); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 560px) { .contact-form-card { padding: 26px 20px; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
}
.field label .req { color: var(--cyan-500); }
.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  background: var(--gray-50);
  color: var(--ink);
  transition: border-color 0.25s, background 0.25s, box-shadow .25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(23, 182, 232, 0.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .error-msg {
  font-size: 0.78rem;
  color: #d64545;
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d64545; background: #fdf2f2; }
.field.has-error .error-msg { display: block; }

.form-note { font-size: 0.8rem; color: var(--gray-500); margin-top: 16px; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: #eafaf1;
  border: 1px solid #b7ebc9;
  color: #147a3d;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* mini map / office visual */
.map-frame {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.map-frame iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(0.3) invert(0.92) contrast(0.9); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(232, 240, 250, 0.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 50px; width: 50px; }
.footer-brand .name { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--white); }
.footer-brand .tag { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-400); font-weight: 600; }
.footer-col p { font-size: 0.88rem; max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 0.9rem; color: rgba(232, 240, 250, 0.7); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--cyan-300); }
.footer-col ul li.contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
.footer-col ul li.contact-item svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--cyan-400); }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.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;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--cyan-500); border-color: var(--cyan-500); transform: translateY(-3px); }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(232, 240, 250, 0.5);
}
.footer-bottom a { color: rgba(232, 240, 250, 0.6); }
.footer-bottom a:hover { color: var(--cyan-300); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: radial-gradient(ellipse at 30% 20%, #0e2c50 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  color: var(--white);
  padding: calc(var(--header-h) + 64px) 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero .breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.85rem;
  color: rgba(232, 240, 250, 0.6);
  margin-bottom: 18px;
}
.page-hero .breadcrumb a:hover { color: var(--cyan-300); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); max-width: 700px; }
.page-hero p { color: rgba(232, 240, 250, 0.75); max-width: 620px; font-size: 1.05rem; margin: 0; }
.page-hero-waves { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 0; opacity: 0.5; }

/* ---------- Product detail page ---------- */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
@media (max-width: 900px) { .pd-layout { grid-template-columns: 1fr; gap: 36px; } }

.pd-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  position: sticky;
  top: 120px;
}
@media (max-width: 900px) { .pd-media { position: static; } }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }

.pd-info .btn { margin-bottom: 36px; }

.pd-block { margin-bottom: 28px; }
.pd-block h2 { font-size: 1.15rem; margin-bottom: 10px; }
.pd-block p { font-size: 0.94rem; }

.pd-note {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--cyan-500);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.pd-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
@media (max-width: 480px) { .pd-facts { grid-template-columns: 1fr; } }
.pd-fact {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.pd-fact span.label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-500); margin-bottom: 4px; }
.pd-fact span.val { font-family: var(--font-heading); font-weight: 600; font-size: 0.92rem; color: var(--navy-800); }

.related-strip { margin-top: 40px; }
.related-strip h2 { font-size: 1.3rem; margin-bottom: 24px; }
.related-strip .products-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .related-strip .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .related-strip .products-grid { grid-template-columns: 1fr; } }

.grid-2col { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .grid-2col { grid-template-columns: 1fr; } }

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

/* ---------- Product listing page filter/intro ---------- */
.products-intro { max-width: 760px; margin-bottom: 44px; }

.product-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.product-filter button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--ink-muted);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.product-filter button:hover { border-color: var(--cyan-500); color: var(--navy-800); }
.product-filter button.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

/* ---------- Team / values grid (about page) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: box-shadow .3s, transform .3s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .ic {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.value-card .ic svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1rem; margin-bottom: 6px; }
.value-card p { font-size: 0.86rem; margin: 0; }

/* ---------- Timeline (about page) ---------- */
.timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--gray-200); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cyan-500);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--cyan-500);
}
.timeline-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.timeline-item p { font-size: 0.9rem; margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider-light { border: none; border-top: 1px solid var(--gray-200); margin: 64px 0; }

.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cyan-500);
  color: var(--navy-950);
  padding: 12px 20px;
  z-index: 2000;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
