/* ═══════════════════════════════════════════════════════
   OTTER CONSULTORA — style.css
   Light brand theme
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Custom Properties ─────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fbfcff;
  --bg-2: #f3f7fc;
  --bg-card: #ffffff;
  --bg-card-2: #f7faff;
  --text: #061421;
  --text-muted: #1f3146;
  --text-dim: #506177;
  --accent: #0077ff;
  --accent-2: #00b7ff;
  --accent-dark: #000000;
  --accent-deep: #020d1d;
  --accent-soft: #8fd7ff;
  --accent-glow: rgba(0, 119, 255, .3);
  --border: rgba(4, 27, 51, .14);
  --border-h: rgba(0, 119, 255, .42);
  --shadow-soft: 0 18px 50px rgba(4, 27, 51, .12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-h: 'Space Grotesk', sans-serif;
  --font-b: 'Inter', sans-serif;
  --nav-h: 80px;
  --transition: .35s cubic-bezier(.25, .46, .45, .94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 119, 255, .08), transparent 34rem),
    linear-gradient(180deg, #fdfefe 0%, var(--bg) 42%, #f6f9fd 100%);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

[hidden] {
  display: none !important;
}

input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: min(1200px, calc(100% - 3rem));
  margin-inline: auto;
}

/* ── Custom Cursor ────────────────────────────────── */
.cursor {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform var(--transition), opacity var(--transition);
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

@media (pointer: coarse) {

  .cursor {
    display: none;
  }
}

/* ── Navbar ──────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 900;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), backdrop-filter var(--transition), border-bottom var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 14px 42px rgba(8, 47, 87, .13);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1200px, calc(100% - 3rem));
  margin-inline: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo-nav {
  height: 52px;
}

.brand-logo-footer {
  height: 64px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .02em;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-nav {
  padding: .55rem 1.25rem;
  border: 1px solid rgba(0, 119, 255, .34);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--accent);
  transition: all var(--transition);
}

.btn-nav:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ── Language Switcher ──────────────────────────── */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 119, 255, .28);
  background: rgba(255, 255, 255, .54);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-size: .8rem;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: .04em;
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-code {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.lang-chevron {
  width: 12px;
  height: 12px;
  transition: transform .25s ease;
  flex-shrink: 0;
}

.lang-toggle[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 148px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(8, 47, 87, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 200;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
  font-size: .82rem;
  font-family: inherit;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  user-select: none;
}

.lang-option:hover {
  background: rgba(0, 119, 255, .1);
  color: var(--text);
}

.lang-option.active {
  color: var(--accent);
  font-weight: 600;
}

.lang-option span:first-child {
  font-size: 1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu ─────────────────────────────────── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  z-index: 950;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-overlay.visible {
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 90vw);
  height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  z-index: 960;
  padding: 5.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: right var(--transition);
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #374151;
  font-size: 1.25rem;
  transition: color var(--transition);
}

.mobile-close:hover {
  color: var(--accent);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-social-links {
  margin-top: .25rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(143, 215, 255, .22);
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.mobile-company-list {
  display: grid;
  gap: .9rem;
}

.mobile-company-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .75rem;
  align-items: center;
}

.mobile-company-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0, 119, 255, .16);
  background: rgba(0, 119, 255, .06);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
}

.mobile-company-icon svg {
  width: 20px;
  height: 20px;
}

.mobile-company-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .15rem;
}

.mobile-company-value {
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.mobile-social-links .social-link {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0, 119, 255, .08);
  border-color: rgba(0, 119, 255, .22);
  color: var(--accent);
}

.mobile-social-links .social-link:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.mobile-company {
  display: grid;
  gap: .85rem;
  padding-bottom: .25rem;
  margin-top: .15rem;
}

.mobile-link {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-link:hover {
  color: var(--accent);
  padding-left: .5rem;
}

/* ── Buttons ─────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 2rem;
  background: linear-gradient(135deg, var(--accent), #0046d5);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  border-radius: 50px;
  border: 2px solid rgba(0, 92, 220, .9);
  letter-spacing: .02em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .15);
  transform: translateX(-100%);
  transition: transform .4s ease;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary:hover {
  box-shadow: 0 12px 34px rgba(0, 119, 255, .34);
  transform: translateY(-2px);
}

.btn-primary.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-primary.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.75rem;
  border: 1px solid var(--border-h);
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg-card-2);
  transition: all var(--transition);
  text-align: center;
  width: 100%;
}

.btn-ghost:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
  background: rgba(0, 119, 255, .08);
  border: 1px solid var(--accent-soft);
  transform: translateY(-2px);
}

.arrow-icon {
  transition: transform var(--transition);
}

.btn-ghost:hover .arrow-icon {
  transform: translateX(4px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.75rem;
  background: rgba(0, 119, 255, .08);
  border: 1px solid rgba(0, 119, 255, .28);
  border-radius: 50px;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--transition);
  text-align: center;
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
}

.btn-whatsapp:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 4px 22px rgba(0, 119, 255, .24);
  transform: translateY(-2px);
}

/* ── Section common ─────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  color: var(--text);
  overflow-wrap: anywhere;
}

.section-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 520px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-tag {
  justify-content: center;
}

.section-header .section-tag::before {
  display: none;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ── Reveal Animations ─────────────────────────── */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
}

