﻿:root {
  --navy: #0b1b33;
  --navy-2: #102949;
  --blue: #174a7c;
  --green: #18865b;
  --gold: #b9914f;
  --text: #26364a;
  --muted: #66758a;
  --line: #dfe6ef;
  --soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(11, 27, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.nav-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(223, 230, 239, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  color: var(--navy);
}

.brand-icon {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 12px 28px rgba(11, 27, 51, 0.18);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
  color: #34445a;
  font-size: 0.92rem;
  font-weight: 800;
}

.main-nav a {
  padding: 10px 0;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--green);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 16px 34px rgba(11, 27, 51, 0.2);
}

.btn-primary:hover {
  background: var(--navy-2);
}

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

.btn-accent {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 16px 34px rgba(24, 134, 91, 0.2);
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 27, 51, 0.94), rgba(16, 41, 73, 0.96)),
    url("assets/puntual-hero.png?v=20260521b") center / cover;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: #76d2a8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4.45vw, 4.65rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.1vw, 3.35rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.lead {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark .lead {
  color: rgba(255, 255, 255, 0.78);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(30px, 5vw, 70px) clamp(18px, 5vw, 72px) clamp(26px, 4vw, 46px);
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 48%, rgba(244, 247, 251, 0.78) 100%),
    radial-gradient(circle at 90% 18%, rgba(185, 145, 79, 0.16), transparent 34%);
}

.hero-copy {
  max-width: 900px;
}

.hero-copy .lead {
  font-size: clamp(1.02rem, 1.3vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 34px;
}

.hero-proof span {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 820;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 460px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel {
  position: absolute;
  right: 150px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(11, 27, 51, 0.82);
  backdrop-filter: blur(12px);
}

.hero-panel strong {
  font-size: 1.1rem;
}

.hero-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.benefit-card,
.blog-card,
.contact-card,
.office-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(11, 27, 51, 0.06);
}

.service-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 134, 91, 0.28);
  box-shadow: var(--shadow);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--green);
  background: #eaf7f1;
}

.icon-box svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.service-card p,
.benefit-card p,
.blog-card p,
.office-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  color: var(--green);
  font-weight: 900;
}

.benefits-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  padding: 22px;
}

.benefit-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.02rem;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(310px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.86);
}

.feature-list li::before {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.feature-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.feature-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.maquila {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.process {
  display: grid;
  gap: 14px;
  counter-reset: process;
}

.process-item {
  position: relative;
  padding: 18px 18px 18px 66px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.process-item::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  counter-increment: process;
  content: counter(process);
  font-size: 0.86rem;
  font-weight: 900;
}

.process-item strong {
  display: block;
  color: var(--navy);
}

.process-item span {
  color: var(--muted);
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.46fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}

.about-stat {
  padding: 28px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
}

.about-stat strong {
  display: block;
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.about-stat span {
  color: var(--muted);
  font-weight: 800;
}

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

.blog-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.blog-card time {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

.contact-card {
  padding: clamp(20px, 3vw, 32px);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: #b42318;
}

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

.field {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 132px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(24, 134, 91, 0.56);
  box-shadow: 0 0 0 4px rgba(24, 134, 91, 0.11);
}

.office-card {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.contact-line {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--navy);
  font-weight: 850;
}

.contact-line svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.site-footer {
  padding: 44px clamp(18px, 5vw, 72px) 26px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(150px, 0.6fr));
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand-icon {
  width: 50px;
  height: 50px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.95rem;
}

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

.copyright {
  max-width: 1180px;
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: #128c56;
  box-shadow: 0 18px 42px rgba(18, 140, 86, 0.3);
  font-weight: 900;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Estructura preparada para un futuro carrusel de clientes. Se activa al agregar contenido. */
.clients-carousel-shell {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav,
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-header.nav-open .main-nav {
    position: fixed;
    inset: 73px 0 auto 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .main-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .benefits-layout,
  .feature-section,
  .maquila,
  .about-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
  }

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

@media (max-width: 760px) {
  .brand-copy strong {
    font-size: 0.9rem;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  h1 {
    font-size: 2.4rem;
  }

  .hero-proof,
  .services-grid,
  .benefits-list,
  .blog-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-panel {
    right: 18px;
  }

  .hero-actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 0 15px;
  }
}

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