/* =============================================
   SSC México and Latam — Estilo Moderno v2
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@600;700&display=swap');

/* ── Variables ── */
:root {
  --blue-dark:    #071c4a;
  --blue-mid:     #1246a8;
  --blue-light:   #e8efff;
  --orange:       #f79215;
  --orange-dark:  #d97a0a;
  --white:        #ffffff;
  --bg:           #f7f9fc;
  --text:         #1a1a2e;
  --muted:        #6b7280;
  --border:       #e5eaf2;
  --shadow:       0 4px 24px rgba(10,45,110,0.10);
  --shadow-lg:    0 8px 40px rgba(10,45,110,0.16);
  --radius:       14px;
  --radius-lg:    20px;
  --t:            0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
}

/* ── Topbar ── */
.topbar {
  background: var(--blue-dark) !important;
  padding: 8px 0 !important;
}
.topbar .contact-info a,
.topbar .contact-info span { color: rgba(255,255,255,.8) !important; text-decoration: none; transition: color var(--t); }
.topbar .contact-info a:hover { color: var(--orange) !important; }
.topbar .contact-info i { color: var(--orange); }
.topbar .social-links a {
  color: rgba(255,255,255,.65) !important;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: all var(--t);
  font-size: 13px;
}
.topbar .social-links a:hover { background: var(--orange); color: #fff !important; }

/* ── Header ── */
.header {
  background: var(--white) !important;
  box-shadow: 0 2px 20px rgba(10,45,110,0.08) !important;
}
.header .branding { padding: 12px 0; }
.header .logo img { height: 70px; }

/* ── Navbar ── */
.navmenu a {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  color: var(--text) !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: all var(--t);
}
.navmenu a:hover, .navmenu .active {
  color: var(--blue-mid) !important;
  background: var(--blue-light) !important;
}
.navmenu li:last-child a {
  background: var(--orange) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  border-radius: 24px !important;
}
.navmenu li:last-child a:hover { background: var(--orange-dark) !important; transform: translateY(-1px); }

/* ── Hero — neutralizar estilos del carousel en main.css ── */
#hero { position: relative; overflow: hidden; padding: 0 !important; }
#hero .carousel,
#hero img { position: static !important; min-height: unset !important; }
#hero .carousel-item::before { display: none !important; }

/* Eliminar barras negras/de color del contenedor */
#hero .container {
  background: transparent !important;
  border-top: none !important;
  border-bottom: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Hero con imagen de fondo */
#hero .hero-inner {
  position: relative;
  padding: 100px 0 80px;
  background-image: url('../img/ssc/carousel/carousel_2.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
#hero .hero-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(7, 28, 74, 0.90) 0%,
    rgba(7, 28, 74, 0.78) 55%,
    rgba(18, 70, 168, 0.50) 100%
  );
  pointer-events: none;
  z-index: 1;
}
#hero .hero-inner .container { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  background: rgba(247,146,21,.18);
  color: var(--orange);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 20px;
  border: 1px solid rgba(247,146,21,.3);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 20px;
}
#hero h1 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
#hero h1 span { color: var(--orange); }
#hero p {
  color: rgba(255,255,255,.8);
  font-size: .97rem; line-height: 1.75;
  max-width: 500px; margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-get-started {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: 15px;
  padding: 14px 34px; border-radius: 50px;
  text-decoration: none !important;
  transition: all var(--t);
  box-shadow: 0 6px 24px rgba(247,146,21,.4);
}
.btn-get-started:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(247,146,21,.5); }
.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500; font-size: 15px;
  padding: 13px 34px; border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.4);
  text-decoration: none !important;
  transition: all var(--t);
}
.btn-outline-white:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); }

/* ── Stats bar ── */
.stats-bar {
  background: var(--orange);
  padding: 28px 0;
}
.stats-bar .stat-item { text-align: center; }
.stats-bar .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700;
  color: #fff; display: block; line-height: 1;
}
.stats-bar .stat-label {
  color: rgba(255,255,255,.85);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .06em;
  margin-top: 6px; display: block;
}

/* ── Section label ── */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 10px;
}
.section-eyebrow::before {
  content: ''; width: 20px; height: 2px;
  background: var(--orange); border-radius: 2px;
}

