:root {
  --bg: #0b1017;
  --bg-soft: #121923;
  --panel: #161f2b;
  --line: rgba(255, 255, 255, 0.1);
  --paper: #f7f3eb;
  --text: #f8f6f0;
  --text-soft: rgba(248, 246, 240, 0.74);
  --text-dark: #171c24;
  --text-mid: rgba(23, 28, 36, 0.72);
  --accent: #d7aa4b;
  --accent-strong: #f1c15a;
  --shadow-xl: 0 28px 80px rgba(3, 8, 15, 0.28);
  --shadow-lg: 0 20px 52px rgba(8, 17, 29, 0.14);
  --shadow-md: 0 12px 28px rgba(8, 17, 29, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(215, 170, 75, 0.12), transparent 28%),
    linear-gradient(180deg, #091018 0%, #101720 100%);
  color: var(--text);
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  overflow: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: var(--container);
  min-height: 84px;
  margin: 16px auto 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(11, 16, 23, 0.82);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.brand-logo {
  width: 188px;
  max-width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  transition: 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.nav-cta {
  color: #10151d !important;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 14px 30px rgba(215, 170, 75, 0.22);
}

.menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  padding: 52px 0 92px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(215, 170, 75, 0.18), transparent 18%),
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.06), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.88fr);
  gap: 42px;
  align-items: start;
  min-height: calc(100vh - 140px);
}

.hero-copy,
.hero-card {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.form-copy h2,
.repeat-copy h2 {
  margin: 0;
  font-family: "Montserrat Alternates", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 4.25vw, 4.45rem);
}

.hero-lead,
.hero-note,
.section-heading p,
.form-copy p,
.repeat-copy p,
.footer-branding p {
  line-height: 1.72;
}

.hero-lead {
  max-width: 46ch;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.hero-note {
  max-width: 42ch;
  margin: 18px 0 0;
  color: #fff6d8;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: #10151d;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 18px 34px rgba(215, 170, 75, 0.24);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.micro-proof {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff0cf;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-chips,
.copy-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-chips span,
.copy-points span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
}

.section-form .copy-points span {
  background: rgba(16, 21, 29, 0.06);
  border-color: rgba(16, 21, 29, 0.08);
  color: var(--text-dark);
}

.hero-card,
.info-card,
.service-card,
.timeline-step,
.trust-card,
.case-card,
.form-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.hero-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.05);
}

.hero-card-media {
  position: relative;
  min-height: 280px;
}

.hero-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 23, 0.04), rgba(11, 16, 23, 0.46));
}

.hero-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-content {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.hero-card-logo {
  width: 190px;
}

.hero-card-content strong {
  font-size: 1.16rem;
  line-height: 1.42;
}

.hero-card-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
}

.section {
  padding: 102px 0;
}

