/* Color system */
:root {
  --blue-900: #0a2e4e;
  --blue-700: #0f4c81;
  --blue-500: #1673c8;
  --blue-100: #e6f1fb;
  --white: #ffffff;
  --text: #122033;
  --muted: #5c6b7a;
  --shadow: 0 12px 30px rgba(10, 46, 78, 0.12);
}

/* Base reset */
*, 
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Global typography */
body {
  margin: 0;
  font-family: "Trebuchet MS", "Gill Sans", "Calibri", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: var(--white);
  color: var(--blue-900);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

/* Layout helpers */
.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid #eef3f9;
  z-index: 10;
}

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

.logo {
  font-weight: 700;
  color: var(--blue-700);
  font-size: 1.1rem;
}

.site-nav {
  display: none;
  gap: 20px;
  font-weight: 600;
}

.site-nav a {
  color: var(--text);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--blue-500);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #f7fbff 0%, #d4e8fb 60%, #c2dcf5 100%);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: 32px;
}

.hero-content h1 {
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--blue-900);
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 24px;
}

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

.hero-stats {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.hero-stats strong {
  display: block;
  font-size: 1.05rem;
  color: var(--blue-900);
}

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

.hero-media {
  display: grid;
  gap: 20px;
}

.hero-visual {
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--white);
  padding: 14px;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.hero-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-top: 0;
  color: var(--blue-700);
}

.hero-card ul {
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section.light {
  background: var(--blue-100);
}

.section h2 {
  margin-top: 0;
  color: var(--blue-900);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.section-intro {
  color: var(--muted);
  margin-bottom: 28px;
}

.steps {
  display: grid;
  gap: 20px;
}

.step {
  background: var(--white);
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid #edf2f8;
}

.step h3 {
  margin-top: 0;
  color: var(--blue-700);
}

/* Forms */
.form {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-help {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

label {
  font-weight: 600;
}

input,
textarea {
  padding: 12px 14px;
  border: 1px solid #cbd7e5;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(22, 115, 200, 0.3);
  border-color: var(--blue-500);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue-500);
  color: var(--white);
}

.btn-outline {
  border-color: var(--blue-500);
  color: var(--blue-500);
  background: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue-700);
}

.btn-outline-white {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

/* CTA */
.cta {
  background: linear-gradient(120deg, #0f4c81 0%, #0a2e4e 100%);
  color: var(--white);
}

.cta-inner {
  display: grid;
  gap: 20px;
  align-items: center;
}

.cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  background: #f3f7fb;
  padding: 24px 0;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer a {
  color: var(--blue-700);
}

/* Floating contact */
.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25d366;
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

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

/* Responsive */
@media (min-width: 720px) {
  .site-nav {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

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

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

  .hero-media {
    grid-template-rows: auto auto;
  }

  .cta-inner {
    grid-template-columns: 1.4fr 1fr;
    justify-content: space-between;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