html.reveal-ready .reveal:not(.visible),
html.reveal-ready .reveal-left:not(.visible),
html.reveal-ready .reveal-right:not(.visible) {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

html.reveal-ready .reveal-left:not(.visible) {
  transform: translateX(-36px);
}

html.reveal-ready .reveal-right:not(.visible) {
  transform: translateX(36px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: var(--accent-dark);
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Vídeo de fundo */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .7;
  z-index: 0;
  filter: saturate(1.25) brightness(.78) contrast(1.08) hue-rotate(4deg);
  transition: opacity 1.2s ease;
}

.hero-video.loaded {
  opacity: .7;
}

/* Overlay gradiente multi-camada sobre o vídeo */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 13, 24, .56) 0%, rgba(7, 25, 45, .58) 42%, rgba(8, 33, 61, .2) 100%),
    linear-gradient(180deg, rgba(4, 13, 24, .42) 0%, transparent 34%),
    linear-gradient(0deg, rgba(4, 13, 24, .66) 0%, transparent 44%),
    radial-gradient(circle at 72% 28%, rgba(57, 132, 191, .24), transparent 34%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
  opacity: .3;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .18;
  z-index: 2;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -150px;
  left: 60%;
  transform: translateX(-50%);
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-soft);
  bottom: 0;
  left: -100px;
  opacity: .1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  max-width: min(760px, 100%);
  padding: .62rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50px;
  font-size: .74rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
  margin-bottom: 1.65rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, .2), rgba(111, 159, 196, .1));
  box-shadow: 0 18px 60px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 var(--accent-glow);
  }

  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: .96;
  letter-spacing: 0;
  max-width: 950px;
  margin-bottom: 1.75rem;
  color: #fff;
  overflow-wrap: anywhere;
  text-shadow: 0 10px 48px rgba(0, 0, 0, .62);
}

.hero-title em {
  display: block;
  font-style: normal;
  position: relative;
  max-width: 100%;
  padding: .04em .13em .1em;
  margin-inline: auto;
  background: linear-gradient(90deg, #ffffff 0%, #6ecbff 34%, #0077ff 72%, #0046d5 100%);
  border-radius: 18px;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 32px rgba(0, 119, 255, .36));
}

.hero-subtitle {
  position: relative;
  font-size: 1.14rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.55;
  max-width: 650px;
  margin-bottom: 2.2rem;
  padding: .78rem 0;
  text-shadow: 0 4px 22px rgba(0, 0, 0, .66);
}

.hero-subtitle strong {
  color: #d7e9fb;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(111, 170, 219, .38), 0 2px 8px rgba(0, 0, 0, .6);
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-cta .btn-primary,
.hero-cta .btn-ghost {
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  padding-inline: 1.55rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.hero-cta .btn-primary {
  border: 1px solid rgba(255, 255, 255, .18);
}

.hero-cta .btn-ghost {
  display: flex;
  flex-wrap: nowrap;
  width: 250px;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .54);
}

.scroll-bar {
  display: none;
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, .18);
  border-radius: 2px;
  overflow: hidden;
}

.scroll-thumb {
  height: 100%;
  width: 40%;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollThumb 2s ease infinite;
}

@keyframes scrollThumb {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(150%);
  }

  100% {
    transform: translateX(150%);
  }
}

/* Marquee */
.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(6, 17, 31, .38);
  padding: .9rem 0;
  z-index: 2;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track span {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  white-space: nowrap;
}

