/* ATC-Website-2026 — tokens y estilos (brief-diseno-landing.md) */
:root {
  --color-navy: #041C4C;
  --color-brand: #046CF0;
  --color-cyan: #00C0F4;
  --color-violet: #382CEC;
  --color-deep-blue: #0048AC;
  --color-ink: #1A1F2E;
  --color-muted: #707070;
  --color-bg: #F5F7FB;
  --color-surface: #FFFFFF;
  --color-border: #E2E8F0;
  --color-whatsapp: #25D366;
  --shadow-card: 0 4px 24px rgba(4, 28, 76, 0.06);
  --shadow-header: 0 2px 16px rgba(4, 28, 76, 0.08);
  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-input: 9px;
  --container: 1160px;
  --header-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --focus-ring: 0 0 0 3px rgba(0, 192, 244, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

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

a {
  color: var(--color-brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10000;
  background: var(--color-brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 64px, var(--container));
  }
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-header);
  border-bottom-color: var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-block: 10px;
}

.logo-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.logo-link img {
  height: 48px;
  width: auto;
  max-width: min(200px, 55vw);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 560;
  text-decoration: none;
  padding: 6px 2px;
}

.nav-desktop a:hover {
  color: var(--color-brand);
}

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

.header-wa {
  display: none;
  color: var(--color-navy);
  padding: 8px;
  border-radius: 999px;
  line-height: 0;
}

.header-wa:hover {
  background: var(--color-bg);
  text-decoration: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  background: var(--color-surface);
  cursor: pointer;
  color: var(--color-navy);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .header-wa {
    display: inline-flex;
  }
  .header-cta-mobile-hide {
    display: inline-flex;
  }
}

@media (max-width: 1023px) {
  .btn.header-cta-mobile-hide {
    display: none !important;
  }
}

/* Mobile nav */
.nav-mobile {
  display: none;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 12px 0 20px;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile a {
  display: block;
  padding: 14px 0;
  color: var(--color-ink);
  font-weight: 560;
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}

.nav-mobile .nav-cta {
  margin-top: 16px;
  width: 100%;
  text-align: center;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--color-brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-deep-blue);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-secondary:hover {
  background: rgba(4, 28, 76, 0.06);
  color: var(--color-navy);
}

.btn-secondary.on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary.on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-wa {
  background: var(--color-surface);
  color: var(--color-navy);
  border-color: var(--color-border);
}

.btn-wa:hover {
  border-color: var(--color-whatsapp);
  color: var(--color-navy);
}

.btn-wa .wa-icon {
  color: var(--color-whatsapp);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 16px;
}

/* —— Sections common —— */
.section {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
}

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

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin: 0 0 10px;
}

.eyebrow.violet {
  color: var(--color-violet);
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
}

.section-lead {
  margin: 0 0 32px;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--color-muted);
  max-width: 62ch;
  line-height: 1.55;
}

.section-lead.center,
.section-title.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.bridge {
  margin: 28px 0 0;
  font-weight: 560;
  color: var(--color-ink);
  max-width: 72ch;
  text-wrap: pretty;
}

/* —— Hero —— */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-deep-blue) 100%);
  color: #fff;
  padding: 48px 0 56px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 85% 40%, rgba(0, 192, 244, 0.18), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(56, 44, 236, 0.2), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero {
    padding: 72px 0 80px;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.hero .eyebrow {
  color: var(--color-cyan);
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin: 0 0 28px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 48ch;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-trust {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  width: min(100%, 340px);
  backdrop-filter: blur(6px);
}

.hero-visual-card img {
  height: 160px;
  width: auto;
  margin: 0 auto 20px;
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pillars span {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* —— Cards —— */
.card-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(4, 108, 240, 0.08);
  color: var(--color-brand);
  margin-bottom: 14px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.5;
}

.card ul {
  margin: 8px 0 0;
  padding-left: 1.1em;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.5;
}

.card ul li + li {
  margin-top: 4px;
}

.card.audience .card-icon {
  background: rgba(56, 44, 236, 0.08);
  color: var(--color-violet);
}

/* —— Practice sections —— */
.practice-cta {
  margin-top: 28px;
}

.caption-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--color-muted);
  font-style: italic;
}

/* —— Auditec 360 —— */
.section-360 {
  background: linear-gradient(160deg, #041C4C 0%, #05306e 55%, #0048AC 100%);
  color: #fff;
}

.section-360 .section-title,
.section-360 .section-lead {
  color: #fff;
}

.section-360 .section-lead {
  color: rgba(255, 255, 255, 0.85);
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(56, 44, 236, 0.28);
  color: #e8e6ff;
  margin-bottom: 12px;
}

.dims {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.dim-chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.deliverable {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  margin-bottom: 28px;
}

.deliverable h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #fff;
}

.deliverable p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 480px) {
  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* —— Methodology —— */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.step {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px 20px 22px;
  box-shadow: var(--shadow-card);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--color-navy);
}

.step p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
}

/* —— Capabilities —— */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: 14px;
  font-weight: 560;
  color: var(--color-navy);
}

.pill.soft {
  background: transparent;
  color: var(--color-muted);
  font-weight: 500;
}

.cap-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  margin: 0 0 10px;
}

/* —— FAQ —— */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 650;
  color: var(--color-navy);
  cursor: pointer;
  min-height: 52px;
}

.faq-q:hover {
  background: rgba(4, 108, 240, 0.03);
}

.faq-q .chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
  color: var(--color-brand);
}

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

.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.55;
}

.faq-a.is-open {
  display: block;
}

.faq-a p {
  margin: 0;
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
  }
}

.contact-bullets {
  margin: 0 0 24px;
  padding-left: 1.15em;
  color: var(--color-ink);
}

.contact-bullets li + li {
  margin-top: 8px;
}

.contact-alts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.contact-alts a {
  font-weight: 560;
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .form-card {
    padding: 28px 24px;
  }
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 6px;
}

.form-group .req {
  color: var(--color-brand);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  font-family: inherit;
  font-size: 16px;
  color: var(--color-ink);
  background: #fff;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  border-color: var(--color-brand);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-micro {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--color-muted);
}

.form-success {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-btn);
  background: rgba(4, 108, 240, 0.1);
  color: var(--color-navy);
  font-weight: 560;
  margin-bottom: 16px;
}

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

.mobile-wa-first {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .mobile-wa-first {
    display: none;
  }
}

/* —— Footer —— */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-brand img {
  height: 96px;
  width: auto;
  margin-bottom: 12px;
}

.footer-tagline {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 28ch;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--color-cyan);
  text-decoration: underline;
}

.footer-col li + li {
  margin-top: 8px;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

/* —— Legal stub —— */
.legal-page {
  padding: 48px 0 80px;
}

.legal-page h1 {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--color-navy);
  margin: 0 0 16px;
}

.legal-page p,
.legal-page li {
  color: var(--color-muted);
  max-width: 65ch;
}

.legal-page ul {
  padding-left: 1.2em;
}
