/* =========================================================
   Naviga — Endüstriyel SCADA & Otomasyon
   Shared design system
   ========================================================= */

:root {
  /* Brand */
  --bg: #0F1A28;
  --bg-deep: #0A121C;
  --surface: #16243A;
  --surface-2: #1E3047;
  --border: #243549;
  --border-strong: #34465E;

  --cyan: #00ACC1;
  --cyan-bright: #26C6DA;
  --cyan-deep: #00838F;

  --text: #F1F5F9;
  --text-muted: #B0BEC5;
  --text-dim: #6E7B8A;

  --success: #3FB950;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --warning: #D29922;
  --danger: #F85149;
  --pink: #F778BA;
  --purple: #BC8CFF;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.25);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(0, 172, 193, 0.25), 0 12px 40px rgba(0, 172, 193, 0.18);

  --container: 1200px;
  --container-wide: 1320px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =====================
   Reset
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan-bright); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--cyan); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
.mono { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; }

/* =====================
   Typography
   ===================== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--text); }
.display { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h1 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
h2 { font-size: clamp(1.625rem, 2.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text-muted); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-muted); line-height: 1.7; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin-bottom: 1rem;
}
.text-cyan { color: var(--cyan-bright); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }

/* =====================
   Layout
   ===================== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4.5rem 0; }
}

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.text-center { text-align: center; }
.max-w-xl { max-width: 720px; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 860px; margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--cyan);
  color: #052028;
  box-shadow: 0 8px 28px rgba(0, 172, 193, 0.35);
}
.btn-primary:hover { background: var(--cyan-bright); transform: translateY(-2px); color: #052028; }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.04); border-color: var(--cyan); color: var(--cyan-bright); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); color: #fff; }
.btn-lg { padding: 1.05rem 1.85rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* =====================
   Header
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 26, 40, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; color: var(--text); font-size: 1.1rem; letter-spacing: -0.01em; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 6px 18px rgba(0, 172, 193, 0.35);
}
.brand-name { font-weight: 800; }
.brand-name strong { color: var(--cyan-bright); }

.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.04); }

.nav-cta { display: flex; align-items: center; gap: 0.65rem; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.4rem 0.5rem;
}
.nav-phone:hover { color: var(--cyan-bright); }
.nav-phone svg { width: 18px; height: 18px; color: var(--cyan-bright); }

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 8px; align-items: center; justify-content: center; }
.nav-toggle:hover { background: rgba(255, 255, 255, 0.04); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg-deep);
  padding: 2rem 1.25rem;
  z-index: 99;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn-row { margin-top: 2rem; flex-direction: column; }
.mobile-menu .btn { width: 100%; }

/* =====================
   Hero
   ===================== */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
  background:
    radial-gradient(900px circle at 80% -10%, rgba(0, 172, 193, 0.18), transparent 60%),
    radial-gradient(700px circle at -10% 110%, rgba(124, 77, 255, 0.10), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(36, 53, 73, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 53, 73, 0.25) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.hero h1 { margin-bottom: 1.25rem; }
.hero .lead { margin-bottom: 1.75rem; max-width: 580px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: rgba(0, 172, 193, 0.1);
  border: 1px solid rgba(0, 172, 193, 0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan-bright);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(63, 185, 80, 0.18); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(63, 185, 80, 0); }
}

/* Dashboard mock */
.dashboard-mock {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.mock-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 0.85rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.mock-title { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; }
.mock-status { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--success); }
.mock-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }

.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
.plc-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  position: relative;
  transition: all 0.3s var(--ease);
}
.plc-card.active { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan); }
.plc-name { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; color: var(--text-muted); }
.plc-val { font-size: 0.95rem; font-weight: 700; color: var(--text); font-family: 'JetBrains Mono', monospace; }
.plc-unit { font-size: 0.7rem; color: var(--text-dim); }
.gr-tag {
  position: absolute; top: 0.55rem; right: 0.55rem;
  padding: 0.15rem 0.4rem; border-radius: 4px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.05em;
}
.gr-100 { background: rgba(63, 185, 80, 0.18); color: var(--success); }
.gr-200 { background: rgba(0, 172, 193, 0.18); color: var(--cyan-bright); }
.gr-400 { background: rgba(210, 153, 34, 0.18); color: var(--warning); }
.gr-500 { background: rgba(219, 109, 40, 0.18); color: #DB6D28; }
.gr-600 { background: rgba(248, 81, 73, 0.18); color: var(--danger); }
.gr-800 { background: rgba(247, 120, 186, 0.18); color: var(--pink); }

.mock-bottom {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-top: 0.65rem;
}
.mock-panel {
  background: var(--bg-deep); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.85rem;
}
.mock-panel-label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.35rem; }
.mock-panel-value { font-size: 1.4rem; font-weight: 800; color: var(--cyan-bright); font-family: 'JetBrains Mono', monospace; }
.mock-panel-meta { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.2rem; }