.marquee-track .sep {
  color: #78add9;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ── ABOUT ────────────────────────────────────────── */
.about {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content .btn-primary {
  margin-top: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.stat-card.accent {
  border-color: rgba(0, 119, 255, .32);
  background: linear-gradient(180deg, rgba(0, 119, 255, .12), rgba(255, 255, 255, .98));
}

.stat-card.accent:hover {
  border-color: rgba(0, 119, 255, .52);
}

.stat-number {
  font-family: var(--font-h);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  margin-bottom: .5rem;
}

.stat-card.accent .stat-number {
  color: var(--accent);
}

.stat-label {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .04em;
}

/* ── SERVICES ─────────────────────────────────────── */
.services {
  padding: 7rem 0;
  background: linear-gradient(180deg, #fdfefe, var(--bg-2));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(4, 27, 51, .07);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: rgba(0, 119, 255, .42);
  transform: translateY(-6px);
  box-shadow: 0 22px 54px rgba(0, 119, 255, .15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--text);
}

.service-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1.5rem;
}

.service-list li {
  font-size: .82rem;
  color: var(--text-dim);
  padding-left: 1rem;
  position: relative;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .7rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .02em;
  transition: gap var(--transition);
}

.service-link:hover {
  gap: .7rem;
}

/* ----- METRICS ------------------------------------- */
.metrics {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: var();
}

/* ── PROCESS ──────────────────────────────────────── */
.process {
  padding: 7rem 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 119, 255, .24), transparent 28rem),
    radial-gradient(circle at 88% 70%, rgba(0, 183, 255, .16), transparent 26rem),
    linear-gradient(135deg, var(--accent-deep), var(--accent-dark));
  color: #fff;
}

.process .section-tag {
  color: var(--accent-soft);
}

.process .section-tag::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.process .section-title {
  color: #fff;
}

.process .section-title em {
  background: linear-gradient(90deg, #ffffff, var(--accent-soft), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process .section-subtitle {
  color: rgba(255, 255, 255, .72);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 2rem;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 183, 255, .72), transparent);
  opacity: .7;
}

.process-step {
  position: relative;
  padding: 0 1rem;
  text-align: center;
  transition-delay: calc(var(--i, 0) * .1s);
}

.process-step:nth-child(1) {
  --i: 0;
}

.process-step:nth-child(2) {
  --i: 1;
}

.process-step:nth-child(3) {
  --i: 2;
}

.process-step:nth-child(4) {
  --i: 3;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(143, 215, 255, .55);
  font-family: var(--font-h);
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  transition: background var(--transition), transform var(--transition);
}

.process-step:hover .step-number {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  transform: scale(1.1);
}

.step-content h3 {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .6rem;
}

.step-content p {
  font-size: .88rem;
  color: rgba(255, 255, 255, .68);
  line-height: 1.7;
}

/* ── CTA SECTION ─────────────────────────────────── */
.cta-section {
  padding: 6rem 0;
  background: #fbfcff;
}

.cta-box {
  position: relative;
  background:
    radial-gradient(circle at 88% 10%, rgba(0, 183, 255, .2), transparent 24rem),
    linear-gradient(135deg, var(--accent-deep), #062443 55%, var(--accent-dark));
  border: 1px solid rgba(143, 215, 255, .22);
  border-radius: 24px;
  padding: 5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  overflow: hidden;
  box-shadow: 0 26px 76px rgba(4, 27, 51, .22);
}

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent);
  border-radius: 50%;
  top: -200px;
  right: -100px;
  filter: blur(100px);
  opacity: .18;
  pointer-events: none;
}

.cta-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: .75rem;
}

