:root {
  --grad-accent: linear-gradient(135deg, #06b6d4 0%, #0d9488 100%);
  --shadow-soft: 0 10px 30px rgba(17, 94, 89, 0.08);
  --shadow-accent: 0 14px 34px -12px rgba(13, 148, 136, 0.55);
  --radius-lg: 20px;
  --radius-md: 14px;
}

::selection {
  background: #0d9488;
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #effaf6;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #06b6d4, #0d9488);
  border-radius: 10px;
}

/* Header */
.header .topbar {
  background: linear-gradient(90deg, #0d9488 0%, #06b6d4 100%);
}

.header .cta-btn,
.header .cta-btn:focus {
  background-image: var(--grad-accent);
  box-shadow: 0 10px 22px -10px rgba(6, 182, 212, 0.6);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(13, 148, 136, 0.7);
  background-image: var(--grad-accent);
}

/* Hero */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(120deg, rgba(6, 78, 59, 0.9) 0%, rgba(13, 148, 136, 0.68) 55%, rgba(6, 182, 212, 0.4) 100%);
}

.hero .container {
  z-index: 3;
}

.hero .welcome h2 {
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero .welcome p {
  color: rgba(255, 255, 255, 0.92);
}

.hero .content .why-box {
  background: var(--grad-accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -20px rgba(6, 182, 212, 0.55);
}

.hero .content .why-box .more-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 22px -10px rgba(3, 40, 35, 0.5);
}

.hero .content .why-box .more-btn:hover {
  background: #ffffff;
}

.hero .content .icon-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -18px rgba(3, 40, 35, 0.55);
}

.hero .content .icon-box i {
  color: #7ff3e0;
}

.hero .content .icon-box h4 {
  color: #ffffff;
}

.hero .content .icon-box p {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767px) {
  .hero .welcome h2 {
    font-size: 30px;
  }

  .hero .welcome p {
    font-size: 18px;
  }
}

/* Section Titles */
.section-title h2 {
  font-weight: 700;
}

.section-title h2::after {
  background: var(--grad-accent);
  height: 4px;
  width: 90px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.4);
}

.section-title h2::before {
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.35), transparent);
}

/* Services */
.services .service-item {
  border: 1px solid rgba(13, 148, 136, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.services .service-item .icon {
  background: var(--grad-accent);
  border-radius: 16px;
  box-shadow: 0 12px 24px -10px rgba(13, 148, 136, 0.6);
}

.services .service-item .icon::before {
  background: rgba(6, 182, 212, 0.45);
  border-radius: 18px;
}

.services .service-item:hover {
  background: linear-gradient(160deg, #0f766e 0%, #0d9488 60%, #06b6d4 120%);
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 28px 54px -22px rgba(13, 148, 136, 0.6);
}

.services .service-item:hover .icon {
  background: #ffffff;
}

.services .service-item:hover .icon i {
  color: #0d9488;
}

.services .service-item:hover .icon::before {
  background: rgba(255, 255, 255, 0.4);
}

/* Departments */
.departments .nav-link.active {
  border-width: 3px;
}

.departments .nav-link:hover,
.departments .nav-link.active {
  color: #0d9488;
  border-color: #0d9488;
}

.departments .details h3 {
  font-weight: 700;
}

.departments .details img {
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 992px) {
  .departments .nav-link.active {
    background: var(--grad-accent);
    color: #ffffff;
  }
}

/* Shared feature icon (team / coverage) */
.feature-icon {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.14), rgba(13, 148, 136, 0.18));
  border: 1px solid rgba(13, 148, 136, 0.18);
  margin-right: 18px;
  font-size: 2.1rem;
  color: #0d9488;
  box-shadow: 0 10px 22px -12px rgba(13, 148, 136, 0.5);
}

/* Team */
.team .team-member {
  background: #ffffff;
  border: 1px solid rgba(13, 148, 136, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  height: 100%;
  transition: 0.35s;
}

.team .team-member:hover {
  transform: translateY(-8px);
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 26px 50px -24px rgba(13, 148, 136, 0.5);
}

.team .team-member h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.team .team-member span {
  color: #0d9488;
  font-weight: 600;
  font-size: 0.9rem;
}

.team .team-member p {
  font-size: 0.92rem;
  margin: 8px 0 0;
}

/* About / Administración lists */
.about .content ul i,
.administracion .content ul i {
  background: var(--grad-accent);
  color: #ffffff;
  border-radius: 14px;
  width: 46px;
  height: 46px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px -8px rgba(13, 148, 136, 0.55);
  margin-right: 20px;
}

.about .content img,
.administracion .content img {
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

/* Coverage */
.coverage .coverage-item {
  background: #ffffff;
  border: 1px solid rgba(13, 148, 136, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: 0.3s;
}

.coverage .coverage-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -22px rgba(13, 148, 136, 0.5);
}

.coverage .swiper-slide {
  height: auto;
  padding: 6px;
}

.coverage .swiper-pagination {
  position: relative;
  margin-top: 24px;
}

.coverage .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(13, 148, 136, 0.25);
  opacity: 1;
  transition: 0.3s;
}

.coverage .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--grad-accent);
  width: 28px;
  border-radius: 10px;
}

/* Gallery */
.gallery .gallery-item {
  border-radius: 10px;
  border: 0;
  box-shadow: 0 10px 24px rgba(17, 94, 89, 0.12);
}

.gallery .gallery-item:hover img {
  transform: scale(1.08);
}

/* FAQ */
.faq .faq-container .faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 148, 136, 0.18);
  box-shadow: 0 6px 18px rgba(17, 94, 89, 0.05);
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
}

.faq .faq-container .faq-item .faq-toggle {
  color: #0d9488;
}

.faq .faq-container .faq-active {
  background: linear-gradient(150deg, #0f766e, #0d9488);
}

.faq .faq-container .faq-active .faq-toggle {
  color: #ffffff;
}

/* Contact */
.contact .info-item i {
  background: var(--grad-accent);
  width: 48px;
  height: 48px;
  font-size: 21px;
  box-shadow: 0 12px 24px -10px rgba(13, 148, 136, 0.55);
}

.contact .btn-success {
  background: var(--grad-accent) !important;
  border: 0 !important;
  border-radius: 50px !important;
  padding: 16px 40px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 38px -16px rgba(13, 148, 136, 0.65);
  transition: 0.3s;
}

.contact .btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px -16px rgba(13, 148, 136, 0.75);
}

/* Footer */
.footer {
  border-top: 0;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #06b6d4, #0d9488, #22d3ee);
}

/* Scroll top / preloader */
.scroll-top {
  background-image: var(--grad-accent);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: 0 12px 24px -8px rgba(13, 148, 136, 0.6);
}

.scroll-top:hover {
  transform: translateY(-3px);
}

/* WhatsApp pulse */
a.whatsapp-float {
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.7);
  animation: wa-pulse 2s ease-out infinite;
}

.whatsapp-float i {
  position: relative;
  z-index: 1;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}