/* ===== Design tokens ===== */
:root {
  --color-primary: #212b2d;
  --color-primary-light: #445150;
  --color-accent: #7cbb00;
  --color-accent-dark: #629400;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1ebc59;

  --color-bg: #ffffff;
  --color-bg-alt: #f5f8f0;
  --color-text: #1c2422;
  --color-text-muted: #5c6b63;
  --color-border: #e2e8e0;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(33, 43, 45, 0.08);
  --shadow-md: 0 12px 30px rgba(33, 43, 45, 0.14);
  --transition: 220ms ease;
}

/* ===== Reset ===== */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; margin: 0; color: var(--color-primary); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

.btn-primary {
  background: var(--color-accent);
  color: #14251a;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  width: 100%;
}
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== Top bar ===== */
.top-bar {
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 0.85rem;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 24px;
  flex-wrap: wrap;
}
.top-bar-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.top-bar-contact a:hover { color: #fff; }
.top-bar-whatsapp { display: inline-flex; align-items: center; gap: 6px; }
.top-bar-whatsapp svg { width: 1em; height: 1em; fill: #000; flex-shrink: 0; }
.top-bar-tagline { font-weight: 500; letter-spacing: 0.03em; color: var(--color-primary); text-decoration: none; }
.top-bar-tagline:hover { color: #fff; text-decoration: underline; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--color-primary);
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav-list { display: flex; gap: 32px; }
.nav-link {
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: var(--color-primary); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,10,8,0.72) 0%, rgba(7,11,9,0.52) 42%, rgba(7,11,9,0.32) 72%, rgba(7,11,9,0.24) 100%),
    linear-gradient(180deg, rgba(10,14,12,0.32) 0%, rgba(6,10,8,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 60px;
  max-width: 720px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.hero-brand {
  display: inline-flex;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 22px;
  margin-bottom: 26px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}
.hero-brand img { height: 54px; width: auto; display: block; }
@media (max-width: 760px) {
  .hero-brand { padding: 11px 18px; }
  .hero-brand img { height: 44px; }
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin-bottom: 34px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.hero-badges li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  padding-left: 22px;
  position: relative;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero .eyebrow { text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.hero-badges li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ===== Credibility banner ===== */
.banner { background: var(--color-accent); padding: 22px 0; }
.banner-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  text-align: center;
}
.banner-item { color: #14251a; font-size: 0.95rem; }
.banner-item strong { font-family: var(--font-heading); }

/* ===== Section shared ===== */
section { padding: 110px 0; }
/* Offset anchor jumps so section headings clear the sticky header */
section[id] { scroll-margin-top: 90px; }
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left { margin: 0 0 40px; text-align: left; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 14px;
}
.section-sub { color: var(--color-text-muted); font-size: 1.05rem; }

.services { background: var(--color-bg-alt); }
.gallery { background: var(--color-bg-alt); }

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-media { position: relative; height: 340px; overflow: hidden; }
.service-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transition: transform 400ms ease;
}
.service-card:hover .service-media img { transform: scale(1.06); }

.service-media--placeholder,
.gallery-item--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-text-muted);
}
.service-media--placeholder {
  height: 340px;
  border: 1px dashed #c7d1d5;
  background: repeating-linear-gradient(135deg, #e9eef0, #e9eef0 12px, #dbe3e6 12px, #dbe3e6 24px);
}
.placeholder-icon { font-size: 1.8rem; opacity: 0.7; }
.placeholder-text { font-size: 0.8rem; font-weight: 500; }

.service-body { padding: 26px 24px 30px; flex: 1; display: flex; flex-direction: column; }
.service-icon { font-size: 1.6rem; margin-bottom: 10px; }
.service-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-body p { color: var(--color-text-muted); font-size: 0.95rem; flex: 1; }
.service-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--color-primary-light);
}
.service-link:hover { color: var(--color-accent-dark); }

/* ===== Promo ===== */
.promo { padding: 0 0 110px; }
.promo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.promo-image {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.promo-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 16px; }
.promo-text p { color: var(--color-text-muted); margin-bottom: 24px; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: none;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 400ms ease;
}
.gallery-item:not(.gallery-item--placeholder):hover img { transform: scale(1.08); }
.gallery-item--placeholder {
  align-items: center;
  border: 1px dashed #c7d1d5;
  background: repeating-linear-gradient(135deg, #e9eef0, #e9eef0 12px, #dbe3e6 12px, #dbe3e6 24px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 14, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
}

/* ===== About ===== */
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text p { color: var(--color-text-muted); margin-bottom: 16px; }
.tagline-badges {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.tagline-badges li {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 8px 18px;
  border-radius: 999px;
}

.about-points { display: flex; flex-direction: column; gap: 26px; }
.point { display: flex; gap: 16px; align-items: flex-start; }
.point-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--color-bg-alt);
  font-size: 1.3rem;
}
.point h3 { font-size: 1rem; margin-bottom: 4px; }
.point p { color: var(--color-text-muted); font-size: 0.92rem; }

/* ===== Service area ===== */
.service-area { background: var(--color-bg-alt); }
.area-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.area-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-weight: 500;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.area-grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.area-grid li::before {
  content: '\1F4CD';
  font-size: 1rem;
  flex-shrink: 0;
}
.area-note {
  text-align: center;
  margin: 36px auto 0;
  color: var(--color-text-muted);
}
.area-note a { color: var(--color-accent-dark); font-weight: 600; }
.area-note a:hover { text-decoration: underline; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 6px 24px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 1.3rem;
  color: var(--color-accent-dark);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { color: var(--color-text-muted); margin: 0 0 18px; }

/* ===== Contact ===== */
.contact { background: var(--color-bg-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 14px;
  text-align: center;
}
.contact-details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}
.contact-details li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; }
.contact-label { color: var(--color-text-muted); }
.contact-details a:hover { color: var(--color-accent-dark); }

.contact-info {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-info h3 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li {
  padding-left: 26px;
  position: relative;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
}
.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ===== Footer ===== */
.site-footer { background: #171f1c; color: rgba(255,255,255,0.75); padding: 48px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-logo {
  background: #fff;
  border-radius: 50%;
  padding: 6px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: rgba(255,255,255,0.6); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--color-accent); }
.footer-copy { font-size: 0.85rem; width: 100%; text-align: center; margin-top: 12px; }

/* ===== WhatsApp floating button ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 400;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.08); }

.back-to-top {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 400;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--color-accent-dark); }

/* ===== Scroll-reveal animation =====
   Hidden state only applies once js.js confirms it can run the reveal
   (html.js-ready). If JS is blocked or errors, content stays visible. */
.js-ready [data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.js-ready [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-inner, .contact-grid, .promo-inner { grid-template-columns: 1fr; }
  .promo-inner { padding: 28px; }
}

@media (max-width: 760px) {
  section { padding: 72px 0; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav.is-open { max-height: 400px; }
  .nav-list { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .nav-list li { border-top: 1px solid var(--color-border); }
  .nav-link { display: block; padding: 14px 0; }

  .header-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }

  .top-bar-tagline { display: none; }
  .top-bar-inner { justify-content: center; padding: 8px 16px; }

  .hero { min-height: 100vh; }
  .hero-content { padding-top: 60px; }

  .contact-card, .contact-info { padding: 28px; }
}
