/* ====================================================================
   ENCOSER MARITIME SOLUTIONS · Abyssal Depth aesthetic
   ==================================================================== */

/* ----------------------------- Tokens ------------------------------ */
:root {
  /* Palette — deep ocean */
  --abyss:        #050D1A;
  --abyss-deep:   #020812;
  --ocean:        #0A1628;
  --ocean-mid:    #0F2942;
  --ocean-light:  #1B3A5C;
  --steel:        #2A4A6B;

  /* Bioluminescence */
  --accent:       #00D4D9;
  --accent-soft:  #4FE0E5;
  --accent-glow:  rgba(0, 212, 217, 0.4);

  /* Warm contrast */
  --sand:         #E8DCC4;
  --pearl:        #F4F8FA;
  --foam:         #C9D9E5;

  /* Text */
  --text:         #E6EEF5;
  --text-muted:   #8AA0B5;
  --text-faint:   #5A6E84;

  /* Surfaces */
  --surface:        rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border:         rgba(255, 255, 255, 0.08);
  --border-strong:  rgba(255, 255, 255, 0.16);

  /* Type */
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;

  /* Spacing & radius */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;

  --max-w: 1280px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--ocean);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Atmospheric body background */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(27, 79, 114, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(0, 212, 217, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--abyss) 0%, var(--ocean) 30%, var(--ocean-mid) 100%);
  z-index: -2;
  pointer-events: none;
}

/* Subtle grain texture */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
  z-index: -1;
  pointer-events: none;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--abyss); }

/* ---------------------------- Preloader ---------------------------- */
.preloader {
  position: fixed; inset: 0;
  background: var(--abyss-deep);
  display: grid; place-items: center;
  z-index: 9999;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.preloader__logo { width: 64px; height: 64px; color: var(--accent); }
.preloader__ring { animation: ringSpin 1.4s var(--ease) infinite; transform-origin: 50% 50%; }
.preloader__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--text-muted);
}
@keyframes ringSpin {
  0% { stroke-dashoffset: 283; transform: rotate(0deg); }
  50% { stroke-dashoffset: 70; }
  100% { stroke-dashoffset: 283; transform: rotate(360deg); }
}

/* ------------------------------ Nav -------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  transition: all 0.35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(5, 13, 26, 0.75);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding-top: 0.85rem; padding-bottom: 0.85rem;
}

.nav__brand {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--text);
}
.nav__brand svg { color: var(--accent); }
.nav__brand span { display: flex; flex-direction: column; line-height: 1; }
.nav__brand strong {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}
.nav__brand em {
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.nav__links {
  display: flex; gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  color: var(--text-muted);
  padding: 0.4rem 0;
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

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

.lang-switch {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}
.lang-btn.is-active {
  background: var(--accent);
  color: var(--abyss);
}

.nav__burger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__burger span {
  width: 22px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ------------------------------ Buttons ---------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--abyss-deep);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px -8px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--accent-soft), 0 14px 32px -8px var(--accent-glow);
}
.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 212, 217, 0.05);
}
.btn--ghost-light {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
}
.btn--ghost-light:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--small { padding: 0.65rem 1.15rem; font-size: 0.82rem; }
.btn--full { width: 100%; justify-content: center; padding: 1rem 1.4rem; }

/* ------------------------------ Layout ----------------------------- */
section { padding: clamp(5rem, 12vw, 9rem) clamp(1rem, 4vw, 3rem); }
.section__head {
  max-width: var(--max-w);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.section__tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
  position: relative;
}
.section__tag::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 0.85rem; height: 1px;
  background: var(--accent);
}
.section__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 22ch;
}
.section__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-feature-settings: 'ss01';
}

