:root {
  --bg: #f5efe5;
  --surface: #fffaf2;
  --text: #1c1a17;
  --muted: #5e554b;
  --accent: rgb(104, 120, 214);
  --accent-deep: rgb(87, 106, 214);
  --outline: #d7c6af;
  --shadow: 0 18px 45px rgba(72, 47, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(104, 120, 214, 0.28), transparent 42%),
    radial-gradient(circle at 85% 4%, rgba(72, 95, 190, 0.2), transparent 28%),
    linear-gradient(180deg, #f7f2ea 0%, #efe4d6 100%);
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  margin: 0;
}

p {
  margin: 0;
  line-height: 1.65;
}

main {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.topbar {
  width: min(1140px, 92vw);
  margin: 1.25rem auto;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(215, 198, 175, 0.7);
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 12px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-logo {
  width: 88px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(215, 198, 175, 0.9);
  border-radius: 10px;
  background: rgba(255, 250, 242, 0.9);
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent-deep);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.1rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: #166f6b;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 18ch;
}

.hero-copy {
  margin-top: 1.25rem;
  max-width: 65ch;
  color: var(--muted);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--outline);
}

.hero-image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  justify-content: center;
}

.hero-side-logo {
  width: min(220px, 70%);
  height: auto;
}

.hero-image {
  width: min(460px, 100%);
  border: 1px solid var(--outline);
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: #fff;
}

.hero-metrics {
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-metrics li {
  padding: 1rem;
  border: 1px solid var(--outline);
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.7);
}

.hero-metrics strong {
  display: block;
  font-size: 1.1rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-strip {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-chip {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(104, 120, 214, 0.1);
  color: rgb(57, 69, 140);
  border: 1px solid rgba(104, 120, 214, 0.35);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  margin-bottom: 1.2rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
}

.about-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.project-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.package-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.package-card-featured {
  border-color: rgba(87, 106, 214, 0.5);
  box-shadow: 0 18px 45px rgba(87, 106, 214, 0.2);
}

.result-pill {
  margin-top: 0.85rem;
  display: inline-block;
  background: rgba(104, 120, 214, 0.15);
  color: rgb(57, 69, 140);
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.project-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--outline);
  margin-bottom: 0.85rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card p,
.project-card p {
  color: var(--muted);
}

.card h3,
.project-card h3 {
  margin-bottom: 0.55rem;
}

.case-list {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #166f6b;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
}

.contact-info ul {
  margin-top: 1rem;
  padding-left: 1rem;
  color: var(--muted);
}

.contact-info a {
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover,
.contact-info a:focus-visible {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

.consultation-panel {
  display: grid;
  gap: 0.9rem;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--outline);
  padding: 0.7rem;
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.form-actions {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  color: var(--muted);
}

.sticky-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  background: #24c35a;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  box-shadow: 0 16px 35px rgba(36, 195, 90, 0.35);
}

.sticky-whatsapp:hover,
.sticky-whatsapp:focus-visible {
  background: #1ca84d;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.bg-orb-one {
  width: 240px;
  height: 240px;
  left: -60px;
  top: 20%;
  background: rgba(104, 120, 214, 0.25);
}

.bg-orb-two {
  width: 300px;
  height: 300px;
  right: -80px;
  top: 8%;
  background: rgba(87, 106, 214, 0.2);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero-layout,
  .hero-metrics,
  .about-grid,
  .seo-grid,
  .faq-list,
  .package-grid,
  .project-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
  }

  .brand {
    justify-content: flex-start;
    flex: 1;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    border: 1px solid rgba(215, 198, 175, 0.85);
    border-radius: 12px;
    background: rgba(255, 250, 242, 0.92);
    padding: 0.55rem;
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    padding: 0.5rem 0.65rem;
    border: 1px solid rgba(215, 198, 175, 0.75);
    border-radius: 10px;
    background: rgba(255, 250, 242, 0.96);
  }
}

@media (max-width: 640px) {
  main,
  .topbar {
    width: 94vw;
  }

  .topbar {
    top: 8px;
    padding: 0.7rem 0.65rem;
  }

  .brand {
    gap: 0.4rem;
    font-size: 0.95rem;
  }

  .brand-logo {
    width: 72px;
    height: 34px;
  }

  .hero {
    padding: 2.6rem 0 2rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .hero-copy {
    margin-top: 0.9rem;
  }

  .hero-actions {
    margin-top: 1.2rem;
    gap: 0.55rem;
  }

  .hero-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .hero-metrics {
    margin-top: 1.4rem;
    gap: 0.6rem;
  }

  .hero-side-logo {
    width: min(180px, 80%);
  }

  .hero-image {
    border-radius: 14px;
  }

  .section {
    padding: 2.35rem 0;
  }

  .card,
  .project-card,
  .package-card {
    padding: 0.95rem;
  }

  .sticky-whatsapp {
    right: 12px;
    bottom: 12px;
    padding: 0.68rem 0.85rem;
    font-size: 0.9rem;
  }
}
