/* Talleres Pons - web estática sencilla */
:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5f687a;
  --line: #e3e7f0;
  --blue: #2c2b78;
  --blue-dark: #1d1b58;
  --red: #ef2438;
  --red-dark: #c91528;
  --soft-blue: #eef1ff;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 50;
  padding: 10px 12px;
  border-radius: 10px;
  background: white;
  color: var(--text);
  box-shadow: var(--shadow);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(227, 231, 240, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
}

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

.brand-mark {
  width: 58px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 0.92;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.brand-text span {
  color: var(--blue);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.brand-text strong {
  color: var(--red);
  font-size: 1.64rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.94rem;
}

.header-phone {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: white;
  background: var(--red);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(239, 36, 56, 0.22);
}

.header-phone:hover {
  background: var(--red-dark);
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 68px;
  background:
    radial-gradient(circle at top right, rgba(239, 36, 56, 0.14), transparent 30rem),
    radial-gradient(circle at top left, rgba(44, 43, 120, 0.16), transparent 34rem),
    linear-gradient(135deg, #ffffff 0%, #eef1ff 56%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 48px;
  align-items: center;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.16rem;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(44, 43, 120, 0.22);
}

.button.primary:hover { background: var(--blue-dark); }

.button.secondary {
  color: var(--blue-dark);
  background: white;
  border-color: var(--line);
}

.button.light {
  color: var(--blue-dark);
  background: white;
  box-shadow: none;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-points li {
  padding: 8px 12px;
  border: 1px solid rgba(44, 43, 120, 0.12);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  font-size: 0.92rem;
}

.hero-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(227, 231, 240, 0.92);
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  aspect-ratio: 1.68 / 1;
  object-fit: cover;
  object-position: center;
}

.hero-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px 20px;
}

.hero-card-text strong {
  color: var(--blue-dark);
  font-size: 1.05rem;
}

.hero-card-text span { color: var(--muted); }

.contact-strip {
  margin-top: -24px;
  position: relative;
  z-index: 4;
}

.contact-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(227, 231, 240, 0.92);
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.11);
}

.contact-strip a {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.contact-strip a:last-child { border-right: 0; }

.contact-strip span,
.contact-strip strong { display: block; }

.contact-strip span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-strip strong {
  margin-top: 4px;
  color: var(--blue-dark);
  font-size: 1.1rem;
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.compact { max-width: 620px; }

.cards {
  display: grid;
  gap: 18px;
}

.cards.three { grid-template-columns: repeat(3, 1fr); }

.card,
.mini-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.card {
  padding: 26px;
  min-height: 240px;
  box-shadow: 0 16px 45px rgba(17, 24, 39, 0.07);
}

.card p,
.mini-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 14px;
  color: white;
  background: var(--red);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 52px;
  align-items: start;
}

.split p { color: var(--muted); }

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--red-dark);
  font-weight: 900;
}

.work-list {
  display: grid;
  gap: 14px;
}

.work-list div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
}

.work-list strong,
.work-list span { display: block; }

.work-list strong {
  color: var(--blue-dark);
  font-size: 1.04rem;
}

.work-list span {
  margin-top: 4px;
  color: var(--muted);
}

.process-section {
  background:
    radial-gradient(circle at bottom left, rgba(44, 43, 120, 0.10), transparent 34rem),
    var(--bg);
}

.mini-card { padding: 24px; }

.cta-band {
  padding: 60px 0;
  color: white;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.cta-band .eyebrow { color: #ffbdc5; }

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta-inner h2 { margin-bottom: 8px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: start;
}

.contact-grid p { color: var(--muted); }

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
}

.contact-card dl { margin: 0; }

.contact-card dl div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card dl div:first-child { padding-top: 0; }

.contact-card dt {
  color: var(--muted);
  font-weight: 800;
}

.contact-card dd {
  margin: 0;
  font-weight: 800;
}

.map-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin-top: 22px;
  border-radius: 999px;
  color: white;
  background: var(--red);
  font-weight: 900;
}

.map-link:hover {
  background: var(--red-dark);
  text-decoration: none;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #111827;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-inner strong,
.footer-inner span { display: block; }

.footer-inner strong { color: white; }

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 999px;
  color: white;
  background: #128c7e;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(18, 140, 126, 0.28);
}

.floating-whatsapp:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.legal-page .page-hero {
  padding: 56px 0 36px;
  background: var(--soft-blue);
  border-bottom: 1px solid var(--line);
}

.legal-content {
  max-width: 860px;
  padding: 58px 0 82px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.legal-content p,
.legal-content li { color: var(--muted); }

.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--red);
  border-radius: 14px;
  background: #fff4f5;
  color: var(--text);
}

@media (max-width: 940px) {
  .hero-grid,
  .split,
  .contact-grid { grid-template-columns: 1fr; }

  .main-nav { display: none; }

  .cards.three { grid-template-columns: 1fr; }

  .contact-strip-inner { grid-template-columns: 1fr; }

  .contact-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-strip a:last-child { border-bottom: 0; }

  .cta-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1120px); }

  .header-inner { min-height: 70px; }

  .brand { gap: 8px; }

  .brand-mark {
    width: 48px;
    height: 60px;
  }

  .brand-text span { font-size: 0.72rem; }

  .brand-text strong { font-size: 1.36rem; }

  .header-phone {
    padding: 9px 12px;
    font-size: 0.88rem;
  }

  .hero { padding: 56px 0 48px; }

  .hero-actions,
  .contact-actions { flex-direction: column; }

  .button { width: 100%; }

  .section { padding: 62px 0; }

  .contact-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.9rem;
  }
}
