:root {
  --primary: #e8731a;
  --primary-dark: #c55d0e;
  --dark: #1f2933;
  --dark-2: #323f4b;
  --text: #3e4c59;
  --muted: #7b8794;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --border: #e4e7eb;
  --whatsapp: #25d366;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(31, 41, 51, 0.08);
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }

h1, h2, h3 { color: var(--dark); line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 0.6em; }
h3 { font-size: 1.2rem; margin-bottom: 0.4em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Top bar + header */
.topbar { background: var(--dark); color: #cbd2d9; font-size: 0.9rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--dark); font-weight: 800; font-size: 1.25rem; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 1.2rem;
}
.logo small { display: block; font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0.05em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--dark); font-weight: 600; font-size: 0.97rem; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav .btn { color: #fff; padding: 10px 20px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--dark); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(100deg, rgba(31, 41, 51, 0.92) 0%, rgba(31, 41, 51, 0.65) 60%, rgba(31, 41, 51, 0.35) 100%),
    url("../img/hero.svg") center / cover no-repeat;
  padding: 110px 0 120px;
}
.hero h1 { color: #fff; max-width: 720px; }
.hero p.lead { font-size: 1.2rem; max-width: 600px; margin: 20px 0 32px; color: #e4e7eb; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 28px; margin-top: 48px; flex-wrap: wrap; }
.hero-badges div { display: flex; flex-direction: column; }
.hero-badges strong { font-size: 2rem; color: var(--primary); line-height: 1; }
.hero-badges span { font-size: 0.9rem; color: #cbd2d9; }

.page-hero { padding: 80px 0; }
.breadcrumb { font-size: 0.9rem; color: #cbd2d9; margin-bottom: 16px; }
.breadcrumb a { color: #fff; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); align-items: center; gap: 56px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card-link { margin-top: 14px; font-weight: 700; }

.feature { text-align: center; padding: 28px 20px; }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(232, 115, 26, 0.12);
  display: grid; place-items: center;
  font-size: 1.8rem;
}
.feature p { color: var(--muted); font-size: 0.95rem; }

/* About */
.about-img { border-radius: var(--radius); box-shadow: var(--shadow); }
.checklist { list-style: none; margin: 20px 0 28px; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 0.8rem; font-weight: 800;
  display: grid; place-items: center;
}

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--dark); color: #fff; font-weight: 800;
  margin-bottom: 14px;
}
.step p { color: var(--muted); font-size: 0.95rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff; font-weight: 600; font-size: 0.95rem;
}

/* Testimonials */
.testimonial { padding: 28px; }
.stars { color: #f5a623; font-size: 1.1rem; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial p { font-style: italic; color: var(--text); }
.testimonial cite { display: block; margin-top: 14px; font-style: normal; font-weight: 700; color: var(--dark); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { padding: 18px 22px; font-weight: 700; color: var(--dark); cursor: pointer; list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* Contact */
.contact-box { background: var(--dark); color: #e4e7eb; border-radius: 16px; padding: 48px; }
.contact-box h2 { color: #fff; }
.contact-list { list-style: none; margin: 24px 0; }
.contact-list li { margin-bottom: 14px; display: flex; gap: 12px; align-items: center; }
.contact-list a { color: #fff; font-weight: 600; }
.contact-list .ico { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; flex-shrink: 0; }

.form { background: #fff; border-radius: var(--radius); padding: 28px; color: var(--text); }
.form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--dark); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 16px;
  border: 1px solid var(--border); border-radius: 8px;
  font: inherit; font-size: 0.97rem; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* Service page */
.content { max-width: 820px; }
.content h2 { margin-top: 40px; }
.content p { margin-bottom: 16px; }
.content ul { margin: 0 0 20px 22px; }
.content li { margin-bottom: 8px; }
.side-cta { position: sticky; top: 100px; background: var(--bg-alt); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.side-cta .btn { width: 100%; justify-content: center; margin-top: 12px; }
.layout-side { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }

/* CTA band */
.cta-band { background: var(--primary); color: #fff; padding: 56px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band .btn-light { background: #fff; color: var(--primary-dark); }

/* Footer */
.footer { background: #111a22; color: #9aa5b1; padding: 60px 0 24px; font-size: 0.95rem; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { color: #cbd2d9; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-bottom { border-top: 1px solid #243240; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; }

/* Floating buttons */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.float-wa svg { width: 32px; height: 32px; fill: #fff; }
.mobile-call { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .layout-side { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .side-cta { position: static; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .topbar .hide-mobile { display: none; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 12px; justify-content: center; border: 0; }
  .grid-3, .grid-4, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 80px; }
  .contact-box { padding: 28px 20px; }
  .float-wa { bottom: 84px; }
  .mobile-call {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  }
  .mobile-call a {
    flex: 1; padding: 16px; text-align: center; color: #fff; font-weight: 700;
  }
  .mobile-call .call { background: var(--primary); }
  .mobile-call .wa { background: var(--whatsapp); }
  .footer { padding-bottom: 80px; }
}
