/* ═══════════════════════════════════════
   servicios.css · Roch's
   Paleta: #07072B · #183672 · #09AA93 · #fff
   ═══════════════════════════════════════ */

/* ── Variables & Reset ── */
:root {
  --navy:   #07072B;
  --navy2:  #183672;
  --teal:   #09AA93;
  --teal2:  #0F6C80;
  --ice:    #A8D7E8;
  --bg:     #F6F8FB;
  --white:  #ffffff;
  --ink:    #0E1720;
  --muted:  rgba(14,23,32,.58);
  --card-shadow: 0 14px 32px rgba(0,0,0,.09);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Arial', sans-serif;
  background: var(--bg);
  color: var(--ink);
}

/* ── NAV (igual al home) ── */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1% 1%;
  background-color: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .logo img { height: 50px; width: auto; margin-left: 60%; }
nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
nav ul li { margin: 0 15px; }
nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  padding: 7px 2px;
  border-radius: 5px;
  transition: background-color .3s, color .3s;
}
nav ul li a:hover { background-color: #66B2FF; color: #003366; }
.nav-active { border-bottom: 2px solid var(--teal); }

.menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1100;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #13508b;
    position: absolute;
    top: 60px; left: 0;
    width: 100%;
    padding: 10px 0;
  }
  nav ul.active { display: flex; }
  nav ul li { margin: 10px 0; }
}

/* ── HERO ── */
.svc-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, var(--teal2) 100%);
  padding: 80px 24px 100px;
  overflow: hidden;
  text-align: left;
}

.svc-hero__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(9,170,147,.18) 0%, transparent 65%);
  pointer-events: none;
}

.svc-hero__content {
  position: relative;
  max-width: 680px;
  margin: 0 auto 0 8%;
}

.svc-hero__tag {
  display: inline-block;
  background: rgba(9,170,147,.2);
  border: 1px solid rgba(9,170,147,.4);
  color: var(--ice);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.svc-hero__title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.05;
  color: #F2F7FF;
  margin-bottom: 16px;
}

.svc-hero__accent { color: var(--ice); }

.svc-hero__sub {
  font-size: 17px;
  color: rgba(242,247,255,.75);
  max-width: 480px;
}

.svc-hero__wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%;
  line-height: 0;
}
.svc-hero__wave svg { width: 100%; height: 60px; }

@media (max-width: 768px) {
  .svc-hero { padding: 60px 20px 90px; text-align: left; }
  .svc-hero__content { margin: 0; }
  .svc-hero__title { font-size: 34px; }
}

/* ── CARDS DE SERVICIOS ── */
.svc-cards {
  background: var(--bg);
  padding: 60px 0 70px;
}

.svc-cards__container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.svc-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease, border-top-color .2s ease;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0,0,0,.13);
  border-top-color: var(--teal);
}

.svc-card__icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #F0FAFA;
  border: 1px solid rgba(9,170,147,.15);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.svc-card__title {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 3%;
}

.svc-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 3%;
}

.svc-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.svc-card__list li {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.svc-card__btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  border: none;
  transition: background .15s, transform .15s;
  align-self: flex-start;
}

.svc-card__btn:hover {
  background: var(--teal2);
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .svc-cards__container { grid-template-columns: 1fr; }
}

/* ── SECCIÓN HEAD (compartido) ── */
.svc-section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.svc-section-head__line {
  flex: 1;
  max-width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(9,170,147,.4), transparent);
  border-radius: 999px;
}

.svc-section-head__title {
  font-size: 34px;
  font-weight: 900;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
}

.svc-section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}

/* ── PROCESO ── */
.svc-process {
  background: var(--white);
  padding: 70px 24px;
}

.svc-process__container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.svc-process__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.svc-step {
  flex: 1;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}

.svc-step__num {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 10px;
}

.svc-step__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #F0FAFA, #e0f5f5);
  border: 1px solid rgba(9,170,147,.2);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(9,170,147,.12);
}

.svc-step__title {
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}

.svc-step__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.svc-step__arrow {
  font-size: 22px;
  color: var(--teal);
  opacity: .5;
  padding-top: 28px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .svc-process__steps { flex-direction: column; align-items: center; gap: 28px; }
  .svc-step__arrow { transform: rotate(90deg); padding-top: 0; }
  .svc-section-head__title { font-size: 26px; white-space: normal; text-align: center; }
}

/* ── FAQ ── */
.svc-faq {
  background: var(--bg);
  padding: 70px 24px;
}

.svc-faq__container {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
}

.svc-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s;
}

.faq-item[open] {
  box-shadow: 0 8px 24px rgba(9,170,147,.1);
  border-color: rgba(9,170,147,.25);
}

.faq-item__q {
  cursor: pointer;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.faq-item__q::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-item[open] .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__a {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── CTA FINAL ── */
.svc-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 50%, var(--teal2) 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.svc-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(9,170,147,.25) 0%, transparent 60%);
  pointer-events: none;
}

.svc-cta__container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.svc-cta__title {
  font-size: 36px;
  font-weight: 900;
  color: #F2F7FF;
  margin-bottom: 14px;
  line-height: 1.15;
}

.svc-cta__sub {
  font-size: 16px;
  color: rgba(242,247,255,.72);
  margin-bottom: 32px;
}

.svc-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  border-radius: 14px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  transition: background .15s, transform .15s;
}

.svc-cta__btn:hover {
  background: #07c4aa;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .svc-cta__title { font-size: 26px; }
}

/* ── FOOTER (igual al home) ── */
#footer {
  background-color: var(--navy);
  color: #f1f1f1;
  padding: 50px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.footer-container { max-width: 1140px; margin: 0 auto; padding: 0 15px; text-align: center; }
#footer h2 { font-size: 25px; margin-bottom: 25px; color: #fff; margin-top: -1%; }
.social-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; }
.social-links a img { width: 45px; height: 45px; transition: transform .3s; }
.social-links a img:hover { transform: scale(1.15); }
.footer-copy { font-size: 14px; color: #fff; margin-top: 20px; margin-bottom: -1%; }

@media (max-width: 600px) {
  #footer { padding: 30px 15px; }
  #footer h2 { font-size: 20px; }
  .social-links { gap: 15px; margin-bottom: 5%; }
  .social-links a img { width: 40px; height: 40px; }
  .footer-copy { font-size: 12px; margin-bottom: 10%; }
}

section header { background: transparent; }