:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --navy: #0f1f3d;
  --text: #475569;
  --muted: #64748b;
  --blue: #1d4ed8;
  --blue-dark: #173ea8;
  --blue-light: #e8efff;
  --green: #22c55e;
  --wa: #25d366;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 31, 61, 0.06);
  --shadow-md: 0 10px 30px -10px rgba(15, 31, 61, 0.15);
  --shadow-lg: 0 24px 60px -20px rgba(15, 31, 61, 0.25);
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1140px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: rgba(37, 99, 235, 0.18);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.4);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(29, 78, 216, 0.55);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(29, 78, 216, 0.6);
}

.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.35);
}

.btn-light:hover {
  transform: translateY(-2px);
  background: #f1f5ff;
}

.btn-block {
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--border);
  box-shadow: 0 8px 30px -18px rgba(15, 31, 61, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #0f1f3d);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(29, 78, 216, 0.6);
  flex: none;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-name {
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: #3b4a63;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 20px;
  font-size: 0.9rem;
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 10px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: 170px 0 0;
  background:
    radial-gradient(700px 420px at 88% -10%, rgba(37, 99, 235, 0.12), transparent 62%),
    radial-gradient(600px 400px at 0% 100%, rgba(37, 99, 235, 0.07), transparent 60%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 78%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 31, 61, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 31, 61, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
  animation: pulse-dot 2.4s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08);
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.9rem);
  max-width: 900px;
  margin: 26px 0 22px;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.text-accent {
  color: var(--blue);
}

.hero-sub {
  max-width: 640px;
  font-size: 1.1rem;
  color: #52617a;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 940px;
  margin: 64px 0 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 30px 60px -35px rgba(15, 31, 61, 0.25);
  padding: 8px 0;
}

.stat {
  text-align: center;
  padding: 22px 12px;
  border-left: 1px solid #eef2f8;
}

.stat:first-child {
  border-left: none;
}

.stat-number {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid #eef2f8;
  border-bottom: 1px solid #eef2f8;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-head p {
  color: #52617a;
  font-size: 1.02rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #c7d7f9;
  box-shadow: 0 24px 44px -24px rgba(15, 31, 61, 0.22);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8efff, #f3f7ff);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid #dbe7ff;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

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

.service-card p {
  font-size: 0.95rem;
  color: #5a6a82;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.card-link:hover svg {
  transform: translateX(4px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content .eyebrow {
  margin-bottom: 14px;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 16px;
  color: #52617a;
}

.about-content .btn {
  margin-top: 12px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #c7d7f9;
  box-shadow: 0 20px 36px -24px rgba(15, 31, 61, 0.2);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: #5a6a82;
  line-height: 1.6;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, #dbe7ff, #bcd0fb, #dbe7ff);
  z-index: 0;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px -10px rgba(29, 78, 216, 0.55);
  border: 5px solid #fff;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}

.process-step h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: #5a6a82;
  max-width: 240px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -28px rgba(15, 31, 61, 0.2);
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.96rem;
  color: #41506a;
  line-height: 1.75;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid #eef2f8;
  padding-top: 18px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8efff, #d6e3ff);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex: none;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--muted);
}

.cta-section {
  padding: 96px 0 0;
}

.cta-banner {
  position: relative;
  background: linear-gradient(120deg, #0f1f3d 0%, #14295a 55%, #1d3d85 100%);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(15, 31, 61, 0.5);
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
  top: -160px;
  right: -80px;
}

.cta-banner::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  bottom: -140px;
  left: 30%;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  color: #b9c6e2;
  max-width: 520px;
  position: relative;
}

.cta-banner .btn {
  position: relative;
  flex: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.contact-item:hover {
  border-color: #c7d7f9;
  box-shadow: 0 16px 30px -22px rgba(15, 31, 61, 0.25);
  transform: translateY(-2px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}

.contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-item span {
  font-size: 0.9rem;
  color: #5a6a82;
  line-height: 1.55;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 30px 60px -40px rgba(15, 31, 61, 0.25);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}

.field .optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  font: inherit;
  font-size: 0.94rem;
  color: var(--navy);
  background: #fbfcfe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa8bd;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.site-footer {
  background: #0b1526;
  color: #93a3bd;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 52px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 18px 0 22px;
  max-width: 300px;
}

.site-footer .brand-name {
  color: #fff;
}

.site-footer .brand-name span {
  color: #7ea6ff;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #c3cfe4;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.social-links svg {
  width: 17px;
  height: 17px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a,
.footer-col li {
  font-size: 0.9rem;
}

.footer-col a {
  color: #93a3bd;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 4px;
  color: #7ea6ff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.84rem;
}

.footer-bottom a {
  color: #7ea6ff;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: wa-ring 2.6s ease-out infinite;
}

@keyframes wa-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 44px;
  }

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    box-shadow: 0 30px 40px -30px rgba(15, 31, 61, 0.3);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .site-header.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-link {
    padding: 12px 4px;
    font-size: 1rem;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin: 14px 0 0;
    padding: 15px 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 150px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
  }

  .stat {
    padding: 20px 12px;
  }

  .stat:nth-child(3) {
    border-left: none;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid #eef2f8;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .cta-section {
    padding-top: 72px;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 44px 28px;
  }

  .cta-banner p {
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }

  .header-inner {
    height: 68px;
  }

  .main-nav {
    top: 68px;
    max-height: calc(100vh - 68px);
  }

  .hero {
    padding-top: 132px;
  }

  .hero h1 {
    letter-spacing: -0.03em;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    margin-top: 48px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .process-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 26px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
}

.page-hero {
  padding: 150px 0 56px;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(37, 99, 235, 0.1), transparent 60%),
    linear-gradient(180deg, #f7f9ff, #ffffff);
  border-bottom: 1px solid #eef2f8;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: #52617a;
  font-size: 1.02rem;
}

.page-hero .eyebrow {
  margin-bottom: 12px;
}

.legal-section {
  padding-top: 56px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 38px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 24px 0 8px;
}

.legal-content p {
  margin-bottom: 14px;
  color: #52617a;
  font-size: 0.96rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #52617a;
  font-size: 0.96rem;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content a {
  color: var(--blue);
  font-weight: 500;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content strong {
  color: var(--navy);
}

.legal-content code {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.85em;
  color: var(--navy);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.9rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--border);
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
  color: #52617a;
}

.legal-content th {
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 600;
}

.legal-content .legal-meta {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.identity-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 24px 48px -32px rgba(15, 31, 61, 0.2);
}

.identity-card dl {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 12px 20px;
  font-size: 0.95rem;
}

.identity-card dt {
  color: var(--muted);
  font-weight: 500;
}

.identity-card dd {
  color: var(--navy);
  font-weight: 600;
}

.identity-card dd a {
  color: var(--blue);
}

.contact-legal {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 0.84rem;
}

.footer-legal a {
  color: #93a3bd;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: none;
  padding: 0 0 22px;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.84rem;
  border-radius: 10px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 250;
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 30px 60px -25px rgba(15, 31, 61, 0.35);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  flex: 1 1 340px;
  font-size: 0.86rem;
  color: #52617a;
  line-height: 1.6;
}

.cookie-banner a {
  color: var(--blue);
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-note a {
  color: var(--blue);
  font-weight: 600;
}

@media (max-width: 1024px) {
  body.cookie-open .whatsapp-float {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 120px 0 44px;
  }

  .identity-card {
    padding: 24px 20px;
  }

  .identity-card dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .identity-card dd {
    margin-bottom: 10px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
