/* ═══════════════════════════════════════════════════
   COLOSSUSTECH — styles.css
   Colores: negro principal, #1A8779 secundario
   Fuente: Roboto / Roboto Condensed
═══════════════════════════════════════════════════ */

/* ─── VARIABLES ────────────────────────────────── */
:root {
  --c-bg:        #050505;
  --c-bg2:       #0a0a0a;
  --c-bg3:       #111111;
  --c-surface:   #141414;
  --c-surface2:  #1a1a1a;
  --c-border:    rgba(255,255,255,0.07);
  --c-text:      #e0e0e0;
  --c-muted:     #bdbdbd;
  --c-accent:    #0d5f54;
  --c-accent-l:  rgb(16, 105, 93);
  --c-accent-d:  #0d4f47;
  --c-accent-xd: #083530;
  --c-white:     #ffffff;

  --font-head: 'Roboto Condensed', sans-serif;
  --font-body: 'Roboto', sans-serif;

  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --nav-height: 72px;
  --nav-max:    1300px;

  --shadow-card: 0 0 0 1px var(--c-border), 0 8px 40px rgba(0,0,0,.5);
  --shadow-glow: 0 0 48px rgba(26,135,121,.14);
  --trans: all .28s cubic-bezier(.25,.46,.45,.94);
}

/* ─── RESET ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
}
a    { color: inherit; text-decoration: none; cursor: pointer; }
img  { max-width: 100%; }
button { cursor: pointer; }
ul   { list-style: none; }

/* ─── SCROLLBAR ────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-accent-d); border-radius: 10px; }

/* ─── CONTAINER ────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── TYPOGRAPHY HELPERS ───────────────────────── */
.section-label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-white);
  margin-bottom: 18px;
  letter-spacing: -.01em;
}
.section-desc {
  color: var(--c-muted);
  max-width: 520px;
  font-size: 1rem;
}
.gradient-text {
  background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-accent-l) 55%, #6ecfc9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-desc { margin: 0 auto; }

/* ─── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: .9rem; font-weight: 500;
  letter-spacing: .03em;
  transition: var(--trans);
  border: none; outline: none;
  position: relative; overflow: hidden;
}
.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: 0 0 20px rgba(26,135,121,.25);
}
.btn--primary:hover {
  background: var(--c-accent-l);
  box-shadow: 0 0 36px rgba(26,135,121,.4);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn--ghost:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  transform: translateY(-2px);
}
.btn--full { width: 100%; justify-content: center; }

/* ─── REVEAL ANIMATIONS ────────────────────────── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.25,.46,.45,.94),
              transform .65s cubic-bezier(.25,.46,.45,.94);
}
.reveal-left  { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translate(0);
}

/* ════════════════════════════════════════════════
   NAV — centrada con max-width interno
════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: var(--trans);
}
.nav.scrolled {
  background: rgba(5,5,5,.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
}

/* Inner wrapper: centra el contenido y limita el ancho */
.nav__inner {
  max-width: var(--nav-max);
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--trans);
}
.nav.scrolled .nav__inner {
  height: 58px;
}

.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 700; font-size: 1.05rem;
  letter-spacing: .06em; color: var(--c-white);
  flex-shrink: 0;
  text-decoration: none;
}

/* Imagen horizontal del logo */
.nav-logo-img {
  height: 36px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

/* Fallback de texto (oculto por defecto, visible si la imagen falla) */
.nav-logo-fallback {
  display: none;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 34px; height: 34px;
  background: var(--c-accent);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700;
  color: #fff; letter-spacing: .04em;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .06em;
}

.nav__links {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  padding: 8px 14px; border-radius: 6px;
  font-size: .88rem; font-weight: 400;
  color: var(--c-muted);
  transition: var(--trans);
  letter-spacing: .01em;
}
.nav-link:hover { color: var(--c-white); background: rgba(255,255,255,.05); }
.nav-link.active { color: var(--c-accent); }

.cta-nav {
  background: var(--c-accent) !important;
  color: var(--c-white) !important;
  padding: 8px 18px !important;
  font-weight: 500 !important;
  margin-left: 8px;
}
.cta-nav:hover { background: var(--c-accent-l) !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--c-text); border-radius: 2px;
  transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(5,5,5,.97); backdrop-filter: blur(20px);
  z-index: 99; align-items: center; justify-content: center;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul   { text-align: center; }
.mobile-menu li   { margin: 14px 0; }
.mob-link {
  font-family: var(--font-head); font-size: 2rem; font-weight: 700;
  color: var(--c-text); transition: var(--trans);
}
.mob-link:hover { color: var(--c-accent); }

/* ════════════════════════════════════════════════
   HERO — con soporte de imagen de fondo
════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

/*
 * IMAGEN DE FONDO DEL HERO
 * ─────────────────────────────────────────────────
 * REEMPLAZA CON TU IMAGEN:
 *   Coloca tu imagen en:  assets/hero-bg.jpg
 *   Formato recomendado:  JPG o WebP
 *   Dimensiones:          1920×1080px o mayor
 *
 * Descomenta la línea background-image cuando tengas la imagen:
*/
.hero__bg-image {
  position: absolute; inset: 0;
  background-image: url('assets/hero-bg.jpg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Overlay oscuro sobre la imagen (ajusta opacity según tu imagen) */
.hero__bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,5,5,.70) 0%,
    rgba(5,5,5,.55) 50%,
    rgba(5,5,5,.85) 100%
  );
  z-index: 1;
}

