/* ============================================
   Palante — Landing Page Styles
   ============================================ */

:root,
[data-theme="light"] {
  color-scheme: light;
  --color-bg: #f8f9fc;
  --color-bg-alt: #eef1f8;
  --color-surface: #ffffff;
  --color-text: #1a1f36;
  --color-text-muted: #5c6378;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #dbeafe;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;
  --color-border: #e2e8f0;
  --color-star: #f59e0b;
  --color-header-bg: rgba(248, 249, 252, 0.85);
  --color-footer-bg: #1a1f36;
  --color-footer-text: rgba(255, 255, 255, 0.75);
  --color-on-primary: #ffffff;

  --shadow-sm: 0 1px 3px rgba(26, 31, 54, 0.06);
  --shadow-md: 0 4px 20px rgba(26, 31, 54, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 31, 54, 0.12);

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --header-height: 72px;
  --container: 1120px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #0f1419;
  --color-bg-alt: #161b22;
  --color-surface: #1c2330;
  --color-text: #e8eaed;
  --color-text-muted: #9aa0a6;
  --color-primary: #3b82f6;
  --color-primary-dark: #2563eb;
  --color-primary-light: #1e3a5f;
  --color-border: #2d3748;
  --color-header-bg: rgba(15, 20, 25, 0.9);
  --color-footer-bg: #0a0d12;
  --color-footer-text: rgba(255, 255, 255, 0.7);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Typography ---- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
}

h1 .hero-title-line {
  display: block;
}

h1 .hero-title-line:first-child {
  white-space: nowrap;
}

h1 em.hero-title-line {
  font-style: normal;
  color: var(--color-primary);
}

h2 {
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.05rem;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

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

.btn-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

.btn-outline:hover {
  background: var(--color-primary-light);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-text-muted);
}

[data-theme="dark"] .btn-ghost {
  border-color: rgba(148, 163, 184, 0.55);
  color: var(--color-text);
}

[data-theme="dark"] .btn-ghost:hover {
  background: rgba(59, 130, 246, 0.14);
  border-color: var(--color-primary);
  color: #fff;
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-on-primary);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-nav {
  padding: 0.5rem 1.25rem;
  background: var(--color-primary);
  color: var(--color-on-primary) !important;
  border-radius: var(--radius-sm);
}

.btn-nav:hover {
  background: var(--color-primary-dark);
}

.whatsapp-icon {
  width: 1.35rem;
  height: 1.35rem;
}

/* ---- Header ---- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.88;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.header .logo-img {
  height: 42px;
}

.footer .logo-img {
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--color-primary);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.theme-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.theme-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.theme-icon-sun {
  display: none;
}

.theme-icon-moon {
  display: block;
}

[data-theme="dark"] .theme-icon-sun {
  display: block;
}

[data-theme="dark"] .theme-icon-moon {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Hero ---- */

.hero {
  padding: calc(var(--header-height) + 4rem) 0 5rem;
  background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-primary-light) 100%);
  overflow: hidden;
}

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

.hero-text {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 1.25rem 0 2rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

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

/* CV stack mockup */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cv-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  margin: 3.25rem auto 0;
}

.cv-stack::before {
  content: '';
  position: absolute;
  inset: 12% 5% 8%;
  background: radial-gradient(ellipse at center, var(--color-primary-light) 0%, transparent 72%);
  border-radius: 50%;
  z-index: 0;
  animation: cv-glow 5s ease-in-out infinite;
}

.cv-card {
  position: absolute;
  width: 76%;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}

.cv-card-img {
  width: 100%;
  height: auto;
}

.cv-card--back {
  top: 24%;
  left: 0;
  z-index: 1;
  width: 74%;
  transform: rotate(-11deg) translateX(-6%);
  animation: cv-float-back 6.5s ease-in-out infinite both;
}

.cv-card--mid {
  top: 18%;
  left: 6%;
  z-index: 2;
  width: 80%;
  transform: rotate(6deg) translateX(2%);
  animation: cv-float-mid 5.5s ease-in-out infinite 0.6s both;
}

.cv-card--front {
  top: 12%;
  left: 34%;
  z-index: 3;
  width: 78%;
  transform: rotate(-4deg);
  box-shadow:
    0 18px 45px rgba(37, 99, 235, 0.18),
    var(--shadow-lg);
  animation: cv-float-front 4.8s ease-in-out infinite 1.1s both;
}

.cv-card--back:hover {
  z-index: 5;
  animation: cv-hover-back 3.5s ease-in-out infinite both;
  box-shadow:
    0 20px 50px rgba(37, 99, 235, 0.22),
    var(--shadow-lg);
}

.cv-card--mid:hover {
  z-index: 5;
  animation: cv-hover-mid 3.2s ease-in-out infinite both;
  box-shadow:
    0 20px 50px rgba(37, 99, 235, 0.22),
    var(--shadow-lg);
}

.cv-card--front:hover {
  z-index: 5;
  animation: cv-hover-front 3s ease-in-out infinite both;
  box-shadow:
    0 24px 55px rgba(37, 99, 235, 0.28),
    var(--shadow-lg);
}

@keyframes cv-float-back {
  0%, 100% { transform: rotate(-11deg) translateX(-6%) translateY(0); }
  50% { transform: rotate(-11deg) translateX(-6%) translateY(-8px); }
}

@keyframes cv-float-mid {
  0%, 100% { transform: rotate(6deg) translateX(2%) translateY(0); }
  50% { transform: rotate(6deg) translateX(2%) translateY(-10px); }
}