.section-light {
  background:
    radial-gradient(circle at top left, rgba(215, 170, 75, 0.08), transparent 26%),
    linear-gradient(180deg, #fffdf7 0%, #f5efe4 100%);
  color: var(--text-dark);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(215, 170, 75, 0.16), transparent 18%),
    linear-gradient(180deg, #0c131d 0%, #101925 100%);
}

.section-form {
  background:
    radial-gradient(circle at top left, rgba(215, 170, 75, 0.1), transparent 24%),
    linear-gradient(180deg, #f7f3eb 0%, #f0e8da 100%);
  color: var(--text-dark);
}

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

.section-heading h2,
.form-copy h2,
.repeat-copy h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-heading p,
.form-copy p,
.repeat-copy p {
  margin: 16px 0 0;
  color: var(--text-mid);
}

.section-dark .section-heading,
.section-dark .section-heading p {
  color: var(--text);
}

.section-dark .section-heading p {
  color: var(--text-soft);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.info-card,
.service-card,
.trust-card,
.case-card {
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.section-light .info-card,
.section-light .case-card,
.section-form .form-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(16, 21, 29, 0.08);
  box-shadow: var(--shadow-md);
}

.section-dark .service-card,
.section-dark .trust-card,
.section-repeat .form-card {
  background: rgba(255, 255, 255, 0.05);
}

.info-card h3,
.service-card h3,
.trust-card h3,
.case-card strong,
.timeline-step h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.45;
}

.case-card strong {
  display: block;
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(215, 170, 75, 0.18);
  color: #ffe6b0;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.section-closure {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(215, 170, 75, 0.14), rgba(255, 255, 255, 0.92)),
    #ffffff;
  border: 1px solid rgba(16, 21, 29, 0.08);
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.timeline-step {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(16, 21, 29, 0.08);
}

.timeline-step span {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(215, 170, 75, 0.16);
  color: #8a6424;
  font-weight: 800;
}

.case-card p {
  margin: 12px 0 0;
  color: var(--text-mid);
  line-height: 1.68;
}

.form-grid,
.footer-grid {
  display: grid;
  gap: 28px;
}

.form-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  align-items: start;
}

.form-card {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.lead-form {
  display: grid;
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.lead-form input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(16, 21, 29, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-dark);
  font-size: 16px;
}

.lead-form input::placeholder {
  color: rgba(23, 28, 36, 0.42);
}

.lead-form input:focus {
  outline: 2px solid rgba(215, 170, 75, 0.52);
  outline-offset: 1px;
}

.button-submit {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: #8a6424;
  font-size: 0.9rem;
}

.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 42;
  display: grid;
  gap: 10px;
}

.floating-button {
  min-width: 142px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
}

.floating-whatsapp {
  color: #fff;
  background: linear-gradient(135deg, #28c76f, #179b58);
}

.floating-call {
  color: #10151d;
  background: linear-gradient(135deg, #f6d382, #d7aa4b);
}

.sticky-consult {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 41;
  display: none;
  transform: translateX(-50%);
  min-width: min(340px, calc(100vw - 28px));
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #10151d;
  font-weight: 800;
  justify-content: center;
  align-items: center;
  box-shadow: 0 20px 40px rgba(11, 16, 23, 0.22);
}

.site-footer {
  padding: 28px 0 44px;
  background:
    radial-gradient(circle at top left, rgba(215, 170, 75, 0.12), transparent 22%),
    linear-gradient(180deg, #05080d 0%, #000000 100%);
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-branding {
  display: grid;
  gap: 14px;
  max-width: 420px;
}

.footer-branding img {
  width: 200px;
}

.footer-branding p,
.footer-links a,
.footer-contact a {
  color: var(--text-soft);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--text);
  outline: none;
}

@media (max-width: 1120px) {
  .hero-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 28px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 920px) {
  :root {
    --container: min(100vw - 28px, 100%);
  }

  .topbar {
    width: calc(100vw - 28px);
    padding: 14px 16px;
    border-radius: 26px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    padding-top: 6px;
  }

  .nav a {
    text-align: center;
  }

  .menu-open .nav {
    display: grid;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .card-grid-three,
  .card-grid-four,
  .card-grid-two,
  .timeline {
    grid-template-columns: 1fr;
  }

  .floating-actions {
    bottom: 94px;
  }

  .sticky-consult {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 96px;
  }

  .brand-logo {
    width: 160px;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 64px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    line-height: 0.96;
  }

  .section {
    padding: 82px 0;
  }

  .button {
    width: 100%;
  }

  .hero-card-content,
  .info-card,
  .service-card,
  .trust-card,
  .case-card,
  .timeline-step,
  .form-card {
    border-radius: 24px;
  }

  .hero-card-logo {
    width: 156px;
  }

  .floating-actions {
    right: 14px;
    gap: 8px;
  }

  .floating-button {
    min-width: 126px;
    min-height: 48px;
    font-size: 0.92rem;
  }

  .footer-branding img {
    width: 170px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
