:root {
  --sf-bg: #090f1c;
  --sf-bg-soft: #111b2d;
  --sf-bg-panel: #17243a;
  --sf-text: #f8fafc;
  --sf-muted: #9fb2cb;
  --sf-line: rgba(148, 163, 184, 0.24);
  --sf-yellow: #f6c400;
  --sf-yellow-dark: #d9a900;
  --sf-blue: #1f5edc;
  --sf-green: #22c55e;
  --sf-light: #f3f6fb;
  --sf-ink: #08111f;
  --sf-radius: 8px;
  --sf-container: min(1180px, calc(100vw - 40px));
  --sf-shadow: 0 24px 60px rgba(2, 6, 23, 0.24);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sf-light);
  color: var(--sf-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

a:hover {
  color: var(--sf-yellow-dark);
}

.sf-skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--sf-yellow);
  color: #050b16;
}

.sf-skip-link:focus {
  top: 16px;
}

.sf-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 15, 28, 0.94);
  border-bottom: 1px solid var(--sf-line);
  backdrop-filter: blur(16px);
}

.sf-header-inner {
  width: var(--sf-container);
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.sf-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  min-width: max-content;
}

.sf-brand:hover {
  color: #fff;
}

.sf-brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,.82) 49%, rgba(255,255,255,.82) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255,255,255,.82) 49%, rgba(255,255,255,.82) 51%, transparent 52%),
    linear-gradient(135deg, transparent 0 44%, #5d636b 45% 63%, transparent 64%),
    linear-gradient(90deg, #7b8189 0 43%, #f6c400 44% 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.38);
}

.sf-brand-text {
  display: grid;
  gap: 0;
  font-weight: 900;
  line-height: .88;
  letter-spacing: 0;
}

.sf-brand-text strong {
  color: var(--sf-yellow);
  font-size: 1.13rem;
}

.sf-brand-text span {
  color: #fff;
  font-size: 1.05rem;
}

.sf-primary-nav {
  flex: 1;
}

.sf-primary-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sf-primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #c9d4e3;
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sf-primary-menu a:hover,
.sf-primary-menu .current-menu-item > a {
  color: var(--sf-yellow);
}

.sf-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sf-icon-link,
.sf-header-cta,
.sf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  padding: 0 16px;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sf-icon-link {
  width: 44px;
  padding: 0;
  color: #64d8ff;
}

.sf-icon-link--whatsapp {
  color: #36d873;
  border-color: rgba(34, 197, 94, .36);
}

.sf-header-cta,
.sf-button--primary {
  background: var(--sf-yellow);
  color: #06101f;
  border-color: var(--sf-yellow);
}

.sf-header-cta:hover,
.sf-button--primary:hover {
  color: #06101f;
  background: #ffd21f;
}

.sf-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  background: transparent;
  color: #fff;
}

.sf-menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

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

.sf-site-main {
  background: var(--sf-light);
}

.sf-entry-content > * {
  width: var(--sf-container);
  margin-left: auto;
  margin-right: auto;
}

.sf-entry-content > .sf-es-hero,
.sf-archive-hero {
  width: 100%;
  margin: 0;
  padding: clamp(72px, 8vw, 128px) max(20px, calc((100vw - 1180px) / 2)) clamp(64px, 7vw, 104px);
  background:
    linear-gradient(110deg, rgba(9, 15, 28, 0.98) 0%, rgba(12, 24, 47, 0.96) 52%, rgba(31, 94, 220, 0.92) 100%);
  color: var(--sf-text);
}

.sf-entry-content > .sf-es-hero h1,
.sf-archive-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.2rem);
  line-height: .98;
  letter-spacing: 0;
}

.sf-entry-content > .sf-es-hero p:not(.sf-es-eyebrow),
.sf-archive-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #d9e6f7;
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
}

