/* ==========================================================================
   Technologies Plus SpA — Landing page styles
   Pure CSS, mobile-first, no frameworks
   ========================================================================== */

:root {
  --bg: #0a0e14;
  --bg-alt: #0e131b;
  --navy: #0f1c2c;
  --navy-soft: #24405c;
  --gold: #d4a72c;
  --gold-light: #f3cf72;
  --card: #12181f;
  --card-border: #212a34;
  --card-border-hover: #3a3120;
  --text: #f4f6f8;
  --text-muted: #a7b2bf;
  --text-soft: #6b7686;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --container: 1180px;
  --header-h: 76px;
  --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* subtle grain texture — keeps flat dark colors from feeling too plastic/digital */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  will-change: transform;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.no-js .btn:hover { transform: translateY(-2px); transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-fluid); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 14, 20, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}
.site-header.scrolled { background: rgba(10, 14, 20, 0.92); border-bottom-color: var(--card-border); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { object-fit: contain; flex-shrink: 0; }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.logo-text strong { font-weight: 700; color: var(--gold); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-link:hover, .nav-link.active-link { color: var(--text); border-bottom-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-primary { display: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Section basics ===== */
.section { padding: 84px 0; position: relative; z-index: 1; }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-fluid), transform 0.7s var(--ease-fluid); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* staggered fan-in for grid children */
.services-grid .reveal:nth-child(1), .why-grid .reveal:nth-child(1), .process-steps .reveal:nth-child(1) { transition-delay: 0s; }
.services-grid .reveal:nth-child(2), .why-grid .reveal:nth-child(2), .process-steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(3), .why-grid .reveal:nth-child(3), .process-steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(4), .why-grid .reveal:nth-child(4), .process-steps .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 64px;
  border-bottom: 1px solid var(--card-border);
}

.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 44px;
  max-width: 16ch;
}
.hero-title-mark-wrap { display: block; overflow: hidden; transition: height 0.4s var(--ease-fluid); }
.hero-title-mark {
  position: relative;
  display: inline-block;
  color: var(--gold-light);
  transition: opacity 0.4s var(--ease-fluid), transform 0.4s var(--ease-fluid);
}
.hero-title-mark.is-out { opacity: 0; transform: translateY(10px); }

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.hero-trust li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.hero-trust li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  background: var(--gold);
}

/* ===== Hero visual: code card ===== */
.hero-visual { position: relative; }
.code-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.2deg);
  will-change: transform;
}
.code-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--card-border);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-r { background: #e0705f; }
.dot-y { background: var(--gold); }
.dot-g { background: #5fae72; }
.code-title { margin-left: 8px; font-size: 0.74rem; font-weight: 600; color: var(--text-soft); font-family: 'Space Grotesk', monospace; }
.code-body { padding: 24px; overflow-x: auto; }
.code-body pre { margin: 0; }
.code-body code {
  font-family: 'Space Grotesk', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--text-muted);
  white-space: pre;
}
.c-tag { color: #7fa7c9; }
.c-attr { color: var(--gold-light); }
.c-str { color: #8fbf8f; }
.code-cursor { display: inline-block; background: var(--gold); width: 7px; margin-left: 2px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.code-tag {
  display: block;
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  text-align: center;
}

/* ===== Services Web (main) ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  margin-bottom: 64px;
}
.service-card {
  position: relative;
  background: var(--card);
  padding: 34px 28px;
  transition: background 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card:hover { background: #151c25; }
.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}
.service-icon {
  width: 46px; height: 46px;
  border: 1px solid var(--card-border);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.service-card:hover .service-icon { border-color: var(--gold); color: var(--gold-light); }
.service-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.service-card h3 { font-size: 1.18rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.service-card p { color: var(--text-muted); margin-bottom: 18px; font-size: 0.95rem; }
.service-list { display: flex; flex-direction: column; gap: 9px; }
.service-list li {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.process { border-top: 1px solid var(--card-border); padding-top: 56px; }
.process-title { font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 32px; }
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.process-step { position: relative; padding-top: 18px; border-top: 1px solid var(--card-border); }
.process-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}
.process-step h4 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.pricing-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.pricing-card--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212, 167, 44, 0.06), var(--card) 40%);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
}
.pricing-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.pricing-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; min-height: 2.6em; }
.pricing-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.3;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--card-border);
}
.pricing-price-note {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 6px;
}
.pricing-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex-grow: 1; }
.pricing-list li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.pricing-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }

/* ===== Why choose us ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
}
.why-card {
  background: var(--card);
  padding: 28px;
  transition: background 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.why-card:hover { background: #151c25; }
.why-icon {
  width: 40px; height: 40px;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.why-card h3 { font-size: 1.03rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== About (Sobre Nosotros) ===== */
.about-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}
.about-copy p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.about-copy p:last-child { margin-bottom: 0; }
.about-visual { display: flex; justify-content: center; }

.connect-card {
  width: 100%;
  max-width: 320px;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  text-align: center;
}
.connect-diagram {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
}
.connect-node {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.connect-node--us { border-color: var(--gold); }
.connect-line {
  position: relative;
  flex: 1;
  height: 2px;
  min-width: 40px;
  background: var(--card-border);
}
.connect-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(212, 167, 44, 0.7);
  animation: connect-travel 2.6s ease-in-out infinite;
}
@keyframes connect-travel {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}
.connect-caption { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--card-border); border: 1px solid var(--card-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item { background: var(--card); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.faq-icon { flex-shrink: 0; color: var(--gold); transition: transform 0.3s var(--ease-fluid); }
.faq-item.is-open .faq-icon { transform: rotate(180deg); }
.faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-fluid);
}
.faq-item.is-open .faq-answer-wrap { max-height: 300px; }
.faq-answer-inner p { padding: 0 22px 20px; font-size: 0.9rem; color: var(--text-muted); }

/* ===== Transport (secondary, compact) ===== */
.transport-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}
.transport-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--card-border);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.transport-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 14px 0 10px; }
.transport-content > p { color: var(--text-muted); margin-bottom: 20px; }
.transport-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  margin-bottom: 20px;
}
.spec { background: var(--card); padding: 12px 14px; }
.spec-label { display: block; font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-light); margin-bottom: 4px; }
.spec-value { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.transport-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 16px;
  margin-bottom: 24px;
  color: var(--gold);
}
.transport-notice svg { flex-shrink: 0; margin-top: 2px; }
.transport-notice p { font-size: 0.88rem; color: var(--text-muted); }
.transport-notice p strong { color: var(--text); }