/* ------------------------------ Hero ------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 7rem; padding-bottom: 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__caustics {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0, 212, 217, 0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 70% 60%, rgba(79, 224, 229, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(27, 58, 92, 0.6) 0%, transparent 60%),
    linear-gradient(180deg, var(--abyss-deep) 0%, var(--ocean) 50%, var(--ocean-mid) 100%);
  animation: caustic 18s ease-in-out infinite alternate;
}
@keyframes caustic {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%; filter: hue-rotate(0deg); }
  100% { background-position: 8% 5%, -6% -3%, 4% 2%, 0% 0%; filter: hue-rotate(8deg); }
}

.hero__beam {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(0, 212, 217, 0.35), transparent);
  filter: blur(1.5px);
  transform-origin: top center;
}
.hero__beam--1 { left: 18%; top: -20%; height: 140%; transform: rotate(8deg); animation: beamSway 10s ease-in-out infinite alternate; }
.hero__beam--2 { left: 42%; top: -20%; height: 140%; transform: rotate(-4deg); animation: beamSway 14s ease-in-out infinite alternate-reverse; opacity: 0.6; }
.hero__beam--3 { left: 78%; top: -20%; height: 140%; transform: rotate(6deg); animation: beamSway 12s ease-in-out infinite alternate; opacity: 0.5; }
@keyframes beamSway {
  0% { transform: rotate(var(--r, 8deg)) translateX(0); opacity: 0.4; }
  100% { transform: rotate(calc(var(--r, 8deg) - 4deg)) translateX(20px); opacity: 0.7; }
}

.hero__particles {
  position: absolute; inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
  animation: floatUp linear infinite;
  opacity: 0;
}
@keyframes floatUp {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-110vh) translateX(var(--drift, 30px)); opacity: 0; }
}

.hero__content {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}
.hero__eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 2rem;
}
.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: revealUp 1s var(--ease-out) forwards;
}
.hero__line:nth-child(1) { animation-delay: 0.4s; }
.hero__line:nth-child(2) { animation-delay: 0.55s; }
.hero__line:nth-child(3) { animation-delay: 0.7s; }
.hero__line:nth-child(4) { animation-delay: 0.85s; }
.hero__line em {
  font-style: italic;
  color: var(--accent);
}
.hero__line--accent {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.85em;
  font-weight: 400;
}
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero__lede {
  max-width: 38ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: revealUp 1s var(--ease-out) 1s forwards;
}

.hero__cta {
  display: flex; gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  animation: revealUp 1s var(--ease-out) 1.15s forwards;
}

.hero__meta {
  display: flex; align-items: center; gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 720px;
  opacity: 0;
  animation: revealUp 1s var(--ease-out) 1.3s forwards;
}
.hero__meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.hero__meta-item strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero__meta-item span {
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}
.hero__meta-divider {
  width: 1px; height: 30px;
  background: var(--border);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: clamp(1rem, 4vw, 3rem);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  width: 100%; height: 30%;
  background: var(--accent);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { top: -30%; }
  100% { top: 100%; }
}

/* ------------------------------ About ------------------------------ */
.about__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.about__copy .lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.about__copy p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 50ch;
}
.about__bullets {
  margin-top: 2rem;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.about__bullets li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  color: var(--text);
  font-size: 0.95rem;
}
.about__bullets svg {
  flex-shrink: 0;
  margin-top: 0.18rem;
  color: var(--accent);
  padding: 0.2rem;
  background: rgba(0, 212, 217, 0.1);
  border-radius: 50%;
  width: 26px; height: 26px;
}

.about__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  min-height: 480px;
}
.about__visual-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at center, rgba(0, 212, 217, 0.18), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.about__visual-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.about__visual-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(0, 212, 217, 0.06) 100%);
  pointer-events: none;
}
.about__visual-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.about__visual-card--1 {
  grid-column: 1 / 3;
  min-height: 220px;
  background: linear-gradient(135deg, rgba(0, 212, 217, 0.08), rgba(27, 58, 92, 0.4));
  border-color: rgba(0, 212, 217, 0.2);
}
.about__visual-card--2 { min-height: 200px; }
.about__visual-card--3 { min-height: 200px; }
.about__visual-pattern {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 10px, rgba(0, 212, 217, 0.04) 10px, rgba(0, 212, 217, 0.04) 11px);
  pointer-events: none;
}
.about__visual-content { position: relative; z-index: 1; }
.big-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.big-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 22ch;
  line-height: 1.5;
}

/* ------------------------------ Services --------------------------- */
.services__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service {
  position: relative;
  background: var(--ocean);
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column;
  min-height: 380px;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.service::before {
  content: attr(data-num);
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-faint);
  font-feature-settings: 'lnum';
}
.service::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.service:hover {
  background: var(--ocean-mid);
}
.service:hover::after { width: 100%; }
.service:hover .service__icon { color: var(--accent); transform: scale(1.05); }

.service__icon {
  color: var(--foam);
  margin-bottom: 1.75rem;
  transition: all 0.4s var(--ease);
}
.service h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1rem;
}
.service p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex: 1;
}
.service__tags {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
}
.service__tags li {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-faint);
  transition: all 0.3s var(--ease);
}
.service:hover .service__tags li {
  border-color: rgba(0, 212, 217, 0.3);
  color: var(--text-muted);
}

