:root {
  --bg: #f5f7fa;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --surface: #e8edf3;
  --text: #1a2332;
  --text-muted: #5c6b7f;
  --accent: #2b995d;
  --accent-strong: #248f52;
  --accent-glow: rgba(43, 153, 93, 0.22);
  --blue: #29abe2;
  --border: rgba(26, 35, 50, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(26, 35, 50, 0.08);
  --shadow-sm: 0 4px 18px rgba(26, 35, 50, 0.06);
  --container: 1180px;
  --header-h: 80px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  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-display); line-height: 1.15; margin: 0 0 0.6em; color: var(--text); }
p { margin: 0 0 1rem; }
.container { width: min(var(--container), calc(100% - 2rem)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--accent); color: #fff; padding: 0.75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.35rem; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; transition: 0.2s ease; cursor: pointer; font-size: 0.95rem;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), #31ad69);
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px var(--accent-glow); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--outline {
  background: #fff; border-color: rgba(26, 35, 50, 0.15); color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}
.btn--whatsapp:hover { background: #1ebe5d; color: #fff; transform: translateY(-1px); }
.btn--whatsapp svg { width: 1.05em; height: 1.05em; fill: currentColor; flex-shrink: 0; }
.btn--small { padding: 0.55rem 1rem; font-size: 0.875rem; }
.text-link { color: var(--accent); font-weight: 600; }
.text-link:hover { color: var(--blue); }
.eyebrow {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 0.75rem;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; }
.site-header__bar {
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header.is-scrolled .site-header__bar { box-shadow: var(--shadow-sm); }
.site-header__inner {
  min-height: var(--header-h); display: flex; align-items: center; gap: 1rem;
}
.brand { display: flex; align-items: center; min-width: 0; flex-shrink: 0; }
.brand__logo {
  height: 52px; width: auto; max-width: min(240px, 48vw); object-fit: contain;
}
.brand__logo--footer { height: 48px; margin-bottom: 0.75rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block; height: 2px; background: #1a2332; margin: 5px 0; border-radius: 2px;
}

.desktop-nav { margin-left: auto; }
.desktop-nav__list { display: flex; gap: 0.25rem; align-items: center; }
.desktop-nav__list > li > a {
  display: block; padding: 0.55rem 0.85rem; border-radius: 999px;
  color: var(--text-muted); font-weight: 500; font-size: 0.92rem;
}
.desktop-nav__list > li > a:hover,
.desktop-nav__list > li > a.is-active {
  color: var(--accent-strong); background: rgba(43, 153, 93, 0.08);
}
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 0.5rem); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s;
  box-shadow: var(--shadow);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 0.55rem 0.75rem; border-radius: 8px; color: var(--text-muted); font-size: 0.875rem;
}
.dropdown a:hover { background: rgba(43, 153, 93, 0.08); color: var(--accent-strong); }
.header-actions { display: flex; gap: 0.5rem; align-items: center; margin-left: 0.75rem; }
.header-phone { white-space: nowrap; }

/* Mobile drawer — hidden until .is-open */
.nav-overlay,
.mobile-drawer {
  display: none;
}

.mobile-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(300px, 86vw);
  z-index: 2000;
  background: #fff;
  box-shadow: 4px 0 24px rgba(0,0,0,0.12);
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.is-open {
  display: flex !important;
}

.nav-overlay.is-visible,
body.nav-open .nav-overlay {
  display: block !important;
  position: fixed;
  inset: 0;
  z-index: 1900;
  background: rgba(0, 0, 0, 0.45);
}

.mobile-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #e5eaf0;
  background: #f7f9fb;
  position: sticky;
  top: 0;
}

.mobile-drawer__top strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #1a2332;
}

.mobile-drawer__close {
  width: 42px; height: 42px;
  border: 1px solid #d8dee6;
  border-radius: 10px;
  background: #fff;
  color: #1a2332;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
}

.mobile-drawer__nav > a {
  display: block;
  padding: 0.95rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2332 !important;
  border-bottom: 1px solid #eef2f6;
  text-decoration: none;
}

.mobile-drawer__heading {
  margin: 0;
  padding: 0.95rem 1.25rem 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2332;
  border-bottom: none;
}

.mobile-drawer__sub {
  display: block;
  padding: 0.55rem 1.25rem 0.55rem 1.75rem !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: #5c6b7f !important;
  border-bottom: none !important;
}

