:root {
  --bg: #fcfaf2;
  --surface: #ffffff;
  --primary: #14337D;
  --primary-dark: #0f2964;
  --accent: #FDF085;
  --accent-dark: #ED4748;
  --accent-2: #FFC839;
  --text: #14337D;
  --muted: #375a8c;
  --border: rgba(20, 51, 125, 0.18);
  --shadow: rgba(20, 51, 125, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: radial-gradient(circle at top left, rgba(253, 240, 133, 0.35), transparent 20%),
    radial-gradient(circle at top right, rgba(237, 71, 72, 0.12), transparent 18%),
    linear-gradient(180deg, var(--bg) 0%, #f4f6ff 100%);
  color: var(--text);
}

img {
  max-width: 100%;
}

.brand,
.hero h1 {
  font-family: 'Barrio', cursive, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
+

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  z-index: 20;
  border-bottom: 1px solid rgba(237, 71, 72, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  max-height: 80px;
  width: auto;
}

.hero-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-logo {
  display: block;
  max-width: min(100%, 460px);
  max-height: 220px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.language-switch .lang {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.language-switch .lang.active,
.language-switch .lang:hover {
  color: var(--primary);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  min-width: 0;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  padding: 4.5rem 0 3.25rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

.hero::before {
  content: "";
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 10rem;
  height: 10rem;
  background: radial-gradient(circle, rgba(237, 71, 72, 0.18), transparent 55%);
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -1rem;
  width: 8rem;
  height: 8rem;
  background: radial-gradient(circle, rgba(253, 240, 133, 0.35), transparent 55%);
  border-radius: 50%;
  z-index: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--primary);
  background: var(--accent);
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.05;
  color: var(--primary);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.85);
}

.hero p {
  max-width: 44rem;
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.button-primary {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 14px 24px rgba(237, 71, 72, 0.18);
}

.button-primary:hover {
  background: #cc3d3e;
}

.button-secondary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 24px rgba(20, 51, 125, 0.18);
}

.button-secondary:hover {
  background: var(--primary-dark);
}

/* hero-card removed — styles cleaned up */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #fff9d7 0%, #ffffff 100%);
  border-top: 1px solid rgba(237, 71, 72, 0.08);
}

.section-grid,
.about-grid,
.process-grid,
.cta-grid {
  display: grid;
  gap: 2rem;
}

.section-grid {
  grid-template-columns: 1fr 1.4fr;
  align-items: start;
}

.cards-grid {
  display: grid;
  gap: 1rem;
}

.feature-card,
.testimonial-card,
.process-step,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 18px 25px rgba(20, 51, 125, 0.06);
}

.feature-card {
  border-top: 6px solid var(--accent-dark);
}

.feature-card h3,
.process-step h3 {
  margin-top: 0;
}

.about-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.about-list li {
  color: var(--muted);
}

.about-image-placeholder {
  min-height: 280px;
  border-radius: 24px;
  background: linear-gradient(135deg, #FDF085 0%, #ED4748 100%);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 700;
}

.about-image-img,
.about-image img {
  width: 100%;
  border-radius: 24px;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

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

.process-step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
}

.testimonial-card {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.testimonial-author {
  margin: 1rem 0 0;
  color: var(--muted);
}

.section-cta {
  background: linear-gradient(180deg, #eef4fb 0%, #ffffff 100%);
}

.cta-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
}

.contact-card h3 {
  margin-top: 0;
}

.contact-form label {
  display: block;
  margin-bottom: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  margin-top: 0.5rem;
}

.contact-form .button-secondary {
  margin-top: 0.5rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  margin-top: 0.5rem;
  color: var(--text);
  background: #f8fafc;
}

.site-footer {
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-grid,
  .about-grid,
  .process-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 18px 40px rgba(20, 33, 61, 0.08);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  .hero-card,
  .feature-card,
  .process-step,
  .contact-form {
    padding: 1.5rem;
  }
}