@keyframes cv-float-front {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-12px); }
}

@keyframes cv-hover-back {
  0%, 100% { transform: rotate(-14deg) translateX(-12%) translateY(-4px) scale(1.02); }
  50% { transform: rotate(-14deg) translateX(-12%) translateY(-18px) scale(1.05); }
}

@keyframes cv-hover-mid {
  0%, 100% { transform: rotate(9deg) translateX(6%) translateY(-2px) scale(1.03); }
  50% { transform: rotate(9deg) translateX(6%) translateY(-20px) scale(1.06); }
}

@keyframes cv-hover-front {
  0%, 100% { transform: rotate(-1deg) translateY(-4px) scale(1.04); }
  50% { transform: rotate(-1deg) translateY(-22px) scale(1.07); }
}

@keyframes cv-glow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .cv-card,
  .cv-stack::before {
    animation: none;
  }

  .cv-card--back:hover,
  .cv-card--mid:hover,
  .cv-card--front:hover {
    animation: none;
  }

  .cv-card--back { transform: rotate(-8deg) translateX(-4%); }
  .cv-card--mid { transform: rotate(5deg) translateX(2%); }
  .cv-card--front { transform: rotate(-3deg); }
}

/* ---- Sections ---- */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

/* ---- Cards ---- */

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

.card {
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s, transform 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.card-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1;
}

.card h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
  white-space: nowrap;
}

.card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ---- Pricing ---- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  position: relative;
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-featured:hover {
  transform: scale(1.03) translateY(-3px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card h3 {
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: 1.5rem;
}

.pricing-amount .currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.pricing-amount .price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.pricing-amount .period {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-left: 0.25rem;
}

.pricing-features {
  flex: 1;
  margin-bottom: 1.75rem;
}

.pricing-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-whatsapp);
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ---- Testimonials ---- */

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

.testimonial {
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--color-star);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial p {
  font-size: 0.95rem;
  color: var(--color-text);
  flex: 1;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.testimonial footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial footer span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ---- CTA ---- */

.cta-section {
  padding-bottom: 6rem;
}

.cta-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.cta-content h2 {
  margin: 0.5rem 0 1rem;
}

.cta-content > p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.cta-steps {
  counter-reset: step;
}

.cta-steps li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.cta-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-action {
  text-align: center;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ---- Footer ---- */

.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 3.5rem 0 0;
  transition: background-color 0.25s ease;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  max-width: 22rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-whatsapp {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--color-whatsapp);
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.footer-whatsapp:hover {
  opacity: 0.85;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8rem;
}

.footer-minimal {
  padding: 0;
}

/* ---- 404 Error Page ---- */

.error-page {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-primary-light) 100%);
}

.error-page-inner {
  text-align: center;
  max-width: 28rem;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.35;
  margin-bottom: 0.5rem;
}

.error-page h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.75rem;
}

.error-text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.error-text em {
  font-style: normal;
  color: var(--color-primary);
  font-weight: 600;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ---- WhatsApp Float ---- */

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--color-whatsapp);
  color: var(--color-on-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, background 0.2s;
}

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
}

.whatsapp-float:hover {
  background: var(--color-whatsapp-dark);
  transform: scale(1.08);
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-featured {
    transform: none;
  }

  .pricing-featured:hover {
    transform: translateY(-3px);
  }
}

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

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    margin-left: 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s, background-color 0.25s ease;
  }

  .nav-end {
    margin-left: auto;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
    margin-top: 0.5rem;
    text-align: center;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: calc(var(--header-height) - 0.9rem) 0 1.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
  }

  .hero-content {
    margin-top: -1rem;
  }

  .hero-content h1 {
    margin-top: 0;
    line-height: 1.1;
  }

  .hero-text {
    margin: 0.2rem auto 1.35rem;
  }

  .hero-actions {
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 2rem;
  }

  .hero-stats strong {
    font-size: 1.65rem;
  }

  .hero-stats span {
    font-size: 0.9rem;
  }

  .hero-visual {
    order: -1;
    margin-top: -0.55rem;
    margin-bottom: -0.85rem;
  }

  .cv-stack {
    max-width: 280px;
    margin: 0 auto;
    aspect-ratio: 4 / 3.4;
  }

  .cv-card--back {
    top: 0;
    width: 70%;
  }

  .cv-card--mid {
    top: 0;
    left: 4%;
    width: 78%;
  }

  .cv-card--front {
    top: 0;
    left: 30%;
    width: 74%;
  }

  .cards-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

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

  .footer-brand {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .footer-brand p {
    font-size: 0.85rem;
    max-width: none;
    flex: 1;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: calc(var(--header-height) - 1.2rem) 0 1.25rem;
  }

  .hero-content {
    margin-top: -1.35rem;
  }

  .hero-text {
    margin-top: 0;
    margin-bottom: 1.25rem;
  }

  .hero-actions {
    margin-bottom: 0.65rem;
  }

  .hero-visual {
    margin-top: -0.7rem;
    margin-bottom: -1.15rem;
  }

  .cv-stack {
    max-width: 260px;
    margin: 0 auto;
    aspect-ratio: 4 / 3.2;
  }

  .header .logo-img {
    height: 36px;
  }

  .footer .logo-img {
    height: 38px;
  }

  .footer-brand {
    gap: 0.75rem;
  }

  .footer-brand p {
    font-size: 0.8rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stats strong {
    font-size: 1.55rem;
  }

  .hero-stats span {
    font-size: 0.85rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}