.cta-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-title em {
  font-style: normal;
  background: linear-gradient(90deg, #ffffff, var(--accent-soft), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-text {
  font-size: .95rem;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
  max-width: 400px;
}

.cta-sub {
  margin-top: 12px;
  color: var(--text-dim);
  background-color: white;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px white;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

.cta-box .btn-whatsapp {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(143, 215, 255, .28);
  color: #fff;
}

.cta-box .btn-whatsapp:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(143, 215, 255, .58);
  box-shadow: 0 10px 30px rgba(0, 119, 255, .22);
}

/* ── CONTACT ──────────────────────────────────────── */
.contact {
  padding: 7rem 0;
  border-top: 1px solid rgba(143, 215, 255, .18);
  background:
    radial-gradient(circle at 18% 14%, rgba(0, 119, 255, .28), transparent 26rem),
    radial-gradient(circle at 88% 82%, rgba(0, 183, 255, .16), transparent 24rem),
    linear-gradient(145deg, var(--accent-deep), var(--accent-dark));
  color: #fff;
}

.contact .section-tag {
  color: var(--accent-soft);
}

.contact .section-tag::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.contact .section-title {
  color: #fff;
}

.contact .section-title em {
  background: linear-gradient(90deg, #ffffff, var(--accent-soft), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact .section-text {
  color: rgba(255, 255, 255, .72);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-details {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(143, 215, 255, .24);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-soft);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-item strong {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .64);
  margin-bottom: .2rem;
}

.contact-item a,
.contact-item span {
  font-size: .9rem;
  color: #fff;
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--accent-soft);
}

.social-links {
  display: flex;
  gap: .75rem;
  margin-top: .5rem;
}

.footer .social-links {
  margin-top: 1rem;
}

.footer .social-link {
  background: rgba(0, 119, 255, .08);
  border-color: rgba(0, 119, 255, .22);
  color: var(--accent);
}

.footer .social-link:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(143, 215, 255, .22);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .72);
  transition: all var(--transition);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  border-color: var(--accent-soft);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrapper {
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 34px 95px rgba(0, 119, 255, .26), 0 18px 48px rgba(0, 0, 0, .28);
  min-width: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  position: relative;
  min-width: 0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #f7fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem .6rem;
  color: var(--text);
  font-size: .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group label {
  position: absolute;
  top: .85rem;
  left: 1rem;
  font-size: .9rem;
  color: var(--text-dim);
  pointer-events: none;
  transition: all .2s ease;
}

.form-group input:not(:placeholder-shown)~label,
.form-group input:focus~label,
.form-group textarea:not(:placeholder-shown)~label,
.form-group textarea:focus~label {
  top: .25rem;
  font-size: .7rem;
  color: var(--accent);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.form-group--select select {
  width: 100%;
  background-color: #f7fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  color: var(--text-muted);
  font-size: .9rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23082f57' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  transition: border-color var(--transition);
}

.ddi-select {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #f7fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  color: var(--text);
  font-size: .9rem;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ddi-select:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}

.ddi-flag {
  font-size: 1rem;
  line-height: 1;
}

.ddi-code {
  font-weight: 700;
  color: var(--text-muted);
}

.ddi-caret {
  margin-left: auto;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23082f57' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  opacity: .85;
}

.ddi-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 44px rgba(8, 47, 87, .18);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  pointer-events: none;
}

.ddi-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ddi-search {
  padding: .7rem;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.ddi-search input {
  width: 100%;
  border: 1px solid var(--border);
  background: #f7fafc;
  border-radius: 10px;
  padding: .7rem .8rem;
  outline: none;
}

.ddi-options {
  max-height: 260px;
  overflow: auto;
  padding: .25rem;
}

.ddi-option {
  display: grid;
  grid-template-columns: 1.25rem 3.8rem 1fr;
  gap: .6rem;
  align-items: center;
  padding: .7rem .8rem;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
}

.ddi-option:hover {
  background: rgba(0, 119, 255, .08);
}

.ddi-option.active {
  background: rgba(0, 119, 255, .12);
}

.ddi-option .flag {
  font-size: 1rem;
  line-height: 1;
}

.ddi-option .code {
  font-weight: 800;
  color: var(--text-muted);
}

.ddi-option .name {
  color: var(--text);
  font-size: .88rem;
}

.form-group--select input[type="tel"] {
  width: 100%;
  background: #f7fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  color: var(--text);
  font-size: .9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group--select input[type="tel"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group--select select:focus {
  border-color: var(--accent);
  outline: none;
}

.form-group--select label {
  position: static;
  display: block;
  font-size: .78rem;
  color: var(--text-dim);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.btn-full .btn-icon {
  width: 18px;
  height: 18px;
}

.form-success,
.form-error {
  display: none;
  text-align: center;
  padding: .85rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
}

.form-success {
  margin-top: 10px;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  color: #064e3b !important;
}

.form-error {
  background: rgba(239, 68, 68, .1);
  border: 1px solid rgba(239, 68, 68, .28);
  color: #b91c1c;
}

.form-success.visible {
  display: block;
}

.form-error.visible {
  display: block;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 0;
  background: #25D366;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
  display: grid;
  place-items: center;
  z-index: 1200;
  cursor: pointer;
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition), transform var(--transition), filter var(--transition);
}

.mobile-menu-open .wa-float {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

.wa-float svg {
  width: 26px;
  height: 26px;
}

.wa-float:hover {
  filter: brightness(1.02);
  transform: translateY(-1px);
}

.wa-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1300;
}

.wa-modal.open {
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.wa-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 13, 29, .6);
}

.wa-dialog {
  position: relative;
  width: min(760px, 100%);
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 34px 95px rgba(0, 119, 255, .22), 0 18px 48px rgba(0, 0, 0, .28);
}

.wa-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
}

.wa-title {
  font-family: var(--font-h);
  font-size: 1.6rem;
  line-height: 1.1;
  margin-bottom: .35rem;
}

.wa-subtitle {
  color: var(--text-dim);
  font-size: .95rem;
  margin-bottom: 1.25rem;
}

.wa-form {
  display: grid;
  gap: 1.25rem;
}

.wa-actions {
  display: flex;
  gap: .8rem;
  justify-content: flex-end;
  align-items: center;
}

.wa-submit {
  min-width: 160px;
}

.wa-error {
  display: none;
  padding: .85rem;
  border-radius: var(--radius);
  background: rgba(239, 68, 68, .1);
  border: 1px solid rgba(239, 68, 68, .28);
  color: #b91c1c;
  font-weight: 500;
}

.wa-error.visible {
  display: block;
}

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  background: #f4f8fc;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.footer-nav h4,
.footer-contact-col h4 {
  font-family: var(--font-h);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.footer-nav ul li a {
  font-size: .88rem;
  color: var(--text-muted);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-nav ul li a:hover {
  color: var(--accent);
  padding-left: .4rem;
}

.footer-contact-col p {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}

.footer-contact-col a {
  transition: color var(--transition);
}

.footer-contact-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--text-dim);
}

.heart {
  color: var(--accent);
}

/* ── BLOG POST ───────────────────────────────────── */
.blog-post-page {
  background:
    linear-gradient(90deg, rgba(4, 27, 51, .045) 1px, transparent 1px),
    linear-gradient(180deg, #fbfdff 0%, #f6f9fd 52%, #fdfefe 100%);
  background-size: 72px 72px, auto;
}

.blog-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 0 3.75rem;
  overflow: hidden;
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 58%;
  background:
    linear-gradient(135deg, rgba(0, 119, 255, .1), rgba(11, 74, 122, .04) 46%, transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.blog-hero .container {
  position: relative;
}

.blog-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
  max-width: 1120px;
  margin-bottom: 2rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  color: var(--text-dim);
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.6;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.blog-title {
  font-family: var(--font-h);
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: .98;
  letter-spacing: 0;
  color: var(--text);
  max-width: 960px;
  margin-bottom: 0;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.blog-excerpt {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.85;
  margin-top: 1.15rem;
}

.blog-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .25rem;
}

.blog-hero-tags span {
  border: 1px solid rgba(0, 119, 255, .2);
  background: rgba(0, 119, 255, .07);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: .38rem .62rem;
  font-size: .68rem;
  font-weight: 800;
}

.blog-featured {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(4, 27, 51, .16);
  box-shadow: 0 30px 90px rgba(4, 27, 51, .22);
  background: #071727;
}

.blog-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 55%, rgba(4, 13, 24, .62)),
    linear-gradient(90deg, rgba(4, 13, 24, .12), transparent 42%);
  pointer-events: none;
}

.blog-featured img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  transform: scale(1.01);
}

.blog-featured figcaption {
  position: absolute;
  z-index: 2;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, .86);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-body-section {
  padding: 1rem 0 2.25rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(300px, 360px);
  gap: clamp(2rem, 5vw, 4.5rem);
  justify-content: center;
  align-items: start;
}

.blog-article {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  padding: .35rem 1.6rem 0;
}

.blog-content-block + .blog-content-block {
  margin-top: 0;
  border-top: 0;
}

.blog-content-block h2,
.blog-content-block h3,
.author-card h2,
.blog-categories-card h2,
.blog-contact-card h2,
.blog-related-card h2,
.blog-newsletter h2 {
  font-family: var(--font-h);
  color: var(--text);
}

.blog-content-block {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
  padding: 1rem 0;
}

.blog-content-block::before {
  display: none;
}

.blog-content-block h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
  margin-bottom: .75rem;
  text-wrap: balance;
}

