:root {
  --bg: #070e1d;
  --bg-soft: #0b1526;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e8eef7;
  --text-soft: #9fb0c7;
  --text-faint: #64748d;
  --navy: #1c3a6b;
  --navy-mid: #3a5d92;
  --blue-light: #7d9cc9;
  --accent: #2fd4ff;
  --accent-soft: rgba(47, 212, 255, 0.12);
  --accent-dark: #00a8c7;
  --white: #ffffff;
  --font-heading: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html.i18n-loading body { visibility: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
}

::selection { background: rgba(47, 212, 255, 0.35); color: var(--white); }

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

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

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 16px; }

a { color: var(--accent); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
}

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

.btn-primary {
  background: linear-gradient(120deg, var(--accent) 0%, #1e8fd4 100%);
  color: #04101f;
  box-shadow: 0 8px 30px -12px rgba(47, 212, 255, 0.55);
}
.btn-primary:hover { box-shadow: 0 14px 40px -12px rgba(47, 212, 255, 0.75); }

.btn-outline {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); }

@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
  .reveal[data-delay="1"] { transition-delay: 0.1s; }
  .reveal[data-delay="2"] { transition-delay: 0.2s; }
  .reveal[data-delay="3"] { transition-delay: 0.3s; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}

/* O topo da página é claro para o logo aparecer na cor original, então o
   cabeçalho fixo também usa vidro claro ao rolar sobre o conteúdo escuro. */
.site-header.scrolled {
  background: rgba(234, 241, 249, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(14, 31, 61, 0.14);
  box-shadow: 0 10px 40px -22px rgba(4, 12, 26, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo-link { flex-shrink: 0; }

.logo {
  height: 42px;
  width: auto;
}

.main-nav { display: flex; gap: 30px; margin-left: auto; }

.main-nav a {
  position: relative;
  color: #3d5a86;
  font-weight: 500;
  font-size: 0.92rem;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--navy); }

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 2px;
  background: var(--accent);
  transition: right 0.28s ease;
}
.main-nav a:hover::after { right: 0; }

.lang-switch {
  display: flex;
  gap: 4px;
  margin-left: 28px;
  border: 1px solid rgba(14, 31, 61, 0.16);
  border-radius: 8px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.45);
}

.lang-btn {
  padding: 5px 11px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #62789b;
  cursor: pointer;
  transition: all 0.18s ease;
}

.lang-btn:hover { color: var(--navy); }

.lang-btn.active {
  background: var(--navy);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Faixa clara no topo (onde fica o logo) descendo para o azul profundo.
     As paradas são em px, não em %, para o texto do hero cair sempre na
     região escura independentemente da altura da tela. */
  background:
    radial-gradient(ellipse 60% 50% at 15% 110%, rgba(0, 168, 199, 0.18), transparent 60%),
    linear-gradient(180deg,
      #eef4fa 0px,
      #e4edf7 54px,
      #a2bcd8 88px,
      #3d5d8e 126px,
      #122440 166px,
      var(--bg) 220px);
  overflow: hidden;
  padding: 140px 0 40px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 156, 201, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 156, 201, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  /* Some na faixa clara do topo e volta a aparecer sobre o azul escuro. */
  mask-image: linear-gradient(180deg, transparent 300px, rgba(0,0,0,0.85) 480px, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, transparent 300px, rgba(0,0,0,0.85) 480px, transparent 95%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  will-change: transform;
}

.hero-glow-1 {
  width: 480px;
  height: 480px;
  background: rgba(47, 212, 255, 0.14);
  top: 300px;
  right: -120px;
}

.hero-glow-2 {
  width: 380px;
  height: 380px;
  background: rgba(58, 93, 146, 0.28);
  bottom: -100px;
  left: -80px;
}

#wave-canvas {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 46%;
  pointer-events: none;
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 30px;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px rgba(47, 212, 255, 0.8);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 30%, #9cc3e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero stats */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: clamp(30px, 6vw, 90px);
  margin-top: clamp(50px, 8vh, 90px);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 130px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.stat-number .stat-plus { color: var(--accent); }

.stat-label {
  font-size: 0.82rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-badge, .hero h1, .hero-subtitle, .hero-actions, .hero-stats {
    opacity: 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero-badge { animation-delay: 0.05s; }
  .hero h1 { animation-delay: 0.15s; }
  .hero-subtitle { animation-delay: 0.28s; }
  .hero-actions { animation-delay: 0.4s; }
  .hero-stats { animation-delay: 0.55s; }
  .hero-glow-1 { animation: floatGlow1 14s ease-in-out infinite; }
  .hero-glow-2 { animation: floatGlow2 17s ease-in-out infinite; }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatGlow1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 30px); }
}

