/* ===================================================
   JACEK MERING — SENIOR OFFSHORE SPECIALIST
   Design Direction: Authoritative · Minimal · Premium
   Palette: Near-black + warm off-white + amber line
   Fonts: Cormorant (display, editorial weight) · Inter (body, system-level precision)
   =================================================== */

/* ── TOKENS ── */
:root {
  /* Type */
  --t-xs:   clamp(0.72rem,  0.68rem + 0.2vw,  0.8rem);
  --t-sm:   clamp(0.875rem, 0.82rem + 0.28vw, 1rem);
  --t-base: clamp(1rem,     0.96rem + 0.2vw,  1.125rem);
  --t-md:   clamp(1.125rem, 1rem + 0.6vw,     1.5rem);
  --t-lg:   clamp(1.5rem,   1.1rem + 1.3vw,   2.5rem);
  --t-xl:   clamp(2rem,     1rem + 3vw,       4rem);
  --t-2xl:  clamp(2.8rem,   0.5rem + 6.5vw,   7rem);
  --t-hero: clamp(3.2rem,   0rem + 9vw,       9rem);

  /* Space */
  --sp-1:  0.25rem; --sp-2:  0.5rem;  --sp-3:  0.75rem;
  --sp-4:  1rem;    --sp-5:  1.25rem; --sp-6:  1.5rem;
  --sp-8:  2rem;    --sp-10: 2.5rem;  --sp-12: 3rem;
  --sp-16: 4rem;    --sp-20: 5rem;    --sp-24: 6rem;
  --sp-32: 8rem;

  /* Radius */
  --r-sm: 3px; --r-md: 6px; --r-lg: 10px; --r-full: 9999px;

  /* Transition */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:  220ms;

  /* Fonts */
  --f-display: 'Cormorant', 'Georgia', serif;
  --f-body:    'Inter', 'Helvetica Neue', sans-serif;

  /* Layout */
  --max-w: 1200px;
  --pad-x: clamp(var(--sp-5), 5vw, var(--sp-16));
}

/* ── DARK MODE (default) ── */
[data-theme="dark"], :root {
  --bg:           #080c14;
  --bg-2:         #0d1320;
  --bg-3:         #111927;
  --surface:      #131d2e;
  --border:       #1c2a3f;
  --border-hi:    #243448;

  --tx:           #e8ecf0;
  --tx-2:         #8899b0;
  --tx-3:         #3d5070;
  --tx-inv:       #080c14;

  --accent:       #c07a28;
  --accent-hi:    #e09a40;
  --accent-dim:   rgba(192,122,40,0.15);

  --wa-green:     #25d366;
  --wa-dark:      #128c7e;

  --sh-md: 0 4px 24px rgba(0,0,0,0.45);
  --sh-lg: 0 16px 64px rgba(0,0,0,0.6);
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --bg:           #f0ede8;
  --bg-2:         #f6f4f0;
  --bg-3:         #faf8f5;
  --surface:      #ffffff;
  --border:       #ddd9d2;
  --border-hi:    #c8c4bc;

  --tx:           #18140e;
  --tx-2:         #6b6358;
  --tx-3:         #b0a898;
  --tx-inv:       #f6f4f0;

  --accent:       #a06018;
  --accent-hi:    #c07830;
  --accent-dim:   rgba(160,96,24,0.10);

  --sh-md: 0 4px 24px rgba(20,14,8,0.08);
  --sh-lg: 0 16px 64px rgba(20,14,8,0.12);
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--tx);
  background: var(--bg);
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100dvh;
}

img, svg, video { display: block; max-width: 100%; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.1; font-weight: 400; }
p, li { max-width: 68ch; text-wrap: pretty; }
a { color: var(--accent); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent-hi); }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; }
input, textarea, select, button { font: inherit; color: inherit; }

::selection { background: var(--accent-dim); color: var(--tx); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── LAYOUT ── */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: clamp(var(--sp-16), 9vw, var(--sp-32)); }

