/* ============================================
   Achiever Tech Plumbing Work — Stylesheet
   ============================================ */

:root {
  --navy-900: #08243f;
  --navy-800: #0d3b66;
  --navy-700: #144a7c;
  --navy-100: #e8f0f8;

  --accent: #ff6b35;
  --accent-dark: #e2551f;
  --accent-light: #ffe3d4;

  --whatsapp: #25d366;
  --whatsapp-dark: #1ebc59;

  --ink: #16212e;
  --ink-soft: #4a5b6c;
  --bg: #f7f9fb;
  --white: #ffffff;
  --border: #e3e9ef;

  --topbar-bg: var(--navy-900);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(8, 36, 63, 0.08);
  --shadow-lg: 0 20px 50px rgba(8, 36, 63, 0.16);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

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

a { color: inherit; text-decoration: none; }

img, svg { max-width: 100%; display: block; }

ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon-sm { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.icon-md { width: 24px; height: 24px; fill: currentColor; flex-shrink: 0; }
.icon-lg { width: 32px; height: 32px; fill: currentColor; flex-shrink: 0; }
.icon-accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.35);
}
.btn--primary:hover { background: var(--accent-dark); }

.btn--ghost {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn--ghost:hover { background: var(--navy-800); color: var(--white); }

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn--whatsapp:hover { background: var(--whatsapp-dark); }

.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--topbar-bg);
  color: #cfe0f0;
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 9px 24px;
}
.topbar__item { display: flex; align-items: center; gap: 8px; }
.topbar__item .icon-sm { color: var(--accent); }
.topbar__cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
}
.topbar__cta .icon-sm { color: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wrench-icon { width: 24px; height: 24px; fill: var(--accent); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-900); }
.brand__text small { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav__link:hover, .nav__link.active { color: var(--navy-800); }
.nav__link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  overflow: hidden;
  padding: 76px 0 110px;
}
.hero__bg { position: absolute; inset: auto 0 0 0; opacity: 0.5; }
.hero__waves { width: 100%; height: 140px; fill: rgba(255,255,255,0.04); }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.15);
  color: #ffb08a;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.hero__content h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 20px;
}

.hero__lead {
  color: #c3d4e5;
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 30px;
}

.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__ctas .btn--ghost { border-color: rgba(255,255,255,0.4); color: var(--white); }
.hero__ctas .btn--ghost:hover { background: var(--white); color: var(--navy-900); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cfe0f0;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero__card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.hero__card-header .icon-lg {
  background: var(--navy-100);
  color: var(--navy-800);
  padding: 12px;
  border-radius: 12px;
  width: 48px; height: 48px;
}
.hero__card-label { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }
.hero__card-value { margin: 2px 0 0; font-family: var(--font-head); font-weight: 700; color: var(--navy-900); font-size: 1.15rem; }

.hero__card-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--border);
}
.hero__card-row strong { color: var(--navy-900); }

.hero__card .btn--whatsapp { margin-top: 20px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--alt { background: var(--white); }
.section--dark {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
}

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head p { margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow--light { color: #ffb08a; }

.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; fill: var(--navy-800); }

.card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.card p { font-size: 0.92rem; margin: 0; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about__illustration { width: 100%; max-width: 380px; margin: 0 auto; }
.about__circle { fill: var(--navy-100); }
.about__pipe { fill: none; stroke: var(--navy-800); stroke-width: 14; stroke-linecap: round; }
.about__drop { fill: var(--accent); }

.check-list { margin: 22px 0 30px; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }

/* ---------- Service Area ---------- */
.area { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: stretch; }
.area__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 340px;
}
.area__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

.area__info {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row h4 { margin: 0 0 4px; font-size: 1rem; }
.info-row p { margin: 0; font-size: 0.9rem; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact__info h2 { color: var(--white); }
.contact__info p { color: #c3d4e5; }

.contact__method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.15s ease;
}
.contact__method:not(.contact__method--static):hover { transform: translateX(6px); }
.contact__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.15);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact__method strong { display: block; color: var(--white); font-size: 0.98rem; }
.contact__method small { color: #a9c0d6; font-size: 0.85rem; }

.contact__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.contact__card h3 { margin-bottom: 6px; }
.contact__card > p { font-size: 0.9rem; margin-bottom: 22px; }

.form { display: flex; flex-direction: column; gap: 18px; }
.form label { font-size: 0.85rem; font-weight: 600; color: var(--navy-900); display: flex; flex-direction: column; gap: 8px; }
.form input, .form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.15s ease;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #a9c0d6; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}
.footer__brand { display: flex; gap: 14px; }
.footer__brand strong { color: var(--white); font-family: var(--font-head); font-size: 1.05rem; }
.footer__brand p { font-size: 0.88rem; margin: 8px 0 0; max-width: 300px; }

.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 6px; }
.footer__col a, .footer__col span { font-size: 0.88rem; color: #a9c0d6; }
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
}
.footer__bottom p { margin: 0; color: #7f97ac; }

/* ---------- Mobile call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
}

/* ---------- Reveal animation ----------
   Hidden state only applies once JS confirms it can run (html.js,
   set synchronously in <head>) and will add .is-visible back in on
   scroll. Without JS, .reveal elements stay fully visible. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 460px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; text-align: center; }
  .check-list { align-items: center; }
  .about__illustration { max-width: 260px; }
  .area { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar__item:first-child { display: none; }
  .topbar__inner { justify-content: space-between; }
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 78%;
    max-width: 320px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 100px 32px 32px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav.open { transform: translateX(0); }
  .nav__link { width: 100%; padding: 12px 0; font-size: 1.05rem; }
  .hamburger { display: flex; }
  .header__actions .btn--primary { display: none; }
  .grid--4 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 32px; }
  .mobile-call-bar { display: flex; }
  .section { padding: 64px 0; }
  body { padding-bottom: 58px; }
}
