/* =====================================================
   FINE SERVICE — Landing page styles
   Palette: white base, deep navy headings, WhatsApp green
   ===================================================== */
:root {
  --navy: #0b2545;
  --navy-700: #13315c;
  --navy-100: #e8eef7;
  --blue: #1d6fd8;
  --blue-dark: #155bb5;
  --green: #25d366;
  --green-dark: #1ebe5b;
  --ink: #23304a;
  --muted: #5b6b85;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --danger: #d64545;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(11, 37, 69, 0.10);
  --shadow-sm: 0 3px 12px rgba(11, 37, 69, 0.08);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: inline-block; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }

h1, h2, h3 { color: var(--navy); line-height: 1.25; font-weight: 800; }
.section { padding: 64px 0; }
.alt-bg { background: var(--bg-alt); }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); text-align: center; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 36px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.95rem var(--font); padding: 11px 20px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: all .18s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-wa { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-wa:hover { background: var(--green-dark); color: #fff; }
.btn-call { background: var(--navy); color: #fff; }
.btn-call:hover { background: var(--navy-700); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--navy-100); color: var(--navy); }
.btn-link { background: none; border: 0; color: var(--blue); font: 500 .9rem var(--font); cursor: pointer; margin-top: 12px; text-decoration: underline; }
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; }
.brand-text { font-weight: 800; font-size: 1.2rem; letter-spacing: .4px; color: var(--navy); }
.brand-text span { color: var(--blue); }
.header-actions { display: flex; gap: 10px; }
.header-actions .btn { padding: 9px 16px; font-size: .88rem; }
.btn-label-sm { display: none; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy-100) 0%, #ffffff 70%); padding: 48px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 600;
  letter-spacing: .6px; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 14px; }
.hero .sub { font-size: 1.1rem; color: var(--muted); margin-bottom: 22px; max-width: 520px; }
.trust-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; margin-bottom: 10px; color: var(--ink); }
.trust-points .icon { color: var(--green-dark); flex: 0 0 auto; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Lead form card ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 26px;
  border-top: 5px solid var(--blue); }
.form-card h2 { font-size: 1.35rem; margin-bottom: 18px; text-align: center; }
.field { margin-bottom: 14px; position: relative; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }
.req { color: var(--danger); } .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: 400 .97rem var(--font); color: var(--ink);
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none;
  box-shadow: 0 0 0 3px rgba(29,111,216,.14); }
.field textarea { resize: vertical; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.err { color: var(--danger); font-size: .8rem; margin-top: 4px; min-height: 0; }
.privacy-note { font-size: .78rem; color: var(--muted); margin-top: 12px; text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: .9rem;
  background: #fdecec; color: var(--danger); border: 1px solid #f5c6c6; }
.form-alert.ok { background: #e8f8ee; color: #1a7a43; border-color: #bfe8cf; }

.form-success { width: 100%; max-width: 560px; margin: 0 auto; text-align: center; padding: 32px 28px; }
.form-success h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 10px; }
.success-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 14px;
  border-radius: 50%; background: #e8f8ee; color: var(--green-dark); }
.form-success p { color: var(--muted); margin-bottom: 18px; }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- Searchable combobox ---------- */
.combo { position: relative; }
.combo-list { position: absolute; top: calc(100% - 18px); left: 0; right: 0; z-index: 30; background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); max-height: 220px;
  overflow-y: auto; margin-top: 2px; }
.combo-list li { padding: 10px 14px; cursor: pointer; font-size: .95rem; }
.combo-list li:hover, .combo-list li.active { background: var(--navy-100); color: var(--navy); }
.combo-list li[hidden] { display: none; }

/* ---------- Services ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-100), #dbe7f6); color: var(--navy); }
.service-card h3 { font-size: 1.08rem; }
.service-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.service-card .btn { align-self: flex-start; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item { background: #fff; border-radius: var(--radius); padding: 26px 20px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.why-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--navy); color: #fff; }
.why-item h3 { font-size: 1rem; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: .88rem; }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { position: relative; background: var(--bg-alt); border-radius: var(--radius); padding: 30px 22px 24px;
  text-align: center; border: 1px solid var(--line); }
.step-num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; box-shadow: var(--shadow-sm); }
.step-icon { color: var(--navy); margin-bottom: 10px; }
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9rem; }

/* ---------- Areas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 16px; font-weight: 500; font-size: .9rem; color: var(--navy);
  box-shadow: var(--shadow-sm); }
.chip .icon { color: var(--blue); }

/* ---------- FAQ ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: none; border: 0; text-align: left; cursor: pointer; padding: 18px 20px;
  font: 600 1rem var(--font); color: var(--navy); }
.acc-btn:hover { background: var(--bg-alt); }
.acc-chevron { font-size: 1.3rem; color: var(--blue); transition: transform .2s; line-height: 1; }
.acc-btn[aria-expanded="true"] .acc-chevron { transform: rotate(45deg); }
.acc-panel { padding: 0 20px 18px; color: var(--muted); }

/* ---------- Contact band ---------- */
.contact-band { background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: #fff; padding: 52px 0; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.contact-band h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.contact-band p { color: #c3d2e8; max-width: 480px; }
.contact-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #091d38; color: #b9c7dc; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 52px 20px 36px; }
.footer-logo { font-size: 1.3rem; color: #fff; }
.footer-logo span { color: var(--green); }
.footer-brand p { margin-top: 12px; font-size: .84rem; line-height: 1.7; color: #8da2bf; }
.footer-col h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #b9c7dc; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1c3658; padding: 16px 0; text-align: center; font-size: .82rem; color: #7f94b2; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff;
  box-shadow: 0 6px 22px rgba(37, 211, 102, .45); transition: transform .18s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Mini Popup ---------- */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 37, 69, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}
.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}
.popup-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(11, 37, 69, 0.2);
  width: 100%;
  max-width: 360px;
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  border-top: 5px solid var(--blue);
}
.popup-overlay.show .popup-content {
  transform: translateY(0);
}
.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  z-index: 10;
}
.popup-close:hover {
  color: var(--navy);
}
.popup-body {
  padding: 30px 24px;
  text-align: center;
}
.popup-icon-main {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy);
}
.popup-body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.popup-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.popup-actions .btn {
  width: 100%;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 48px 0; }
  .hero { padding: 32px 0 48px; }
  .cards-grid, .steps-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .btn-label { display: none; }
  .btn-label-sm { display: inline; }
  .header-actions .btn { padding: 9px 13px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .contact-inner { flex-direction: column; text-align: center; }
  .form-card { padding: 22px 18px; }
  .form-success { padding: 26px 18px; }
  .success-actions .btn { width: 100%; }
}
