/* =========================================================
   SimFalcon UI (clean, modern, conversion-first)
   DROP-IN replacement for: /assetscss/style.css
   (This version removes the duplicate/contradicting rules
   that were forcing the header back to 74px on mobile.)
========================================================= */

/* =========================
   TOKENS
========================= */
:root{
  --ink:#0f172a;
  --text:#1f2937;
  --muted:#475569;
  --border:#e5e7eb;
  --bg:#ffffff;
  --bg-soft:#f3f6f9;

  --brand:#0b3c5d;
  --brand-2:#144b75;

  --accent:#ffb703;
  --wa:#25d366;

  --shadow: 0 10px 28px rgba(17,24,39,.08);
  --shadow-sm: 0 6px 18px rgba(17,24,39,.06);

  --radius:14px;
  --radius-sm:10px;

  --container: 1120px;
}

/* =========================
   RESET
========================= */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:16px;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
p{margin:0 0 14px}
ul{margin:12px 0 0 18px}
li{margin:6px 0}
hr{border:0;border-top:1px solid var(--border);margin:28px 0}

/* Typography */
h1,h2,h3{
  margin:0 0 12px;
  color:var(--ink);
  line-height:1.2;
  letter-spacing:-.2px;
}
h1{font-size:42px}
h2{font-size:28px;margin-top:26px}
h3{font-size:18px}

/* =========================
   LAYOUT
========================= */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}
.section{padding:84px 0}
.section.alt{background:var(--bg-soft)}
.section.cta{
  background:var(--brand);
  color:#fff;
  text-align:center;
}
.page .section{padding:70px 0}

.muted{color:var(--muted)}
.center{text-align:center}

/* =========================
   TOP CONTACT BAR
========================= */
.topbar{
  background:var(--brand);
  color:#fff;
  font-size:13px;
}
.topbar .topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:8px 0;
}
.topbar-left,.topbar-right{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.topbar-item{
  color:#ffffff;
  text-decoration:none;
  opacity:.95;
}
.topbar-item:hover{ text-decoration:underline; opacity:1; }

/* =========================
   HEADER
========================= */
.site-header{
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:50;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:74px;
  gap:16px;
}

/* Logo */
.logo{display:flex; align-items:center; min-width:140px;}
.logo-link{display:flex; align-items:center; gap:10px;}
.logo-img{
  height:38px;            /* smaller + safer */
  width:auto;
  display:block;
  border-radius:10px;
  box-shadow:0 2px 10px rgba(17,24,39,.08);
}
.logo-text{
  display:inline;
  font-size:22px;
  font-weight:900;
  color:var(--brand);
  letter-spacing:.2px;
  text-decoration:none;
}

/* Nav */
.main-nav ul{
  list-style:none;
  display:flex;
  gap:12px;
  margin:0;
  padding:0;
  align-items:center;
  flex-wrap:wrap;
}
.main-nav a{
  display:inline-block;
  padding:10px 12px;
  border-radius:12px;
  font-weight:800;
  color:var(--brand);
  line-height:1.2;
}
.main-nav a:hover{
  text-decoration:none;
  background:var(--bg-soft);
}
.main-nav a.is-active{
  background:rgba(11,60,93,.08);
}

/* Header buttons */
.header-cta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;         /* IMPORTANT: stops overlap on small screens */
  justify-content:flex-end;
}

/* Buttons */
.btn,
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-whatsapp{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:12px;
  font-weight:900;
  letter-spacing:.1px;
  text-decoration:none!important;
  cursor:pointer;
  white-space:nowrap;
  border:1px solid transparent;
  transition:transform .05s ease, filter .15s ease, background .15s ease;
}
.btn:active,
.btn-primary:active,
.btn-secondary:active,
.btn-ghost:active,
.btn-whatsapp:active{transform:translateY(1px)}

.btn{padding:10px 14px; line-height:1}

.btn-primary{
  padding:12px 16px;
  background:var(--accent);
  color:#111827;
}
.btn-primary:hover{filter:brightness(.98)}

.btn-ghost{
  padding:12px 14px;
  background:#fff;
  border-color:#d1d5db;
  color:var(--brand);
}
.btn-ghost:hover{background:var(--bg-soft);text-decoration:none}

.btn-whatsapp{
  padding:12px 14px;
  background:var(--wa);
  color:#fff;
  border-color:var(--wa);
}
.btn-whatsapp:hover{filter:brightness(.98);text-decoration:none}