/* ── EYEBROW + TITLES ── */
.eyebrow {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 400;
  color: var(--tx);
  line-height: 1.08;
  margin-bottom: var(--sp-6);
}
.section-title em { font-style: italic; color: var(--tx-2); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--tx);
  color: var(--bg);
  border-color: var(--tx);
}
.btn--primary:hover {
  background: var(--tx-2);
  border-color: var(--tx-2);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

.btn--outline {
  background: transparent;
  color: var(--tx);
  border-color: var(--border-hi);
}
.btn--outline:hover {
  border-color: var(--tx-2);
  color: var(--tx);
  background: var(--bg-2);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.2);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.35);
}

.btn--whatsapp {
  background: var(--wa-green);
  color: #ffffff;
  border-color: var(--wa-green);
}
.btn--whatsapp:hover {
  background: #1fb959;
  border-color: #1fb959;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.28);
}

.btn--lg { padding: var(--sp-4) var(--sp-8); font-size: var(--t-base); }
.btn--full { width: 100%; justify-content: center; }

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.fade-up.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── PULSE DOT ── */
.pulse-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #3ab77a;
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(58,183,122,0.45); }
  50%       { box-shadow: 0 0 0 6px rgba(58,183,122,0); }
}

/* ───────────────────────────────────────── */
/* NAVIGATION                                */
/* ───────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.4s ease, border-bottom 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin-inline: auto;
  padding: var(--sp-5) var(--pad-x);
  gap: var(--sp-8);
}

.nav__logo {
  display: flex; align-items: center; gap: var(--sp-3);
  font-family: var(--f-display); font-size: var(--t-md);
  font-weight: 400; letter-spacing: 0.02em;
  color: var(--tx); text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.nav__logo:hover { color: var(--accent); }

.nav__links { display: flex; gap: var(--sp-10); align-items: center; }

.nav__link {
  font-size: var(--t-sm); font-weight: 400; letter-spacing: 0.04em;
  color: var(--tx-2); text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--tx); }

.nav__actions { display: flex; align-items: center; gap: var(--sp-4); }

.nav__theme-toggle {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md); color: var(--tx-2);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__theme-toggle:hover { color: var(--tx); background: var(--bg-2); }

.nav__hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 7px; width: 36px; height: 36px; padding: 6px;
  border-radius: var(--r-md); color: var(--tx);
}
.nav__hamburger span {
  display: block; height: 1px; width: 100%;
  background: currentColor; transition: all 0.28s ease;
}
.nav.mobile-open .nav__hamburger span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.nav.mobile-open .nav__hamburger span:last-child  { transform: rotate(-45deg) translate(5px, -5px); }

.nav__mobile {
  display: none; flex-direction: column;
  padding: var(--sp-5) var(--pad-x) var(--sp-8);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.nav__mobile-link {
  font-size: var(--t-base); color: var(--tx);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}
.nav__mobile-wa { color: var(--wa-green); font-weight: 500; border-bottom: none; }

/* ───────────────────────────────────────── */
/* HERO                                      */
/* ───────────────────────────────────────── */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(4,8,18,0.95) 0%,
    rgba(4,8,18,0.78) 45%,
    rgba(4,8,18,0.42) 100%
  );
}

.hero__content {
  position: relative; z-index: 1;
  max-width: var(--max-w); width: 100%;
  margin-inline: auto;
  padding: calc(88px + clamp(var(--sp-20), 12vh, var(--sp-32))) var(--pad-x) clamp(var(--sp-20), 10vh, var(--sp-32));
}

.hero__discipline {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-6);
}

.hero__title {
  font-family: var(--f-display);
  font-size: var(--t-hero);
  font-weight: 300;
  line-height: 1.0;
  color: #ffffff;
  margin-bottom: var(--sp-8);
  max-width: 16ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
}

.hero__sub {
  font-size: var(--t-base);
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-width: 54ch;
  font-weight: 300;
  margin-bottom: var(--sp-5);
}

.hero__trust {
  font-family: var(--f-display);
  font-size: var(--t-md);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-6);
  max-width: 50ch;
}

.hero__meta {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-10);
}
.hero__dot { color: var(--accent); }

.hero__actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--accent) 0%, transparent 80%);
  opacity: 0.5;
}