.blog-content-block h3 {
  color: var(--accent-dark);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.35;
  margin-bottom: .25rem;
  text-wrap: balance;
}

.blog-content-block p {
  color: var(--text-muted);
  font-size: 1.07rem;
  line-height: 1.95;
}

.blog-content-block .blog-richtext {
  color: var(--text-muted);
  font-size: 1.07rem;
  line-height: 1.95;
}

.blog-content-block .blog-richtext ul,
.blog-content-block .blog-richtext ol {
  padding-left: 1.35rem;
  margin: 0;
}

.blog-content-block .blog-richtext li {
  margin: .35rem 0;
}

.blog-content-block a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}

.blog-inline-image {
  margin: .25rem 0;
}

.blog-inline-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(4, 27, 51, .12);
  box-shadow: 0 18px 48px rgba(4, 27, 51, .12);
}

.blog-inline-image figcaption {
  color: var(--text-dim);
  font-size: .88rem;
  line-height: 1.6;
  margin-top: .7rem;
}

.blog-content-block--first-paragraph p::first-letter {
  float: left;
  color: var(--accent-dark);
  font-family: var(--font-h);
  font-size: 4.1rem;
  font-weight: 800;
  line-height: .82;
  margin: .18rem .55rem 0 0;
}

.blog-aside {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  display: grid;
  gap: 1rem;
}

