/* ==========================================================================
   GabiTech Services & Consulting — styles.css
   Modern glassmorphism marketing site. Plain CSS, no framework.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --bg-0: #050b1a;
  --bg-1: #071125;
  --bg-2: #0a1830;
  --ink: #eaf2ff;
  --ink-soft: #b9c7e0;
  --ink-mute: #7f90b0;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --indigo: #6366f1;

  --grad: linear-gradient(120deg, #22d3ee 0%, #3b82f6 55%, #6366f1 100%);
  --grad-soft: linear-gradient(120deg, rgba(34, 211, 238, 0.16), rgba(99, 102, 241, 0.16));

  /* Surfaces */
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-hi: rgba(255, 255, 255, 0.28);

  /* Elevation */
  --shadow-sm: 0 4px 16px rgba(2, 8, 23, 0.4);
  --shadow-md: 0 16px 40px rgba(2, 8, 23, 0.5);
  --shadow-glow: 0 10px 40px rgba(34, 211, 238, 0.28);

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.25rem);
  --section-pad: clamp(4.5rem, 10vw, 8rem);
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

::selection {
  background: rgba(34, 211, 238, 0.32);
  color: #fff;
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.65rem 1.1rem;
  background: var(--cyan);
  color: #04121f;
  font-weight: 700;
  border-radius: var(--r-sm);
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  background: var(--glass);
  backdrop-filter: blur(8px);
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Ambient background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(34, 211, 238, 0.14), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 45%, #04070f 100%);
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}

.orb--1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.5), transparent 70%);
  top: -120px;
  right: -80px;
  animation: drift 18s var(--ease) infinite alternate;
}

.orb--2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.5), transparent 70%);
  top: 40%;
  left: -140px;
  animation: drift 22s var(--ease) infinite alternate-reverse;
}

.orb--3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 70%);
  bottom: -100px;
  right: 20%;
  animation: drift 26s var(--ease) infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(40px, 50px, 0) scale(1.12);
  }
}

/* ---------- Glass card ---------- */
.glass-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.35), transparent 40%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--r-pill);
  padding: 0.85rem 1.7rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}

.btn--sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.92rem;
}

.btn--lg {
  padding: 1.05rem 2rem;
  font-size: 1.02rem;
}

.btn--primary {
  background: var(--grad);
  color: #04121f;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(34, 211, 238, 0.4);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-hi);
  background: var(--glass-strong);
}

.btn__icon {
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(5, 11, 26, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--glass-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
}

.brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.brand__name {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.brand__sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-top: 0.18rem;
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.brand__mark img {
  width: 32px;
  height: auto;
}

.brand__accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.nav-list li::marker {
  content: none;
}

.nav-link {
  position: relative;
  padding: 0.55rem 1rem;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink-soft);
  border-radius: var(--r-pill);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--ink);
}

.nav-cta {
  margin-left: 0.6rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--r-sm);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  backdrop-filter: blur(10px);
  margin-bottom: 1.8rem;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 211, 238, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
  }
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 2rem + 5.2vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 15ch;
  margin-bottom: 1.4rem;
}

.hero__lead {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  margin-bottom: 2.4rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.2rem;
  padding-inline: var(--gutter);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  padding: 1.4rem clamp(1.5rem, 4vw, 2.5rem);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 90px;
}

.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.hero__scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--glass-border-hi);
  border-radius: var(--r-pill);
  display: flex;
  justify-content: center;
  padding-top: 7px;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
}

.hero__scroll:hover {
  opacity: 1;
}

.hero__scroll-wheel {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan);
  animation: scrollWheel 1.8s var(--ease) infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(12px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: stretch;
}

.about__statement {
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  background:
    radial-gradient(400px 200px at 20% 0%, rgba(34, 211, 238, 0.12), transparent 60%),
    var(--glass);
}

.about__quote {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.7rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.about__quote::before {
  content: "\201C";
  display: block;
  font-size: 3rem;
  line-height: 0.6;
  margin-bottom: 0.6rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about__note {
  color: var(--ink-soft);
}

.about__points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.4rem;
  flex: 1;
}

.point__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  color: var(--cyan);
  background: var(--grad-soft);
  border: 1px solid var(--glass-border);
}

.point h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.point p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2.4vw, 1.6rem);
}