/* ------------------------------ Partners --------------------------- */
.partners {
  background:
    radial-gradient(ellipse at center, rgba(27, 58, 92, 0.4) 0%, transparent 70%),
    var(--ocean);
}
.partners__feature {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(135deg, rgba(0, 212, 217, 0.05), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.partners__badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.partners__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.partners__name span {
  display: block;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.7em;
  margin-top: 0.4rem;
}
.partners__copy p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 48ch;
}
.partners__copy strong { color: var(--text); font-weight: 600; }
.partners__visual {
  display: grid; place-items: center;
}
.weather-anim {
  width: 100%; max-width: 320px;
  aspect-ratio: 1;
  position: relative;
}
.weather-anim svg { width: 100%; height: 100%; }
.anem { transform-origin: 120px 80px; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse {
  transform-origin: 120px 80px;
  animation: pulseRing 3s ease-out infinite;
  opacity: 0;
}
.pulse--2 { animation-delay: 1s; }
.pulse--3 { animation-delay: 2s; }
@keyframes pulseRing {
  0% { transform: scale(0.3); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ------------------------------ Credentials ------------------------ */
.credentials__lede {
  max-width: 70ch;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
}
.credentials__lede strong { color: var(--text); font-weight: 600; }

.credentials__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.credential {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.credential:hover {
  background: var(--surface-strong);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.credential__seal {
  width: 80px; height: 80px;
  margin: 0 auto 1.25rem;
  color: var(--accent);
}
.credential h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.credential p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ------------------------------ Contact ---------------------------- */
.contact {
  background:
    radial-gradient(ellipse at top right, rgba(0, 212, 217, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--ocean) 0%, var(--abyss) 100%);
}
.contact__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
}
.contact__lede {
  color: var(--text-muted);
  margin: 1.5rem 0 2.5rem;
  max-width: 38ch;
  font-size: 1.05rem;
}
.contact__details {
  display: flex; flex-direction: column;
  gap: 0;
}
.contact__details li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.contact__details li:last-child { border-bottom: 1px solid var(--border); }
.contact__label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  padding-top: 0.15rem;
}
.contact__value {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}
a.contact__value:hover { color: var(--accent); }

.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  backdrop-filter: blur(10px);
}
.contact__form-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}
.field { margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.25s var(--ease);
  font-family: inherit;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 212, 217, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 212, 217, 0.1);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238AA0B5' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field select option {
  background: var(--ocean-mid);
  color: var(--text);
}

.checkbox {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 1rem 0 1.5rem;
  cursor: pointer;
}
.checkbox input {
  appearance: none;
  width: 18px; height: 18px;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  margin-top: 1px;
  transition: all 0.2s var(--ease);
  position: relative;
}
.checkbox input:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox input:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1.5px;
  width: 5px; height: 9px;
  border: solid var(--abyss);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--accent);
  min-height: 1.2em;
}

/* ------------------------------ Footer ----------------------------- */
.footer {
  background: var(--abyss-deep);
  padding: 5rem clamp(1rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--border);
}
.footer__top {
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
}
.footer__brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 1.25rem;
  max-width: 32ch;
}
.footer__col h5 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col li, .footer__col a {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  color: var(--text-faint);
  font-size: 0.82rem;
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a:hover { color: var(--accent); }

/* ------------------------------ Reveal on scroll ------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ------------------------------ Responsive ------------------------- */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .credentials__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .partners__feature { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .nav__links {
    position: fixed;
    top: 0; right: 0;
    width: 100%; max-width: 380px;
    height: 100vh; height: 100svh;
    background: rgba(5, 13, 26, 0.96);
    backdrop-filter: blur(24px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 2.5rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 99;
  }
  .nav__links.is-open { display: flex; transform: translateX(0); }
  .nav__links a { font-family: var(--font-display); font-size: 2rem; color: var(--text); font-weight: 300; }
}

@media (max-width: 720px) {
  .services__grid { grid-template-columns: 1fr; }
  .credentials__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / 3; }
  .field-row { grid-template-columns: 1fr; }
  .hero__meta { gap: 1rem; }
  .hero__meta-divider { display: none; }
  .hero__scroll { display: none; }
  .lang-switch { display: none; }
  .nav__brand em { display: none; }
  .about__visual { grid-template-columns: 1fr; }
  .about__visual-card--1 { grid-column: 1; }
  .contact__details li { grid-template-columns: 1fr; gap: 0.3rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .credentials__grid { grid-template-columns: 1fr; }
  .nav__actions .btn { display: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