/* ── Section titles ── */
.section-title-modern h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.section-title-modern p {
  color: var(--muted); font-size: 1rem; line-height: 1.8;
  max-width: 680px;
}

/* ── Mission/Vision cards ── */
.mv-card {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0f3280 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  height: 100%;
  transition: transform var(--t);
}
.mv-card:hover { transform: translateY(-4px); }
.mv-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(247,146,21,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.mv-icon-wrap i { color: var(--orange); font-size: 24px; }
.mv-card h3 { color: var(--orange); font-size: 1.4rem; margin-bottom: 12px; }
.mv-card p { color: rgba(255,255,255,.8); font-size: .97rem; line-height: 1.75; margin: 0; }

/* ── Help cards ── */
.help-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--t);
  height: 100%;
}
.help-card:hover { border-color: var(--orange); transform: translateX(4px); }
.help-icon {
  width: 46px; height: 46px; min-width: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 21px;
  box-shadow: 0 4px 14px rgba(247,146,21,.3);
}
.help-card h5 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: 1rem;
  color: var(--text); margin: 0; line-height: 1.5;
}

/* ── Service cards ── */
.service-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  height: 100%;
  transition: all var(--t);
  box-shadow: var(--shadow);
  text-align: center;
}
.service-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.svc-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: transform var(--t);
}
.service-item:hover .svc-icon { transform: scale(1.08); }
.svc-icon i { color: var(--blue-mid); font-size: 26px; }
.service-item img { margin-bottom: 16px; transition: transform var(--t); }
.service-item:hover img { transform: scale(1.04); }
.service-item h3 { font-size: 1.15rem; color: var(--blue-dark); margin-bottom: 10px; }
.service-item h5 { font-size: .97rem; color: var(--blue-dark); font-family: 'DM Sans', sans-serif; font-weight: 600; margin: 0; }
.service-item p { font-size: .93rem; color: var(--muted); line-height: 1.7; margin: 0; }
.service-item ul { font-size: .93rem; color: var(--muted); line-height: 1.7; margin: 0; padding-left: 18px; text-align: left; }
.service-item ul li { margin-bottom: 5px; }
.service-item a.stretched-link { text-decoration: none; }

/* ── Call to Action ── */
.call-to-action {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0f3280 100%) !important;
  border-top: none;
  border-bottom: none;
}
.call-to-action h3 { font-size: 2rem; color: #ffffff !important; margin-bottom: 14px; }
.call-to-action p { color: rgba(255,255,255,.80); font-size: 1rem; line-height: 1.8; margin: 0; }
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 15px;
  padding: 16px 40px; border-radius: 50px;
  text-decoration: none !important;
  transition: all var(--t);
  box-shadow: 0 6px 24px rgba(247,146,21,.4);
  letter-spacing: .02em;
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(247,146,21,.55); }