/* Grid decorativo (se ve encima del overlay) */
.hero__bg-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(26,135,121,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,135,121,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* Orbes de color */
.hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(110px); pointer-events: none; z-index: 2;
}
.hero__orb--1 {
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(26,135,121,.13) 0%, transparent 70%);
  top: -120px; right: -100px;
  animation: orb-float 9s ease-in-out infinite;
}
.hero__orb--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(26,135,121,.08) 0%, transparent 70%);
  bottom: 0px; left: -80px;
  animation: orb-float 11s ease-in-out infinite reverse;
}
@keyframes orb-float {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(24px,-24px) scale(1.04); }
}

/* Hero content — z-index 3 para estar sobre todo */
.hero__content {
  position: relative; z-index: 3;
  padding: 0 40px; max-width: 880px;
  margin: 0 auto; text-align: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,135,121,.1);
  border: 1px solid rgba(26,135,121,.22);
  border-radius: 100px; padding: 5px 15px;
  font-size: .76rem; letter-spacing: .1em; font-weight: 500;
  color: var(--c-accent-l); margin-bottom: 28px;
  text-transform: uppercase;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--c-accent); border-radius: 50%;
  box-shadow: 0 0 8px var(--c-accent);
  animation: pulse-dot 2.2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 6px var(--c-accent); }
  50%      { box-shadow: 0 0 14px var(--c-accent); }
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  font-weight: 700; line-height: 1.07;
  color: var(--c-white); margin-bottom: 22px;
  letter-spacing: -.01em;
}
.hero__sub {
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  color: rgba(224,224,224,.75);
  max-width: 580px; margin: 0 auto 36px;
  font-weight: 300;
}
.hero__actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* Stats bar */
.hero__stats {
  position: relative; z-index: 3;
  display: flex; justify-content: center; align-items: center;
  margin: 64px auto 0; max-width: 680px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  backdrop-filter: blur(12px);
}
.stat { text-align: center; padding: 0 32px; }
.stat__num {
  font-family: var(--font-head); font-size: 2.2rem; font-weight: 700;
  color: var(--c-white); line-height: 1;
}
.stat__suffix { color: var(--c-accent); font-size: 1.4rem; font-weight: 700; }
.stat p {
  font-size: .75rem; color: var(--c-muted);
  letter-spacing: .08em; text-transform: uppercase;
  margin-top: 4px;
}
.stat__divider {
  width: 1px; height: 44px; background: var(--c-border);
  flex-shrink: 0;
}

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .68rem; letter-spacing: .18em;
  color: rgba(255,255,255,.3); text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
  animation: scroll-anim 2.2s ease-in-out infinite;
}
@keyframes scroll-anim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════ */
.about {
  padding: 112px 0;
  background: var(--c-bg2);
  position: relative;
}
.about::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
}
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about__visual { position: relative; display: flex; flex-direction: column; gap: 16px; }

