/* ====================================================
   Automatilab 2026 — styles.css
   Tema: Naranja · Dark
   ==================================================== */

/* ---------- Reset & Custom Properties ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:         #07090e;
  --surface:    #0f1117;
  --surface-2:  #14161f;
  --surface-3:  #1c1e2a;
  --accent:     #ff8a4c;
  --accent-h:   #ff7432;
  --accent-ink: #1a0d04;
  --text:       #e9edf6;
  --muted:      #7a7d8f;
  --border:     #1e2030;
  --border-h:   #2a2d40;
  --radius:     12px;
  --font-head:  'Archivo', -apple-system, sans-serif;
  --font-body:  -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

/* ---------- Utilities ---------- */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.block {
  padding: 96px 0;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 60px;
}

.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 8px;
}

.lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 440px;
}

.accent { color: var(--accent); }
.dim    { color: var(--muted);  }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-accent:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,138,76,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-h);
}
.btn-ghost:hover {
  border-color: var(--muted);
  background: var(--surface);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

.link-quiet {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.15s;
}
.link-quiet:hover { color: var(--text); }

/* ---------- Scroll animations ---------- */
.anim {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.anim.visible {
  opacity: 1;
  transform: none;
}
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }
.anim-delay-5 { transition-delay: 0.5s; }

/* ============================================
   HEADER
   ============================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.header-nav > a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.header-nav > a:hover { color: var(--text); }

/* Language switcher */
.lang-wrap {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.lang-btn:hover { border-color: var(--muted); }

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  min-width: 130px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 100;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.lang-menu button:hover { background: var(--surface-3); color: var(--text); }
.lang-menu button.active { color: var(--accent); font-weight: 600; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 160px 0 110px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,138,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,138,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 20%, transparent 100%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 12px 0 26px;
  max-width: 840px;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-meta b { color: var(--text); font-weight: 600; }

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-cell {
  background: var(--bg);
  padding: 32px 28px 36px;
  transition: background 0.2s;
}
.service-cell:hover {
  background: var(--surface);
}
.num {
  display: block;
  font-size: 12px;
  font-family: var(--font-head);
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.service-cell h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.service-cell p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================
   WHY AUTOMATILAB
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-grid h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 10px 0 28px;
  white-space: pre-line;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tick {
  width: 22px;
  height: 22px;
  background: rgba(255,138,76,0.12);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}
.why-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Terminal */
.terminal {
  background: #0c0e14;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 13.5px;
}

.terminal-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.terminal-bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-h);
}
.terminal-bar i:nth-child(1) { background: #ff5f56; }
.terminal-bar i:nth-child(2) { background: #ffbd2e; }
.terminal-bar i:nth-child(3) { background: #27c93f; }

.terminal-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  line-height: 1.5;
}
.terminal-body > div { color: var(--muted); }
.p   { color: var(--accent); }
.ok  { color: #27c93f; }
.hl  { color: var(--accent); font-weight: 600; }

.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ============================================
   CLIENTS
   ============================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.client-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,138,76,0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.client-visual {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Logo box: white-tinted container for logos with light backgrounds */
.logo-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 78%;
}
.logo-box img {
  max-height: 60px;
  max-width: 200px;
  object-fit: contain;
}

/* Client card cover image (Pellarolo banner) */
.client-visual .cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Circular logos (IPA, Florinda) */
.client-logo-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* Logo wall image styles */

/* Client visual gradients */
.cv-jp  { background: linear-gradient(135deg, #0e1540 0%, #1c1060 100%); }
.cv-hki { background: linear-gradient(135deg, #0d1620 0%, #1a2535 100%); }
.cv-jt  { background: linear-gradient(135deg, #051a10 0%, #0c2e1a 100%); }

.client-visual svg { opacity: 0.9; }

.client-body {
  padding: 22px 22px 26px;
}

.client-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.client-body h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.client-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.client-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.15s;
}
.client-card:hover .client-link { gap: 10px; }

/* ============================================
   SHOWCASE (Cervecería IPA + Florinda)
   ============================================ */
.showcase {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.showcase-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.showcase-card:hover {
  border-color: rgba(255,138,76,0.35);
  transform: translateY(-3px);
}

.sc-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cv-ipa { background: linear-gradient(135deg, #1a0c00 0%, #2b1500 100%); }
.cv-fl  { background: linear-gradient(135deg, #0d0a05 0%, #1e1508 100%); }

.sc-body { padding: 24px; }

.sc-body h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.sc-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.sc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ============================================
   QUOTE CHAT
   ============================================ */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.quote-side h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 10px 0 16px;
}

.quote-side > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.quote-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-step-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.quote-step-row b {
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--border-h);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  width: 22px;
}
.quote-step-row.done {
  color: var(--text);
}
.quote-step-row.done b { color: var(--accent); }
.tick-mini {
  color: var(--accent);
  font-size: 13px;
  flex-shrink: 0;
}

/* Chat shell */
.chat-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  height: 520px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,0.25);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  flex-shrink: 0;
}
.chat-head .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.online-dot {
  width: 8px;
  height: 8px;
  background: #2dc653;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(45,198,83,0.2);
}
.chat-head .status {
  font-size: 12px;
  color: #2dc653;
}

.chat-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.chat-scroll::-webkit-scrollbar { width: 4px; }
.chat-scroll::-webkit-scrollbar-track { background: transparent; }
.chat-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  animation: msgIn 0.3s ease;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.msg.bot {
  background: var(--surface-2);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.msg.user {
  background: var(--accent);
  color: var(--accent-ink);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.msg.bot.success { background: rgba(45,198,83,0.12); border: 1px solid rgba(45,198,83,0.2); color: #2dc653; }
.msg.bot.error   { background: rgba(255,80,80,0.1);  border: 1px solid rgba(255,80,80,0.2);  color: #ff5050; }

/* Typing indicator */
.msg.typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 14px 18px;
}
.msg.typing i {
  width: 7px; height: 7px;
  background: var(--muted);
  border-radius: 50%;
  animation: typeDot 1.2s infinite;
  list-style: none;
}
.msg.typing i:nth-child(2) { animation-delay: 0.18s; }
.msg.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typeDot {
  0%, 60%, 100% { opacity: 0.3; transform: scale(1);   }
  30%            { opacity: 1;   transform: scale(1.25); }
}

/* Summary card */
.summary-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  align-self: stretch;
  animation: msgIn 0.3s ease;
}
.summary-card dl { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.summary-card dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.summary-card dd {
  font-size: 13.5px;
  color: var(--text);
  margin-left: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.summary-card dd:last-child { border-bottom: none; padding-bottom: 0; }

.summary-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Chat input zone */
.chat-input-zone {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  flex-shrink: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 7px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.chip:hover {
  border-color: var(--accent);
  background: rgba(255,138,76,0.08);
  color: var(--accent);
}

.chat-form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-form input,
.chat-form textarea {
  flex: 1;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  resize: none;
  transition: border-color 0.15s;
}
.chat-form input:focus,
.chat-form textarea:focus { border-color: var(--accent); }

.send-btn {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.12s;
  font-weight: 700;
  line-height: 1;
}
.send-btn:hover:not(:disabled) {
  background: var(--accent-h);
  transform: scale(1.06);
}
.send-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.input-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 8px;
}
.input-error {
  font-size: 12px;
  color: #ff5050;
  margin-top: 6px;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 1px;
  background: var(--border);
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}
.stat-value {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* ============================================
   LOGO WALL
   ============================================ */
.logo-wall-head {
  text-align: center;
  margin-bottom: 48px;
}
.logo-wall-head .eyebrow { display: block; }

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.logo-slot {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 10px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  transition: border-color 0.15s;
}
.logo-slot:hover { border-color: var(--accent); }
.logo-slot img {
  max-height: 52px;
  max-width: 110px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.logo-slot:hover img { opacity: 1; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col .site-logo { margin-bottom: 18px; }

.footer-tagline {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 360px;
  margin-bottom: 22px;
}

.footer-mail {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent) !important;
  text-decoration: none;
  transition: opacity 0.15s;
}
.footer-mail:hover { opacity: 0.8; }

.footer-col h5 {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 18px;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col nav a:hover { color: var(--text); }

.footer-address {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .section-head { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { gap: 48px; }
  .quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logos-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .block { padding: 72px 0; }
  .hero { padding: 120px 0 80px; }

  .hamburger { display: flex; }

  .header-nav {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(7,9,14,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    z-index: 800;
  }
  .header-nav.open { display: flex; }
  .header-nav > a {
    width: 100%;
    padding: 14px 28px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  .header-nav .btn-accent {
    margin: 16px 28px;
    width: calc(100% - 56px);
    justify-content: center;
  }
  .header-nav .lang-wrap { padding: 14px 28px; width: 100%; }
  .lang-menu { left: 0; right: auto; }

  .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .hero-meta { gap: 18px; }

  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }

  .stats-inner { flex-direction: column; gap: 24px; }
  .stat-item + .stat-item::before { display: none; }

  .logos-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