/* ───────────────────────────────────────── */
/* CREDIBILITY STRIP                         */
/* ───────────────────────────────────────── */
.strip {
  background: var(--bg-2);
  border-block: 1px solid var(--border);
  padding-block: var(--sp-5);
  overflow: hidden;
}
.strip__inner {
  max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad-x);
  display: flex; align-items: center; gap: var(--sp-6);
  flex-wrap: wrap; justify-content: center;
}
.strip__item {
  font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--tx-2);
  white-space: nowrap;
}
.strip__sep {
  width: 1px; height: 16px;
  background: var(--border-hi); flex-shrink: 0;
}

/* ───────────────────────────────────────── */
/* ABOUT                                     */
/* ───────────────────────────────────────── */
.about__inner {
  display: grid; grid-template-columns: 1fr 1.25fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-20));
  align-items: start;
}

.about__frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-lg);
}
.about__frame img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  display: block;
}
/* Amber accent line on image */
.about__frame::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.about__avail {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  margin-top: var(--sp-5);
  font-size: var(--t-xs); font-weight: 500;
  color: var(--tx-2); letter-spacing: 0.04em;
}

.about__body {
  display: flex; flex-direction: column; gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}
.about__body p { font-size: var(--t-base); color: var(--tx-2); line-height: 1.8; }
.about__body p:first-child { font-family: var(--f-display); font-size: var(--t-md); color: var(--tx); font-weight: 300; }

.value-list {
  border-top: 1px solid var(--border);
  padding-top: var(--sp-8);
}
.value-list__heading {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--tx-2);
  margin-bottom: var(--sp-5);
}
.value-list__items {
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.value-list__items li {
  font-size: var(--t-sm); color: var(--tx);
  display: flex; align-items: baseline; gap: var(--sp-3);
  line-height: 1.5; max-width: none;
}
.value-list__items li::before {
  content: '';
  display: inline-block; width: 20px; height: 1px;
  background: var(--accent); flex-shrink: 0;
  margin-top: 0.6em;
}
.value-list__closer {
  margin-top: var(--sp-6); padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  font-family: var(--f-display); font-style: italic;
  font-size: var(--t-md); color: var(--tx-2); font-weight: 300;
  max-width: 44ch;
}

/* ───────────────────────────────────────── */
/* WHAT I SOLVE                              */
/* ───────────────────────────────────────── */
.solve { background: var(--bg-2); }
.solve__inner {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-24));
  align-items: start;
}
.solve__sub { font-size: var(--t-base); color: var(--tx-2); line-height: 1.7; }

.problem-list { display: flex; flex-direction: column; }
.problem-item {
  display: grid; grid-template-columns: 56px 1fr;
  gap: var(--sp-5); align-items: start;
  padding-block: var(--sp-6);
  border-bottom: 1px solid var(--border);
}
.problem-item:first-child { border-top: 1px solid var(--border); }
.problem-item__num {
  font-family: var(--f-display); font-size: var(--t-md);
  color: var(--tx-3); font-weight: 300; font-style: italic;
  line-height: 1; padding-top: 4px;
}
.problem-item strong {
  display: block; font-size: var(--t-sm); font-weight: 600;
  color: var(--tx); margin-bottom: var(--sp-2); letter-spacing: 0.01em;
}
.problem-item p { font-size: var(--t-sm); color: var(--tx-2); line-height: 1.65; max-width: none; }

