/* =========================================================
 * Aquozy public site styles — chunk 2
 * Brand: primary #244572, accent #5FA9C9, soft bg #F5F7FA, text #2B2B2B
 * Mobile-first.
 * ========================================================= */

:root {
  --primary: #244572;
  --primary-dark: #1a3559;
  --accent: #5FA9C9;
  --accent-soft: #cbe5f0;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --text: #2B2B2B;
  --muted: #6b7585;
  --line: #e6ecf2;
  --success: #2f8f53;
  --danger: #c93838;
  --warning: #b48008;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(20,42,71,.06);
  --shadow: 0 8px 28px rgba(20,42,71,.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.serif { font-family: 'Fraunces', Georgia, serif; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; color: var(--primary); }
.logo-img { height: 30px; width: auto; display: block; }
@media (min-width: 720px) { .logo-img { height: 34px; } }
/* legacy text-mark fallback (kept for any callers not yet migrated) */
.logo-mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--primary); color: #fff;
  font-family: 'Fraunces', Georgia, serif; font-size: 19px; font-weight: 700;
}
.logo-word { font-family: 'Fraunces', Georgia, serif; font-size: 22px; letter-spacing: -.01em; margin-left: 10px; }
.nav { display: none; gap: 6px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: var(--radius-pill);
  color: var(--text); font-weight: 500; font-size: .95rem;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--bg-soft); color: var(--primary); }