.sf-es-eyebrow {
  margin: 0 0 14px;
  color: var(--sf-yellow);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sf-entry-content > .sf-es-card-grid,
.sf-entry-content > .sf-es-section,
.sf-entry-content > .sf-es-faq,
.sf-entry-content > .sf-es-contact {
  padding: clamp(52px, 6vw, 86px) 0;
}

.sf-entry-content > .sf-es-card-grid + .sf-es-section,
.sf-entry-content > .sf-es-section + .sf-es-section,
.sf-entry-content > .sf-es-faq + .sf-es-section {
  border-top: 1px solid rgba(15, 23, 42, .1);
}

.sf-es-card-grid h2,
.sf-es-section h2,
.sf-es-faq h2,
.sf-es-contact h2 {
  max-width: 840px;
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.sf-es-section p,
.sf-es-faq p,
.sf-es-contact p {
  max-width: 820px;
  margin: 0 0 18px;
  color: #334155;
  font-size: 1.05rem;
}

.sf-es-section ul {
  display: grid;
  gap: 10px;
  max-width: 820px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.sf-es-section li {
  position: relative;
  padding-left: 24px;
  color: #24344d;
}

.sf-es-section li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sf-yellow);
}

.sf-es-cards,
.sf-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.sf-es-card,
.sf-archive-card,
.sf-es-faq-item {
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: var(--sf-radius);
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, .06);
}

.sf-es-card h3,
.sf-archive-card h2,
.sf-es-faq-item h3 {
  margin: 0 0 12px;
  color: var(--sf-ink);
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.sf-es-card p,
.sf-archive-card p,
.sf-es-faq-item p {
  margin: 0 0 14px;
  color: #40516b;
}

.sf-es-card a,
.sf-archive-card a {
  color: #0f4fc7;
  font-weight: 850;
}

.sf-es-faq {
  background: #fff;
}

.sf-es-faq .sf-es-faq-item {
  margin-top: 14px;
  box-shadow: none;
}

.sf-es-contact {
  margin-bottom: clamp(48px, 6vw, 92px);
  border-radius: var(--sf-radius);
  background: linear-gradient(120deg, var(--sf-bg-panel), #102b60);
  color: #fff;
  padding-left: clamp(24px, 4vw, 48px);
  padding-right: clamp(24px, 4vw, 48px);
  box-shadow: var(--sf-shadow);
}

.sf-es-contact p {
  color: #d7e5f8;
}

.sf-entry-media {
  width: var(--sf-container);
  margin: 40px auto 0;
}

.sf-entry-media img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--sf-radius);
}

.sf-archive-grid {
  width: var(--sf-container);
  padding: clamp(52px, 6vw, 86px) 0;
}

.sf-archive-card {
  display: grid;
  gap: 18px;
}

.sf-archive-card-media {
  display: block;
  overflow: hidden;
  border-radius: var(--sf-radius);
  background: #e2e8f0;
  aspect-ratio: 16 / 10;
}

.sf-archive-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-pagination {
  width: var(--sf-container);
  margin: 0 auto 80px;
}

.sf-site-footer {
  background: #070d18;
  color: #d8e4f5;
}

.sf-footer-inner {
  width: var(--sf-container);
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 48px;
  padding: 72px 0;
}

.sf-footer-brand p,
.sf-footer-column p {
  max-width: 280px;
  color: #9fb2cb;
}

.sf-footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.sf-footer-column h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1rem;
}

.sf-footer-column a {
  color: #a8c0dd;
}

.sf-footer-column a:hover {
  color: var(--sf-yellow);
}

.sf-footer-bottom {
  width: var(--sf-container);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--sf-line);
  color: #6f8199;
  font-size: .86rem;
}

.sf-footer-bottom p {
  margin: 0;
}

.sf-brand--footer {
  margin-bottom: 18px;
}

@media (max-width: 1080px) {
  .sf-header-inner {
    gap: 18px;
  }

  .sf-primary-menu {
    gap: 14px;
  }

  .sf-es-cards,
  .sf-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  :root {
    --sf-container: min(100vw - 28px, 720px);
  }

  .sf-header-inner {
    min-height: 72px;
  }

  .sf-menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .sf-primary-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 20px;
    background: #090f1c;
    border-top: 1px solid var(--sf-line);
    border-bottom: 1px solid var(--sf-line);
  }

  .sf-primary-nav.is-open {
    display: block;
  }

  .sf-primary-menu {
    display: grid;
    justify-content: stretch;
    gap: 6px;
  }

  .sf-primary-menu a {
    min-height: 46px;
  }

  .sf-header-actions {
    display: none;
  }

  .sf-entry-content > .sf-es-hero,
  .sf-archive-hero {
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .sf-es-cards,
  .sf-archive-grid,
  .sf-footer-inner {
    grid-template-columns: 1fr;
  }

  .sf-footer-bottom {
    display: grid;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .sf-brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .sf-brand-text strong,
  .sf-brand-text span {
    font-size: .95rem;
  }

  .sf-es-card,
  .sf-archive-card,
  .sf-es-faq-item {
    padding: 20px;
  }
}