.mobile-drawer__sub--all {
  color: #248f52 !important;
  font-weight: 600 !important;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid #eef2f6 !important;
  padding-bottom: 0.85rem !important;
}

.mobile-drawer__btns {
  margin-top: auto;
  padding: 1rem 1.15rem 1.35rem;
  display: grid;
  gap: 0.65rem;
  border-top: 1px solid #e5eaf0;
  background: #f7f9fb;
}

.mobile-drawer__btns .btn {
  width: 100%;
}

.mobile-drawer__btns .btn--primary {
  color: #fff !important;
}

/* Hero */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h)); min-height: 620px;
  display: grid; align-items: center; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center right;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.82) 38%, rgba(255,255,255,0.45) 62%, rgba(255,255,255,0.15) 100%),
    radial-gradient(circle at 80% 30%, rgba(43,153,93,0.08), transparent 45%);
}
.hero__content { position: relative; padding: 4rem 0 5rem; max-width: 720px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.85rem;
  border: 1px solid rgba(43,153,93,0.25); border-radius: 999px; color: var(--accent-strong);
  font-size: 0.82rem; font-weight: 600; margin-bottom: 1.25rem; background: rgba(43,153,93,0.08);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 12ch; letter-spacing: -0.03em; color: var(--text);
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lede { font-size: 1.12rem; color: var(--text-muted); max-width: 54ch; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 640px;
}
.hero__stats--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 480px; }
.hero__stat {
  padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; box-shadow: var(--shadow-sm);
}
.hero__stat strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--accent); }
.hero__stat span { color: var(--text-muted); font-size: 0.82rem; }

/* Sections */
.section { padding: 5rem 0; }
.section--tight { padding: 3.5rem 0; }
.section__head {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem;
}
.section__head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 16ch; }
.section__head p { color: var(--text-muted); max-width: 42ch; margin: 0; }

/* Repair cards */
.repair-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem;
}
@media (min-width: 1100px) {
  .repair-grid { grid-template-columns: repeat(4, 1fr); }
}
.repair-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-card); transition: 0.25s ease; box-shadow: var(--shadow-sm);
}
.repair-card:hover {
  transform: translateY(-4px); border-color: rgba(43,153,93,0.35); box-shadow: var(--shadow);
}
.repair-card__img {
  aspect-ratio: 16 / 10; object-fit: cover; width: 100%;
  background: #eef2f6;
}
.repair-card__body {
  padding: 1.25rem 1.25rem 1.5rem; text-align: center;
}
.repair-card h3 { font-size: 1.15rem; }
.repair-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1rem; }
.repair-card .text-link { display: inline-block; }

/* Device rail */
.device-rail { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; }
.device-rail::-webkit-scrollbar { height: 6px; }
.device-rail::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 999px; }
.device-card {
  flex: 0 0 240px; scroll-snap-align: start; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-sm);
}
.device-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.device-card__body { padding: 1rem; }
.device-card__cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.device-card h3 { font-size: 1rem; margin: 0.35rem 0 0.5rem; }
.device-card__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.device-card__tags span {
  font-size: 0.72rem; padding: 0.2rem 0.5rem; border-radius: 999px;
  background: var(--bg); color: var(--text-muted); border: 1px solid var(--border);
}

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process-step {
  padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--border);
  background: #fff; box-shadow: var(--shadow-sm);
}
.process-step__num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: rgba(43,153,93,0.35);
  line-height: 1; margin-bottom: 0.75rem;
}
.process-step h3 { font-size: 1.05rem; }
.process-step p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* Split band */
.split-band {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
}
.split-band__media {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 360px;
  background-size: cover; background-position: center; box-shadow: var(--shadow-sm);
}
.split-band__copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.split-band__copy p { color: var(--text-muted); }
.check-list { margin: 1.25rem 0 1.5rem; }
.check-list li {
  position: relative; padding-left: 1.6rem; margin-bottom: 0.65rem; color: var(--text-muted);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}

