:root {
  --bg: #f4f0e8;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-soft: #f9f6f0;
  --text: #122033;
  --muted: #5e6b7d;
  --line: rgba(18, 32, 51, 0.1);
  --accent: #0f766e;
  --accent-deep: #0b4f4a;
  --gold: #c78e2b;
  --shadow: 0 24px 60px rgba(18, 32, 51, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(199, 142, 43, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.18), transparent 28%),
    linear-gradient(180deg, #fbfaf7 0%, #f3eee3 100%);
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(251, 250, 247, 0.78);
  border-bottom: 1px solid rgba(18, 32, 51, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--gold), #efc16f);
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
  color: var(--muted);
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.header-actions,
.hero-actions,
.contact-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ghost-button,
.primary-button,
.secondary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.ghost-button,
.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.ghost-button,
.secondary-button,
.primary-button {
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent) 0%, #15958b 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(15, 118, 110, 0.22);
}

.whatsapp-button {
  background: linear-gradient(135deg, #1f9d55 0%, #25d366 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.24);
}

.primary-button.alt {
  background: linear-gradient(135deg, var(--accent-deep) 0%, #0f766e 100%);
}

.text-button {
  border: none;
  background: transparent;
  color: var(--accent-deep);
  padding: 0;
  font-weight: 700;
  cursor: pointer;
}

.ghost-button:hover,
.primary-button:hover,
.secondary-button:hover,
.text-button:hover {
  transform: translateY(-1px);
}

.ghost-button:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.text-button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.24);
  outline-offset: 2px;
}

.hero-section,
.content-section {
  padding: 5rem 0;
}

.hero-grid,
.contact-grid,
.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  min-height: calc(100vh - 90px);
}

.hero-copy {
  transform: translateY(-0.9rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--accent-deep);
  font-weight: 800;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

h1,
h2 {
  font-family: "Fraunces", serif;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.95;
  max-width: 12ch;
}

.hero-copy h1 {
  color: var(--gold);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
  max-width: 14ch;
}

h3 {
  font-size: 1.25rem;
}

p,
li {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lead {
  max-width: 58ch;
  font-size: 1.1rem;
  margin: 1.3rem 0 2rem;
}

.hero-points {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem 0 0;
  margin: 1rem 0 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 1.5rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #f0c873);
}

.hero-panel,
.value-grid,
.use-case-grid,
.analytics-grid,
.article-layout {
  display: grid;
  gap: 1rem;
}

.hero-panel {
  align-self: stretch;
}

.hero-stat-card,
.info-card,
.use-case-card,
.article-card,
.metric-card,
.contact-card {
  border: 1px solid rgba(18, 32, 51, 0.08);
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-stat-card {
  padding: 1.5rem;
}

.hero-stat-card span,
.metric-card span {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.hero-stat-card strong,
.metric-card strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.7rem;
}

.section-heading {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.section-heading.left {
  justify-items: start;
  text-align: left;
}

.section-heading p:last-child {
  max-width: 70ch;
}

.value-grid,
.use-case-grid,
.analytics-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.use-case-card,
.metric-card,
.contact-card,
.article-card {
  padding: 1.5rem;
}

.contrast-section {
  background: linear-gradient(180deg, rgba(14, 27, 42, 0.04), rgba(14, 27, 42, 0.01));
  border-top: 1px solid rgba(18, 32, 51, 0.06);
  border-bottom: 1px solid rgba(18, 32, 51, 0.06);
}

.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

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

.faq-item + .faq-item {
  margin-top: 1rem;
}

.analytics-note {
  text-align: center;
  margin-top: 1.25rem;
}

.contact-wrap {
  display: grid;
  gap: 2rem;
}

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

.site-footer {
  padding: 3rem 0;
  background: #060606;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 2.5rem;
}

.footer-brand {
  max-width: 34rem;
}

.footer-brand strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 30rem;
  margin: 0 0 1.4rem;
}

.footer-meta {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 1.75rem 2rem;
  align-items: start;
}

.footer-group h3 {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  gap: 0.9rem 1.1rem;
}

.footer-links a,
.footer-sites a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-links a:hover,
.footer-sites a:hover {
  color: #fff;
}

.footer-sites {
  font-size: 0.95rem;
}

.footer-sites-compact {
  display: grid;
  gap: 0.7rem;
}

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

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
}

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

  .hero-grid,
  .value-grid,
  .use-case-grid,
  .article-layout,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  h1,
  h2 {
    max-width: none;
  }

  .footer-meta {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .hero-section,
  .content-section {
    padding: 3.8rem 0;
  }

  .hero-copy {
    transform: translateY(-0.4rem);
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions a {
    flex: 1;
  }

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

  .footer-sites-grid {
    grid-template-columns: 1fr;
  }

}
