:root {
  --color-primary: #0f4c81;
  --color-primary-dark: #0a3154;
  --color-primary-soft: #eaf4fb;
  --color-accent: #18a957;
  --color-accent-dark: #0f7d3e;
  --color-warning: #f3b23c;
  --color-text: #172331;
  --color-muted: #5d6b7a;
  --color-border: #dbe6ee;
  --color-surface: #ffffff;
  --color-bg: #f6f9fc;
  --shadow-soft: 0 16px 48px rgba(15, 76, 129, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-surface);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(24, 169, 87, 0.7);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 1001;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--color-primary-dark);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 230px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  color: var(--color-muted);
  font-size: 0.82rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.header-nav a {
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--color-primary);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.btn-primary,
.btn-whatsapp {
  color: #ffffff;
  background: var(--color-accent);
  box-shadow: 0 10px 22px rgba(24, 169, 87, 0.24);
}

.btn-primary:hover,
.btn-whatsapp:hover {
  background: var(--color-accent-dark);
}

.btn-secondary {
  color: var(--color-primary-dark);
  background: #ffffff;
  border: 1px solid rgba(15, 76, 129, 0.22);
}

.hero {
  padding: 56px 0 64px;
  background:
    linear-gradient(90deg, rgba(246, 249, 252, 0.98) 0%, rgba(246, 249, 252, 0.92) 44%, rgba(246, 249, 252, 0.72) 100%),
    var(--color-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #bfe6ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 5vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--color-primary-dark);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  line-height: 1.15;
  color: var(--color-primary-dark);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--color-primary-dark);
}