/* ── Imagen principal ── */
.about__img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
}
.about__img {
  width: 100%; height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.about__img-wrap:hover .about__img { transform: scale(1.03); }

/* Placeholder cuando no hay imagen */
.about__img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 320px;
  color: var(--c-muted);
  font-size: .82rem;
  text-align: center;
  line-height: 1.6;
}
.about__img-placeholder code {
  font-size: .78rem;
  color: var(--c-accent);
  background: rgba(26,135,121,.08);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Badge flotante sobre la imagen */
.about__img-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(5,5,5,.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(26,135,121,.3);
  border-radius: 100px; padding: 6px 14px;
  font-size: .76rem; font-weight: 500;
  letter-spacing: .06em; color: var(--c-accent-l);
}

/* Overlay sutil de gradiente en la imagen */
.about__img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,.4) 0%, transparent 50%);
  pointer-events: none;
}

.about__card-float {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 22px;
}
.quote {
  font-size: .92rem; color: var(--c-text);
  font-style: italic; line-height: 1.6; margin-bottom: 8px;
}
cite { font-size: .78rem; color: var(--c-muted); font-style: normal; }
.about__desc { color: var(--c-muted); margin-bottom: 14px; font-size: .95rem; }
.about__pillars { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.pillar { display: flex; align-items: flex-start; gap: 14px; }
.pillar__icon { font-size: 1.1rem; color: var(--c-accent); margin-top: 2px; flex-shrink: 0; }
.pillar strong { display: block; color: var(--c-white); font-size: .92rem; margin-bottom: 2px; font-weight: 500; }
.pillar p { font-size: .85rem; color: var(--c-muted); margin: 0; }

/* Footer logo */
.footer__logo { text-decoration: none; }
.footer-logo-img { height: 32px; width: auto; max-width: 180px; object-fit: contain; }

/* ════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════ */
.services {
  padding: 112px 0;
  position: relative;
  background: var(--c-bg);
}
.services__bg-line {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 100%;
  background: linear-gradient(to bottom,
    transparent,
    rgba(26,135,121,.08) 25%,
    rgba(26,135,121,.08) 75%,
    transparent);
  pointer-events: none;
}
.services__grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 18px;
}
.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 28px;
  position: relative; overflow: hidden;
  transition: var(--trans);
  display: flex; flex-direction: column; gap: 10px;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,135,121,.04), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover {
  border-color: rgba(26,135,121,.32);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }
.service-card.featured {
  border-color: rgba(26,135,121,.32);
  background: linear-gradient(140deg, rgba(26,135,121,.06) 0%, var(--c-surface) 55%);
}
.service-card__num {
  font-family: var(--font-head);
  font-size: .72rem; font-weight: 700;
  color: var(--c-accent); letter-spacing: .12em; opacity: .55;
}
.service-card__badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--c-accent); color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  letter-spacing: .06em; text-transform: uppercase;
}
.service-card__icon { margin: 2px 0 6px; }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 700;
  color: var(--c-white);
}
.service-card p { font-size: .88rem; color: var(--c-muted); flex: 1; line-height: 1.6; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.service-card__tags span {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  border-radius: 4px; padding: 3px 9px;
  font-size: .72rem; color: var(--c-muted);
}
.service-card__arrow {
  font-size: 1rem; color: var(--c-accent);
  opacity: 0; transform: translateX(-6px);
  transition: var(--trans);
}
.service-card:hover .service-card__arrow { opacity: 1; transform: translateX(0); }

/* ════════════════════════════════════════════════
   CLIENTS — Logo carousel (dos filas automáticas)
════════════════════════════════════════════════ */
.clients {
  padding: 112px 0 96px;
  background: var(--c-bg2);
  position: relative;
  overflow: hidden;
}
.clients::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,135,121,.35), transparent);
}

/* Fila contenedora */
.logos-row {
  position: relative;
  overflow: hidden;
  /* Fade en los bordes izquierdo y derecho */
  -webkit-mask: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}
.logos-row--mt { margin-top: 20px; }

/* Pista deslizante */
.logos-track {
  display: flex;
  width: max-content;
  gap: 0;
}

/* Animación → izquierda */
.logos-track--left {
  animation: scroll-left 32s linear infinite;
}
/* Animación → derecha */
.logos-track--right {
  animation: scroll-right 28s linear infinite;
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scroll-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Pausa al hover */
.logos-row:hover .logos-track { animation-play-state: paused; }

/* Tarjeta de logo individual */
.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  height: 80px;
  border-right: 1px solid var(--c-border);
  flex-shrink: 0;
  transition: var(--trans);

  /* Color apagado por defecto */
  color: rgba(255,255,255,.18);
}
.logo-card svg {
  height: 36px;
  width: auto;
  max-width: 160px;
  transition: var(--trans);
}
.logo-card:hover {
  color: var(--c-accent);
  background: rgba(26,135,121,.04);
}
.logo-card:hover svg { filter: drop-shadow(0 0 6px rgba(26,135,121,.4)); }

