/* =========================================================
   Skills Consultoría — stylesheet
   ========================================================= */

:root {
  /* Palette */
  --navy-900: #0b2e48;
  --navy-800: #0f3b5c;
  --navy-600: #1e5a8c;
  --blue-accent: #3d8bc4;
  --blue-pale: #eaf2f8;

  --burgundy-900: #4a1119;
  --burgundy-700: #7a1f2b;
  --burgundy-500: #a32638;
  --ruby: #c41e3a;

  --charcoal: #2d2d2d;
  --ink-soft: #5a6069;

  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --border-soft: #e7eaee;

  /* Type */
  --font-display: "Sora", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --header-h: 84px;

  --shadow-sm: 0 2px 10px rgba(15, 59, 92, 0.06);
  --shadow-md: 0 12px 34px rgba(15, 59, 92, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 59, 92, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--blue-accent);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--burgundy-500), var(--burgundy-700));
  color: #fff;
  box-shadow: 0 10px 24px rgba(122, 31, 43, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(122, 31, 43, 0.36);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(15, 59, 92, 0.25);
  color: var(--navy-900);
}
.btn-ghost:hover {
  border-color: var(--navy-600);
  background: var(--blue-pale);
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 6px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.brand-mark-img { width: 100%; height: 100%; object-fit: contain; }
.brand-shine {
  position: absolute;
  inset: 0;
  padding: 6px;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.95) 50%, transparent 60%);
  -webkit-mask-image: url("../assets/img/logo-header.png");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url("../assets/img/logo-header.png");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  transform: translateX(-120%);
  pointer-events: none;
}
.brand:hover .brand-shine,
.brand:focus-visible .brand-shine {
  animation: shine-sweep 1.1s var(--ease);
}
@keyframes shine-sweep {
  to { transform: translateX(120%); }
}

.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: 0.02em;
}
.brand-word em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy-700);
}

.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--burgundy-500);
  transition: right 0.3s var(--ease);
}
.main-nav a:hover { color: var(--navy-900); }
.main-nav a:hover::after { right: 0; }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin-inline: auto;
  background: var(--navy-900);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 90px;
  background: radial-gradient(120% 140% at 15% 0%, #123f61 0%, var(--navy-900) 42%, var(--navy-900) 100%);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-mark {
  position: absolute;
  top: -12%;
  right: -14%;
  width: 62%;
  min-width: 520px;
  opacity: 0.08;
  filter: blur(1px);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a9c8e0;
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  max-width: 15ch;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.08rem;
  color: #c9dbea;
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.hero-visual { display: flex; justify-content: center; }
.logo-stage {
  position: relative;
  width: min(400px, 80vw);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-stage-plate {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.22), rgba(255,255,255,0.04) 60%, transparent 75%);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
}
.logo-stage-img {
  position: absolute;
  width: 72%;
  height: 72%;
  object-fit: contain;
  will-change: transform, opacity, clip-path;
}
.logo-half--a { clip-path: polygon(0 0, 100% 0, 100% 55%, 0 55%); }
.logo-half--b { clip-path: polygon(0 45%, 100% 45%, 100% 100%, 0 100%); }
.logo-spark {
  position: absolute;
  width: 26%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 110, 0.95), rgba(196, 30, 58, 0.35) 55%, transparent 75%);
  opacity: 0;
  pointer-events: none;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  transform: translateX(-50%);
  animation: cue-bounce 1.8s ease-in-out infinite;
}
@keyframes cue-bounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 10px); opacity: 0.4; }
}

/* ---------- Sections (general) ---------- */
.section { position: relative; padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.kicker {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy-700);
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 60ch; }

/* ---------- Purpose statement (About intro) ---------- */
.purpose-block {
  max-width: 760px;
  margin: 0 auto 72px;
  text-align: center;
}
.purpose-statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.45;
  color: var(--navy-900);
  margin-bottom: 26px;
}
.purpose-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-600);
  background: var(--blue-pale);
  border: 1px solid rgba(15, 59, 92, 0.1);
  border-radius: 999px;
  padding: 8px 16px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.about-copy p { color: var(--ink-soft); font-size: 1.03rem; }
.about-visual { display: flex; justify-content: center; }
.about-mark {
  position: relative;
  width: min(340px, 70vw);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-pale), #fff);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px;
}
.about-mark img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-pale);
  color: var(--navy-600);
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card--accent .service-icon {
  background: #fbe9ea;
  color: var(--burgundy-500);
}
.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.service-card p:last-child { margin-bottom: 0; }

