/*--------------------------------------------------------------
# SeriSport Panamá — Hoja de estilos principal
# Paleta tomada del logo: azul marino, naranja tinta y teal.
--------------------------------------------------------------*/
:root {
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Poppins", var(--font-body);

  --navy-950: #0c161e;
  --navy-900: #101d28;
  --navy-800: #162735;
  --navy: #1c3140;          /* azul de la camiseta del logo */
  --navy-700: #24404f;
  --orange: #f0731d;        /* naranja de la tinta del logo */
  --orange-dark: #d55f0d;
  --teal: #2d8b93;          /* gota teal del logo */
  --ink: #2f3e4b;
  --muted: #5d6e7d;
  --line: #e3e9ee;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;

  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
}

a { color: var(--orange); text-decoration: none; transition: color .25s; }
a:hover { color: var(--orange-dark); }

/* Título de sección */
.section { padding: 72px 0; overflow: clip; }
.section-title { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-title .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange);
}
.section-title .eyebrow::before,
.section-title .eyebrow::after {
  content: ""; width: 24px; height: 2px; background: var(--orange); border-radius: 2px;
}
.section-title h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 10px 0 12px; }
.section-title p { color: var(--muted); margin: 0; }

/*--------------------------------------------------------------
# Barra superior + navegación
--------------------------------------------------------------*/
.topbar {
  background: var(--navy-950);
  color: #b9c6d0;
  font-size: 13.5px;
  padding: 7px 0;
}
.topbar a { color: #b9c6d0; }
.topbar a:hover { color: #fff; }
.topbar .bi { color: var(--orange); margin-right: 6px; }
.topbar .sep { margin: 0 14px; opacity: .35; }
.topbar .social a { margin-left: 14px; font-size: 15px; }

.header {
  background: var(--navy);
  transition: box-shadow .3s, background .3s;
}
body.scrolled .header {
  box-shadow: 0 6px 24px rgba(8, 18, 26, .35);
}
.header .navwrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }

.header .logo { display: flex; align-items: center; gap: 12px; }
.header .logo img { max-height: 52px; width: auto; }
.header .logo .sitename {
  font-family: var(--font-heading);
  font-size: 26px; font-weight: 700; color: #fff; margin: 0; line-height: 1.1;
}
.header .logo .sitename span { color: var(--orange); }
.header .logo .tagline {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: 1.8px;
  text-transform: uppercase; color: #8fa3b3;
}

.navmenu ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.navmenu a {
  display: block; padding: 10px 14px;
  font-family: var(--font-heading); font-size: 15px; font-weight: 500;
  color: #cfdae2; border-radius: 8px;
}
.navmenu a:hover, .navmenu a.active { color: #fff; background: rgba(255, 255, 255, .07); }
.navmenu .btn-cta {
  margin-left: 12px;
  background: var(--orange); color: #fff !important; font-weight: 600;
  padding: 10px 20px; border-radius: 50px;
  display: inline-flex; align-items: center; gap: 8px;
}
.navmenu .btn-cta:hover { background: var(--orange-dark); }

.mobile-nav-toggle {
  display: none; color: #fff; background: none; border: 0;
  font-size: 30px; line-height: 1; cursor: pointer;
}

@media (max-width: 1099px) {
  .mobile-nav-toggle { display: block; z-index: 1002; position: relative; }
  .navmenu {
    position: fixed; inset: 0; z-index: 1001;
    background: rgba(12, 22, 30, .97);
    padding: 110px 28px 40px;
    visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
  }
  body.mobile-nav-active .navmenu { visibility: visible; opacity: 1; }
  body.mobile-nav-active { overflow: hidden; }
  .navmenu ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .navmenu a { font-size: 18px; padding: 14px 16px; }
  .navmenu .btn-cta { margin: 18px 16px 0; justify-content: center; }
}

/*--------------------------------------------------------------
# Héroe
--------------------------------------------------------------*/
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%);
  color: #fff;
  padding: 96px 0 140px;
  overflow: hidden;
}
/* trama de puntos, guiño a la serigrafía */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(115deg, rgba(0,0,0,.9), transparent 60%);
  -webkit-mask-image: linear-gradient(115deg, rgba(0,0,0,.9), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; right: -180px; top: -180px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 115, 29, .28), transparent 65%);
  pointer-events: none;
}