/* ════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════ */
.contact {
  padding: 112px 0;
  background: var(--c-bg);
  position: relative; overflow: hidden;
}
.contact__bg-orb {
  position: absolute; bottom: -200px; right: -200px;
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(26,135,121,.07) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
.contact__desc { color: var(--c-muted); margin-bottom: 32px; font-size: .95rem; }
.contact__channels { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.channel {
  display: flex; align-items: center; gap: 13px;
  color: var(--c-muted); font-size: .9rem; transition: var(--trans);
}
.channel:hover { color: var(--c-accent); }
.channel__icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(26,135,121,.07);
  border: 1px solid rgba(26,135,121,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
.contact__social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  padding: 7px 15px;
  border: 1px solid var(--c-border); border-radius: 6px;
  font-size: .8rem; color: var(--c-muted); transition: var(--trans);
}
.social-link:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* ─── FORM ─────────────────────────────────────── */
.contact__form-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl); padding: 40px;
}
.contact__form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .8rem; font-weight: 500;
  color: var(--c-text); letter-spacing: .01em;
}
.req { color: var(--c-accent); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--c-border);
  border-radius: 7px; padding: 11px 14px;
  color: var(--c-text); font-family: var(--font-body);
  font-size: .9rem; font-weight: 300;
  outline: none; transition: var(--trans);
  -webkit-appearance: none; appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 34px;
}
.form-group select option {
  background: var(--c-surface2);
  color: var(--c-text);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-muted); font-weight: 300; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-accent);
  background: rgba(26,135,121,.03);
  box-shadow: 0 0 0 3px rgba(26,135,121,.08);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e53e3e; }
.field-error { font-size: .76rem; color: #fc8181; min-height: 15px; }
textarea { resize: vertical; min-height: 110px; }

/* Honeypot */
.hp-field {
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

/* Captcha */
.captcha-group input[type="number"] { max-width: 120px; }

/* Alert */
.form-alert {
  padding: 12px 16px; border-radius: 7px;
  font-size: .88rem; border: 1px solid;
}
.form-alert.success {
  background: rgba(26,135,121,.08);
  border-color: rgba(26,135,121,.28);
  color: var(--c-accent-l);
}
.form-alert.error {
  background: rgba(229,62,62,.07);
  border-color: rgba(229,62,62,.28);
  color: #fc8181;
}
.form-alert.hidden { display: none; }
.hidden { display: none !important; }

.contact__grid > *,
.form-row > * {
  min-width: 0;
}

.form-group select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}


/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.footer {
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border);
  padding: 64px 0 0;
}
.footer__top {
  display: grid; grid-template-columns: 1fr 2fr; gap: 56px;
  padding-bottom: 48px; border-bottom: 1px solid var(--c-border);
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__brand p { font-size: .86rem; color: var(--c-muted); max-width: 260px; line-height: 1.6; }
.footer__links  { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.footer__col    { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  font-family: var(--font-head); font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-white);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: .86rem; color: var(--c-muted); transition: var(--trans);
}
.footer__col a:hover { color: var(--c-accent); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: .78rem; color: var(--c-muted);
}

/* Back to top */
.back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 42px; height: 42px; border-radius: 9px;
  background: var(--c-accent); color: #fff; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(26,135,121,.35);
  opacity: 0; pointer-events: none;
  transition: var(--trans); z-index: 90;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover   { transform: translateY(-3px); background: var(--c-accent-l); }

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .about__grid   { grid-template-columns: 1fr; gap: 44px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .services__grid { grid-template-columns: repeat(2,1fr); }
  .footer__top   { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .hamburger  { display: flex; }
  .container  { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }
  .hero__content { padding: 0 20px; }
  .hero__stats {
    padding: 18px 20px; flex-wrap: wrap;
    gap: 0; max-width: 100%; margin: 48px 20px 0;
  }
  .stat { padding: 10px 18px; }
  .stat__divider { height: 32px; }
  .services__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial-card { padding: 24px 20px; }
  .testimonials__track { padding: 0 20px; }
  .contact__form-wrap { padding: 24px 18px; }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  .stat__divider { display: none; }
  .footer__links { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; align-items: center; }
}
