/* ============================================
   Meridiano Servicios Técnicos — landing demo
   ============================================ */

:root {
  --accent: #C1712F;

  --navy-900: #0F1B2C;
  --navy-800: #17293F;
  --navy-700: #22394F;

  --ink: #1C2430;
  --ink-soft: #5B6472;
  --ink-faint: #8992A0;

  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --border: #E5E3DD;

  --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(15, 27, 44, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 27, 44, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 27, 44, 0.16);

  --container-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.section { padding: 76px 0; }
.section-head { max-width: 640px; margin: 0 0 44px; }
.section-lead { color: var(--ink-soft); font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(247, 246, 243, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-900);
  line-height: 1.15;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  align-items: stretch;
  padding: 10px 20px 22px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.main-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.main-nav a {
  padding: 12px 4px;
  font-weight: 500;
  color: var(--navy-900);
  border-bottom: 1px solid var(--border);
}
.main-nav a:last-child { border-bottom: none; }
.nav-cta { margin-top: 10px; text-align: center; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  padding: 52px 0 60px;
  background:
    radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 55%),
    var(--bg);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero-copy h1 {
  font-size: clamp(30px, 6vw, 46px);
  max-width: 15ch;
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 34px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-stats li {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--navy-900);
}
.hero-stats span {
  font-size: 13px;
  color: var(--ink-faint);
}
.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ============ TRUST STRIP ============ */
.trust-strip {
  background: var(--navy-900);
  padding: 26px 0;
}
.trust-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.trust-strip p {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  margin: 0;
}
.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-tags span {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 7px 14px;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

/* ============ PROCESS ============ */
.process {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.process-steps { display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
.process-steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.step-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  min-width: 46px;
}
.process-steps h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
.process-steps p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}
.process-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.testimonial-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 28px 26px;
  margin: 0;
}
.stars {
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-card blockquote {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
}
.testimonial-card figcaption {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-card figcaption span {
  font-family: var(--font-body);
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

/* ============ CONTACT ============ */
.contact { padding-bottom: 90px; }
.contact-card {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 44px 26px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.contact-card .eyebrow { color: var(--accent); }
.contact-card h2 { color: #fff; font-size: clamp(24px, 4.5vw, 32px); max-width: 20ch; }
.contact-card p { color: rgba(255,255,255,0.75); max-width: 54ch; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 30px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.contact-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 3px;
}
.contact-details > div span:last-child {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding-top: 50px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 40ch;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact .contact-label { color: rgba(255,255,255,0.45); }
.footer-contact > span:last-of-type {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  font-size: 16px;
}
.footer-contact .btn-ghost {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
  margin-top: 6px;
}
.footer-contact .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0 26px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-disclaimer { font-style: italic; }

/* ============================================
   Tablet+
   ============================================ */
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .hero-actions { gap: 16px; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-links { flex-direction: row; gap: 26px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ============================================
   Desktop
   ============================================ */
@media (min-width: 1024px) {
  .section { padding: 100px 0; }

  .main-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    gap: 34px;
  }
  .main-nav a { border-bottom: none; padding: 6px 0; font-size: 14.5px; }
  .main-nav a:hover { color: var(--accent); }
  .nav-cta { margin-top: 0; }
  .menu-toggle { display: none; }

  .hero { padding: 78px 0 92px; }
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  .hero-copy { flex: 1; max-width: 560px; }
  .hero-media { flex: 1; }

  .trust-strip-inner { flex-direction: row; align-items: center; justify-content: space-between; }

  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }

  .process-inner { flex-direction: row; align-items: center; gap: 70px; }
  .process-copy { flex: 1; }
  .process-media { flex: 1; }

  .contact-card { padding: 60px 70px; }
  .contact-details { flex-direction: row; gap: 50px; }
}

@media (min-width: 1220px) {
  .hero-copy h1 { font-size: 50px; }
}
