:root {
  --bg: #f4f7fb;
  --ink: #14202e;
  --accent: #0c6fbf;
  --accent-2: #11b47a;
  --accent-3: #ff9a3e;
  --card: #ffffff;
  --muted: #536274;
  --line: #d9e2ec;
  --shadow: 0 10px 26px rgba(18, 37, 58, 0.11);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 17%, rgba(12, 111, 191, 0.33), transparent 43%),
    radial-gradient(circle at 90% 8%, rgba(17, 180, 122, 0.28), transparent 35%),
    linear-gradient(150deg, #f7fbff 0%, #e9f4ff 45%, #e7f8f2 100%);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(20, 32, 46, 0.035),
    rgba(20, 32, 46, 0.035) 1px,
    transparent 1px,
    transparent 14px
  );
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  z-index: 0;
  animation: floaty 7s ease-in-out infinite;
}

.hero__blob--left {
  width: 220px;
  height: 220px;
  background: rgba(12, 111, 191, 0.17);
  left: -48px;
  bottom: 60px;
}

.hero__blob--right {
  width: 280px;
  height: 280px;
  background: rgba(17, 180, 122, 0.15);
  right: -54px;
  top: 92px;
  animation-delay: 1s;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.brand {
  font-family: "Literata", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.nav__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav__links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  opacity: 0.9;
  transition: color 0.25s ease;
}

.nav__links a:hover {
  color: var(--accent);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 72px 0 90px;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: #38668b;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-family: "Literata", serif;
  font-size: clamp(2.05rem, 4.4vw, 3.5rem);
  max-width: 16ch;
  line-height: 1.08;
}

.subtitle {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
  margin-top: 18px;
}

.hero-badges {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges li {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #d4e4f2;
  color: #1b3953;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 93, 160, 0.3);
}

.btn--ghost {
  border-color: #406a8f;
  color: #1f3f5c;
  background: rgba(255, 255, 255, 0.5);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--ghost:hover {
  background: #e8f3ff;
}

.btn:focus-visible {
  outline: 2px solid #0a7ad4;
  outline-offset: 2px;
}

.quick-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
}

.quick-facts li {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 12px 14px;
}

.quick-facts span {
  display: block;
  color: #52615d;
  font-size: 0.86rem;
  margin-bottom: 5px;
}

.section {
  padding: 74px 0;
}

.section--alt {
  background: #edf4fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  font-family: "Literata", serif;
  font-size: clamp(1.6rem, 3.1vw, 2.35rem);
  margin-bottom: 22px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cards--pricing {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #c1d8ea;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  line-height: 1.55;
  color: var(--muted);
}

.price-tag {
  color: #183956;
  font-weight: 700;
  font-size: 1.08rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  margin: 0;
  border: 1px solid #d2dbd7;
  border-radius: 14px;
  overflow: hidden;
  background: #fbfcfb;
  aspect-ratio: 4 / 3;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: #bfd4e6;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fdfefe;
  background: rgba(20, 32, 46, 0.74);
  border-radius: 999px;
  padding: 5px 9px;
}

.note {
  color: #4a5f73;
  margin-top: 12px;
}

.portfolio-note {
  margin: 0 0 18px;
  color: var(--muted);
}

.portfolio-cta {
  margin-top: 22px;
}

.lead-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: #2b4052;
  font-size: 0.93rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid #c7d8e8;
  border-radius: 10px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: #2f87ce;
  box-shadow: 0 0 0 3px rgba(47, 135, 206, 0.15);
  outline: none;
}

.lead-form__full {
  grid-column: 1 / -1;
}

.lead-form__submit {
  grid-column: 1 / -1;
  justify-self: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-list details:hover {
  border-color: #bfd2e2;
  box-shadow: 0 6px 16px rgba(17, 39, 60, 0.08);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: #1f3448;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  padding: 66px 0;
  background: #102133;
  color: #ebf4f1;
}

.footer h2 {
  font-family: "Literata", serif;
  margin-bottom: 12px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: start;
}

.contact-box {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.contact-box a {
  color: #e9f3f0;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 12px;
  border-radius: 12px;
  transition: background-color 0.2s ease;
}

.contact-box a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mobile-whatsapp {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floaty {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .nav {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .cards,
  .cards--pricing,
  .lead-form,
  .lead-form-wrap,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__content {
    padding-top: 34px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 32px;
  }

  .nav__links {
    gap: 12px;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .lead-form__submit {
    width: 100%;
  }

  .mobile-whatsapp {
    display: inline-flex;
    position: fixed;
    z-index: 30;
    right: 14px;
    bottom: 14px;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    background: #11b47a;
    box-shadow: 0 10px 24px rgba(7, 95, 63, 0.34);
  }
}

@media (max-width: 540px) {
  .container {
    width: min(1120px, 90vw);
  }

  h1 {
    font-size: clamp(1.86rem, 7vw, 2.2rem);
  }

  .subtitle {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-badges li {
    font-size: 0.84rem;
  }
}
