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

:root {
  --blue: #3b76c3;
  --blue-dark: #2f5f9e;
  --navy: #1a2b56;
  --text: #2b3445;
  --muted: #5c667a;
  --surface: #e8edf9;
  --white: #ffffff;
  --max-width: 1180px;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(26, 43, 86, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Heebo", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

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

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(26, 43, 86, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.logo img {
  width: min(180px, 42vw);
  height: auto;
}

.nav {
  justify-self: center;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 600;
  color: var(--navy);
}

.nav-link.is-active {
  border-bottom: 2px solid var(--blue);
  padding-bottom: 0.15rem;
}

.header-contact {
  justify-self: end;
  text-align: end;
}

.header-phone {
  margin: 0 0 0.5rem;
  color: var(--blue);
  font-weight: 600;
}

.header-phone a:hover {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(26, 43, 86, 0.15);
  background: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-whatsapp {
  background: var(--blue);
  color: var(--white);
  font-size: 0.95rem;
}

.btn-full {
  width: 100%;
}

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero h1 {
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.marquee {
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
  padding: 0.95rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  white-space: nowrap;
  padding-inline-end: 2rem;
  font-weight: 600;
  font-size: 1rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.service-section {
  background: var(--surface);
  padding: 4.5rem 0;
}

.service-section:nth-of-type(even) {
  background: #eef2fb;
}

.service-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.service-copy h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1rem;
}

.service-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.service-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.about {
  position: relative;
  background: url("../assets/images/about-bg.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 5rem 1.5rem;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 43, 86, 0.72);
}

.about-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
  font-weight: 800;
}

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

.contact {
  padding: 5rem 1.5rem;
  background: var(--white);
}

.contact-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(26, 43, 86, 0.15);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: #f8faff;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(59, 118, 195, 0.35);
  border-color: var(--blue);
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.info-card h3 {
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.info-card a {
  color: var(--blue);
  font-weight: 600;
}

.form-status {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 600;
}

.urgent-cta {
  background: var(--surface);
  padding: 3rem 1.5rem;
}

.urgent-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.urgent-inner h3 {
  color: var(--navy);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 2rem;
}

.footer-brand img {
  width: 160px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-contact p {
  color: rgba(255, 255, 255, 0.78);
}

.footer-contact h4,
.footer-social h4 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.copyright {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-contact {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .header-phone {
    margin: 0;
  }

  .nav {
    justify-self: end;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1.5rem;
    right: 1.5rem;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(26, 43, 86, 0.1);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav {
    position: relative;
  }

  .hero,
  .service-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid-reverse .service-copy {
    order: -1;
  }

  .urgent-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
