:root {
  --bg: #f6f2ea;
  --surface: #fffdfa;
  --surface-soft: #f4eee1;
  --text: #1d2431;
  --muted: #6a6257;
  --primary: #123a5a;
  --primary-strong: #0b2740;
  --accent: #c4902f;
  --line: #e2d8c7;
  --shadow: 0 18px 45px rgba(21, 22, 18, 0.14);
  --radius: 18px;
}

/* Global foundations and color system for the agency redesign */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(18, 58, 90, 0.11), transparent 36%),
    radial-gradient(circle at 84% 3%, rgba(196, 144, 47, 0.1), transparent 33%),
    linear-gradient(180deg, #fbf8f1 0%, var(--bg) 40%, #fbf8f1 100%);
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  color: var(--muted);
  margin: 0;
}

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

.section-space {
  padding: 100px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(18, 58, 90, 0.06) 0%, rgba(196, 144, 47, 0.05) 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 12px 0;
  transition: all 0.25s ease;
}

/* Hero uses layered gradients and card-based metrics for a premium first impression */

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 216, 199, 0.86);
  box-shadow: 0 8px 28px rgba(36, 31, 24, 0.1);
}

.navbar {
  padding: 0;
}

.brand {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
}

.brand span {
  color: var(--accent);
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 10px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.nav-link {
  font-weight: 600;
  color: #2d3442;
  padding: 10px 14px !important;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-strong);
  background: rgba(18, 58, 90, 0.1);
}

.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
}

.dropdown-item {
  border-radius: 10px;
  font-weight: 600;
  padding: 8px 12px;
}

.dropdown-item:hover {
  background: rgba(18, 58, 90, 0.12);
  color: var(--primary-strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  padding: 12px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-nav {
  background: linear-gradient(135deg, var(--accent), #d6a957);
  color: #fff;
  box-shadow: 0 10px 26px rgba(196, 144, 47, 0.33);
}

.btn-primary-cta {
  background: linear-gradient(135deg, var(--primary), #1f537c);
  color: #fff;
  border: 0;
  box-shadow: 0 12px 28px rgba(18, 58, 90, 0.3);
}

.btn-secondary-cta {
  background: transparent;
  color: var(--primary-strong);
  border: 1px solid rgba(18, 58, 90, 0.42);
}

.hero {
  padding-top: 190px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  right: -110px;
  top: 130px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 58, 90, 0.24) 0%, rgba(18, 58, 90, 0) 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.45rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-copy {
  font-size: 1.06rem;
  max-width: 620px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-metrics {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metrics li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(39, 34, 27, 0.08);
}

.hero-metrics strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--primary-strong);
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-image-wrap {
  background: linear-gradient(155deg, #fffdfa 0%, #f2e8d7 100%);
  border: 1px solid #e4d7c1;
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}

.hero-image-wrap img {
  width: 100%;
  display: block;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  margin-bottom: 12px;
}

.about h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.45rem);
  margin-bottom: 16px;
}

.about p + p {
  margin-top: 12px;
}

.image-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.about-points {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.point-card {
  background: #fffcf6;
  border: 1px solid #e7dbc8;
  border-radius: 14px;
  padding: 18px;
}

.point-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.service-grid {
  margin-top: 20px;
}

.service-card {
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 30px rgba(36, 31, 24, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(36, 31, 24, 0.14);
}

.service-card img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.pricing {
  background: linear-gradient(180deg, rgba(18, 58, 90, 0.05) 0%, rgba(196, 144, 47, 0.05) 100%);
}

.pricing-card {
  position: relative;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.price {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary-strong);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.price span {
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  margin-left: 6px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pricing-card li {
  color: var(--muted);
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.pricing-card li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 8px;
}

.pricing-card.featured {
  border: 1px solid rgba(18, 58, 90, 0.36);
  transform: translateY(-8px);
}

.badge-plan {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(196, 144, 47, 0.16);
  color: var(--primary-strong);
}

.btn-plan {
  background: linear-gradient(135deg, var(--accent), #d6a957);
  color: #fff;
}

.btn-outline-plan {
  border: 1px solid rgba(18, 58, 90, 0.36);
  color: var(--primary-strong);
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.legal-card h2 {
  font-size: clamp(1.4rem, 2.7vw, 2.1rem);
  margin-bottom: 14px;
}

.legal-card p + p {
  margin-top: 12px;
}

.legal-card a {
  color: var(--primary-strong);
  font-weight: 700;
}

.contact-panel,
.contact-form {
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-panel {
  padding: 30px;
}

.contact-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

.contact-mail {
  display: inline-block;
  margin-top: 20px;
  font-weight: 700;
  color: var(--primary-strong);
}

.contact-form {
  padding: 30px;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4d4338;
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid #d7cdbd;
  padding: 12px 14px;
  min-height: 48px;
  color: #1d2431;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(18, 58, 90, 0.52);
  box-shadow: 0 0 0 3px rgba(18, 58, 90, 0.18);
}

.site-footer {
  border-top: 1px solid #e1d5c2;
  padding: 36px 0;
  background: #f8f3e9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: center;
  margin-bottom: 14px;
}

.footer-links a {
  color: #4a4138;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary-strong);
}

.site-footer p {
  margin: 0;
  text-align: center;
  color: #7a7266;
}

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

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Respect user motion preferences while preserving layout */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 991.98px) {
  .section-space {
    padding: 82px 0;
  }

  .hero {
    padding-top: 150px;
  }

  .navbar-collapse {
    margin-top: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 16px 30px rgba(36, 31, 24, 0.12);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-nav,
  .btn-primary-cta,
  .btn-secondary-cta {
    width: 100%;
  }

  .legal-card,
  .contact-panel,
  .contact-form,
  .service-card,
  .pricing-card {
    padding: 22px;
  }
}