.nav a.active { background: var(--primary); color: #fff; }
.header-cta { display: none; }
.nav-toggle {
  display: grid; gap: 5px; width: 38px; height: 38px;
  margin-left: auto; padding: 10px 8px; background: transparent; border: 0;
  cursor: pointer; align-content: center;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--primary); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 820px) {
  .nav { display: flex; margin-left: auto; }
  .header-cta { display: block; }
  .nav-toggle { display: none; }
}
@media (max-width: 819px) {
  body.nav-open .nav {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; top: 68px; left: 0; right: 0;
    background: #fff; padding: 16px 22px 22px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  body.nav-open .nav a { padding: 12px 14px; font-size: 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .98rem; cursor: pointer; border: 0;
  transition: transform .1s, background .15s, color .15s, box-shadow .15s;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #0b1a2e; }
.btn-accent:hover { background: #4d97b9; color: #0b1a2e; }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1fb957; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #0b1a2e 0%, #1a3559 60%, #244572 100%);
  color: #fff;
  padding: 48px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: auto -10% -40% -10%;
  height: 60%; background: radial-gradient(ellipse at center top, rgba(95,169,201,.35), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(95,169,201,.18); border: 1px solid rgba(95,169,201,.4);
  color: #a8d8ea; font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  font-size: 2.1rem; line-height: 1.15; margin-bottom: 16px;
  letter-spacing: -.02em;
}
.hero p { font-size: 1.05rem; color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto 26px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (min-width: 720px) {
  .hero { padding: 80px 0 90px; }
  .hero h1 { font-size: 3rem; }
  .hero p { font-size: 1.15rem; }
}
@media (min-width: 1000px) { .hero h1 { font-size: 3.4rem; } }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-head .eyebrow {
  display: inline-block; color: var(--accent); font-weight: 700;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: 1.8rem; color: var(--primary); line-height: 1.2; margin-bottom: 12px;
  letter-spacing: -.02em;
}
.section-head p { color: var(--muted); font-size: 1.02rem; }
@media (min-width: 720px) { .section-head h2 { font-size: 2.2rem; } }

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  display: flex; flex-direction: column; height: 100%;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-soft); }
.service-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--bg-soft); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 16px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.18rem; color: var(--primary); margin-bottom: 8px; font-weight: 700; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; flex: 1; }
.service-card .price { font-size: .85rem; color: var(--text); font-weight: 600; }
.service-card .price em { color: var(--muted); font-style: normal; font-weight: 500; }
.service-card .cta { margin-top: 18px; }

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: left; box-shadow: var(--shadow-sm);
}
.why-card .num {
  font-family: 'Fraunces', serif; font-size: 1.8rem; color: var(--accent);
  font-weight: 700; line-height: 1; margin-bottom: 10px;
}
.why-card h4 { font-size: 1rem; color: var(--primary); margin-bottom: 6px; font-weight: 700; }
.why-card p { font-size: .92rem; color: var(--muted); }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3559 100%);
  color: #fff; padding: 40px 0; text-align: center;
}
.cta-strip h2 {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.6rem;
  margin-bottom: 8px; letter-spacing: -.01em;
}
.cta-strip p { color: rgba(255,255,255,.78); margin-bottom: 22px; max-width: 560px; margin-left: auto; margin-right: auto; }
@media (min-width: 720px) { .cta-strip { padding: 56px 0; } .cta-strip h2 { font-size: 2rem; } }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) { .form-card { padding: 36px 38px; } }
.form-grid { display: grid; gap: 16px 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-row { grid-column: 1 / -1; }
.field label {
  display: block; font-size: .82rem; font-weight: 600; color: var(--muted);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em;
}
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .98rem;
  background: #fff; color: var(--text);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(95,169,201,.18);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .err { color: var(--danger); font-size: .85rem; margin-top: 5px; font-weight: 600; }
.honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.alert {
  padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 20px;
  font-size: .95rem; font-weight: 500; border: 1px solid; line-height: 1.5;
}
.alert.error   { background: #fbe9e9; color: var(--danger);  border-color: #f0c8c8; }
.alert.success { background: #e6f6ec; color: var(--success); border-color: #c8e8d2; }
.alert.warn    { background: #fff5e0; color: var(--warning); border-color: #f4dca0; }

/* ---------- Confirmation page ---------- */
.confirm {
  text-align: center; max-width: 640px; margin: 0 auto;
  background: #fff; padding: 44px 28px; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.confirm .checkmark {
  width: 72px; height: 72px; border-radius: 50%; background: #e6f6ec;
  display: grid; place-items: center; margin: 0 auto 20px; color: var(--success);
}
.confirm h1 {
  font-family: 'Fraunces', serif; font-weight: 700; color: var(--primary);
  font-size: 1.7rem; margin-bottom: 10px;
}
.confirm .ref-block {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px; margin: 22px 0;
}
.confirm .ref-label { font-size: .78rem; color: var(--muted); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.confirm .ref-id { font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: .01em; font-family: 'Manrope', sans-serif; }
.confirm .next-list { text-align: left; max-width: 420px; margin: 22px auto; padding-left: 22px; color: var(--text); }
.confirm .next-list li { margin-bottom: 8px; font-size: .95rem; }
.confirm .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 18px; font-weight: 700; }
.contact-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ic {
  width: 38px; height: 38px; border-radius: var(--radius-sm); flex: 0 0 38px;
  display: grid; place-items: center; background: var(--bg-soft); color: var(--primary);
}
.contact-row .ic svg { width: 18px; height: 18px; }
.contact-row .lbl { font-size: .82rem; color: var(--muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.contact-row .val { font-size: 1rem; color: var(--text); font-weight: 500; }
.contact-row .val a { color: var(--text); }
.contact-row .val a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #0b1a2e; color: #d3d8df; padding: 48px 0 18px; margin-top: 60px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr .8fr 1fr; } }
.footer-logo .logo-mark { background: var(--accent); color: #0b1a2e; }
.footer-logo .logo-word { color: #fff; }
.footer-logo .logo-img { height: 36px; }
.footer-tagline { color: rgba(255,255,255,.65); font-size: .92rem; margin-top: 12px; max-width: 360px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; font-weight: 700; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: rgba(255,255,255,.7); font-size: .94rem; }
.site-footer ul a:hover { color: var(--accent); }
.footer-bottom { padding-top: 18px; display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 10px; }
.muted-link { color: rgba(255,255,255,.4); }
.muted-link:hover { color: var(--accent); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .15s, box-shadow .15s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.55); }

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.tagline { display: inline-block; padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--bg-soft); color: var(--primary); font-size: .82rem; font-weight: 600; }
