/*
Theme Name: Landing
Description: Portada de TallerAlDía.
Version: 1.2.5
Text Domain: landing
*/

:root {
  --orange: #ff4d00;
  --orange-deep: #f04200;
  --ink: #1b2330;
  --muted: #5d6774;
  --soft: #8b95a3;
  --line: #e7ebf0;
  --green: #16a34a;
  --paper: #ffffff;
  --footer: #2c3036;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #ff5e14 0%, var(--orange) 55%, var(--orange-deep) 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  border: 0;
  box-shadow: 0 8px 18px rgba(255, 77, 0, 0.22);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { filter: brightness(1.05); }
.btn-line {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid #ffb088;
  box-shadow: 0 6px 16px rgba(20, 24, 40, 0.04);
  padding: 12px 22px;
}
.btn-line svg { width: 18px; height: 18px; }
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.more svg { width: 18px; height: 18px; }
.more:hover { color: var(--orange); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-top: 0;
}
.home .site-header {
  position: absolute;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #fff 0%, #fff 64%, rgba(255,255,255,.94) 74%, rgba(255,255,255,.55) 84%, rgba(255,255,255,0) 94%);
}
.bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  gap: 18px;
}
.brand { justify-self: start; display: block; }
.brand img { height: 46px; width: auto; display: block; }
.nav { justify-self: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: #243041;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}
.nav-list a.active { color: var(--orange); }
.nav-list a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 22px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
  transform: translateX(-50%);
}
.nav-list a:hover { color: var(--orange); }
.header-cta { justify-self: end; padding: 12px 20px; box-shadow: 0 8px 16px rgba(255, 77, 0, 0.28); }
.nav-check, .nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #fff;
  padding: 108px 0 78px;
}
.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 22%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, #fff 36%, rgba(255,255,255,.94) 46%, rgba(255,255,255,.45) 56%, rgba(255,255,255,0) 66%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-copy { max-width: 600px; }
.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  background: #fff1e8;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 7px 12px;
}
h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4.5vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: #151a22;
}
h1 span { color: var(--orange); }
.lead {
  max-width: 33rem;
  margin: 16px 0 0;
  color: #4e5966;
  font-size: 1.02rem;
  line-height: 1.55;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.checks {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px 16px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  color: #3c4654;
  font-weight: 600;
  font-size: 0.88rem;
}
.checks li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.checks svg { width: 18px; height: 18px; flex: none; }

.floats { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.stat {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 18px;
  padding: 12px 16px 12px 12px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.13);
  min-width: 210px;
}
.stat-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; }
.stat-ic svg { width: 34px; height: 34px; }
.stat-k { margin: 0; color: var(--soft); font-size: 0.78rem; font-weight: 600; }
.stat-n { margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: #1a2230; }
.stat-d { margin: 2px 0 0; font-size: 0.78rem; color: #8b95a1; font-weight: 600; }
.stat-d .up { color: var(--green); font-weight: 700; }
.stat-d .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 4px;
}
.stat-clients { top: 15%; left: 57%; }
.stat-income { top: 12%; right: 4%; }
.stat-income .stat-n { font-size: 1.28rem; }
.stat-cars { top: 36%; left: 54%; }
.script {
  position: absolute;
  right: 11%;
  bottom: 26%;
  margin: 0;
  transform: rotate(-8deg);
  font-family: Caveat, "Segoe Script", cursive;
  font-weight: 700;
  font-size: 2.15rem;
  line-height: 0.92;
  color: #141414;
  text-align: left;
  z-index: 4;
  text-shadow: 0 1px 0 rgba(255,255,255,.9), 0 0 12px rgba(255,255,255,.85);
}
.script::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.55rem;
  width: 78px;
  height: 4px;
  border-radius: 99px;
  background: var(--orange);
  transform: rotate(-6deg);
}

.modules { position: relative; z-index: 4; margin-top: -42px; }
.modules-card {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
  padding: 22px 8px 18px;
}
.modules-card article {
  text-align: center;
  padding: 6px 10px 4px;
  position: relative;
}
.modules-card article + article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 1px;
  background: #eceff3;
}
.modules-card svg { width: 30px; height: 30px; }
.modules-card h2 {
  margin: 8px 0 4px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #243044;
}
.modules-card p {
  margin: 0 auto;
  max-width: 15ch;
  color: var(--soft);
  font-size: 0.75rem;
  line-height: 1.35;
  font-weight: 500;
}

.platform { padding: 72px 0 28px; scroll-margin-top: 24px; }
.platform-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.12fr 0.86fr;
  gap: 28px;
  align-items: center;
}
.platform-copy .eyebrow { margin-bottom: 14px; }
.platform h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.platform h2 span { color: var(--orange); }
.platform-copy > p {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 34rem;
}
.laptop {
  width: min(100%, 469px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 22px 34px rgba(16, 24, 40, 0.16));
  display: block;
}
.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.benefits li { display: flex; gap: 12px; align-items: flex-start; }
.benefits span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff3ec;
  display: grid;
  place-items: center;
  flex: none;
}
.benefits svg { width: 24px; height: 24px; }
.benefits strong { display: block; font-size: 0.98rem; letter-spacing: -0.02em; }
.benefits p { margin: 3px 0 0; color: var(--muted); font-size: 0.9rem; }

