*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #0c0f14;
  --color-surface: #151a24;
  --color-surface-2: #1e2533;
  --color-primary: #e11d48;
  --color-primary-dark: #be123c;
  --color-accent: #3b82f6;
  --color-text: #f1f5f9;
  --color-muted: #94a3b8;
  --color-border: #2a3344;
  --font: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(12, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 10px;
  font-size: 1.25rem;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.logo__text small {
  font-size: 0.72rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a:not(.btn) {
  font-size: 0.95rem;
  color: var(--color-muted);
  transition: color 0.2s;
}

.nav a:not(.btn):hover {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.45);
}

.btn--small {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn--outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.btn--outline:hover {
  border-color: var(--color-primary);
  background: rgba(225, 29, 72, 0.1);
}

.btn--whatsapp {
  background: #25d366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  margin-top: 0.75rem;
}

.btn--whatsapp:hover {
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background:
    linear-gradient(135deg, rgba(12, 15, 20, 0.94) 0%, rgba(12, 15, 20, 0.78) 50%, rgba(225, 29, 72, 0.12) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e11d48' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.15), transparent 50%),
    var(--color-bg);
}

.hero__content {
  position: relative;
  max-width: 680px;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.25rem;
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.features {
  margin-top: -3rem;
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.feature:hover {
  border-color: rgba(225, 29, 72, 0.4);
  transform: translateY(-4px);
}

.feature__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--color-surface);
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section__header p {
  color: var(--color-muted);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: rgba(225, 29, 72, 0.35);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary);
}

.service-card ul {
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.service-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.about__text h2 {
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  margin-bottom: 1.25rem;
}

.about__text p {
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.about__list {
  list-style: none;
  margin-top: 1.5rem;
}

.about__list li {
  padding: 0.4rem 0;
  color: var(--color-text);
  font-size: 0.95rem;
}

.about__card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.about__card h3 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.about__card dl div {
  margin-bottom: 1rem;
}

.about__card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.2rem;
}

.about__card dd {
  font-size: 0.95rem;
  font-weight: 500;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: var(--color-muted);
  line-height: 1.7;
}

.contact-card a:not(.btn) {
  color: var(--color-text);
  transition: color 0.2s;
}

.contact-card a:not(.btn):hover {
  color: var(--color-primary);
}

.link-arrow {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary) !important;
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 380px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__brand strong {
  display: block;
  margin-bottom: 0.35rem;
}

.footer__brand p,
.footer__legal p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .features__grid,
  .services__grid {
    grid-template-columns: 1fr;
  }

  .about,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .features {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav a.btn {
    margin-top: 0.75rem;
    text-align: center;
    border: none;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
