/* ══════════════════════════════════════════
   INNER.CSS — Páginas interiores
   Diego Díaz Transporte
══════════════════════════════════════════ */

/* ─── HERO INTERIOR ─── */
.inner-hero {
  background: var(--navy);
  padding: 120px 2rem 70px;
  position: relative;
  overflow: hidden;
}
.inner-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(245,130,31,.08) 0%, transparent 65%);
  pointer-events: none;
}
.inner-hero-content {
  max-width: 1280px; margin: 0 auto; position: relative; z-index: 1;
}
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .78rem; color: rgba(255,255,255,.45);
  margin-bottom: 1.2rem; font-family: 'Montserrat', sans-serif;
  letter-spacing: .04em; text-transform: uppercase;
}
.breadcrumb a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--naranja); }
.breadcrumb span { color: rgba(255,255,255,.3); }
.inner-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; color: #fff; line-height: 1.1;
  margin-bottom: .9rem;
}
.inner-hero h1 em {
  font-style: normal; color: var(--naranja);
}
.inner-hero p {
  color: rgba(255,255,255,.6); font-size: .97rem;
  line-height: 1.75; max-width: 600px;
}

/* ─── LISTA DE SERVICIOS ─── */
.servicios-lista {
  background: var(--gris);
  padding: 80px 0;
}
.servicios-lista-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: flex; flex-direction: column; gap: 0;
}

/* Tarjeta de servicio — imagen izquierda, texto derecha */
.srv-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: var(--radio-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 24px rgba(15,28,46,.07);
  transition: box-shadow .3s;
}
.srv-card:hover { box-shadow: 0 8px 40px rgba(15,28,46,.12); }

/* Versión invertida — imagen derecha */
.srv-card-reverse { direction: rtl; }
.srv-card-reverse .srv-card-img,
.srv-card-reverse .srv-card-body { direction: ltr; }

.srv-card-img {
  position: relative; overflow: hidden; min-height: 340px;
}
.srv-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.srv-card:hover .srv-card-img img { transform: scale(1.04); }

.srv-num {
  position: absolute; top: 1.2rem; left: 1.2rem; z-index: 2;
  background: var(--naranja);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 4px;
}

.srv-card-body {
  padding: 2.8rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
}
.srv-card-body h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800; color: var(--navy);
  margin-bottom: .6rem; line-height: 1.15;
}
.srv-card-line {
  width: 44px; height: 3px; background: var(--naranja); margin-bottom: 1.4rem;
}
.srv-card-body p {
  color: var(--gris-txt); font-size: .9rem; line-height: 1.75;
  margin-bottom: 1rem;
}
.srv-card-body p:last-of-type { margin-bottom: 1.8rem; }

.btn-srv {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--navy); color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .85rem;
  padding: .75rem 1.6rem; border-radius: 6px;
  text-decoration: none; width: fit-content;
  transition: background .2s, transform .15s;
}
.btn-srv:hover { background: var(--navy-mid); transform: translateY(-1px); }

.btn-srv-wa {
  background: #25d366 !important;
}
.btn-srv-wa:hover { background: #1ebe5a !important; }

/* ─── CTA INTERIOR ─── */
.inner-cta {
  background: var(--navy);
  padding: 80px 2rem;
  text-align: center;
}
.inner-cta-inner { max-width: 620px; margin: 0 auto; }
.inner-cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900; color: #fff; line-height: 1.1;
  margin-bottom: .8rem;
}
.inner-cta h2 em { font-style: normal; color: var(--naranja); }
.inner-cta p { color: rgba(255,255,255,.55); font-size: .95rem; margin-bottom: 2rem; }
.inner-cta-btns { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-cta-dark {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--naranja); color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .9rem;
  padding: .8rem 1.8rem; border-radius: 6px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-cta-dark:hover { background: var(--naranja-2); transform: translateY(-1px); }
.btn-cta-wa {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #25d366; color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .9rem;
  padding: .8rem 1.4rem; border-radius: 6px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-cta-wa:hover { background: #1ebe5a; transform: translateY(-1px); }

/* ─── CONTACTO PAGE ─── */
.contacto-page {
  background: var(--gris);
  padding: 80px 0;
}
.contacto-page-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 5rem; align-items: start;
}

/* ─── RESPONSIVE INNER ─── */
@media (max-width: 860px) {
  .inner-hero { padding: 100px 1.5rem 50px; }
  .srv-card { grid-template-columns: 1fr !important; direction: ltr !important; }
  .srv-card-reverse { direction: ltr !important; }
  .srv-card-img { min-height: 220px; }
  .srv-card-body { padding: 1.8rem 1.5rem; }
  .srv-card-body p:last-of-type { margin-bottom: 1.4rem; }
  .contacto-page-inner { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .inner-cta-btns { flex-direction: column; }
}

@media (max-width: 480px) {
  .srv-card-img { min-height: 200px; }
  .srv-card-body { padding: 1.5rem 1.2rem; }
  .inner-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}