.service-card {
  padding: clamp(1.6rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    320px 200px at var(--mx, 50%) var(--my, 0%),
    rgba(34, 211, 238, 0.14),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hi);
  box-shadow: var(--shadow-md);
}

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

.service-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  color: #04121f;
  background: var(--grad);
  box-shadow: var(--shadow-glow);
  margin-bottom: 0.4rem;
}

.service-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.service-card__tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.service-card__text {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.service-card--featured {
  grid-column: span 2;
  background:
    radial-gradient(520px 260px at 0% 0%, rgba(34, 211, 238, 0.14), transparent 60%),
    var(--glass);
}

.service-card__badge {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--grad-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  padding: 0.32rem 0.75rem;
}

.service-card--wide {
  grid-column: span 2;
  background:
    radial-gradient(500px 220px at 90% 50%, rgba(99, 102, 241, 0.16), transparent 60%),
    var(--glass);
}

.service-card--wide .service-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ---------- Expertise ---------- */
.expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 2vw, 1.1rem);
}

.chip {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--r-md);
}

.chip__num {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--cyan);
  background: var(--grad-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  padding: 0.3rem 0.5rem;
  min-width: 2.2rem;
  text-align: center;
}

.chip:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hi);
  background: var(--glass-strong);
}

/* ---------- CTA band ---------- */
.cta-band {
  padding-block: clamp(2rem, 6vw, 4rem);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(34, 211, 238, 0.16), transparent 60%),
    var(--glass-strong);
}

.cta-band__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.cta-band__text {
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

.contact-form {
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field__opt {
  color: var(--ink-mute);
  font-weight: 400;
}

.field__input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.field__input::placeholder {
  color: var(--ink-mute);
}

.field__input:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.14);
}

select.field__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237f90b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

select.field__input option {
  background: var(--bg-1);
  color: var(--ink);
}

textarea.field__input {
  resize: vertical;
  min-height: 130px;
}

.field.has-error .field__input {
  border-color: #f87171;
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.14);
}

.field__error {
  font-size: 0.82rem;
  color: #fca5a5;
  min-height: 1em;
}

.form-status {
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 1.2em;
}

.form-hp {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status.is-success {
  color: #6ee7b7;
}

.form-status.is-error {
  color: #fca5a5;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-info__card {
  padding: clamp(1.4rem, 3vw, 1.9rem);
}

.contact-info__heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.info-item__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  color: var(--cyan);
  background: var(--grad-soft);
  border: 1px solid var(--glass-border);
}

.info-item__label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

.info-item__value {
  font-weight: 600;
  color: var(--ink);
}

a.info-item__value:hover {
  color: var(--cyan);
}

.contact-info__map {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.3rem;
  min-height: 150px;
  background:
    radial-gradient(200px 120px at 50% 40%, rgba(34, 211, 238, 0.14), transparent 70%),
    var(--glass);
}

.contact-info__map-pin {
  color: var(--cyan);
  margin-bottom: 0.3rem;
}

.contact-info__map-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-info__map-sub {
  color: var(--ink-mute);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(4, 8, 18, 0.6);
  backdrop-filter: blur(12px);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.8rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer__tag {
  color: var(--ink-mute);
  margin-top: 0.9rem;
  max-width: 30ch;
}

.site-footer__heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer__links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.3s var(--ease);
}

.site-footer__links a:hover {
  color: var(--cyan);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--glass-border);
  color: var(--ink-mute);
  font-size: 0.88rem;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #04121f;
  background: var(--grad);
  box-shadow: var(--shadow-glow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--featured {
    grid-column: span 1;
  }

  .service-card--wide {
    grid-column: span 2;
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1.2rem var(--gutter) 1.6rem;
    background: rgba(5, 11, 26, 0.92);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.3s var(--ease),
      visibility 0.3s;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }

  .nav-link {
    display: block;
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--r-md);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.is-active {
    background: var(--glass);
  }

  .nav-cta {
    margin: 0.6rem 0 0;
    justify-content: center;
  }

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

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

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 66px;
  }

  .hero__actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero__stats {
    flex-direction: column;
    gap: 1.1rem;
    align-items: center;
  }

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

  .service-card--featured {
    grid-column: span 1;
  }

  .service-card--wide {
    grid-column: span 1;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Reduced motion ---------- */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
