:root {
  --ink: #112437;
  --ink-soft: #2b3e50;
  --green: #18736b;
  --green-dark: #0e5550;
  --red: #9d263a;
  --saffron: #f3a21b;
  --sky: #1e78a6;
  --cream: #fff8ea;
  --paper: #f7faf7;
  --line: #dce5df;
  --muted: #667480;
  --white: #ffffff;
  --shadow: 0 22px 54px rgba(17, 36, 55, 0.13);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 250, 247, 0.94);
  border-bottom: 1px solid rgba(220, 229, 223, 0.84);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 26px rgba(17, 36, 55, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1280px, calc(100% - 28px));
  min-height: 78px;
  margin: 0 auto;
}

.brand img {
  width: 225px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.91rem;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  padding: 0.45rem 0.05rem;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  content: "";
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-links .nav-cta {
  min-height: 42px;
  padding: 0.62rem 0.95rem;
  color: var(--white);
  background: var(--green-dark);
  border-radius: var(--radius);
  box-shadow: 0 10px 20px rgba(24, 115, 107, 0.22);
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-line {
  width: 21px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(17, 36, 55, 0.98), rgba(14, 85, 80, 0.9), rgba(157, 38, 58, 0.82)),
    var(--ink);
}

.home-hero {
  min-height: calc(100svh - 116px);
}

.inner-hero {
  min-height: 560px;
}

.hero-orbit {
  position: absolute;
  inset: auto -120px -220px auto;
  width: 520px;
  height: 520px;
  border: 54px solid rgba(243, 162, 27, 0.18);
  border-radius: 50%;
}

.hero-orbit::after {
  position: absolute;
  inset: 72px;
  content: "";
  border: 34px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  display: grid;
  align-content: center;
  min-height: inherit;
  max-width: 930px;
  padding: clamp(3rem, 5vw, 4.8rem) 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--saffron);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.intro-grid h2,
.section-heading h2,
.content-block h2,
.final-cta h2,
.whatsapp-dialog h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.05;
}

.hero h1 {
  max-width: 930px;
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 1;
}

.inner-hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 5rem);
}

.hero-subtitle {
  max-width: 790px;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--saffron);
}

.button-secondary {
  color: var(--white);
  background: var(--green);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
}

.section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.intro-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.45fr 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.intro-grid h2,
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.intro-grid p:last-child,
.section-heading p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.strategy-card,
.content-block,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.strategy-card {
  min-height: 220px;
  padding: 1.35rem;
  border-top: 5px solid var(--green);
}

.strategy-card:nth-child(2n) {
  border-top-color: var(--red);
}

.strategy-card:nth-child(3n) {
  border-top-color: var(--saffron);
}

h3 {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.25;
}

.strategy-card p,
.content-block p,
.faq-item p,
.related-links strong {
  margin: 0;
  color: var(--muted);
}

.muted-section {
  background: #eef5f1;
}

.content-stack {
  display: grid;
  gap: 1rem;
}

.content-block {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.content-block span {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
}

.content-block h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.65rem);
}

.content-block p + p {
  margin-top: 0.8rem;
}

.related-section {
  background: var(--white);
}

.related-layout,
.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.related-links a {
  display: grid;
  gap: 0.35rem;
  min-height: 150px;
  padding: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
}

.related-links a:nth-child(2n) {
  border-left-color: var(--red);
}

.related-links span {
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 70px;
  padding: 1.15rem 3.2rem 1.15rem 1.25rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  content: "+";
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  transform: translateY(-50%);
}

.faq-item[open] {
  border-left: 5px solid var(--red);
}

.faq-item[open] summary::after {
  content: "-";
  background: var(--red);
}

.faq-item p {
  padding: 0 1.25rem 1.3rem;
  font-size: 1rem;
}

.final-cta {
  padding: clamp(4rem, 7vw, 6rem) 0;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(157, 38, 58, 0.95), rgba(17, 36, 55, 0.96)),
    var(--red);
}

.final-cta-inner {
  max-width: 900px;
}

.final-cta h2 {
  font-size: clamp(2rem, 4.2vw, 4.1rem);
}

.final-cta p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 2.6rem 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.footer-logo {
  width: 210px;
  margin-bottom: 0.9rem;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
  color: var(--green-dark);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 35;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: #1fa855;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(31, 168, 85, 0.35);
  cursor: pointer;
}

.whatsapp-float span {
  font-size: 0.82rem;
  font-weight: 900;
}

.whatsapp-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(17, 36, 55, 0.58);
}

.whatsapp-modal[hidden] {
  display: none;
}

.whatsapp-dialog {
  position: relative;
  width: min(520px, 100%);
  padding: 1.4rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.whatsapp-dialog h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.whatsapp-dialog form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.whatsapp-dialog label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-weight: 800;
}

.whatsapp-dialog input,
.whatsapp-dialog select,
.whatsapp-dialog textarea {
  width: 100%;
  padding: 0.8rem 0.85rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

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

  .nav-links {
    position: absolute;
    top: 78px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 0.8rem;
  }

  .nav-links .nav-cta {
    margin-top: 0.35rem;
    text-align: center;
  }

  .intro-grid,
  .related-layout,
  .faq-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .nav-shell {
    min-height: 70px;
  }

  .brand img {
    width: 178px;
  }

  .nav-links {
    top: 70px;
  }

  .home-hero,
  .inner-hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3.4rem 0 3rem;
  }

  .hero h1,
  .inner-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.05rem);
  }

  .hero-actions,
  .final-actions,
  .footer-links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card-grid,
  .related-links {
    grid-template-columns: 1fr;
  }

  .strategy-card,
  .related-links a {
    min-height: auto;
  }

  .content-block {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 1.25rem;
  }

  .content-block span {
    font-size: 1.55rem;
  }

  .faq-item summary {
    min-height: 64px;
    padding: 1rem 3rem 1rem 1rem;
    font-size: 1rem;
  }

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

@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;
  }

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