:root {
  --ink: #06131a;
  --ink-soft: #20323c;
  --muted: #60717c;
  --line: rgba(6, 19, 26, .1);
  --paper: #f8fbfc;
  --white: #ffffff;
  --lime: #b9ed27;
  --cyan: #20c8ee;
  --blue: #087ec6;
  --shadow: 0 20px 60px rgba(6, 19, 26, .14);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 99; background: var(--white); padding: 10px 14px; border-radius: 6px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  transition: padding .25s ease, background .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  padding: 9px 0;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(6, 19, 26, .08);
}
.header-inner { display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 900; font-size: 1.15rem; }
.site-header.scrolled .brand, .site-header.scrolled .nav, .site-header.scrolled .menu-toggle { color: var(--ink); }
.brand img { width: 90px; height: 90px; object-fit: contain; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; color: var(--white); font-size: .95rem; font-weight: 700; }
.nav a { opacity: .88; transition: opacity .2s ease, color .2s ease; }
.nav a:hover { opacity: 1; color: var(--lime); }
.site-header.scrolled .nav a:hover { color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-call { color: var(--ink); background: linear-gradient(135deg, var(--lime), #e4ff7f); }
.btn-whatsapp { color: var(--white); background: linear-gradient(135deg, #18b96e, #0c9f61); }
.btn-xl { min-height: 58px; padding: 16px 24px; font-size: 1rem; }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: var(--white); padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 126px 0 70px;
}
.hero-bg, .hero-bg img, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 12, 17, .92) 0%, rgba(3, 12, 17, .7) 48%, rgba(3, 12, 17, .32) 100%),
    radial-gradient(circle at 72% 32%, rgba(32, 200, 238, .3), transparent 28%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.22fr) .78fr; align-items: center; gap: 34px; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: var(--cyan); font-size: .78rem; text-transform: uppercase; font-weight: 900; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 860px; font-size: clamp(48px, 4.5vw, 72px); line-height: 1.01; margin-bottom: 20px; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; margin-bottom: 16px; text-wrap: balance; }
h3 { font-size: 1.1rem; line-height: 1.2; margin-bottom: 8px; }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: rgba(255,255,255,.82); margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; max-width: 680px; }
.trust-badges span {
  padding: 9px 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-weight: 800;
}
.hero-visual { justify-self: end; width: min(390px, 100%); }
.hero-visual img { width: 100%; height: auto; object-fit: contain; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.75); border-radius: 999px; transform: translateX(-50%); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 99px; background: var(--white); transform: translateX(-50%); animation: cue 1.4s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 45% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

.section { padding: 82px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.align-left { text-align: left; margin-left: 0; }
.services { background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.service-card { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 28px rgba(6,19,26,.08); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(6,19,26,.12); }
.service-card > img { width: 100%; height: 235px; object-fit: cover; }
.service-card div { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px; }
.card-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 999px; background: #eef9fb; }
.card-icon img { width: 22px; height: 22px; object-fit: contain; }
.service-card p { color: var(--muted); margin-bottom: 0; }

.areas { padding-top: 58px; background: #ffffff; }
.area-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 28px; }
.area-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.area-cards article, .why-grid article, .timeline article, .testimonial, .faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 40px rgba(6,19,26,.08);
}
.area-cards article { display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 20px; font-weight: 900; }

.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-grid article { min-height: 142px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; color: var(--blue); }
.why-grid article img { width: 36px; height: 36px; padding: 8px; border-radius: 999px; background: #edf9fc; object-fit: contain; }
.why-grid span { display: block; color: var(--ink); font-size: 1rem; font-weight: 850; line-height: 1.35; margin-top: 16px; }

.stats { background: radial-gradient(circle at 18% 0%, rgba(32,200,238,.2), transparent 34%), linear-gradient(135deg, var(--ink), #0b2b35); color: var(--white); padding: 72px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat-grid div { padding: 26px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.stat-grid strong { display: block; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; color: var(--lime); }
.stat-grid span { color: rgba(255,255,255,.76); font-weight: 800; }

.timeline { position: relative; display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 28px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--cyan), var(--lime)); }
.timeline article { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px; }
.timeline span { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--ink); color: var(--lime); font-weight: 950; }
.timeline p { margin: 0; color: var(--ink-soft); font-weight: 650; }

.testimonials { background: var(--paper); }
.testimonial-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: center; }
.testimonial-slider { min-height: 292px; position: relative; }
.testimonial { display: none; padding: 30px; }
.testimonial.active { display: block; animation: fadeIn .35s ease; }
.avatar { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 999px; background: linear-gradient(135deg, var(--cyan), var(--lime)); font-weight: 950; margin-bottom: 12px; }
.testimonial span { color: #ffb400; display: block; margin: 8px 0; }
.testimonial p { color: var(--ink-soft); font-size: 1.13rem; margin-bottom: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 34px; }
.accordion { display: grid; gap: 12px; }
.faq-item { overflow: hidden; box-shadow: none; }
.faq-item button { width: 100%; border: 0; background: transparent; text-align: left; padding: 20px 54px 20px 20px; font-weight: 900; cursor: pointer; position: relative; color: var(--ink); }
.faq-item button::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); }
.faq-item.open button::after { content: "-"; }
.faq-item div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-item.open div { grid-template-rows: 1fr; }
.faq-item p { overflow: hidden; margin: 0; padding: 0 20px; color: var(--muted); }
.faq-item.open p { padding-bottom: 20px; }

