:root {
  --bg: #111311;
  --bg-alt: #191d19;
  --surface: #202620;
  --surface-hover: #283028;
  --text: #f5f5ef;
  --muted: #b7bcb4;
  --faint: #81877f;
  --line: rgba(245, 245, 239, 0.12);
  --primary: #86c7ae;
  --primary-strong: #5eaf91;
  --accent: #efb36f;
  --whatsapp: #25d366;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  --font: "Inter", Arial, sans-serif;
  --container: 1160px;
  --radius: 8px;
  --ease: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  border-radius: 6px;
  background: var(--accent);
  color: #172019;
  font-weight: 700;
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  padding: 4.75rem 0;
}

.section-alt,
.cta-section {
  background: var(--bg-alt);
}

.eyebrow,
.card-kicker {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.08;
}

h1 em {
  color: var(--primary);
  font-style: normal;
}

h2 {
  max-width: 720px;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.16;
}

h3 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.section-header {
  margin-bottom: 2.25rem;
}

.section-header-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-header-center h2 {
  margin-right: auto;
  margin-left: auto;
}

.section-lead,
.hero-lead {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}

.btn-primary {
  background: var(--whatsapp);
  color: #0a2413;
}

.btn-primary:hover {
  background: #52df86;
  transform: translateY(-2px);
}

.icon-wa {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--primary);
  font-weight: 700;
}

.text-link:hover {
  color: var(--accent);
}

.header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 19, 17, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a,
.footer a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a:hover,
.footer a:hover {
  color: var(--primary);
}

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

.header-contact {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.header-contact:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: 4.5rem 0;
  background: #151916;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.8fr);
  align-items: center;
  gap: 4.5rem;
}

.hero-copy .eyebrow {
  color: var(--accent);
}

.hero-lead {
  max-width: 620px;
  margin-top: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.hero-note {
  margin-top: 1.2rem;
  color: var(--faint);
  font-size: 0.88rem;
}

.hero-photo {
  overflow: hidden;
  border: 1px solid rgba(134, 199, 174, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-photo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.diagnostic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 4rem;
}

.diagnostic-layout h2 {
  margin-bottom: 1.1rem;
}

.statement {
  margin-top: 1.5rem;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
}

.diagnostic-points {
  padding-left: 2.25rem;
  border-left: 2px solid var(--primary);
}

.diagnostic-points > p {
  margin-bottom: 0.8rem;
  color: var(--text);
  font-weight: 700;
}

.diagnostic-points li {
  position: relative;
  margin: 0.55rem 0;
  padding-left: 1.1rem;
  color: var(--muted);
  list-style: none;
}

.diagnostic-points li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  content: "+";
  font-weight: 800;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.method-card,
.testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card {
  min-height: 210px;
  padding: 1.35rem;
}

.service-card:hover,
.method-card:hover,
.testimonial-card:hover {
  border-color: rgba(134, 199, 174, 0.55);
  background: var(--surface-hover);
}

.service-number {
  display: block;
  margin-bottom: 1.6rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card h3 {
  margin-bottom: 0.7rem;
}

.service-card p,
.method-card p,
.about-copy p,
.credentials li,
.faq-item p,
.cta-content > p,
.footer p {
  color: var(--muted);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.method-card {
  padding: 1.75rem;
}

.method-card h3 {
  margin: 0.75rem 0;
  font-size: 1.3rem;
}

.method-card p {
  line-height: 1.65;
}

.method-card strong {
  display: block;
  margin-top: 1.25rem;
  color: var(--primary);
  font-size: 0.94rem;
  line-height: 1.45;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: start;
  gap: 4rem;
}

.about-copy h2 {
  margin-bottom: 1.25rem;
}

.about-copy p + p {
  margin-top: 1rem;
}

.credentials {
  padding: 1.6rem;
  border-top: 2px solid var(--accent);
  background: var(--surface);
}

.credentials .card-kicker {
  margin-bottom: 1rem;
}

.credentials ul {
  display: grid;
  gap: 0.8rem;
}

.credentials li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.94rem;
  list-style: none;
}

.credentials li::before {
  position: absolute;
  left: 0;
  color: var(--primary);
  content: "\2713";
  font-weight: 800;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.quote {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
}

.author {
  margin-top: 1.5rem;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
}

.author span {
  display: block;
  margin-top: 0.15rem;
  color: var(--faint);
  font-size: 0.8rem;
  font-weight: 500;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats > div {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  padding: 1.5rem 1rem;
  text-align: center;
}

.stats > div + div {
  border-left: 1px solid var(--line);
}

.stats strong {
  color: var(--accent);
  font-size: 1.85rem;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.faq-container {
  max-width: 860px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span:last-child {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 500;
  transition: transform var(--ease);
}

.faq-item[open] summary span:last-child {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 720px;
  padding: 0 2.5rem 1.25rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.cta-section {
  padding: 4.75rem 0;
  border-top: 1px solid var(--line);
}

.cta-content {
  max-width: 760px;
  text-align: center;
}

.cta-content h2 {
  margin: 0 auto 1rem;
}

.cta-content > p {
  max-width: 620px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.35rem;
}

.contact-links a {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-links a:hover {
  color: var(--accent);
}

.footer {
  border-top: 1px solid var(--line);
  background: #0d0f0d;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
}

.footer-top .logo {
  display: inline-block;
  margin-bottom: 0.6rem;
}

.footer p {
  font-size: 0.88rem;
}

.footer nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-bottom {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  color: var(--faint);
  font-size: 0.78rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32);
  color: #0a2413;
  transition: transform var(--ease), background var(--ease);
}

.whatsapp-float:hover {
  background: #52df86;
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.js .fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.js .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) {
  .service-card,
  .method-card,
  .testimonial-card {
    transition: border-color var(--ease), background var(--ease), transform var(--ease);
  }

  .service-card:hover,
  .method-card:hover,
  .testimonial-card:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 1050px) {
  .hero-layout {
    gap: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout {
    gap: 2.5rem;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  .header-inner {
    position: relative;
  }

  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    padding: 0.75rem 20px 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(17, 19, 17, 0.98);
    box-shadow: var(--shadow);
  }

  .nav.nav--open {
    display: grid;
    gap: 0;
  }

  .nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(245, 245, 239, 0.07);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .hero-layout,
  .diagnostic-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 2.5rem;
  }

  .hero-photo {
    max-width: 500px;
  }

  .diagnostic-layout {
    gap: 2rem;
  }

  .diagnostic-points {
    padding: 1.5rem 0 0;
    border-top: 2px solid var(--primary);
    border-left: 0;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .section,
  .cta-section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3.5rem 0;
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.9rem;
  }

  .hero-actions .btn,
  .hero-actions .text-link {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: center;
    min-height: 44px;
  }

  .services-grid,
  .method-grid,
  .testimonials-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .service-card,
  .testimonial-card {
    min-height: auto;
  }

  .testimonial-card:last-child,
  .footer-top > :first-child {
    grid-column: auto;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stats > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .faq-item p {
    padding-right: 0;
  }

  .footer-top {
    gap: 1.4rem;
    padding: 2rem 0;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  h1 {
    font-size: 2rem;
  }

  .method-card,
  .testimonial-card,
  .credentials {
    padding: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .fade-up {
    opacity: 1;
    transform: none;
  }
}