/* ── Page title banner ── */
.page-title {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%) !important;
  padding: 38px 0 !important;
}
.page-title h1 { color: #fff; font-size: 2rem; }
.breadcrumbs ol { margin: 0; }
.breadcrumbs a { color: rgba(255,255,255,.75) !important; text-decoration: none; }
.breadcrumbs .current { color: var(--orange); }
.breadcrumbs li + li::before { content: '›'; color: rgba(255,255,255,.4); padding: 0 8px; }

/* ── Footer ── */
.footer,
.footer .footer-top,
.footer .copyright {
  background: #040e26 !important;
  background-color: #040e26 !important;
}
.footer { color: rgba(255,255,255,.75) !important; }
.footer .sitename {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; color: var(--orange) !important; font-weight: 700;
}
.footer .footer-contact p { color: rgba(255,255,255,.70); font-size: 14px; margin-bottom: 5px; }
.footer .footer-about p { color: rgba(255,255,255,.70) !important; }
.footer h4 {
  color: #fff !important;
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 18px; position: relative; padding-bottom: 12px;
}
.footer h4::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 28px; height: 2px; background: var(--orange); border-radius: 2px;
}
.footer .footer-links ul { list-style: none; padding: 0; }
.footer .footer-links li { margin-bottom: 10px; }
.footer .footer-links a,
.footer .footer-links ul a {
  color: rgba(255,255,255,.65) !important;
  font-size: 14px; text-decoration: none;
  transition: all var(--t);
  display: inline-flex; align-items: center; gap: 6px;
}
.footer .footer-links a::before,
.footer .footer-links ul a::before { content: '›'; color: var(--orange); font-size: 16px; font-weight: 700; }
.footer .footer-links a:hover,
.footer .footer-links ul a:hover { color: var(--orange) !important; padding-left: 4px; }
.footer .copyright {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  color: rgba(255,255,255,.50) !important;
  font-size: 13px;
}
.footer .copyright p { color: rgba(255,255,255,.50) !important; }
.footer .copyright a { color: var(--orange); text-decoration: none; }
.footer .social-links a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.75) !important;
  transition: all var(--t); font-size: 15px;
}
.footer .social-links a:hover { background: var(--orange); color: #fff !important; transform: translateY(-2px); }

/* ── Contacto ── */
.contact .info {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  height: 100%;
  border: 1px solid var(--border);
}
.contact .info h3 { font-size: 1.4rem; color: var(--blue-dark); margin-bottom: 10px; }
.contact .info > p { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.contact .info-item {
  background: var(--bg); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 14px;
  display: flex; gap: 14px;
  border: 1px solid var(--border);
}
.contact .info-item i { color: var(--orange); font-size: 22px; margin-top: 2px; }
.contact .info-item h4 {
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px;
}
.contact .info-item p { color: var(--text); font-size: .95rem; margin: 0; }

/* ── Form ── */
.php-email-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.php-email-form .form-group { margin-bottom: 18px; }
.php-email-form .form-control {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: var(--text);
  background: var(--bg);
  transition: all var(--t); box-shadow: none;
}
.php-email-form .form-control:focus {
  border-color: var(--blue-mid);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(18,70,168,.1);
  outline: none;
}
.php-email-form textarea.form-control { min-height: 130px; resize: vertical; }
.php-email-form .btn-dark {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid)) !important;
  border: none !important; border-radius: 50px !important;
  padding: 13px 40px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important; font-size: 15px !important;
  letter-spacing: .02em;
  transition: all var(--t) !important;
  box-shadow: 0 4px 16px rgba(10,45,110,.25) !important;
}
.php-email-form .btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,45,110,.35) !important; }

/* ── Map ── */
.contact .mb-5 iframe { border-radius: var(--radius-lg); border: none; box-shadow: var(--shadow); }

/* ── Scroll top & WhatsApp ── */
#scroll-top { background: var(--blue-dark) !important; border-radius: 50% !important; box-shadow: var(--shadow) !important; }
#scroll-top:hover { background: var(--orange) !important; }
.float-wa {
  position: fixed; width: 58px; height: 58px;
  bottom: 34px; right: 34px;
  background: #25d366; color: #fff;
  border-radius: 50%; text-align: center; font-size: 28px;
  z-index: 1000;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t); text-decoration: none;
}
.float-wa:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 10px 30px rgba(37,211,102,.55); color: #fff; }

/* ── Utilities ── */
.none { display: none !important; }
.section { padding: 80px 0; }
.bg-white { background: var(--white) !important; }
.bg-light-blue { background: var(--bg) !important; }

.callout { border-radius: var(--radius); border-left: 4px solid #ebebeb; margin-bottom: 1rem; padding: 1rem; margin-top: 10px; }
.callout.callout-errors { background: #fff; border-left-color: #cf1a1a; }
.callout.callout-errors .title { font-size: 14px; font-weight: bold; color: #000; }
.callout.callout-errors > ul > li { font-size: 13px; color: #991515; }

.hero-side-img {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* ── Diagrama de servicios ── */
.svc-diagram-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.svc-diagram-img {
  width: 100%;
  height: auto;
  display: block;
}
.svc-map-link {
  position: absolute;
  display: block;
  cursor: pointer;
  border-radius: 6px;
  transition: background var(--t);
  text-decoration: none;
}
.svc-map-link:hover {
  background: rgba(247, 146, 21, 0.18);
  outline: 2px solid rgba(247, 146, 21, 0.5);
  border-radius: 8px;
}

@media (max-width: 768px) {
  #hero .hero-inner { padding: 70px 0 60px; }
  .stats-bar { padding: 20px 0; }
  .float-wa { bottom: 20px; right: 20px; }
}
