:root {
  --color-navy-900: #040f20;
  --color-navy-800: #091b33;
  --color-navy-700: #10294a;
  --color-red-500: #e1351f;
  --color-neutral-100: #f4f7fb;
  --color-neutral-500: #5c6477;
  --color-white: #ffffff;

  --font-base: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-500);
  background-color: var(--color-neutral-100);
}

html {
  scroll-behavior: smooth;
}

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

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

.wrapper {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  color: var(--color-white);
  background: radial-gradient(circle at 18% 18%, rgba(16, 73, 132, 0.35), transparent 55%),
    linear-gradient(135deg, var(--color-navy-900), var(--color-navy-700));
  padding-bottom: 4rem;
}

.header-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 1.5rem 0;
  gap: 1.5rem;
}

.brand img {
  height: 56px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
  justify-self: center;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--color-red-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:focus,
.main-nav a:hover {
  color: var(--color-white);
}

.main-nav a:focus::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  appearance: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.header-content .btn.primary {
  min-width: 190px;
  text-align: center;
  justify-self: end;
}

.btn.primary {
  background-color: var(--color-red-500);
  color: var(--color-white);
  box-shadow: 0 10px 25px rgba(225, 53, 31, 0.35);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(225, 53, 31, 0.45);
}

.btn.ghost {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn.ghost:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  padding: 3rem 0 0;
  align-items: stretch;
}

.hero-copy .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 0.75rem;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw + 1rem, 3.4rem);
  margin: 0 0 1rem;
  color: var(--color-white);
  line-height: 1.15;
}

.lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  max-width: 440px;
  width: 100%;
  align-items: stretch;
  margin-inline: auto;
  justify-self: center;
}

.hero-card {
  background: rgba(7, 27, 51, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: var(--color-white);
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(4, 15, 32, 0.32);
  backdrop-filter: blur(6px);
}

.hero-card-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.5rem;
}

.hero-plan h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--color-white);
  line-height: 1.35;
}

.hero-plan-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.hero-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(225, 53, 31, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red-500);
}

.hero-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.section {
  padding: 4.5rem 0;
}

.section h2 {
  color: var(--color-navy-900);
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 3vw + 0.5rem, 2.6rem);
}

.services h2 {
  text-align: center;
}

.section-lead {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.services {
  background-color: var(--color-white);
}

.service-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card {
  background: var(--color-neutral-100);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 15px 35px rgba(4, 15, 32, 0.08);
  border: 1px solid rgba(16, 41, 74, 0.08);
  text-align: center;
}

.service-card h3 {
  margin: 0 0 0.75rem;
  color: var(--color-navy-800);
  font-size: 1.1rem;
  text-transform: none;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(225, 53, 31, 0.12);
  font-size: 0;
  margin: 0 auto 1rem;
}

.service-card:nth-child(2) .service-icon {
  background: rgba(66, 132, 200, 0.12);
}

.service-card:nth-child(3) .service-icon {
  background: rgba(63, 221, 152, 0.12);
}

.service-card:nth-child(4) .service-icon {
  background: rgba(16, 73, 132, 0.15);
}

.service-icon img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}

.about {
  background-color: rgba(9, 27, 51, 0.05);
}

.about-content {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about-highlight {
  background: var(--color-white);
  border-left: 4px solid var(--color-red-500);
  padding: 1.75rem;
  box-shadow: 0 15px 35px rgba(4, 15, 32, 0.08);
}

.about-highlight h3 {
  margin: 0;
  color: var(--color-navy-800);
  font-size: 1.15rem;
}

.testimonial-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.testimonial-card {
  display: none;
}

.testimonial-card.is-active {
  display: block;
  animation: testimonialFade 0.6s ease;
}

.testimonial-card figure {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-neutral-500);
}

.testimonial-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-red-500);
  font-size: 1rem;
}

.testimonial-rating .star {
  line-height: 1;
}

.testimonial-card figcaption {
  font-weight: 600;
  color: var(--color-navy-800);
  font-size: 0.92rem;
}

.testimonial-card figcaption span {
  display: block;
  font-weight: 500;
  color: var(--color-neutral-500);
  font-size: 0.85rem;
}

@keyframes testimonialFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact {
  background-color: var(--color-white);
}

.contact-wrapper {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1fr);
  align-items: start;
}

.contact-card {
  background: var(--color-white);
  color: var(--color-navy-900);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(4, 15, 32, 0.12);
  border: 1px solid rgba(16, 41, 74, 0.08);
}

.contact-direct {
  background: linear-gradient(135deg, var(--color-navy-700), var(--color-navy-900));
  color: var(--color-white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(4, 15, 32, 0.16);
  display: grid;
  gap: 1.25rem;
  grid-column: 1 / -1;
}

.contact-direct h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--color-white);
}

.contact-direct p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.contact-direct-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.contact-direct-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.contact-direct a {
  color: var(--color-white);
  text-decoration: none;
}

.contact-direct a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.contact-direct-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
}

.contact-direct-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

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

.contact-form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-control {
  display: grid;
  gap: 0.45rem;
}

.form-control.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.form-control label {
  font-weight: 600;
  color: var(--color-navy-800);
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(16, 41, 74, 0.2);
  background-color: var(--color-neutral-100);
  font-size: 1rem;
  color: var(--color-navy-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: var(--color-red-500);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(225, 53, 31, 0.12);
}

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

.contact-card .btn {
  justify-self: flex-start;
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--color-neutral-500);
  line-height: 1.5;
}

.form-disclaimer a {
  color: var(--color-red-500);
  font-weight: 600;
}

.site-footer {
  background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-800));
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
}

.site-footer p {
  margin: 0;
}


.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0 auto;
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-left: auto;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  color: var(--color-white);
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.08);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.75rem;
  width: 70px;
  height: 70px;
  display: inline-block;
  transition: transform 0.2s ease;
  animation: whatsappShake 4s ease-in-out infinite;
  z-index: 1000;
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  display: block;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-4px);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(18, 140, 126, 0.6);
  outline-offset: 4px;
}

@keyframes whatsappShake {
  0%,
  80%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  82% {
    transform: rotate(5deg);
  }
  84% {
    transform: rotate(-5deg);
  }
  86% {
    transform: rotate(4deg);
  }
  88% {
    transform: rotate(-4deg);
  }
  90% {
    transform: rotate(2deg);
  }
  92% {
    transform: rotate(-2deg);
  }
}

@media (max-width: 768px) {
  .header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .header-content .btn.primary {
    margin-left: 0;
    min-width: 0;
    align-self: flex-start;
  }

  .main-nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-self: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .hero-visual {
    margin-top: 2rem;
    max-width: none;
    justify-self: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 1rem;
    bottom: 1.25rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
  }

  .footer-social {
    justify-content: center;
    gap: 1rem;
    margin-left: 0;
    padding-bottom: 4.5rem;
  }
}