@keyframes floatGlow2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(35px, -25px); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marqueeScroll 30s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-group span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  padding: 0 28px;
}

.marquee-group span::after {
  content: "◆";
  color: var(--accent);
  font-size: 0.5rem;
  margin-left: 56px;
  vertical-align: middle;
  opacity: 0.7;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vh, 130px) 0; position: relative; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section-lead { max-width: 640px; color: var(--text-soft); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-text p { color: var(--text-soft); }

.about-highlights {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.about-highlights li {
  position: relative;
  padding: 14px 16px 14px 48px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.about-highlights li:hover {
  border-color: rgba(47, 212, 255, 0.4);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.about-highlights li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(47, 212, 255, 0.5);
}

.about-highlights li::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 50%;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(-45deg);
}

.about-figure { position: relative; }

.about-figure-inner {
  aspect-ratio: 4/5;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(rgba(125, 156, 201, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 156, 201, 0.08) 1px, transparent 1px),
    linear-gradient(160deg, var(--navy) 0%, #12294e 55%, rgba(0, 168, 199, 0.5) 130%);
  background-size: 36px 36px, 36px 36px, 200% 200%;
  overflow: hidden;
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .about-figure-inner { animation: gradientDrift 12s ease-in-out infinite; }
}

@keyframes gradientDrift {
  0%, 100% { background-position: 0 0, 0 0, 0% 50%; }
  50% { background-position: 0 0, 0 0, 100% 50%; }
}

.about-figure-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(47, 212, 255, 0.22), transparent 70%);
}

/* O desenho fica acima do brilho do ::after */
.vessel-art {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.figure-card {
  position: absolute;
  bottom: 24px;
  left: -30px;
  background: rgba(11, 21, 38, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

.figure-card-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.figure-card-label {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 4px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 212, 255, 0.45);
  background: var(--bg-card-hover);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 40px -20px rgba(47, 212, 255, 0.4);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 212, 255, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid rgba(47, 212, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08);
  box-shadow: 0 0 24px -6px rgba(47, 212, 255, 0.5);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-faint);
}

.service-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.service-card p { color: var(--text-soft); margin-bottom: 0; font-size: 0.92rem; }

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.portfolio-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: default;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 212, 255, 0.45);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85), 0 0 44px -22px rgba(47, 212, 255, 0.45);
}

.portfolio-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-mid), #12294e);
  position: relative;
}

.portfolio-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 14, 29, 0) 55%, rgba(7, 14, 29, 0.55) 100%);
  pointer-events: none;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: saturate(0.85) brightness(0.92);
}

.portfolio-item:hover .portfolio-thumb img {
  transform: scale(1.07);
  filter: saturate(1.05) brightness(1);
}

.portfolio-body { padding: 22px 24px 26px; }

.portfolio-item h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  transition: color 0.25s ease;
}
.portfolio-item:hover h3 { color: var(--accent); }

.portfolio-item p { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info > p { color: var(--text-soft); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.contact-list li:hover { border-color: rgba(47, 212, 255, 0.4); transform: translateX(6px); }

.contact-list li strong { color: var(--text); font-weight: 600; }

.contact-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid rgba(47, 212, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px;
  backdrop-filter: blur(8px);
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 20px;
  resize: vertical;
  background: rgba(7, 14, 29, 0.6);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-faint); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 212, 255, 0.15);
}

.contact-form .btn { align-self: flex-start; border: none; }

.form-feedback {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--accent);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #050a15;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-logo {
  height: 42px;
  width: auto;
  /* Rodapé é escuro: usa a versão em branco, que é uma variante oficial da marca. */
  filter: brightness(0) invert(1);
  opacity: 0.92;
  margin-bottom: 16px;
}

.footer-tagline { color: var(--text-faint); font-size: 0.9rem; max-width: 300px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 18px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }

.footer-col a, .footer-col span {
  color: var(--text-faint);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { margin: 0; font-size: 0.82rem; color: var(--text-faint); }

.footer-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-figure { order: -1; max-width: 480px; }
  .figure-card { left: 16px; }
  .services-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(238, 244, 250, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid rgba(14, 31, 61, 0.14);
    box-shadow: 0 20px 40px -24px rgba(4, 12, 26, 0.5);
    display: none;
    gap: 20px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .lang-switch { margin-left: 10px; }
  .hero { padding-top: 120px; }
  .hero-stats { gap: 26px; }
  .stat { min-width: 96px; }
  .services-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-form { padding: 26px 20px; }
}
