:root{
  --bg: #f6f6f7;
  --text: #1e1f22;
  --muted: #5a5f6a;
  --card: #ffffff;
  --line: rgba(30,31,34,.10);
  --accent: #2b5fbf; /* muted blue */
  --header-h-desktop: 76px;
  --header-h-mobile: 60px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:var(--bg);
  line-height:1.4;
}

a{color:inherit}
.container{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

header{
  position:fixed;
  inset: 0 0 auto 0;
  height: var(--header-h-mobile);
  background: rgba(246,246,247,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}
.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  font-weight:700;
  letter-spacing:-0.02em;
}
.nav{
  display:none;
  gap:18px;
  font-size:14px;
  color:var(--muted);
}
.nav a{ text-decoration:none }
.nav a:hover{ color: var(--text) }

.cta-bar{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration:none;
  font-size:14px;
  white-space:nowrap;
  transition: transform .12s ease, border-color .12s ease;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(30,31,34,.22); }
.btn-primary{
  background: var(--text);
  color: white;
  border-color: transparent;
}
.btn-primary:hover{ transform: translateY(-1px); }

main{ padding-top: var(--header-h-mobile); }
html{ scroll-padding-top: var(--header-h-mobile); }

.section{ padding: 56px 0; }
.section-tight{ padding: 40px 0; }

/* HERO */
.hero{
  padding-top: 26px;
}
.hero-grid{
  display:grid;
  gap:20px;
}
.hero-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
}
.hero-media{
  position:relative;
  height: 280px;
  background:#ddd;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hero-overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding: 18px 18px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  color:white;
}
.kicker{
  color: rgba(255,255,255,.82);
  font-size: 13px;
  letter-spacing: .02em;
}
.hero-title{
  margin: 6px 0 0;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.hero-text{
  padding: 18px;
}
.hero-sub{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.hero-actions{
  margin-top: 16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* PROBLEM */
.dark{
  background: #111214;
  color: #f3f3f4;
}
.dark .muted{ color: rgba(243,243,244,.72); }
.problem-grid{
  display:grid;
  gap:18px;
  align-items:center;
}
.problem-media{
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
}
.problem-media img{ width:100%; height:320px; object-fit:cover; display:block; }
.problem-list{
  display:grid;
  gap:10px;
  margin: 14px 0 0;
  padding:0;
  list-style:none;
}
.problem-list li{
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}

/* SOLUTION */
.solution-grid{
  display:grid;
  gap:18px;
  align-items:center;
}
.photo{
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid var(--line);
  background:#ddd;
}
.photo img{ width:100%; height:320px; object-fit:cover; display:block; }
.cards{
  display:grid;
  gap:12px;
  margin-top: 14px;
}
.card{
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
  padding: 14px 14px;
}
.card h3{
  margin:0 0 6px;
  font-size: 15px;
  letter-spacing:-0.01em;
}
.card p{
  margin:0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* TRUST */
.trust-row{
  display:grid;
  gap:16px;
}
.trust-stat{
  display:grid;
  gap:6px;
  padding: 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}
.trust-stat strong{
  font-size: 16px;
}
.trust-stat span{
  color: var(--muted);
  font-size: 14px;
}
.trust-grid{
  display:grid;
  gap:18px;
  align-items:center;
}

/* CONTACT */
.contact-grid{
  display:grid;
  gap:18px;
  align-items:start;
}
form{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}
label{
  display:block;
  font-weight: 650;
  font-size: 13px;
  margin-top: 14px;
}
input, select, textarea{
  width:100%;
  margin-top: 8px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(30,31,34,.16);
  background: #fff;
  font-size: 14px;
}
textarea{ resize: vertical; min-height: 120px; }
.checkbox-group{
  margin-top: 8px;
  display:grid;
  gap:8px;
}
.checkbox-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(30,31,34,.10);
  background: rgba(30,31,34,.02);
}
.checkbox-item input{ width:auto; margin-top:2px; }
.form-actions{ margin-top: 18px; display:flex; gap:10px; flex-wrap:wrap; }
.small-note{ color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 10px; }

.contact-side{
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow:hidden;
  background: var(--card);
}
.contact-side img{ width:100%; height: 360px; object-fit: cover; display:block; }
.contact-side .pad{ padding: 16px; }
.contact-side .pad p{ margin: 0; color: var(--muted); font-size: 14px; line-height:1.55; }

/* FOOTER */
footer{
  padding: 24px 0 40px;
  color: var(--muted);
}
.footer-inner{
  display:flex;
  flex-direction:column;
  gap:10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 14px;
}
.footer-strong{ color: var(--text); font-weight: 700; }

/* Floating action buttons */
.fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index: 1200;
}
.fab a{
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

/* Desktop */
@media (min-width: 860px){
  header{ height: var(--header-h-desktop); }
  main{ padding-top: var(--header-h-desktop); }
  html{ scroll-padding-top: var(--header-h-desktop); }

  .nav{ display:flex; }
  .hero-grid{ grid-template-columns: 1.1fr .9fr; }
  .hero-media{ height: 520px; }
  .hero-title{ font-size: 44px; }
  .hero-text{ padding: 22px; }

  .problem-grid{ grid-template-columns: 1fr 1fr; }
  .problem-media img{ height: 460px; }

  .solution-grid{ grid-template-columns: 1fr 1fr; }
  .photo img{ height: 460px; }

  .trust-grid{ grid-template-columns: 1fr 1fr; }
  .trust-row{ grid-template-columns: repeat(3, 1fr); }

  .contact-grid{ grid-template-columns: 1fr 1fr; }
  .contact-side img{ height: 520px; }
}
/* Brand */
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text); }
.brand-logo{ width:36px; height:36px; border-radius:10px; display:block; }
.brand-text{ font-weight:700; letter-spacing:-0.02em; }

/* Mobile density control */
@media (max-width: 520px){
  .btn{ padding:10px 10px; font-size:13px; }
  .cta-bar a.btn:not(.btn-primary){ display:none; } /* keep header clean on small screens */
}


/* Header: mobile clarity */
.btn-short{ display:none; }
@media (max-width: 520px){
  header{ background: rgba(255,255,255,.98); }
  .btn-long{ display:none; }
  .btn-short{ display:inline; }
  .brand-text{ display:none; } /* keep it clean on small screens */
  .brand-logo{
    width:34px; height:34px;
    border-radius:12px;
    background:#111214; /* gives contrast for white mark */
    padding:6px;
  }
  .header-inner{ gap:12px; }
  .cta-bar{ flex-wrap:nowrap; }
  .btn{ padding:10px 12px; font-size:13px; }
  .btn-primary{ padding:10px 14px; }
}


/* Icon-only contact button (WhatsApp) */
.icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration:none;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.icon-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(30,31,34,.22);
}
.wa-icon{
  width:22px;
  height:22px;
  fill: #25D366; /* WhatsApp brand green (small accent) */
}

/* Make CTA bar stay tight */
.cta-bar{ gap:10px; }

@media (max-width: 720px){
  .brand-text{ display:none; }
}

/* Very small screens: show short CTA label and keep WhatsApp icon visible */
@media (max-width: 520px){
  .icon-btn{ width:40px; height:40px; }
  .wa-icon{ width:21px; height:21px; }
  .cta-bar a.btn:not(.btn-primary){ display:none; } /* keep only primary button (and icon-btn) */
  .cta-bar .icon-btn{ display:inline-flex; }
}
