:root {
  --color-dark: #111827;
  --color-dark-2: #030712;
  --color-blue: #2563eb;
  --color-blue-dark: #1e3a8a;
  --color-orange: #f59e0b;
  --color-green: #22c55e;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-soft: #f3f4f6;
  --color-line: #e5e7eb;
  --color-white: #ffffff;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.2);

  --container: 1240px;

  --space-section: clamp(56px, 7vw, 120px);
  --space-section-small: clamp(40px, 5vw, 80px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  min-width: 280px;
}

body,
button,
input,
textarea,
select {
  font: inherit;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - clamp(32px, 5vw, 96px)), var(--container));
  margin-inline: auto;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 24, 39, 0.94);
  backdrop-filter: blur(14px);
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 3vw, 32px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 800;
  white-space: nowrap;
}

.logo__icon {
  font-size: 1.25em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #d1d5db;
  font-size: 15px;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--color-white);
}

.header__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--color-orange);
  color: #111827;
  font-weight: 800;
  white-space: nowrap;
}

/* Common */

.section {
  padding-block: var(--space-section);
}

.section-hero {
  padding-block: clamp(48px, 7vw, 110px);
}

.section--soft {
  background: var(--color-soft);
}

.section--dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section__head {
  width: min(720px, 100%);
  margin-inline: auto;
  margin-bottom: clamp(28px, 4vw, 56px);
  text-align: center;
}

.section__head h2 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section__head p:not(.eyebrow) {
  margin: 14px auto 0;
  color: var(--color-muted);
  font-size: clamp(16px, 1.5vw, 19px);
}

.section__head--light p:not(.eyebrow) {
  color: #d1d5db;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(12px, 1.2vw, 14px);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--color-orange);
  color: #111827;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.3);
}

.button--whatsapp {
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.26);
}

/* Hero */

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 158, 11, 0.3), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(96, 165, 250, 0.32), transparent 34%),
    linear-gradient(135deg, var(--color-blue-dark), var(--color-blue));
  color: var(--color-white);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(36px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero__text {
  max-width: 680px;
  margin: clamp(18px, 3vw, 28px) 0 0;
  color: #e5e7eb;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(26px, 4vw, 42px);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: clamp(24px, 4vw, 40px) 0 0;
  list-style: none;
}

.hero__badges li {
  padding: 9px 14px;
  border-radius: 999px;
  color: #f9fafb;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.hero__panel {
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-text);
  box-shadow: var(--shadow-strong);
}

.hero__panel h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero__panel > p {
  margin: 14px 0 0;
  color: var(--color-muted);
}

.contact-card {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-card__item {
  display: grid;
  gap: 2px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.contact-card__item span {
  color: var(--color-muted);
  font-size: 14px;
}

.contact-card__item strong {
  color: #111827;
  font-size: clamp(17px, 2vw, 20px);
}

.contact-card__item--green {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.hero__note {
  margin-top: 18px !important;
  font-size: 13px;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.service-card {
  min-height: 100%;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: #eff6ff;
  font-size: 26px;
}

.service-card h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.2;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--color-muted);
}

/* Benefits */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.benefit {
  padding: clamp(20px, 2.8vw, 30px);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.benefit strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(18px, 2vw, 22px);
}

.benefit span {
  color: var(--color-muted);
}

/* Prices */

.price-table {
  width: min(820px, 100%);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(16px, 2vw, 22px);
  border-bottom: 1px solid var(--color-line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  color: var(--color-text);
}

.price-row strong {
  flex: 0 0 auto;
  color: var(--color-blue);
  white-space: nowrap;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.step {
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.step span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #111827;
  font-weight: 900;
}

.step h3 {
  margin: 0;
  font-size: clamp(19px, 2vw, 24px);
}

.step p {
  margin: 10px 0 0;
  color: #d1d5db;
}

/* CTA */

.cta-section {
  padding-block: var(--space-section-small);
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 5vw, 58px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.25), transparent 34%),
    linear-gradient(135deg, #1e3a8a, #2563eb);
  color: var(--color-white);
  box-shadow: var(--shadow-strong);
}

.cta h2 {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.cta p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: #e5e7eb;
  font-size: clamp(16px, 1.7vw, 20px);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */

.footer {
  padding-block: 34px;
  background: var(--color-dark-2);
  color: var(--color-white);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer strong {
  font-size: 20px;
}

.footer p {
  margin: 6px 0 0;
  color: #9ca3af;
}

.footer__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer__contacts a {
  color: var(--color-orange);
  font-weight: 800;
}

/* Mobile sticky bar */

.mobile-bar {
  display: none;
}

/* Large screens / TVs */

@media (min-width: 1600px) {
  :root {
    --container: 1400px;
  }

  .header__inner {
    min-height: 84px;
  }

  .service-card,
  .benefit,
  .step {
    border-radius: 24px;
  }
}

/* Tablets */

@media (max-width: 1050px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__content {
    text-align: center;
  }

  .hero__text {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__badges {
    justify-content: center;
  }

  .hero__panel {
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta__actions {
    justify-content: center;
  }
}

/* Small tablets and phones */

@media (max-width: 760px) {
  body {
    padding-bottom: 78px;
  }

  .header {
    position: static;
  }

  .header__inner {
    min-height: auto;
    padding-block: 14px;
    flex-direction: column;
    text-align: center;
  }

  .nav {
    display: none;
  }

  .header__phone {
    width: min(100%, 320px);
  }

  .hero__content {
    text-align: left;
  }

  .hero__text {
    margin-inline: 0;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__badges {
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }

  .services-grid,
  .benefits,
  .steps {
    grid-template-columns: 1fr;
  }

  .section__head {
    text-align: left;
    margin-inline: 0;
  }

  .price-row {
    flex-direction: column;
    gap: 4px;
  }

  .price-row strong {
    white-space: normal;
  }

  .cta {
    text-align: left;
  }

  .cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer {
    padding-bottom: 100px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__contacts {
    justify-content: flex-start;
  }

  .mobile-bar {
    position: fixed;
    z-index: 100;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 8px;
    border-radius: 20px;
    background: rgba(17, 24, 39, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  }

  .mobile-bar a {
    min-height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    font-weight: 900;
    text-align: center;
  }

  .mobile-bar__call {
    background: var(--color-orange);
    color: #111827;
  }

  .mobile-bar__whatsapp {
    background: var(--color-green);
    color: var(--color-white);
  }
}

/* Very small iPhones */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: clamp(31px, 13vw, 38px);
  }

  .hero__text {
    font-size: 16px;
  }

  .hero__panel,
  .service-card,
  .benefit,
  .step,
  .cta {
    padding: 20px;
  }

  .section {
    padding-block: 46px;
  }

  .section-hero {
    padding-block: 38px;
  }

  .mobile-bar {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 136px;
  }

  .footer {
    padding-bottom: 158px;
  }
}

/* Ultra small fallback */

@media (max-width: 320px) {
  .container {
    width: calc(100% - 20px);
  }

  .logo {
    font-size: 17px;
  }

  .header__phone {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .section__head h2,
  .cta h2 {
    font-size: 26px;
  }
}