.hero-subtitle {
  max-width: 680px;
  margin-bottom: 24px;
  color: #324252;
  font-size: clamp(1.03rem, 2.2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

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

.trust-list li,
.area-panel span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  color: var(--color-primary-dark);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--color-primary-soft);
  aspect-ratio: 2 / 1;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 0;
  max-width: 180px;
  padding: 14px 16px;
  color: #ffffff;
  background: rgba(10, 49, 84, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.hero-badge strong {
  font-size: 1.8rem;
  line-height: 1;
}

.hero-badge span {
  font-size: 0.85rem;
  line-height: 1.25;
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: var(--color-bg);
}

.section-primary,
.final-cta {
  color: #ffffff;
  background: var(--color-primary-dark);
}

.section-primary h2,
.section-primary p,
.final-cta h2,
.final-cta p {
  color: #ffffff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p,
.area-grid p,
.trust-grid p,
.final-cta p {
  color: var(--color-muted);
}

.section-primary .section-heading p,
.section-primary .split p,
.final-cta p {
  color: rgba(255, 255, 255, 0.82);
}

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

.mini-card,
.service-card,
.faq-list details {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(15, 76, 129, 0.06);
}

.mini-card {
  padding: 18px;
}

.mini-card p,
.service-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 22px;
}

.service-card-featured {
  border-color: rgba(24, 169, 87, 0.45);
  background: linear-gradient(180deg, #f0fff6 0%, #ffffff 72%);
  box-shadow: 0 14px 34px rgba(24, 169, 87, 0.14);
}

.service-tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 9px;
  color: #ffffff;
  background: var(--color-accent);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.service-card p {
  flex: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 18px;
  color: var(--color-accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: ">";
  margin-left: 8px;
}

.split,
.area-grid,
.trust-grid,
.faq-layout,
.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

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

.feature-grid span {
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step-counter;
}

.steps li {
  position: relative;
  min-height: 190px;
  padding: 58px 18px 18px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  counter-increment: step-counter;
}

.steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  background: var(--color-primary);
  border-radius: 50%;
  font-weight: 800;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 8px;
  color: var(--color-primary-dark);
  line-height: 1.25;
}

.steps span {
  color: var(--color-muted);
}

.area-panel,
.seal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.seal {
  display: grid;
  place-items: center;
  width: calc(50% - 5px);
  min-height: 136px;
  padding: 18px;
  text-align: center;
  background: var(--color-primary-soft);
  border: 1px solid #cfe2f0;
  border-radius: var(--radius);
}

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

.seal span {
  color: var(--color-primary-dark);
  font-weight: 800;
}

.faq-heading {
  position: sticky;
  top: 100px;
}

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

.faq-list details {
  padding: 0;
}

.faq-list summary {
  min-height: 56px;
  padding: 17px 18px;
  color: var(--color-primary-dark);
  font-weight: 800;
  cursor: pointer;
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--color-muted);
}

.final-cta {
  padding: 58px 0;
}

.final-cta-inner {
  align-items: center;
}

.final-cta .btn {
  justify-self: end;
  min-width: 220px;
}

.site-footer {
  padding: 48px 0 96px;
  color: #d8e6ef;
  background: #071f35;
  border-top: 6px solid var(--color-primary);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.05fr 0.95fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.footer-brand strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.12rem;
}

.footer-brand p,
.footer-block span,
.footer-block a,
.footer-bottom p {
  margin: 0;
  color: #bdd2e1;
}

.footer-block {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.footer-title {
  margin-bottom: 2px !important;
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-block a {
  text-decoration: none;
}

.footer-block a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.footer-cookie-link {
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.footer-bottom a:hover,
.footer-cookie-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-hero {
  padding: 64px 0 42px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.legal-hero h1 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.legal-hero p {
  max-width: 760px;
  color: var(--color-muted);
}

.legal-updated {
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.legal-content {
  display: grid;
  gap: 18px;
  max-width: 920px;
}

.legal-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(15, 76, 129, 0.06);
}

.legal-card h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.legal-card p:last-child,
.legal-list {
  margin-bottom: 0;
}

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

.legal-list {
  padding-left: 20px;
  color: var(--color-muted);
}

.legal-list li + li {
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(189, 210, 225, 0.2);
  font-size: 0.92rem;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  width: 58px;
  height: 58px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #ffffff;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(15, 125, 62, 0.32);
  font-weight: 800;
  text-decoration: none;
  animation: whatsapp-pulse 2s ease-out infinite;
}

.whatsapp-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: block;
}

.floating-whatsapp:hover {
  background: var(--color-accent-dark);
  animation-play-state: paused;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 16px;
  background: rgba(7, 31, 53, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

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

.cookie-banner-inner {
  width: min(100%, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.cookie-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 1rem;
}

.cookie-copy p {
  margin: 0;
  color: #d8e6ef;
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-copy a {
  color: #ffffff;
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-btn {
  min-height: 44px;
  white-space: nowrap;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 169, 87, 0.46), 0 14px 32px rgba(15, 125, 62, 0.32);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(24, 169, 87, 0), 0 14px 32px rgba(15, 125, 62, 0.32);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(24, 169, 87, 0), 0 14px 32px rgba(15, 125, 62, 0.32);
  }
}

@media (max-width: 980px) {
  .header-nav {
    display: none;
  }

  .hero-grid,
  .split,
  .area-grid,
  .trust-grid,
  .faq-layout,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-media {
    aspect-ratio: 16 / 9;
  }

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

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

  .faq-heading {
    position: static;
  }

  .final-cta .btn {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
    padding: 12px 0;
    align-items: stretch;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.78rem;
  }

  .header-inner .btn {
    display: none;
  }

  .hero {
    padding: 28px 0 46px;
  }

  .hero-grid {
    gap: 24px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.8rem;
  }

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

  .hero-actions .btn {
    padding-inline: 14px;
  }

  .trust-list li {
    width: 100%;
  }

  .hero-media {
    border-radius: 10px;
  }

  .hero-badge {
    left: 12px;
    bottom: 12px;
    padding: 12px;
  }

  .section {
    padding: 52px 0;
  }

  .problem-grid,
  .service-grid,
  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .mini-card,
  .steps li {
    min-height: auto;
  }

  .seal {
    width: 100%;
  }

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

  .footer-bottom {
    display: grid;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    width: 54px;
    height: 54px;
    min-height: 54px;
  }

  .cookie-banner {
    padding: 14px 12px;
  }

  .cookie-banner-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .floating-whatsapp {
    animation: none !important;
  }
}