/* ===== Contact ===== */
.contact-panel {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
}
.contact-form-wrap { padding: 40px 28px; }
.contact-form-wrap h2 { font-size: 1.6rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.contact-lead { color: var(--text-muted); margin-bottom: 30px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--gold-light); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-soft); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field select { cursor: pointer; }
.form-field select option { background: var(--navy); color: var(--text); }
.form-status { margin-top: 14px; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.form-status.success { color: #6fce8f; }
.form-status.error { color: #ea6b5c; }

.contact-info {
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
  color: var(--text);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
}
.contact-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 26px; }
.info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.info-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.info-title { font-size: 0.85rem; font-weight: 700; margin-bottom: 3px; }
.info-item p:last-child { font-size: 0.88rem; color: var(--text-muted); }

/* ===== Footer ===== */
.site-footer { position: relative; z-index: 1; background: var(--bg-alt); border-top: 1px solid var(--card-border); padding-top: 56px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 340px; margin: 16px 0 10px; }
.footer-legal { font-size: 0.8rem !important; color: var(--text-soft) !important; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-light); margin-bottom: 6px; }
.footer-col a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--card-border); padding: 20px 0; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-soft); text-align: center; }

/* ===== WhatsApp floating widget ===== */
.wa-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.wa-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring), background 0.2s ease;
  animation: wa-pulse 2.6s ease-out infinite;
}
.wa-btn:hover { background: #22c15e; }
.wa-btn:active { transform: scale(0.94); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-icon {
  position: absolute;
  transition: opacity 0.25s var(--ease-fluid), transform 0.25s var(--ease-fluid);
}
.wa-icon-chat { opacity: 1; transform: scale(1) rotate(0deg); }
.wa-icon-close { opacity: 0; transform: scale(0.5) rotate(-45deg); }
.wa-btn[aria-expanded="true"] .wa-icon-chat { opacity: 0; transform: scale(0.5) rotate(45deg); }
.wa-btn[aria-expanded="true"] .wa-icon-close { opacity: 1; transform: scale(1) rotate(0deg); }
.wa-btn[aria-expanded="true"] { animation: none; }

.wa-panel {
  width: min(300px, calc(100vw - 36px));
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-fluid), transform 0.3s var(--ease-fluid), visibility 0.3s;
}
.wa-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}

.wa-panel-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 10px 10px;
}

.wa-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.wa-option:hover { background: rgba(37, 211, 102, 0.1); color: var(--gold-light); }
.wa-option-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-option:hover .wa-option-icon { color: var(--gold); background: rgba(212, 167, 44, 0.14); }

@media (max-width: 480px) {
  .wa-widget { right: 14px; bottom: 14px; }
  .wa-btn { width: 54px; height: 54px; }
}

/* ==========================================================================
   Tablet and up
   ========================================================================== */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .transport-card { grid-template-columns: auto 1fr; align-items: flex-start; }
  .transport-specs { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .hero-title { font-size: 3.4rem; max-width: 20ch; }
  .hero-split { grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-panel { grid-template-columns: 1.3fr 1fr; }
  .section-title { font-size: 2.4rem; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-card--featured { transform: translateY(-12px); }
  .about-panel { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}

@media (min-width: 1024px) {
  .main-nav {
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    padding: 0;
    width: auto;
    height: auto;
  }
  .header-actions .btn-primary { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ===== Mobile nav (below 1024px) ===== */
@media (max-width: 1023px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(8, 12, 18, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .main-nav.open { opacity: 1; transform: translateY(0); visibility: visible; }
  .main-nav .nav-link { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--card-border); }
  .main-nav .nav-link:last-child { border-bottom: none; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .code-cursor { animation: none; }
  .wa-btn { animation: none; }
  .connect-pulse { animation: none; left: calc(50% - 4px); opacity: 1; }
}