.spark { display: flex; align-items: end; gap: 2px; height: 32px; margin-top: 0.4rem; }
.spark span { flex: 1; background: var(--cyan); border-radius: 2px 2px 0 0; opacity: 0.7; }

/* =====================
   Trust strip
   ===================== */
.trust-strip {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.trust-label { font-size: 0.85rem; color: var(--text-muted); }
.trust-label strong { color: var(--text); display: block; font-weight: 700; font-size: 1rem; margin-top: 0.15rem; }
.trust-metric .num { font-size: 1.85rem; font-weight: 800; color: var(--cyan-bright); font-family: 'JetBrains Mono', monospace; line-height: 1; }
.trust-metric .lbl { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.4rem; }

/* =====================
   Section headers
   ===================== */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* =====================
   Feature cards
   ===================== */
.feature-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  position: relative;
  transition: all 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: var(--shadow-glow); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(0, 172, 193, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-bright);
  margin-bottom: 1.15rem;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: 0.65rem; font-size: 1.15rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
.feature-list {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.feature-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  display: flex; align-items: center; gap: 0.5rem;
}
.feature-list li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); flex-shrink: 0;
}

/* Color variants */
.feature-icon.green { background: rgba(63, 185, 80, 0.12); color: var(--success); }
.feature-icon.amber { background: rgba(210, 153, 34, 0.12); color: var(--warning); }
.feature-icon.purple { background: rgba(124, 77, 255, 0.12); color: var(--purple); }

/* =====================
   Product preview block
   ===================== */
.product-block {
  background: var(--bg-deep);
  position: relative;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: 1fr; } }

.product-screenshot {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.product-screenshot .head {
  display: flex; align-items: center; gap: 0.5rem;
  padding-bottom: 1rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-muted); font-weight: 600;
}
.product-screenshot .head::before {
  content: ""; width: 36px; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, #FF5F56 0 33%, #FFBD2E 33% 66%, #27C93F 66%);
  margin-right: 0.5rem;
}

.gr-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.7rem; border-radius: 8px;
  font-size: 0.85rem; font-weight: 700; font-family: 'JetBrains Mono', monospace;
  border: 1px solid;
}
.gr-pill.gr-100 { background: rgba(63, 185, 80, 0.1); color: var(--success); border-color: rgba(63, 185, 80, 0.3); }
.gr-pill.gr-200 { background: rgba(0, 172, 193, 0.1); color: var(--cyan-bright); border-color: rgba(0, 172, 193, 0.3); }
.gr-pill.gr-400 { background: rgba(210, 153, 34, 0.1); color: var(--warning); border-color: rgba(210, 153, 34, 0.3); }
.gr-pill.gr-500 { background: rgba(219, 109, 40, 0.1); color: #DB6D28; border-color: rgba(219, 109, 40, 0.3); }
.gr-pill.gr-600 { background: rgba(248, 81, 73, 0.1); color: var(--danger); border-color: rgba(248, 81, 73, 0.3); }
.gr-pill.gr-800 { background: rgba(247, 120, 186, 0.1); color: var(--pink); border-color: rgba(247, 120, 186, 0.3); }

/* =====================
   GR Decision strip
   ===================== */
.gr-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
  margin-top: 2rem;
}
@media (max-width: 900px) { .gr-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .gr-strip { grid-template-columns: repeat(2, 1fr); } }

.gr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: left;
}
.gr-card .pill { margin-bottom: 0.55rem; }
.gr-card .ttl { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.gr-card .sub { font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; }

/* =====================
   Case study block
   ===================== */
.case-block {
  background:
    radial-gradient(800px circle at 10% 0%, rgba(0, 172, 193, 0.08), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }

.case-image {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(0, 172, 193, 0.18) 0%, rgba(15, 26, 40, 0.6) 100%),
    repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 12px, var(--surface) 12px, var(--surface) 24px);
  border: 1px solid var(--border);
  min-height: 320px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
}
.case-image::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(0, 172, 193, 0.12), transparent 60%);
}
.case-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem; margin-top: 1.5rem;
}
.case-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  text-align: center;
}
.case-stat .num { font-size: 1.5rem; font-weight: 800; color: var(--cyan-bright); font-family: 'JetBrains Mono', monospace; }
.case-stat .lbl { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }

