:root {
  --bg: #f4f8fc;
  --surface: #ffffff;
  --surface-alt: #eef4fb;
  --ink: #15304d;
  --muted: #53708e;
  --line: rgba(21, 48, 77, 0.1);
  --primary: #0f3d75;
  --primary-dark: #0a2850;
  --secondary: #1d7f68;
  --secondary-soft: rgba(29, 127, 104, 0.12);
  --shadow: 0 24px 70px rgba(15, 61, 117, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1160px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(29, 127, 104, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.topbar p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(248, 251, 255, 0.9);
  border-bottom: 1px solid rgba(21, 48, 77, 0.06);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #1b5cb1);
  box-shadow: 0 14px 28px rgba(15, 61, 117, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
}

.brand small {
  font-size: 0.84rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--secondary), #23a47f);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--primary);
  background: rgba(15, 61, 117, 0.08);
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid,
.split-section,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--secondary);
  background: var(--secondary-soft);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero h1,
.section h2,
.legal-container h1 {
  font-family: "Manrope", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 18px 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  max-width: 11ch;
}

.lead,
.section-heading p,
.split-section p,
.contact-section p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #1a61c3);
  box-shadow: 0 18px 34px rgba(15, 61, 117, 0.24);
}

.button-secondary {
  color: var(--primary);
  background: rgba(15, 61, 117, 0.08);
}

.trust-points,
.check-list,
.security-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-points li,
.check-list li,
.security-panel li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.trust-points li::before,
.check-list li::before,
.security-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), #4fd6ac);
  box-shadow: 0 0 0 5px rgba(29, 127, 104, 0.12);
}

.hero-card,
.panel,
.service-card,
.step-card,
.testimonial-card,
.feature-card,
.contact-card,
.badge-item,
.contact-form,
.legal-container,
.stat-card,
.security-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
}

.stat-card {
  padding: 22px;
  margin-bottom: 18px;
}

.stat-value {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.stat-label {
  color: var(--muted);
}

.security-panel {
  padding: 24px;
  background: linear-gradient(180deg, rgba(15, 61, 117, 0.94), rgba(10, 40, 80, 0.96));
  color: rgba(255, 255, 255, 0.92);
}

.security-panel h2 {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
}

.security-panel li {
  color: rgba(255, 255, 255, 0.82);
}

.badges {
  padding: 0 0 32px;
}

.badges-grid,
.feature-grid,
.service-grid,
.steps-grid,
.testimonial-grid,
.footer-grid {
  display: grid;
  gap: 20px;
}

.badges-grid,
.feature-grid,
.steps-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(15, 61, 117, 0.1), rgba(29, 127, 104, 0.12));
}

.icon-circle svg {
  width: 28px;
  fill: var(--primary);
}

.badge-item,
.feature-card,
.service-card,
.step-card,
.testimonial-card,
.contact-card {
  padding: 24px;
}

.section {
  padding: 56px 0;
}

.muted-section {
  background: linear-gradient(180deg, rgba(238, 244, 251, 0.8), rgba(244, 248, 252, 0.7));
}

.dark-section {
  color: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at top left, rgba(29, 127, 104, 0.3), transparent 28%),
    linear-gradient(135deg, #0f3767, #0a2446 68%);
}

.dark-section .step-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.dark-section .step-card p,
.dark-section .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.service-card h3,
.feature-card h3,
.step-card h3,
.testimonial-card strong,
.contact-card h3,
.legal-container h2 {
  font-family: "Manrope", sans-serif;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 18px;
  font-weight: 700;
  background: rgba(79, 214, 172, 0.14);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  padding-bottom: 72px;
}

.contact-cards {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-form {
  padding: 26px;
}

.contact-form label {
  display: block;
  margin: 14px 0 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(21, 48, 77, 0.16);
  border-radius: 16px;
  background: #f9fbfd;
  padding: 14px 16px;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(26, 97, 195, 0.18);
  border-color: rgba(26, 97, 195, 0.4);
}

.checkbox {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0 22px !important;
  font-weight: 400 !important;
  color: var(--muted);
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-feedback {
  min-height: 24px;
  margin-bottom: 0;
  margin-top: 14px;
  color: var(--secondary);
  font-weight: 500;
}

.site-footer {
  padding: 40px 0 28px;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, #0a2446, #071930);
}

.footer-grid {
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  align-items: start;
}

.footer-grid h3 {
  margin-top: 0;
  color: #fff;
  font-family: "Manrope", sans-serif;
}

.footer-brand small,
.footer-grid p,
.footer-grid a,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1faa6a, #25d366);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.34);
}

.whatsapp-float svg {
  width: 34px;
  fill: #fff;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.legal-body {
  min-height: 100vh;
}

.legal-header {
  position: static;
}

.legal-main {
  padding: 40px 0 72px;
}

.legal-container {
  max-width: 860px;
  padding: 34px;
}

.legal-container h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.legal-container h2 {
  margin-top: 32px;
}

.legal-container p {
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-section,
  .contact-grid,
  .footer-grid,
  .badges-grid,
  .feature-grid,
  .testimonial-grid,
  .service-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar-content,
  .cookie-banner,
  .hero-actions,
  .cookie-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-content {
    min-height: 74px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .section {
    padding: 44px 0;
  }

  .hero-grid,
  .split-section,
  .contact-grid,
  .badges-grid,
  .feature-grid,
  .service-grid,
  .steps-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .legal-container,
  .contact-form,
  .hero-card,
  .badge-item,
  .feature-card,
  .service-card,
  .step-card,
  .testimonial-card,
  .contact-card {
    padding: 20px;
  }
}