.trust { padding: 18px 0 28px; }
.trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.trust p { margin: 0; color: #8b95a3; font-weight: 600; font-size: 0.95rem; }
.trust-side {
  color: var(--orange) !important;
  text-align: right;
  font-weight: 700 !important;
  line-height: 1.35;
}

.site-footer { padding: 8px 0 0; background: #fff; }
.footer-bar {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--footer);
  color: #f3f4f6;
  border-radius: 18px;
  min-height: 92px;
  padding: 16px 22px 16px 26px;
}
.footer-swoosh {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 100%;
  pointer-events: none;
}
.footer-bar .brand img { height: 42px; }
.footer-rule { width: 1px; align-self: stretch; background: rgba(255,255,255,.28); margin: 10px 0; flex: none; }
.footer-bar p {
  position: relative;
  z-index: 1;
  margin: 0;
  flex: 1;
  color: #eceff3;
  font-size: 0.98rem;
  font-weight: 500;
  max-width: 38rem;
}
.footer-bar .btn { position: relative; z-index: 1; margin-left: auto; }
.footer-more {
  display: flex;
  gap: 18px;
  justify-content: flex-start;
  margin: 0;
  padding: 12px 8px 18px;
  color: #8b95a3;
  font-size: 0.84rem;
}
.footer-more a { color: #6d7682; text-decoration: none; font-weight: 600; }
.footer-more a:hover { color: var(--orange); }

main.page { padding: 36px 0 80px; }
main.page h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 12px;
}
.kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.82rem;
}
.section-intro { margin: 0 0 22px; color: var(--muted); max-width: 40rem; }
.entry { max-width: 42rem; }
.entry h2, .entry h3 { letter-spacing: -0.03em; margin: 1.4rem 0 0.35rem; }
.entry p { margin: 0 0 1rem; color: #3d4754; }
.entry a { color: var(--orange); }
.meta { color: var(--muted); font-size: 0.92rem; }
.news-list { display: grid; gap: 12px; }
.news-list .card, .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}
.news-list a { display: block; text-decoration: none; color: inherit; }
.news-list h2, .card h3 { margin: 0 0 6px; font-size: 1.15rem; letter-spacing: -0.03em; }
.news-list p, .card p { margin: 0; color: var(--muted); }
.news-list time { display: block; color: var(--orange); font-size: 0.82rem; font-weight: 700; margin-bottom: 6px; }
a:focus-visible, button:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .modules-card { grid-template-columns: repeat(4, 1fr); row-gap: 16px; }
  .modules-card article:nth-child(5)::before { display: none; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .benefits { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .checks { flex-wrap: wrap; }
  .stat-clients { left: 50%; }
  .stat-cars { left: 48%; }
}
@media (max-width: 860px) {
  .nav-check { position: absolute; opacity: 0; pointer-events: none; }
  .nav-toggle {
    display: flex;
    justify-self: end;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .nav-toggle span {
    position: relative;
    width: 18px;
    height: 2px;
    background: var(--ink);
    color: transparent;
    font-size: 0;
  }
  .nav-toggle span::before,
  .nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .bar { grid-template-columns: 1fr auto auto; position: relative; }
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
    padding: 10px;
    z-index: 50;
  }
  .nav-check:checked ~ .nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; padding: 12px; }
  .header-cta { display: none; }
  .hero { min-height: 0; padding: 96px 0 220px; }
  .checks { flex-wrap: wrap; }
  .hero-photo { width: 100%; height: 46%; top: auto; bottom: 0; right: 0; object-fit: cover; object-position: 72% 30%; mask-image: linear-gradient(180deg, transparent, #000 24%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%); }
  .hero::before { background: linear-gradient(180deg, #fff 0%, #fff 48%, rgba(255,255,255,0) 72%); }
  .hero-copy { max-width: none; }
  .stat-clients { top: auto; bottom: 108px; left: 16px; }
  .stat-income { top: auto; bottom: 108px; right: 16px; }
  .stat-cars, .script { display: none; }
  .modules { margin-top: -28px; }
  .modules-card { grid-template-columns: 1fr 1fr; }
  .modules-card article::before { display: none; }
  .platform { padding-top: 48px; }
  .platform-grid, .benefits { grid-template-columns: 1fr; }
  .platform h2 { max-width: none; }
  .trust-row { flex-direction: column; align-items: flex-start; }
  .trust-side { text-align: left; }
  .footer-bar { flex-wrap: wrap; padding-right: 18px; }
  .footer-rule { display: none; }
  .footer-bar .btn { margin-left: 0; }
  .footer-swoosh { width: 70%; }
}
