:root {
  --wine: #5b0d1a;
  --navy: #04042b;
  --red: #c7192f;
  --orange: #f5a623;
  --green: #25d366;
  --text: #1e1f24;
  --muted: #626977;
  --line: #e8e9ee;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text);
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0 auto;
  padding: 9px clamp(22px, 5vw, 72px);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(100deg, rgba(4, 4, 43, 0.94), rgba(91, 13, 26, 0.94)),
    linear-gradient(100deg, var(--navy), var(--wine));
  box-shadow: 0 10px 30px rgba(4, 4, 43, 0.16);
  transition: top 0.22s ease, width 0.22s ease, padding 0.22s ease, border-radius 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.site-header.is-scrolled {
  top: 14px;
  width: min(1480px, calc(100% - 24px));
  padding: 8px 18px 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(4, 4, 43, 0.24);
  backdrop-filter: blur(10px);
}

.logo img {
  width: 92px;
  height: auto;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--orange);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 130px clamp(20px, 6vw, 88px) 80px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 4, 43, 0.88), rgba(91, 13, 26, 0.68) 52%, rgba(4, 4, 43, 0.2)),
    url("img/background.png") center / cover no-repeat;
  color: var(--white);
}

.hero-content {
  width: min(720px, 100%);
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .section-kicker {
  color: var(--orange);
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  text-transform: uppercase;
}

.hero p {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(4, 4, 43, 0.14);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(4, 4, 43, 0.2);
}

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

.button-primary:hover {
  background: #ffb83d;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  text-decoration: none;
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

.section {
  padding: 92px clamp(20px, 6vw, 88px);
  background: var(--white);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section h2 {
  max-width: 720px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.about-copy {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-copy p {
  margin: 0 0 18px;
}

.about-copy strong {
  display: inline-block;
  margin-top: 10px;
  color: var(--wine);
  font-size: 1.08rem;
}

.services {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-top: 40px;
}

.services-image {
  overflow: hidden;
  border-radius: 6px;
  background: #f5f6f8;
}

.services-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(4, 4, 43, 0.06);
}

.services-list i {
  color: var(--red);
  font-size: 1.2rem;
}

.contact p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 18px;
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.08);
  color: var(--wine);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-phone:hover {
  background: rgba(37, 211, 102, 0.14);
  transform: translateY(-2px);
}

.contact-phone i {
  color: var(--green);
  font-size: 1.25rem;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(4, 4, 43, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 252, 0.98)),
    var(--white);
  box-shadow: 0 24px 70px rgba(4, 4, 43, 0.1);
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.contact-form label {
  margin-top: 4px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #f3f4f7;
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 0 0 1px rgba(4, 4, 43, 0.06);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  background: var(--white);
  box-shadow:
    inset 0 0 0 1px var(--orange),
    0 0 0 4px rgba(245, 166, 35, 0.18);
  transform: translateY(-1px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a909c;
}

.contact-form .button {
  width: 100%;
  min-height: 56px;
  margin-top: 12px;
  font-size: 1rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: bottom 0.28s ease, transform 0.28s ease;
}

.whatsapp-float.is-hero {
  bottom: clamp(112px, 17vh, 180px);
}

.whatsapp-float span {
  position: relative;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.whatsapp-float span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid var(--white);
  transform: translateY(-50%);
}

.whatsapp-float i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.38);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover i {
  transform: scale(1.06);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 20px;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

.site-footer img {
  width: 86px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: fixed;
    top: 0;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0;
    width: 100%;
    border-radius: 0;
    padding: 10px 14px;
  }

  .site-header.is-scrolled {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 16px;
    padding: 10px 14px;
  }

  .logo img {
    width: 84px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 2px 0;
    border-radius: 999px;
    background: var(--white);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

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

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

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

  nav {
    grid-column: 1 / -1;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.24s ease, padding-top 0.24s ease;
  }

  .site-header.menu-open nav {
    max-height: 260px;
    padding-top: 12px;
  }

  nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  nav a {
    min-height: 46px;
    justify-content: space-between;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
  }

  nav a:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: none;
  }

  .hero {
    min-height: 100svh;
    align-items: end;
    padding: 116px 20px 86px;
    background:
      linear-gradient(180deg, rgba(4, 4, 43, 0.24), rgba(4, 4, 43, 0.88) 56%, rgba(91, 13, 26, 0.9)),
      url("img/background.png") center / cover no-repeat;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(3rem, 18vw, 4.35rem);
  }

  .hero p {
    max-width: 360px;
    font-size: 1rem;
    line-height: 1.58;
  }

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

  .about-grid,
  .contact-grid,
  .services-layout {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .about-copy,
  .contact p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .services-layout {
    margin-top: 28px;
  }

  .services-image img {
    aspect-ratio: 1 / 0.78;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .services-list li {
    min-height: 54px;
    padding: 15px;
    border-radius: 16px;
  }

  .section {
    padding: 68px 20px;
  }

  .contact-form {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    border-radius: 14px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }

  .whatsapp-float span {
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .whatsapp-float.is-hero {
    bottom: 92px;
  }

  .whatsapp-float i {
    width: 54px;
    height: 54px;
  }

  .scroll-indicator {
    bottom: 18px;
  }

  .site-footer {
    padding-bottom: 86px;
  }
}