.author-card,
.blog-categories-card,
.blog-contact-card,
.blog-related-card {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(4, 27, 51, .12);
  border-radius: 12px;
  padding: 1.35rem;
  box-shadow: 0 18px 50px rgba(4, 27, 51, .07);
  backdrop-filter: blur(14px);
}

.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  border-top: 4px solid var(--accent);
}

.author-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 12px 28px rgba(4, 27, 51, .16);
}

.author-avatar-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 800;
}

.author-kicker,
.author-role {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.author-card h2,
.blog-categories-card h2,
.blog-contact-card h2,
.blog-related-card h2 {
  font-size: 1.12rem;
  margin: .25rem 0 .6rem;
}

.author-bio,
.blog-contact-card p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.75;
}

.blog-contact-meta {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}

.blog-contact-item {
  display: grid;
  gap: .15rem;
  padding: .8rem .9rem;
  border: 1px solid rgba(0, 119, 255, .12);
  border-radius: 12px;
  background: rgba(245, 249, 255, .82);
}

.blog-contact-item span:first-child {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-contact-item a,
.blog-contact-item span:last-child {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.55;
  word-break: break-word;
}

.blog-contact-whatsapp {
  margin-top: 1rem;
}

.blog-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.blog-category-tab {
  border: 1px solid rgba(0, 119, 255, .2);
  background: #f5f9ff;
  color: var(--accent-dark);
  border-radius: 10px;
  padding: .55rem .8rem;
  font-size: .78rem;
  font-weight: 800;
}

.blog-category-tab.active,
.blog-category-tab:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.related-header span {
  display: inline-flex;
  color: #16846e;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .1rem;
}

.related-post {
  display: grid;
  gap: .35rem;
  padding: 1rem 0 1rem 1rem;
  border-top: 1px solid rgba(4, 27, 51, .1);
  border-left: 2px solid rgba(0, 119, 255, .16);
}

.related-post strong {
  display: block;
  color: var(--text);
  font-size: .92rem;
  line-height: 1.45;
  margin-bottom: .35rem;
  transition: color var(--transition);
}

.related-post span {
  color: var(--text-dim);
  font-size: .78rem;
  font-weight: 700;
}

.related-post:hover strong {
  color: var(--accent);
}

.blog-contact-section {
  padding: 5.5rem 0;
  background:
    linear-gradient(90deg, rgba(0, 119, 255, .06) 1px, transparent 1px),
    linear-gradient(180deg, #fdfefe, #f4f8fc);
  background-size: 64px 64px, auto;
}

.blog-related-section {
  padding: 2.5rem 0 0;
}

.blog-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.blog-related-header h2 {
  font-family: var(--font-h);
  font-size: 1.6rem;
  margin: 0;
}

.blog-related-actions {
  display: flex;
  gap: .6rem;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 119, 255, .22);
  background: rgba(255, 255, 255, .86);
  color: var(--accent-dark);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.slider-arrow:disabled {
  opacity: .45;
  pointer-events: none;
}

.related-slider {
  position: relative;
  overflow: hidden;
}

.related-slider::before,
.related-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  transition: opacity var(--transition);
}

.related-slider::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(251, 252, 255, 0) 100%);
}

.related-slider::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, rgba(251, 252, 255, 0) 100%);
}

.related-slider.at-start::before {
  opacity: 0;
}

.related-slider.at-end::after {
  opacity: 0;
}

.related-track {
  display: flex;
  gap: 1.25rem;
  padding: .25rem .1rem 1rem;
  transform: translateX(0);
  transition: transform var(--transition);
  will-change: transform;
}

.related-post-card {
  flex: 0 0 auto;
  width: min(360px, 84vw);
}

.related-post-card .post-card-body {
  padding: 1.15rem;
}

.related-post-card h2 {
  font-size: 1.05rem;
}

.related-post-card p {
  font-size: .86rem;
}

.blog-form-wrapper {
  width: min(840px, 100%);
  margin-inline: auto;
}

