/* =========================================================
   Base
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --surface: #ffffff;
  --text: #111827;
  --text-soft: #5b6472;
  --border: #e5e7eb;
  --primary: #0f172a;
  --primary-soft: #1e293b;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --whatsapp: #16803c;
  --whatsapp-dark: #126b32;
  --success-soft: #ecfdf3;

  --container: 1160px;
  --radius: 16px;
  --radius-small: 10px;

  --shadow-small: 0 4px 18px rgba(15, 23, 42, 0.06);
  --shadow-medium: 0 12px 35px rgba(15, 23, 42, 0.09);

  --font-body:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Tahoma,
    Arial,
    sans-serif;
}


/* =========================================================
   Reset
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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


/* =========================================================
   Layout
   ========================================================= */

.container {
  width: min(
    calc(100% - 32px),
    var(--container)
  );

  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.section {
  padding-block: 88px;
}

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


/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.brand-subtitle {
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;

  font-size: 0.92rem;
  font-weight: 600;
}

.main-nav a {
  color: var(--text-soft);
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

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

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding-inline: 18px;

  border-radius: 10px;

  background: var(--primary);
  color: #fff;

  font-size: 0.9rem;
  font-weight: 700;

  transition:
    background 160ms ease,
    transform 160ms ease;
}

.header-call:hover {
  background: var(--primary-soft);
  transform: translateY(-1px);
}


/* =========================================================
   Typography
   ========================================================= */

.eyebrow {
  margin: 0 0 10px;

  color: var(--accent-dark);

  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--primary);
  line-height: 1.25;
}

h1 {
  margin-bottom: 22px;
  max-width: 760px;

  font-size: clamp(
    2.2rem,
    5vw,
    4.25rem
  );

  font-weight: 850;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 16px;

  font-size: clamp(
    1.8rem,
    3vw,
    2.65rem
  );

  font-weight: 800;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;

  font-size: 1.15rem;
  font-weight: 750;
}

p {
  margin-top: 0;
  color: var(--text-soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
}

.section-heading-row {
  max-width: none;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}


/* =========================================================
   Buttons
   ========================================================= */

.button {
  min-height: 52px;
  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 11px;

  font-weight: 800;
  line-height: 1.2;

  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-small);
}

.button-primary {
  background: var(--primary);
  color: #fff;
}

.button-primary:hover {
  background: var(--primary-soft);
}

.button-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.button-whatsapp:hover {
  background: var(--whatsapp-dark);
}


/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;

  padding-block: 100px 90px;

  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(245, 158, 11, 0.12),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f8fafc 100%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(280px, 0.65fr);

  align-items: center;
  gap: 70px;
}

.hero-text {
  max-width: 680px;

  margin-bottom: 28px;

  font-size: 1.08rem;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin: 16px 0 0;

  font-size: 0.9rem;
}

.hero-trust {
  display: grid;
  gap: 14px;
}

.trust-card {
  padding: 24px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: rgba(255, 255, 255, 0.86);

  box-shadow: var(--shadow-small);
}

.trust-card strong {
  display: block;

  margin-bottom: 4px;

  color: var(--primary);

  font-size: 1.1rem;
  font-weight: 850;
}

.trust-card span {
  display: block;

  color: var(--text-soft);

  font-size: 0.9rem;
}


/* =========================================================
   Services
   ========================================================= */

.services-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.service-card {
  position: relative;

  min-height: 245px;

  padding: 28px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--surface);

  box-shadow: var(--shadow-small);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: #d1d5db;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  margin-bottom: 22px;

  border-radius: 9px;

  background: var(--bg-soft);
  color: var(--accent-dark);

  font-size: 0.8rem;
  font-weight: 850;
}

.service-card p {
  margin-bottom: 20px;
}

.service-card a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--primary);

  font-size: 0.9rem;
  font-weight: 800;
}

.service-card a:hover,
.text-link:hover {
  color: var(--accent-dark);
}


/* =========================================================
   Benefits
   ========================================================= */

.benefits-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;

  padding: 25px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--surface);
}

.benefit-icon {
  flex: 0 0 auto;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--success-soft);
  color: var(--whatsapp);

  font-weight: 900;
}

.benefit h3 {
  margin-bottom: 5px;
}

.benefit p {
  margin-bottom: 0;
}


/* =========================================================
   About
   ========================================================= */

.about-content {
  padding: 34px;

  border-right: 4px solid var(--accent);

  border-radius: var(--radius-small);

  background: var(--bg-soft);
}

.about-content p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   Work
   ========================================================= */

.work-placeholder {
  min-height: 260px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;

  border: 2px dashed #d1d5db;
  border-radius: var(--radius);

  background: #fff;

  text-align: center;
}

.work-placeholder p {
  margin: 0;
}


/* =========================================================
   Steps
   ========================================================= */

.steps-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.step {
  padding: 28px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--surface);
}

.step-number {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;

  border-radius: 50%;

  background: var(--primary);
  color: #fff;

  font-weight: 850;
}

.step p {
  margin-bottom: 0;
}


/* =========================================================
   Reviews
   ========================================================= */

.reviews-empty {
  padding: 40px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--surface);

  text-align: center;
}

.reviews-empty p {
  margin: 0;
}


/* =========================================================
   FAQ
   ========================================================= */

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

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;

  padding: 22px 0;

  cursor: pointer;
  list-style: none;

  color: var(--primary);

  font-weight: 750;
}

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

.faq-list summary::after {
  content: "+";

  position: absolute;
  left: 4px;
  top: 20px;

  color: var(--accent-dark);

  font-size: 1.35rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 700px;
  padding: 0 0 22px;
  margin: 0;
}


/* =========================================================
   Contact
   ========================================================= */

.contact-section {
  padding-top: 20px;
  padding-bottom: 90px;
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  padding: 46px;

  border-radius: 22px;

  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(245, 158, 11, 0.13),
      transparent 28%
    ),
    var(--primary);

  color: #fff;
}

.contact-box h2 {
  color: #fff;
}

.contact-box p {
  max-width: 650px;
  margin-bottom: 0;

  color: #cbd5e1;
}

.contact-box .eyebrow {
  color: #fbbf24;
}

.contact-actions {
  flex: 0 0 auto;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-actions .button-primary {
  background: #fff;
  color: var(--primary);
}

.contact-actions .button-primary:hover {
  background: #f8fafc;
}


/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding-top: 50px;

  border-top: 1px solid var(--border);

  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner strong {
  color: var(--primary);
  font-weight: 850;
}

.footer-inner p {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.footer-inner > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-inner > div:last-child a {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-inner > div:last-child a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 35px;
  padding-block: 18px;

  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;

  font-size: 0.8rem;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {

  .main-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-trust {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

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

  .contact-box {
    align-items: flex-start;
    flex-direction: column;
  }

}


@media (max-width: 640px) {

  .container {
    width: min(
      calc(100% - 24px),
      var(--container)
    );
  }

  .section {
    padding-block: 64px;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .header-call {
    min-height: 40px;
    padding-inline: 14px;

    font-size: 0.82rem;
  }

  .hero {
    padding-block: 65px 60px;
  }

  h1 {
    font-size: clamp(
      2rem,
      11vw,
      3rem
    );
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .trust-card {
    padding: 20px;
  }

  .services-grid,
  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-content {
    padding: 24px;
  }

  .contact-box {
    padding: 30px 22px;
    border-radius: 17px;
  }

  .contact-actions {
    width: 100%;
    flex-direction: column;
  }

  .contact-actions .button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-inner > div:last-child {
    flex-direction: column;
    gap: 8px;
  }

}


/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}