/* Trust bar */
.trust-bar{
  background:var(--bg-soft);
  border-top:1px solid var(--border);
}
.trust-bar .container{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  font-size:13px;
  font-weight:800;
  color:#334155;
  text-align:center;
  padding:8px 0;
  flex-wrap:wrap;
}

/* =========================
   HERO (with banner image)
========================= */
.hero{
  background-image:
    linear-gradient(135deg, rgba(11,60,93,.92), rgba(20,75,117,.92)),
    url("/assetsimg/simfalcon-hero.jpg"); /* <-- match your actual file */
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  color:#fff;
  padding:96px 0 84px;
}
.hero h1,.hero h2,.hero h3{color:#fff}
.hero p{color:rgba(255,255,255,.92)}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:44px;
  align-items:center;
}
.hero h1{font-size:46px;margin-bottom:16px}
.hero-sub{font-size:18px;margin-bottom:22px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 10px}
.hero-trust{font-size:13px;opacity:.88}

.hero-card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  border-radius:var(--radius);
  padding:22px;
}

/* =========================
   CARDS & GRIDS
========================= */
.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:26px;
}
.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow-sm);
}
.card h3{margin-bottom:8px}
.card p{margin:0;color:var(--muted);font-size:15px}

/* Feature list */
.feature-list{
  list-style:none;
  padding:0;
  margin:18px 0 0;
  max-width:760px;
}
.feature-list li{
  padding:12px 0;
  border-bottom:1px solid var(--border);
  font-weight:700;
}

/* Split sections */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

/* Simple banner block */
.banner{
  margin:26px 0 0;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:var(--shadow-sm);
}
.banner img{display:block; width:100%; height:auto;}

/* =========================
   FORMS
========================= */
.page .container{max-width:980px}

.page form{
  max-width:760px;
  margin-top:18px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:26px;
  box-shadow:var(--shadow);
}

form p{margin:16px 0}
label{
  font-weight:900;
  color:var(--ink);
  display:block;
}

input[type="text"],
input[type="email"],
select,
textarea{
  display:block;
  width:100%;
  max-width:none;
  margin-top:8px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid #d1d5db;
  background:#fff;
  font-size:16px;
  color:var(--text);
}
textarea{resize:vertical; min-height:120px}

input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color:var(--brand);
  box-shadow:0 0 0 4px rgba(11,60,93,.12);
}

/* Nicer select */
select{
  appearance:none;
  -webkit-appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand) 50%),
    linear-gradient(135deg, var(--brand) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
  padding-right:36px;
}
button{cursor:pointer}
button.btn-primary{border:0}

/* CTA sections */
.section.cta h2,
.section.cta p{color:#fff}
.section.cta .btn-primary{margin-top:10px}

/* =========================
   FOOTER
========================= */
.site-footer{
  background:#111827;
  color:#9ca3af;
  padding:44px 0;
  font-size:14px;
}
.site-footer a{color:#e5e7eb}
.site-footer p{margin:0}

/* =========================
   RESPONSIVE (THIS is the mobile fix)
========================= */
@media (max-width: 980px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
}

@media (max-width: 900px){
  .hero-grid,.split{grid-template-columns:1fr}

  /* stack topbar cleanly */
  .topbar .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }

  /* stack header blocks (prevents overlap/distortion) */
  .site-header .container{
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    height:auto;                 /* KEY: removes the “squash” */
    padding:12px 20px;
    gap:10px;
  }

  .logo{min-width:0}
  .logo-img{height:34px}
  .logo-text{font-size:20px}

  /* keep nav readable */
  .main-nav ul{
    justify-content:flex-start;
    gap:8px;
  }
  .main-nav a{padding:10px 10px}

  /* buttons wrap instead of overlaying the page */
  .header-cta{
    width:100%;
    justify-content:flex-start;
    gap:10px;
  }
}

@media (max-width: 560px){
  h1{font-size:30px}
  .grid-4{grid-template-columns:1fr}

  /* buttons become full-width */
  .header-cta{flex-direction:column;align-items:stretch}
  .btn-primary,.btn-ghost,.btn-whatsapp,.btn{width:100%}

  /* center nav on small screens */
  .main-nav ul{
    justify-content:center;
    text-align:center;
  }

  /* topbar smaller */
  .topbar{font-size:12px}
}