.blog-newsletter-section {
  padding: 5rem 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(135deg, #061727, #0b4a7a 58%, #0077ff);
  background-size: 72px 72px, auto;
}

.blog-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr);
  gap: 2rem;
  align-items: center;
  color: #fff;
}

.blog-newsletter .section-tag,
.blog-newsletter h2,
.blog-newsletter p {
  color: #fff;
}

.blog-newsletter h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.blog-newsletter p {
  max-width: 580px;
  color: rgba(255, 255, 255, .74);
}

.newsletter-form {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 28px 72px rgba(0, 0, 0, .24);
}

.newsletter-form label {
  display: block;
  color: var(--text-dim);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.newsletter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
}

.newsletter-row input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .8rem 1rem;
  color: var(--text);
  background: #f7fafc;
  outline: none;
}

.newsletter-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ── BLOG LIST ───────────────────────────────────── */
.blog-list-page {
  background:
    radial-gradient(circle at 16% 0%, rgba(0, 119, 255, .08), transparent 30rem),
    linear-gradient(180deg, #fdfefe 0%, #f7faff 50%, #f4f8fc 100%);
}

.blog-list-hero {
  padding: calc(var(--nav-h) + 4.5rem) 0 3rem;
}

.blog-list-title {
  font-family: var(--font-h);
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
  max-width: 940px;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.blog-list-subtitle {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-list-section {
  padding: 2rem 0 6rem;
}

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

.post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 52px rgba(4, 27, 51, .08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 119, 255, .32);
  box-shadow: 0 26px 70px rgba(0, 119, 255, .14);
}

.post-card-image {
  display: block;
  background: var(--accent-deep);
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform var(--transition);
}

.post-card:hover .post-card-image img {
  transform: scale(1.035);
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  color: var(--text-dim);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}

.post-card h2 {
  font-family: var(--font-h);
  font-size: 1.25rem;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: .75rem;
}

.post-card h2 a {
  transition: color var(--transition);
}

.post-card h2 a:hover {
  color: var(--accent);
}

.post-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.post-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: auto 0 1.15rem;
}

.post-card-tags span {
  border: 1px solid rgba(0, 119, 255, .2);
  background: rgba(0, 119, 255, .07);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: .38rem .58rem;
  font-size: .68rem;
  font-weight: 800;
}

.post-card-link {
  margin-top: auto;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 3rem;
}

.blog-pagination a,
.blog-pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 119, 255, .22);
  border-radius: 999px;
  padding: 0 .9rem;
  color: var(--accent-dark);
  font-size: .86rem;
  font-weight: 800;
  background: rgba(255, 255, 255, .82);
}

.blog-pagination a:hover,
.blog-pagination .active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.blog-pagination .disabled {
  opacity: .45;
}

.blog-empty {
  width: min(720px, 100%);
  margin-inline: auto;
  padding: 3rem;
  text-align: center;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 18px 52px rgba(4, 27, 51, .08);
}

.blog-empty h2 {
  font-family: var(--font-h);
  color: var(--text);
  margin-bottom: .6rem;
}

