/* =========================================================
   Fergut Logistics — División Seguridad de GYG Soluciones
   Estilo v3 — amigable, moderno, colores más vivos
   ========================================================= */

:root {
  --primary: #1786C4;
  --primary-dark: #0F5F92;
  --primary-tint: #E7F4FC;
  --accent: #F5A623;
  --accent-dark: #DB8B0A;
  --accent-tint: #FEF3E0;
  --safe: #22B07D;
  --safe-tint: #E4F8EF;
  --ink: #1F2A37;
  --ink-soft: #5B6674;
  --bg: #F6F9FC;
  --surface: #FFFFFF;
  --line: #E4E9EF;
  --success: #25D366;
  --success-dark: #1EBE59;

  --display: 'Poppins', sans-serif;
  --body: 'Inter', sans-serif;

  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(31,42,55,0.08);
  --shadow-hover: 0 16px 40px rgba(31,42,55,0.14);
  --max: 1180px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  margin: 0 0 0.5em 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em 0; color: var(--ink-soft); }

.eyebrow {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  background: var(--primary-tint);
  padding: 6px 14px;
  border-radius: 100px;
}
.eyebrow.amber { color: var(--accent-dark); background: var(--accent-tint); }

/* ---------- header ---------- */
header.site-header {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-tag {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-tint);
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

nav.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
nav.main-nav > a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
nav.main-nav > a:hover { color: var(--primary); background: var(--primary-tint); }

.nav-cta {
  background: var(--accent);
  color: #3A2500 !important;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .15s, transform .15s;
  box-shadow: 0 6px 16px rgba(245,166,35,0.4);
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: var(--primary-tint);
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
  nav.main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column; align-items: stretch;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav > a { padding: 12px 8px; text-align: left; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-size: 0.94rem; font-weight: 600;
  padding: 14px 24px; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary { background: var(--accent); color: #3A2500; box-shadow: 0 8px 20px rgba(245,166,35,0.38); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-whatsapp { background: var(--success); color: #06331a; box-shadow: 0 8px 20px rgba(37,211,102,0.32); }
.btn-whatsapp:hover { background: var(--success-dark); transform: translateY(-1px); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- hero ---------- */
.hero { padding: 60px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -180px; right: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--primary-tint) 0%, transparent 70%);
  z-index: 0;
}
.hero::after {
  content: ""; position: absolute; bottom: -160px; left: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--accent-tint) 0%, transparent 70%);
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.08rem; max-width: 48ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink);
  background: var(--surface);
}
.trust-badge .ico {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--safe); color: #fff; font-size: 0.65rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.hero-visual { position: relative; }
.hero-img-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); position: relative; }
.hero-img-card img { width: 100%; height: 360px; object-fit: cover; }
.floating-badge {
  position: absolute; bottom: -18px; left: 24px;
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-hover); padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
}
.floating-badge .badge-value { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--accent-dark); }
.floating-badge .badge-label { font-size: 0.76rem; color: var(--ink-soft); }

@media (max-width: 780px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* ---------- section basics ---------- */
section { padding: 60px 0; }
.section-head { max-width: 62ch; margin-bottom: 34px; }

/* ---------- spec plate + price card ---------- */
.plate-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .plate-grid { grid-template-columns: 1fr; } }

.spec-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.spec-card .kicker { font-size: 0.78rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em; }
.spec-card h3.model { font-size: 1.4rem; margin: 4px 0 18px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.spec-pill { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; }
.spec-pill .k { font-size: 0.72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.03em; }
.spec-pill .v { font-weight: 600; color: var(--ink); font-size: 0.95rem; }

.price-highlight {
  background: linear-gradient(135deg, var(--accent-tint) 0%, #FFF9EF 100%);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 4px;
}
.price-highlight .amount { font-family: var(--display); font-weight: 700; font-size: 2.1rem; color: var(--accent-dark); }
.price-highlight .unit { font-size: 0.9rem; color: var(--ink-soft); }
.price-highlight .note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 8px; margin-bottom: 0; }

/* ---------- segments grid ---------- */
.seg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.seg-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .15s, box-shadow .15s;
}
.seg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.seg-card .ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--primary-tint); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.seg-card .tag { font-size: 0.72rem; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.04em; }
.seg-card h3 { font-size: 1rem; margin-bottom: 2px; }
.seg-card p { font-size: 0.88rem; margin: 0; }
@media (max-width: 1000px) { .seg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .seg-grid { grid-template-columns: 1fr; } }

/* ---------- integral band ---------- */
.integral { background: var(--primary-dark); color: #fff; position: relative; overflow: hidden; }
.integral h2 { color: #fff; }
.integral .section-head p { color: rgba(255,255,255,0.78); }
.integral-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.integral-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 22px;
}
.integral-item .ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent); color: #3A2500;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 12px;
}
.integral-item h3 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.integral-item p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin: 0; }
@media (max-width: 900px) { .integral-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .integral-grid { grid-template-columns: 1fr; } }

.quote-callout {
  background: rgba(255,255,255,0.08);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-top: 34px;
}
.quote-callout p { color: #fff; font-style: italic; font-size: 1.02rem; max-width: 66ch; margin-bottom: 10px; }
.quote-callout .who { font-size: 0.85rem; color: rgba(255,255,255,0.7); font-style: normal; margin: 0; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 12px; }
.faq-item h4 { margin-bottom: 8px; font-size: 1rem; color: var(--ink); }
.faq-item p { margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 50px 0; text-align: center; border-radius: var(--radius-lg);
  margin: 0 auto 60px; max-width: var(--max); color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.85); }
.cta-banner .btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:18px; }

/* ---------- contact strip ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.contact-card h3 { margin-bottom: 16px; }
.contact-row { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.contact-row:first-of-type { border-top: none; }
.contact-row .label { font-size: 0.78rem; color: var(--ink-soft); width: 110px; flex-shrink: 0; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; background: var(--safe-tint); color: var(--safe);
  border-radius: 50%; font-size: 0.68rem;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* ---------- footer ---------- */
footer.site-footer { background: #101826; color: #9AA6B4; padding: 44px 0 24px; font-size: 0.9rem; }
footer.site-footer .foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
footer.site-footer a:hover { color: var(--accent); }
footer.site-footer .foot-links a { display: block; margin-bottom: 10px; }
footer.site-footer .foot-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.8rem; }
.cross-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px; padding: 10px 18px; font-size: 0.85rem; margin-top: 10px;
}
.cross-link:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- whatsapp floating button ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px;
  background: var(--success); color: #fff;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37,211,102,0.45);
  z-index: 60; font-size: 1.7rem;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