.hero .eyebrow {
  display: inline-block;
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--orange);
  background: rgba(240, 115, 29, .12);
  border: 1px solid rgba(240, 115, 29, .4);
  padding: 7px 16px; border-radius: 50px; margin-bottom: 22px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 700; line-height: 1.15; margin-bottom: 20px;
}
.hero h1 span { color: var(--orange); }
.hero .lead-text { color: #b9c6d0; font-size: 17px; max-width: 540px; margin-bottom: 34px; }

.btn-primary-cta, .btn-ghost-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 600; font-size: 15.5px;
  padding: 14px 30px; border-radius: 50px; transition: all .25s;
}
.btn-primary-cta { background: var(--orange); color: #fff; box-shadow: 0 10px 26px rgba(240, 115, 29, .35); }
.btn-primary-cta:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost-cta { border: 2px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-cta:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

/* Composición de fotos del héroe */
.hero-media { position: relative; }
.hero-media .photo-main {
  width: 100%; border-radius: 18px;
  box-shadow: 0 30px 60px rgba(5, 12, 18, .5);
  object-fit: cover; aspect-ratio: 4 / 3;
}
.hero-media .photo-float {
  position: absolute; left: -46px; bottom: -40px;
  width: 44%; border-radius: 14px;
  border: 5px solid var(--navy-700);
  box-shadow: 0 20px 40px rgba(5, 12, 18, .55);
  object-fit: cover; aspect-ratio: 1 / 1;
}
.hero-media .badge-years {
  position: absolute; top: -26px; right: -14px;
  background: var(--orange); color: #fff;
  border-radius: 16px; padding: 14px 20px; text-align: center;
  box-shadow: 0 14px 30px rgba(240, 115, 29, .45);
}
.hero-media .badge-years strong { display: block; font-family: var(--font-heading); font-size: 26px; line-height: 1; }
.hero-media .badge-years small { font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase; }

@media (max-width: 991px) {
  .hero { padding: 64px 0 120px; }
  .hero-media { margin-top: 48px; }
  .hero-media .photo-float { left: -8px; }
}

/* Tarjetas destacadas solapadas al héroe */
.featured { margin-top: -72px; position: relative; z-index: 5; }
.featured-item {
  background: #fff; border-radius: 16px;
  padding: 30px 26px; height: 100%;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 29, 40, .08);
  transition: transform .25s, box-shadow .25s;
}
.featured-item:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(16, 29, 40, .13); }
.featured-item .icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange), #f79a4d);
  color: #fff; font-size: 24px; margin-bottom: 18px;
}
.featured-item h4 { font-size: 19px; margin-bottom: 10px; }
.featured-item p { color: var(--muted); font-size: 14.5px; margin: 0; }

/*--------------------------------------------------------------
# Servicios
--------------------------------------------------------------*/
.services { background: var(--bg-soft); }
.service-card {
  background: #fff; border-radius: 16px; height: 100%;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-top: 4px solid transparent;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--orange);
  box-shadow: 0 22px 44px rgba(16, 29, 40, .10);
}
.service-card .icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240, 115, 29, .1);
  color: var(--orange); font-size: 27px; margin-bottom: 20px;
  transition: background .25s, color .25s;
}
.service-card:hover .icon { background: var(--orange); color: #fff; }
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-card .tags span {
  font-size: 12px; font-weight: 600; color: var(--navy-700);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 50px;
}

/*--------------------------------------------------------------
# Proceso
--------------------------------------------------------------*/
.step-item { text-align: center; padding: 0 10px; position: relative; }
.step-item .num {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: var(--font-heading); font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.step-item .num::after {
  content: ""; position: absolute; inset: -7px;
  border: 2px dashed rgba(240, 115, 29, .5); border-radius: 50%;
}
.step-item h4 { font-size: 18px; margin-bottom: 8px; }
.step-item p { color: var(--muted); font-size: 14px; margin: 0; }

/*--------------------------------------------------------------
# Nosotros
--------------------------------------------------------------*/
.about { background: var(--bg-soft); }
.about .content h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }
.about .content > p { color: var(--muted); margin-bottom: 22px; }
.about .check-list { list-style: none; padding: 0; margin: 0 0 30px; }
.about .check-list li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15.5px; }
.about .check-list .bi { color: var(--orange); font-size: 20px; line-height: 1.4; }
.about .check-list strong { color: var(--navy); }

