/* Reparaciones Málaga TechCare — Próximamente
   Landing temporal. Blanco, navy #0B1F3A, amarillo #F2B705, Montserrat.
   Referencia: Apple / Nothing / Tesla — minimal, mucho aire, sin ruido. */

:root {
  --navy: #0B1F3A;
  --navy-soft: #38455c;
  --yellow: #F2B705;
  --white: #ffffff;
  --paper: #fafbfc;
  --line: #e8eaed;
  --muted: #6b7280;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.top {
  display: flex;
  justify-content: center;
  padding: 40px 24px 0;
}
.mark { width: 56px; height: 56px; }

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 64px 0 80px;
}

.brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 8px;
}

.tagline {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 48px;
}

h1 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--navy);
}

.subtitle {
  font-size: clamp(16px, 2.4vw, 19px);
  font-weight: 500;
  color: var(--yellow);
  margin: 0 0 28px;
}

.body-text {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

.hero .body-text { margin-bottom: 36px; }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
}

/* ---------- Sections generic ---------- */
section + section,
.hero + section {
  border-top: 1px solid var(--line);
}

.services,
.launch,
.contact {
  padding: 72px 0;
  text-align: center;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 40px;
}

.launch .section-label {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 14px;
}

.launch .body-text { margin-bottom: 40px; }

/* ---------- Services grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 20px;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.item svg {
  width: 26px;
  height: 26px;
  color: var(--navy-soft);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.item span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy);
}

.item:hover svg {
  color: var(--yellow);
  transform: translateY(-2px);
}

/* ---------- Progress indicator (sin porcentaje) ---------- */
.progress {
  width: 100%;
  max-width: 220px;
  height: 2px;
  margin: 0 auto;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.progress span {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 40%;
  background: var(--yellow);
  border-radius: 2px;
  animation: sweep 2.6s ease-in-out infinite;
}
@keyframes sweep {
  0%   { left: -40%; }
  50%  { left: 60%; }
  100% { left: 100%; }
}

/* ---------- Contact ---------- */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-list li {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--muted);
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 56px 24px 40px;
  border-top: 1px solid var(--line);
}
.footer-brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 4px;
}
.footer-tagline {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 24px;
}
.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-legal a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-legal a:hover { color: var(--navy); border-bottom-color: var(--navy); }

.footer-copy {
  font-size: 11.5px;
  color: #a3a9b3;
  margin: 0;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s var(--ease) forwards;
}
.hero .brand    { animation-delay: 0.05s; }
.hero .tagline  { animation-delay: 0.15s; }
.hero h1        { animation-delay: 0.25s; }
.hero .subtitle { animation-delay: 0.38s; }
.hero .body-text{ animation-delay: 0.50s; }
.hero .tag      { animation-delay: 0.62s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.reveal-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-scroll.in-view { opacity: 1; transform: none; }

/* stagger items within the services grid as they come into view */
.grid .item:nth-child(2) { transition-delay: 0.06s; }
.grid .item:nth-child(3) { transition-delay: 0.12s; }
.grid .item:nth-child(4) { transition-delay: 0.18s; }
.grid .item:nth-child(5) { transition-delay: 0.24s; }
.grid .item:nth-child(6) { transition-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-scroll { animation: none; transition: none; opacity: 1; transform: none; }
  .progress span { animation: none; left: 0; width: 100%; opacity: 0.4; }
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .hero { padding: 48px 0 64px; }
  .services, .launch, .contact { padding: 56px 0; }
}

@media (min-width: 900px) {
  main { max-width: 720px; }
}