.blog-empty p {
  color: var(--text-muted);
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  .container,
  .nav-container,
  .hero-content {
    width: min(920px, calc(100% - 2rem));
  }

  .about,
  .services,
  .process,
  .contact {
    padding: 5.5rem 0;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .process-steps::before {
    display: none;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .blog-layout,
  .blog-newsletter {
    grid-template-columns: 1fr;
  }

  .blog-aside {
    position: static;
  }

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

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 3.5rem 2.5rem;
  }

  .cta-actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 62px;
  }

  html.reveal-ready .reveal-left:not(.visible),
  html.reveal-ready .reveal-right:not(.visible) {
    transform: translateY(34px);
  }

  .container,
  .nav-container,
  .hero-content {
    width: calc(100% - 2.25rem);
  }

  .about,
  .services,
  .process,
  .contact {
    padding: 4.75rem 0;
  }

  .nav-links {
    display: none;
  }

  .btn-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .brand-logo-nav {
    height: 40px;
  }

  .hero-content {
    padding-top: calc(var(--nav-h) + 1.5rem);
    padding-bottom: 5rem;
  }

  .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(4, 13, 24, .52) 0%, rgba(4, 13, 24, .18) 38%, rgba(4, 13, 24, .7) 100%),
      linear-gradient(90deg, rgba(4, 13, 24, .46) 0%, rgba(7, 25, 45, .3) 100%);
  }

  .hero-badge {
    border-radius: 16px;
    font-size: .68rem;
    max-width: 100%;
    white-space: normal;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(2.15rem, 9vw, 3.2rem);
    line-height: 1;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .contact-form-wrapper,
  .wa-dialog {
    padding: 1.75rem;
  }

  .blog-hero {
    padding: calc(var(--nav-h) + 3rem) 0 4rem;
  }

  .blog-article {
    padding: .25rem 1.25rem 0;
  }

  .blog-list-hero {
    padding: calc(var(--nav-h) + 3rem) 0 2.5rem;
  }

  .newsletter-row {
    grid-template-columns: 1fr;
  }

  .newsletter-row .btn-primary {
    width: 100%;
  }

  .cta-actions .btn-primary,
  .cta-actions .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container,
  .nav-container,
  .hero-content {
    width: calc(100% - 2rem);
  }

  .about,
  .services,
  .process,
  .cta-section,
  .contact {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-tag {
    font-size: .68rem;
    line-height: 1.35;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .service-card {
    padding: 1.35rem;
    border-radius: 16px;
  }

  .blog-hero {
    padding: calc(var(--nav-h) + 2.25rem) 0 3rem;
  }

  .blog-hero-copy {
    display: block;
  }

  .blog-meta {
    margin-top: .85rem;
  }

  .blog-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .blog-hero-copy {
    margin-bottom: 1.75rem;
  }

  .blog-featured img {
    aspect-ratio: 16 / 10;
  }

  .blog-excerpt,
  .blog-content-block p {
    font-size: .96rem;
  }

  .blog-content-block {
    grid-template-columns: 1fr;
    gap: .65rem;
    padding: 2rem 0;
  }

  .blog-content-block::before,
  .blog-content-block h2,
  .blog-content-block p {
    grid-column: 1;
  }

  .blog-content-block--first-paragraph p::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
  }

  .author-card {
    grid-template-columns: 1fr;
  }

  .blog-article,
  .author-card,
  .blog-categories-card,
  .blog-contact-card,
  .blog-related-card,
  .newsletter-form {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .blog-article {
    padding: .25rem 1.25rem 0;
    border-radius: 0;
  }

  .blog-body-section,
  .blog-contact-section,
  .blog-newsletter-section {
    padding: 3.5rem 0;
  }

  .blog-featured {
    border-radius: 16px;
  }

  .blog-list-hero {
    padding: calc(var(--nav-h) + 2.5rem) 0 2rem;
  }

  .blog-list-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .blog-list-subtitle {
    font-size: .96rem;
  }

  .blog-list-section {
    padding: 1rem 0 4rem;
  }

  .blog-cards-grid {
    grid-template-columns: 1fr;
  }

  .post-card-body {
    padding: 1.2rem;
  }

  .blog-pagination {
    margin-top: 2rem;
  }

  .blog-related-header {
    align-items: flex-start;
  }

  .blog-related-actions {
    display: flex;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .related-slider::before,
  .related-slider::after {
    width: 52px;
  }

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

  .hero-cta {
    flex-direction: column;
  }

  .hero-title {
    font-size: clamp(1.9rem, 10.5vw, 2.55rem);
  }

  .hero-badge {
    font-size: .62rem;
    padding: .58rem .8rem;
    line-height: 1.4;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero-marquee {
    padding: .75rem 0;
  }

  .marquee-track {
    gap: 1.25rem;
  }

  .marquee-track span {
    font-size: .68rem;
  }

  .cta-box {
    border-radius: 18px;
    padding: 2rem 1.25rem;
  }

  .contact-form-wrapper,
  .wa-dialog {
    padding: 1.35rem;
  }

  .contact-item {
    gap: .75rem;
  }

  .wa-modal.open {
    padding: .75rem;
  }

  .wa-actions {
    flex-direction: column-reverse;
  }

  .wa-actions .btn-ghost,
  .wa-actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .container,
  .nav-container,
  .hero-content {
    width: calc(100% - 1.5rem);
  }

  .lang-toggle {
    height: 34px;
    padding-inline: 7px;
  }

  .brand-logo-nav {
    height: 34px;
  }

  .hero-title {
    font-size: clamp(1.7rem, 10vw, 2.15rem);
  }

  .hero-subtitle {
    font-size: .9rem;
  }

  .btn-primary,
  .btn-ghost,
  .btn-whatsapp {
    padding-inline: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .reveal,
  html.reveal-ready .reveal-left,
  html.reveal-ready .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-cta,
  .hero-title em,
  .marquee-track,
  .scroll-thumb,
  .badge-dot {
    animation: none;
  }
}