.about-media { position: relative; }
.about-media img.main {
  width: 100%; border-radius: 18px; object-fit: cover; aspect-ratio: 4 / 3;
  box-shadow: 0 24px 48px rgba(16, 29, 40, .16);
}
.about-media img.overlay {
  position: absolute; right: -18px; bottom: -34px;
  width: 46%; border-radius: 14px; object-fit: cover; aspect-ratio: 4 / 3;
  border: 6px solid #fff;
  box-shadow: 0 18px 36px rgba(16, 29, 40, .22);
}
@media (max-width: 991px) {
  .about-media { margin-bottom: 56px; }
  .about-media img.overlay { right: 0; }
}

.stat-box { text-align: center; padding: 22px 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.stat-box .value { font-family: var(--font-heading); font-size: 30px; font-weight: 700; color: var(--orange); line-height: 1; }
.stat-box .label { font-size: 12.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/*--------------------------------------------------------------
# Galería
--------------------------------------------------------------*/
.gallery-item {
  position: relative; display: block; overflow: hidden; border-radius: 14px;
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .caption {
  position: absolute; inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(12, 22, 30, .85));
  color: #fff; font-family: var(--font-heading); font-size: 14.5px; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateY(8px); transition: all .3s ease;
}
.gallery-item:hover .caption { opacity: 1; transform: translateY(0); }
.gallery-item .caption .bi { color: var(--orange); }

/*--------------------------------------------------------------
# Clientes
--------------------------------------------------------------*/
.clients { background: var(--bg-soft); }
.clients .swiper-slide img {
  max-height: 68px; width: auto; margin: 0 auto;
  filter: grayscale(1); opacity: .55; transition: all .3s;
}
.clients .swiper-slide img:hover { filter: none; opacity: 1; }
.clients .swiper-pagination { position: static; margin-top: 24px; }
.clients .swiper-pagination-bullet { background: var(--navy); }
.clients .swiper-pagination-bullet-active { background: var(--orange); }

/*--------------------------------------------------------------
# Franja CTA
--------------------------------------------------------------*/
.cta-strip {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; border-radius: 22px;
  padding: 46px 40px;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.cta-strip h3 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; position: relative; }
.cta-strip p { color: #b9c6d0; margin: 0; position: relative; }
.cta-strip .btn-primary-cta { position: relative; white-space: nowrap; }

/*--------------------------------------------------------------
# Contacto
--------------------------------------------------------------*/
.info-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; height: 100%;
  transition: box-shadow .25s, transform .25s;
}
.info-card:hover { box-shadow: 0 16px 34px rgba(16, 29, 40, .1); transform: translateY(-3px); }
.info-card .icon {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240, 115, 29, .1); color: var(--orange); font-size: 24px;
}
.info-card h4 { font-size: 17px; margin-bottom: 6px; }
.info-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.info-card a { font-weight: 600; }

.map-frame {
  border: 0; width: 100%; height: 100%; min-height: 420px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(16, 29, 40, .12);
}

/*--------------------------------------------------------------
# Pie de página
--------------------------------------------------------------*/
.footer {
  background: var(--navy-950); color: #9fb2c0;
  font-size: 14.5px; padding: 64px 0 0;
}
.footer h4 {
  color: #fff; font-size: 16px; margin-bottom: 18px;
  padding-bottom: 10px; position: relative;
}
.footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 28px; height: 3px; background: var(--orange); border-radius: 3px;
}
.footer .sitename { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: #fff; }
.footer .sitename span { color: var(--orange); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #9fb2c0; }
.footer ul a:hover { color: var(--orange); }
.footer .bi { color: var(--orange); margin-right: 8px; }
.footer .social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); color: #cfdae2;
  margin-right: 10px; font-size: 16px; transition: all .25s;
}
.footer .social-links a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 48px; padding: 22px 0; text-align: center; font-size: 13.5px;
}

/*--------------------------------------------------------------
# Botones flotantes
--------------------------------------------------------------*/
.scroll-top {
  position: fixed; right: 18px; bottom: 92px; z-index: 995;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: #fff; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0; transition: all .3s;
}
.scroll-top.active { visibility: visible; opacity: 1; }
.scroll-top:hover { background: var(--orange); color: #fff; }

.whatsapp-btn {
  position: fixed; right: 14px; bottom: 24px; z-index: 996;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
  animation: ws-pulse 2.4s infinite;
}
.whatsapp-btn:hover { background: #1ebe5b; color: #fff; transform: scale(1.06); }
@keyframes ws-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