/* ───────────────────────────────────────── */
/* HOW I WORK                                */
/* ───────────────────────────────────────── */
.how__header { margin-bottom: var(--sp-16); max-width: 680px; }
.how__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
}
.how-step {
  padding: var(--sp-8) var(--sp-6);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.how-step:hover { border-color: var(--border-hi); background: var(--bg-3); }
.how-step__n {
  display: block;
  font-family: var(--f-display); font-size: var(--t-lg);
  color: var(--tx-3); font-weight: 300; font-style: italic;
  margin-bottom: var(--sp-4); line-height: 1;
}
.how-step h3 {
  font-size: var(--t-sm); font-weight: 600; color: var(--tx);
  margin-bottom: var(--sp-3); letter-spacing: 0.01em;
}
.how-step p { font-size: var(--t-xs); color: var(--tx-2); line-height: 1.7; max-width: none; }

/* ───────────────────────────────────────── */
/* CAPABILITIES                              */
/* ───────────────────────────────────────── */
.capabilities { background: var(--bg-2); }
.capabilities__header { margin-bottom: var(--sp-16); }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cap-card {
  background: var(--bg-2);
  padding: var(--sp-10) var(--sp-8);
  transition: background var(--dur) var(--ease);
}
.cap-card:hover { background: var(--bg-3); }
.cap-card__num {
  font-family: var(--f-display); font-size: var(--t-md);
  color: var(--accent); font-weight: 400; font-style: italic;
  margin-bottom: var(--sp-4); line-height: 1;
}
.cap-card__title {
  font-size: var(--t-sm); font-weight: 600; color: var(--tx);
  margin-bottom: var(--sp-4); letter-spacing: 0.01em;
}
.cap-card__desc { font-size: var(--t-sm); color: var(--tx-2); line-height: 1.75; max-width: none; }

/* ───────────────────────────────────────── */
/* EXPERIENCE                                */
/* ───────────────────────────────────────── */
.experience__inner {
  display: grid; grid-template-columns: 1fr 1.8fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-20));
  align-items: start;
}
.experience__sub { font-size: var(--t-sm); color: var(--tx-2); margin-bottom: var(--sp-4); }
.geo-tags {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  margin-top: var(--sp-2);
}
.geo-tags span {
  font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.06em;
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid var(--border-hi); color: var(--tx-2);
  border-radius: var(--r-full);
}

.experience__list { display: flex; flex-direction: column; }
.exp-item {
  padding-block: var(--sp-8);
  border-bottom: 1px solid var(--border);
}
.exp-item:first-child { border-top: 1px solid var(--border); }
.exp-item__header {
  display: flex; justify-content: space-between; align-items: start;
  margin-bottom: var(--sp-4); gap: var(--sp-4); flex-wrap: wrap;
}
.exp-item__company {
  font-family: var(--f-display); font-size: var(--t-md);
  font-weight: 400; color: var(--tx); margin-bottom: var(--sp-1);
}
.exp-item__role { font-size: var(--t-xs); color: var(--tx-2); font-weight: 500; letter-spacing: 0.04em; }
.exp-item__type {
  font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.06em;
  padding: var(--sp-2) var(--sp-3);
  background: var(--accent-dim); color: var(--accent);
  border-radius: var(--r-full); white-space: nowrap; flex-shrink: 0;
}
.exp-item__desc { font-size: var(--t-sm); color: var(--tx-2); line-height: 1.75; max-width: none; }

/* ───────────────────────────────────────── */
/* CONTACT                                   */
/* ───────────────────────────────────────── */
.contact { background: var(--bg); }
.contact__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-20));
  align-items: start;
}

.contact__headline {
  font-family: var(--f-display); font-size: var(--t-xl);
  font-style: italic; font-weight: 300; color: var(--tx);
  margin-bottom: var(--sp-4); line-height: 1.1;
}
.contact__sub { font-size: var(--t-base); color: var(--tx-2); line-height: 1.75; margin-bottom: var(--sp-8); }
.contact__wa-btn { width: 100%; justify-content: center; margin-bottom: var(--sp-5); }

.contact__divider {
  text-align: center; font-size: var(--t-xs); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--tx-3);
  display: flex; align-items: center; gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.contact__divider::before, .contact__divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.contact__email {
  display: block; text-align: center;
  font-size: var(--t-base); font-weight: 400;
  color: var(--tx); letter-spacing: 0.02em;
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-8);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.contact__email:hover { border-color: var(--border-hi); background: var(--bg-2); color: var(--tx); }

.contact__details {
  display: flex; flex-direction: column; gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.contact__detail {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: var(--t-sm); color: var(--tx-2);
}
.contact__detail svg { color: var(--tx-3); flex-shrink: 0; }

.contact__rate {
  font-size: var(--t-xs); color: var(--tx-3); line-height: 1.6;
  padding-top: var(--sp-6); border-top: 1px solid var(--border);
  font-style: italic; max-width: none;
}

/* ── CONTACT FORM ── */
.contact-form-wrap {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-10);
}
.contact-form-wrap__title {
  font-family: var(--f-display); font-size: var(--t-lg);
  font-weight: 400; color: var(--tx);
  margin-bottom: var(--sp-2);
}
.contact-form-wrap__sub { font-size: var(--t-sm); color: var(--tx-2); margin-bottom: var(--sp-8); }