/* Testimonials */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem;
}
@media (min-width: 1100px) {
  .testimonial-grid { grid-template-columns: repeat(4, 1fr); }
}
.testimonial-card {
  padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--border);
  background: #fff; box-shadow: var(--shadow-sm);
}
.stars { color: #f59e0b; letter-spacing: 0.05em; }
.testimonial-card p { color: var(--text-muted); font-size: 0.95rem; }
.testimonial-card__meta { margin-top: 1rem; font-size: 0.85rem; }
.testimonial-card__meta strong { display: block; color: var(--text); }
.testimonial-card__meta span { color: var(--text-muted); }

/* CTA band */
.cta-band {
  margin: 0 1rem 4rem; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  background: linear-gradient(135deg, #2b995d, #29abe2); padding: 3rem;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 18ch; margin: 0; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0.5rem 0 0; max-width: 40ch; }
.cta-band__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cta-band .btn--primary { background: #fff; color: var(--accent-strong); box-shadow: none; }
.cta-band .btn--ghost { border-color: rgba(255,255,255,0.45); color: #fff; }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* FAQ */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; padding: 1.1rem 0; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.25rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--text-muted); padding-bottom: 1rem; margin: 0; }

/* Page hero */
.page-hero {
  padding: 4.5rem 0 3rem; background: #fff; border-bottom: 1px solid var(--border);
}
.page-hero--image {
  position: relative; min-height: 320px; display: grid; align-items: end;
  background-size: cover; background-position: center;
}
.page-hero--image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(26,35,50,0.75));
}
.page-hero--image .container { position: relative; padding-bottom: 2.5rem; }
.page-hero--image h1,
.page-hero--image p,
.page-hero--image .breadcrumb { color: #fff; }
.page-hero--image .breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: var(--text-muted); max-width: 56ch; margin: 0; }

/* Detail page */
.detail-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: start; }
.detail-hero-img {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.detail-hero-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.detail-sidebar {
  position: sticky; top: calc(var(--header-h) + 1rem);
  padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--border);
  background: #fff; box-shadow: var(--shadow-sm);
}
.detail-sidebar h3 { font-size: 1.1rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.chip-list span {
  padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.82rem;
  background: rgba(43,153,93,0.08); color: var(--accent-strong); border: 1px solid rgba(43,153,93,0.18);
}

/* Forms */
.form { display: grid; gap: 1rem; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--text); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: #fff; color: var(--text); font: inherit;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43,153,93,0.12);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.alert {
  padding: 0.85rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem;
  background: rgba(43,153,93,0.1); border: 1px solid rgba(43,153,93,0.22); color: var(--accent-strong);
}
.alert--error { background: rgba(220,38,38,0.08); border-color: rgba(220,38,38,0.2); color: #b91c1c; }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: start; }
.contact-card {
  padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--border);
  background: #fff; box-shadow: var(--shadow-sm);
}
.contact-card h3 { margin-bottom: 0.75rem; }
.contact-card p { color: var(--text-muted); margin-bottom: 0.5rem; }
.contact-card a { color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); background: #fff; padding: 3.5rem 0 0;
}
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding-bottom: 2.5rem;
}
.site-footer h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1rem; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--text-muted); font-size: 0.92rem; }
.site-footer a:hover { color: var(--accent); }
.site-footer__brand p { color: var(--text-muted); font-size: 0.92rem; }
.site-footer__social { display: flex; gap: 0.75rem; margin-top: 1rem; align-items: center; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(43, 153, 93, 0.1); border: 1px solid rgba(43, 153, 93, 0.2);
  color: var(--accent-strong); transition: 0.2s ease;
}
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-icon--whatsapp { background: rgba(37, 211, 102, 0.12); border-color: rgba(37, 211, 102, 0.35); color: #128c7e; }
.social-icon--whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; }
.social-icon:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.site-footer__bottom {
  border-top: 1px solid var(--border); padding: 1rem 0; color: var(--text-muted); font-size: 0.85rem;
  background: var(--bg);
}

.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none; gap: 0.5rem; padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(26,35,50,0.06);
}
.mobile-cta .btn { flex: 1; font-size: 0.82rem; padding: 0.75rem 0.5rem; }
.mobile-cta .btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  body.nav-open { overflow: hidden; }

  .site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.75rem;
  }

  .nav-toggle { display: block; }

  .brand__logo {
    height: 40px;
    max-width: min(190px, 52vw);
  }

  .desktop-nav,
  .header-actions {
    display: none !important;
  }

  .process-grid { grid-template-columns: 1fr 1fr; }
  .split-band, .detail-layout, .split, .site-footer__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .section__head { flex-direction: column; align-items: start; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 70px; }
}
@media (max-width: 600px) {
  .form-row.two { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 2rem 1.25rem; margin-inline: 0.5rem; }
}