.final-cta { color: var(--white); padding: 80px 0; background: linear-gradient(135deg, #06131a 0%, #096a9f 56%, #b9ed27 150%); }
.final-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.final-inner h2 { max-width: 690px; }
.final-inner p { color: rgba(255,255,255,.76); font-size: 1.1rem; margin-bottom: 0; }

.site-footer { background: #040b0f; color: var(--white); padding: 64px 0 88px; }
.footer-grid { display: grid; grid-template-columns: .95fr .75fr 1.3fr; gap: 42px; align-items: start; }
.footer-logo { width: 150px; height: 150px; object-fit: contain; }
.site-footer h3 { color: var(--lime); }
.site-footer a, .site-footer span { display: block; color: rgba(255,255,255,.75); margin: 8px 0; }
.site-footer p { color: rgba(255,255,255,.7); max-width: 320px; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.07);
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.footer-socials a:hover { transform: scale(1.04); opacity: .85; background: rgba(255,255,255,.1); }
.footer-socials img { width: 24px; height: 24px; object-fit: contain; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255,255,255,.78);
}
.footer-contact img { width: 22px; height: 22px; object-fit: contain; }
.document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.document-card {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.95);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}
.document-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.22); }
.document-card img { width: 100%; height: 170px; object-fit: contain; border-radius: 6px; background: #f4f7f8; }
.document-card span { color: var(--ink); margin: 0; font-weight: 900; line-height: 1.2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 42px; padding-top: 20px; text-align: center; color: rgba(255,255,255,.58); font-size: .92rem; white-space: nowrap; }
.mobile-contact-bar { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 8, 12, .82);
  backdrop-filter: blur(14px);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; width: min(860px, 100%); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius); background: var(--white); }
.lightbox figcaption { color: var(--white); text-align: center; margin-top: 12px; font-weight: 900; }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 1.7rem;
  cursor: pointer;
}

.section-reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.section-reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .header-cta, .nav { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: grid;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: rgba(255,255,255,.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav.open a { padding: 12px; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero-grid, .area-layout, .testimonial-layout, .faq-layout, .final-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .service-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .area-cards { grid-template-columns: 1fr; }
  .final-inner { display: grid; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .site-header { padding: 12px 0; }
  .brand img { width: 60px; height: 60px; }
  .hero { min-height: 92svh; padding-top: 122px; }
  h1 { font-size: clamp(36px, 9vw, 52px); line-height: 1.05; overflow-wrap: normal; word-break: normal; }
  .hero-actions, .final-inner .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .btn-xl { width: 100%; min-height: 62px; }
  .trust-badges span { width: calc(50% - 5px); text-align: center; font-size: .87rem; }
  .section { padding: 64px 0; }
  .service-grid, .why-grid, .stat-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-card > img { height: 225px; }
  .timeline::before { left: 25px; }
  .timeline article { grid-template-columns: 50px 1fr; padding: 18px; }
  .timeline span { width: 50px; height: 50px; }
  .document-grid { grid-template-columns: 1fr; }
  .footer-logo { width: 132px; height: 132px; }
  .footer-bottom { white-space: normal; }
  .site-footer { padding-bottom: 124px; }
  .mobile-contact-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 50px rgba(6,19,26,.18);
  }
  .mobile-contact-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--lime);
    font-weight: 900;
  }
  .mobile-contact-bar a:nth-child(2) { color: var(--white); background: #12a865; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