.contact-form { display: flex; flex-direction: column; gap: var(--sp-5); }
.fg { display: flex; flex-direction: column; gap: var(--sp-2); }
.fl { font-size: var(--t-sm); font-weight: 500; color: var(--tx); }
.fi {
  width: 100%; padding: var(--sp-3) var(--sp-4);
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-md); color: var(--tx);
  font-size: var(--t-sm); line-height: 1.5;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
}
.fi::placeholder { color: var(--tx-3); }
.fi:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.fi--select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238899b0' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px;
}
.fi--ta { resize: vertical; min-height: 100px; }
.form-ok {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4); border-radius: var(--r-md);
  background: rgba(58,183,122,0.08);
  border: 1px solid rgba(58,183,122,0.2);
  font-size: var(--t-sm); color: var(--tx);
}
.form-ok svg { color: #3ab77a; flex-shrink: 0; }

/* ───────────────────────────────────────── */
/* FOOTER                                    */
/* ───────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-block: var(--sp-8);
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--sp-5);
}
.footer__brand {
  display: flex; align-items: center; gap: var(--sp-3);
  font-family: var(--f-display); font-size: var(--t-md);
  color: var(--tx-2);
}
.footer__copy { font-size: var(--t-xs); color: var(--tx-3); max-width: none; }
.footer__copy a { color: var(--tx-2); }
.footer__nav { display: flex; gap: var(--sp-6); flex-wrap: wrap; }
.footer__nav a { font-size: var(--t-xs); color: var(--tx-2); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; transition: color var(--dur) var(--ease); }
.footer__nav a:hover { color: var(--tx); }

/* ───────────────────────────────────────── */
/* WHATSAPP FLOAT                            */
/* ───────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: var(--sp-6); right: var(--sp-6);
  z-index: 300;
  display: flex; align-items: center; gap: var(--sp-3);
  background: var(--wa-green);
  color: #ffffff !important;
  border-radius: var(--r-full);
  padding: var(--sp-3) var(--sp-5) var(--sp-3) var(--sp-4);
  box-shadow: 0 6px 32px rgba(37,211,102,0.35), 0 2px 8px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  max-width: calc(100vw - var(--sp-12));
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(37,211,102,0.45), 0 4px 12px rgba(0,0,0,0.3);
  color: #ffffff !important;
}
.wa-float svg { flex-shrink: 0; }
.wa-float__label {
  display: flex; flex-direction: column; line-height: 1.2;
  font-size: var(--t-xs); font-weight: 600; white-space: nowrap;
}
.wa-float__label small { font-weight: 400; opacity: 0.82; font-size: 0.7rem; letter-spacing: 0.02em; }
.wa-float__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  flex-shrink: 0; margin-left: var(--sp-1);
  animation: wa-pulse 2.8s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* Compact on very small screens */
@media (max-width: 480px) {
  .wa-float { padding: var(--sp-4); border-radius: 50%; width: 56px; height: 56px; justify-content: center; }
  .wa-float__label, .wa-float__dot { display: none; }
}

/* ───────────────────────────────────────── */
/* RESPONSIVE                                */
/* ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .how__steps { grid-template-columns: repeat(3, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav.mobile-open .nav__mobile { display: flex; }

  .hero__title { max-width: none; }
  .hero__sub { max-width: none; }

  .about__inner { grid-template-columns: 1fr; }
  .about__frame img { aspect-ratio: 16/9; }

  .solve__inner { grid-template-columns: 1fr; gap: var(--sp-10); }

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

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

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

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

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__nav { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .how__steps { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .strip__sep { display: none; }
  .strip__inner { justify-content: flex-start; gap: var(--sp-3); }
  .contact-form-wrap { padding: var(--sp-6); }
}