.case-list { margin-top: 1.5rem; }
.case-list li {
  position: relative; padding: 0.7rem 0 0.7rem 2rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.case-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0.7rem;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(63, 185, 80, 0.15); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem;
}

/* =====================
   Process timeline
   ===================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  position: relative;
}
.process-num {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--cyan);
  color: #052028;
  font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.9rem; line-height: 1.55; }

/* =====================
   FAQ
   ===================== */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq-item[open] { border-color: var(--cyan); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--cyan-bright);
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 1.4rem 1.2rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =====================
   CTA banner
   ===================== */
.cta-banner {
  background:
    radial-gradient(900px circle at 20% 50%, rgba(0, 172, 193, 0.22), transparent 60%),
    linear-gradient(135deg, var(--surface) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--cyan);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.cta-banner h2 { margin-bottom: 0.85rem; }
.cta-banner p { font-size: 1.05rem; max-width: 620px; margin: 0 auto 1.85rem; }
.cta-banner .btn-row { justify-content: center; }

/* =====================
   Footer
   ===================== */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h4 { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; font-weight: 700; }
.footer ul li { padding: 0.35rem 0; }
.footer ul a { color: var(--text-muted); font-size: 0.92rem; }
.footer ul a:hover { color: var(--cyan-bright); }
.footer-about p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; max-width: 320px; margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.82rem; color: var(--text-dim);
}
.footer-contact-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }
.footer-contact-row a { color: var(--text); font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.45rem; }
.footer-contact-row a:hover { color: var(--cyan-bright); }
.footer-contact-row svg { width: 16px; height: 16px; color: var(--cyan-bright); }

/* =====================
   Sticky WhatsApp
   ===================== */
.fab-whatsapp {
  position: fixed;
  bottom: 1.25rem; right: 1.25rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
  color: #fff;
  z-index: 90;
  animation: fab-pulse 2.5s infinite;
  transition: transform 0.25s var(--ease);
}
.fab-whatsapp:hover { transform: scale(1.08); color: #fff; }
.fab-whatsapp svg { width: 30px; height: 30px; }
@keyframes fab-pulse {
  0% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}
.fab-tooltip {
  position: absolute;
  right: 72px; top: 50%; transform: translateY(-50%);
  background: var(--bg-deep); color: var(--text);
  padding: 0.5rem 0.85rem; border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.82rem; font-weight: 600;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.fab-whatsapp:hover .fab-tooltip { opacity: 1; }

/* =====================
   Page hero (sub-pages)
   ===================== */
.page-hero {
  padding: 4rem 0 3rem;
  background:
    radial-gradient(700px circle at 80% 0%, rgba(0, 172, 193, 0.12), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { max-width: 720px; }
.crumbs { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 1.25rem; }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--cyan-bright); }
.crumbs span { color: var(--text-dim); margin: 0 0.4rem; }

/* =====================
   Tables
   ===================== */
.tbl-wrap { overflow-x: auto; }
.tbl {
  width: 100%; border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.tbl th, .tbl td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.tbl thead th {
  background: var(--bg-deep);
  color: var(--text-muted);
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 700;
}
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* =====================
   Form
   ===================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.field label .req { color: var(--cyan-bright); }
.field input, .field select, .field textarea {
  background: var(--bg-deep);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  font: inherit;
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 0.75rem; color: var(--text-dim); }
.honeypot { position: absolute; left: -9999px; }

/* =====================
   Sectors grid
   ===================== */
.sectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
.sector-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.sector-card:hover { transform: translateY(-3px); border-color: var(--cyan); }
.sector-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(0, 172, 193, 0.12);
  color: var(--cyan-bright);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.sector-icon svg { width: 28px; height: 28px; }
.sector-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.sector-card p { font-size: 0.85rem; }

/* =====================
   Helpers
   ===================== */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.55rem; border-radius: 4px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  background: rgba(0, 172, 193, 0.1);
  color: var(--cyan-bright);
  border: 1px solid rgba(0, 172, 193, 0.25);
}
.tag.green { background: rgba(63, 185, 80, 0.1); color: var(--success); border-color: rgba(63, 185, 80, 0.25); }
.tag.amber { background: rgba(210, 153, 34, 0.1); color: var(--warning); border-color: rgba(210, 153, 34, 0.25); }
.tag.danger { background: rgba(248, 81, 73, 0.1); color: var(--danger); border-color: rgba(248, 81, 73, 0.25); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* Print */
@media print {
  .site-header, .footer, .fab-whatsapp { display: none !important; }
  body { background: white; color: black; }
}