.audit-details {
  margin-top: 16px;
  border-top: 1px solid var(--border-soft);
  padding-top: 14px;
}
.audit-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-600);
}
.audit-details summary::-webkit-details-marker { display: none; }
.audit-details summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.audit-details[open] summary::after { transform: rotate(-135deg); }
.audit-deliverables {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.audit-deliverables li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.audit-deliverables svg { width: 16px; height: 16px; color: var(--burgundy-500); flex-shrink: 0; }

/* ---------- Pillars (propuesta de valor) ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pillar-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  background: var(--blue-pale);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  color: var(--burgundy-500);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.pillar-card p { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 0; }

/* ---------- Trust ---------- */
.trust-section {
  background: linear-gradient(155deg, var(--navy-900) 0%, #0d3452 60%, var(--navy-800) 100%);
  color: #fff;
}
.section-head--light .kicker { color: #f2a4ad; }
.section-head--light h2 { color: #fff; }
.section-head--light .section-lead { color: #bfd4e6; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.trust-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  backdrop-filter: blur(6px);
}
.trust-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--burgundy-500), var(--ruby));
  margin-bottom: 16px;
}
.trust-item h3 { color: #fff; font-size: 1.15rem; }
.trust-item p { color: #bfd4e6; font-size: 0.95rem; margin-bottom: 0; }

.sectors-row {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}
.sectors-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #a9c8e0;
  white-space: nowrap;
}
.sectors-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-light {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 7px 15px;
}

/* ---------- Casos (placeholder) ---------- */
.cases-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.placeholder-block { position: relative; }
.placeholder-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #fff3cd;
  color: #8a6d1a;
  border: 1px dashed #d8b95a;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.placeholder-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}

.case-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  margin: 0;
}
.case-card blockquote {
  margin: 0 0 16px;
  font-size: 1.02rem;
  color: var(--charcoal);
  line-height: 1.55;
}
.case-card figcaption {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- Team (specialty map) ---------- */
.team-differentiator {
  max-width: 620px;
  margin: -30px auto 44px;
  text-align: center;
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.team-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.team-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.team-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.team-badge svg { width: 20px; height: 20px; color: var(--burgundy-500); flex-shrink: 0; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--burgundy-900), var(--navy-900) 60%, var(--navy-800));
  color: #fff;
}
.cta-final-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 50% 0%, rgba(196,30,58,0.25), transparent 70%);
}
.cta-final .container { position: relative; }
.cta-final h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: 36px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0a2740;
  color: #dce8f2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 90px 0 60px;
}
.brand--footer { margin-bottom: 18px; }
.brand--footer .brand-word strong { color: #fff; }
.footer-tagline { color: #9db6cb; max-width: 34ch; }

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; margin: 26px 0; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #c3d5e4;
}
.footer-contact-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--blue-accent); }
.footer-contact-list a:hover { color: #fff; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--burgundy-500); border-color: var(--burgundy-500); }

.footer-form h3 { color: #fff; font-size: 1.2rem; }
.footer-form > p { color: #9db6cb; margin-bottom: 24px; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: #bfd4e6; }
.form-row input, .form-row textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font: inherit;
  resize: vertical;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #7f97ab; }
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  background: rgba(255,255,255,0.1);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 14px; font-size: 0.9rem; min-height: 1.2em; }
.form-status.is-success { color: #7fd9a4; }
.form-status.is-error { color: #f29aa4; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner { padding: 22px 0; font-size: 0.82rem; color: #7f97ab; }

/* ---------- Generic fade-up (JS toggles in-view) ---------- */
.fade-target {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-target.in-view { opacity: 1; transform: translateY(0); }
.no-js .fade-target { opacity: 1; transform: none; }

/* ---------- Reveal animation hooks (JS toggles is-visible) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}
.js-ready [data-reveal].is-visible {
  animation: reveal-up 0.9s var(--ease) forwards;
}
@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 20px; }
  .logo-stage { width: min(280px, 60vw); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; padding: 70px 0 50px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .main-nav.is-open { max-height: 320px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
  .header-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .cta-final { padding: 70px 0; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pillar-card { padding: 22px 14px; }
  .sectors-row { flex-direction: column; align-items: flex-start; }
}
