/* ============================================================
   child.css — Gundisalvo Logística Farmacéutica
   Custom styles layered on top of Porto theme
   ============================================================ */

/* ─── CSS Custom Properties ──────────────────────────────── */
:root {
  --gnd-primary: #e69539;
  --gnd-primary-dark: #c87d28;
  --gnd-secondary: #f4ba43;
  --gnd-accent: #3a7d8d;
  --gnd-accent-dark: #2d6271;
  --gnd-dark: #0f1923;
  --gnd-dark-2: #1a2735;
  --gnd-text: #3d4d5e;
  --gnd-text-light: #6b7c8d;
  --gnd-light: #f8f9fa;
  --gnd-border: rgba(255, 255, 255, 0.15);
  --gnd-glass: rgba(15, 25, 35, 0.55);
  --gnd-radius: 12px;
  --gnd-radius-lg: 20px;
  --gnd-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --gnd-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.2);
  --gnd-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ─── Utilities ─────────────────────────────────────────── */
.gnd-glass-blur {
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
}

/* ─── Global ─────────────────────────────────────────────── */
.gundisalvo-body {
  font-family: "Montserrat", sans-serif;
  color: var(--gnd-text);
  -webkit-font-smoothing: antialiased;
}

/* ─── HEADER ─────────────────────────────────────────────── */
.gnd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--gnd-transition);
}

/* Override Porto theme: el header no debe ocupar espacio en el flujo.
   El plugin JS fija el height via inline style → necesitamos !important en height.
   El tema define position:relative via ID → necesitamos !important en position. */
#header {
  position: fixed !important;
  height: 0 !important;
  min-height: 0 !important;
}

#header .header-body {
  position: fixed !important;
  top: 0;
  width: 100%;
}

.gnd-header-body {
  background: rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: none !important;
  transition: var(--gnd-transition);
}

.gnd-header.gnd-header-scrolled .gnd-header-body {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* Logo: siempre se muestra logo-white, logo-sticky oculto */
.gnd-logo-sticky {
  display: none;
}

/* Fix Porto theme: image-rendering y transform causan dientes de sierra en navegadores modernos */
#header .header-logo img {
  image-rendering: auto;
  transform: none;
}

/* Nav links */
.gnd-nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem !important;
  border-radius: 6px;
  transition: var(--gnd-transition) !important;
  position: relative;
}

.gnd-nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gnd-primary);
  border-radius: 2px;
  transition: var(--gnd-transition);
  transform: translateX(-50%);
}
.gnd-nav-link:hover::after,
.gnd-nav-link.active::after {
  width: 60%;
}

.gnd-nav-link:hover,
.gnd-nav-link.active {
  color: #fff !important;
  background: rgba(230, 149, 57, 0.15) !important;
}

/* Mobile toggle */
.header-btn-collapse-nav {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 8px !important;
  padding: 0.45rem 0.75rem !important;
  font-size: 1.35rem !important;
  line-height: 1;
  background: transparent !important;
}
.header-btn-collapse-nav:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

/* Mobile nav */
@media (max-width: 991px) {
  .header-nav-main nav {
    border-top: 1px solid var(--gnd-border);
    padding: 1rem 0;
  }
  .gnd-nav-link {
    display: block;
    padding: 0.65rem 1.5rem !important;
  }
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.gnd-btn-primary {
  background: linear-gradient(135deg, var(--gnd-primary), var(--gnd-secondary));
  color: #fff !important;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 18px rgba(230, 149, 57, 0.35);
  transition: var(--gnd-transition);
}
.gnd-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(230, 149, 57, 0.55);
  color: #fff !important;
  filter: brightness(1.08);
}

.gnd-btn-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--gnd-transition);
}
.gnd-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.gnd-btn-success {
  background: #28a745 !important;
  box-shadow: 0 4px 18px rgba(40, 167, 69, 0.4) !important;
}

/* ─── HERO ───────────────────────────────────────────────── */
.gnd-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.gnd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gnd-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenBurnsHero 22s ease-in-out infinite alternate;
}

@keyframes kenBurnsHero {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.06);
  }
}

.gnd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(10, 20, 30, 0.88) 0%,
    rgba(10, 20, 30, 0.65) 55%,
    rgba(10, 20, 30, 0.35) 100%
  );
}

.gnd-hero-content {
  position: relative;
  z-index: 1;
}

/* Badge */
.gnd-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(230, 149, 57, 0.2);
  color: var(--gnd-secondary);
  border: 1px solid rgba(230, 149, 57, 0.4);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

/* Hero title */
.gnd-hero-title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1.3rem;
}

.gnd-text-accent {
  color: var(--gnd-primary);
}

.gnd-hero-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
}

/* Hero stats cards */
.gnd-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gnd-stat-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(15, 25, 35, 0.6);
  backdrop-filter: blur(14px);
  border: 1px solid var(--gnd-border);
  border-radius: var(--gnd-radius);
  padding: 1.1rem 1.5rem;
  transition: var(--gnd-transition);
  animation: slideInRight 0.6s ease both;
}

.gnd-stat-card:nth-child(2) {
  animation-delay: 0.1s;
}
.gnd-stat-card:nth-child(3) {
  animation-delay: 0.2s;
}
.gnd-stat-card:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.gnd-stat-card:hover {
  border-color: var(--gnd-primary);
  background: rgba(230, 149, 57, 0.12);
  transform: translateX(-4px);
}

.gnd-stat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gnd-primary), var(--gnd-secondary));
  border-radius: 10px;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.gnd-stat-info {
  display: flex;
  flex-direction: column;
}

.gnd-stat-number {
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.2;
}

.gnd-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  line-height: 1.3;
}

/* Scroll indicator */
.gnd-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.gnd-scroll-indicator a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  animation: bounce 2.2s infinite;
}

.gnd-scroll-indicator a span {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gnd-primary);
  border-radius: 50%;
  animation: scrollDot 2.2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(-8px);
  }
  80% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 0;
  }
}

/* ─── STRIP ──────────────────────────────────────────────── */
.gnd-strip {
  background: linear-gradient(
    135deg,
    var(--gnd-accent) 0%,
    var(--gnd-dark-2) 100%
  );
  padding: 0;
  position: relative;
  z-index: 2;
}

.gnd-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.6rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--gnd-transition);
}
.gnd-strip-item:last-child {
  border-right: none;
}

.gnd-strip-item:hover {
  background: rgba(230, 149, 57, 0.06);
}

.gnd-strip-icon {
  font-size: 1.8rem;
  color: var(--gnd-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.gnd-strip-item strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.gnd-strip-item p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .gnd-strip-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .gnd-strip-item:last-child {
    border-bottom: none;
  }
}

/* ─── SECTION COMMONS ────────────────────────────────────── */
.gnd-section {
  background: #fff;
}

.gnd-section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gnd-primary);
  background: rgba(230, 149, 57, 0.1);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  margin-bottom: 0.9rem;
}
.gnd-tag-light {
  color: var(--gnd-secondary) !important;
  background: rgba(244, 186, 67, 0.12) !important;
}

.gnd-section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--gnd-dark);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.gnd-section-subtitle {
  color: var(--gnd-text-light);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
}

.gnd-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gnd-primary), var(--gnd-secondary));
  border-radius: 3px;
  margin: 0.9rem auto 1.2rem;
}

.gnd-divider-light {
  width: 56px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  margin: 0.9rem 0 1.2rem;
}

.gnd-subsection-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gnd-dark);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
}
.gnd-subsection-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--gnd-primary);
  border-radius: 3px;
}

/* ─── NOSOTROS ───────────────────────────────────────────── */
.gnd-philosophy-card {
  background: linear-gradient(
    135deg,
    var(--gnd-dark) 0%,
    var(--gnd-dark-2) 100%
  );
  color: #fff;
  border-radius: var(--gnd-radius-lg);
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--gnd-shadow-lg);
}

.gnd-philosophy-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(230, 149, 57, 0.2), transparent 70%);
  border-radius: 50%;
}

.gnd-philosophy-icon {
  font-size: 2.5rem;
  color: var(--gnd-primary);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.gnd-philosophy-text {
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.gnd-philosophy-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gnd-primary);
}

/* Mission / Vision cards */
.gnd-mvision-card {
  background: var(--gnd-light);
  border-radius: var(--gnd-radius);
  padding: 2rem;
  height: 100%;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--gnd-primary), var(--gnd-secondary))
    1;
  border-image-slice: 1;
  border-top-left-radius: var(--gnd-radius);
  border-top-right-radius: var(--gnd-radius);
  box-shadow: var(--gnd-shadow);
  transition: var(--gnd-transition);
}

.gnd-mvision-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gnd-shadow-lg);
}

.gnd-mv-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.gnd-mv-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gnd-primary), var(--gnd-secondary));
  border-radius: 12px;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.gnd-mv-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gnd-dark);
}

.gnd-mvision-card p {
  color: var(--gnd-text);
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0;
}

/* ─── QUÉ HACEMOS ────────────────────────────────────────── */
.gnd-quehacemos-section {
  padding: 5rem 0;
}

.gnd-quehacemos-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.gnd-quehacemos-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 20, 30, 0.9) 0%,
    rgba(58, 125, 141, 0.75) 100%
  );
}

/* Check list */
.gnd-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gnd-check-list li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.gnd-check-list li:last-child {
  border-bottom: none;
}
.gnd-check-list li i {
  color: var(--gnd-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Feature small cards */
.gnd-feature-small-card {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--gnd-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--gnd-transition);
}
.gnd-feature-small-card:hover {
  background: rgba(230, 149, 57, 0.2);
  border-color: var(--gnd-primary);
  transform: translateY(-3px);
}
.gnd-feature-small-card i {
  display: block;
  font-size: 1.8rem;
  color: var(--gnd-primary);
  margin-bottom: 0.7rem;
}
.gnd-feature-small-card span {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Image hover swap (isotipo hero) */
.gnd-img-swap-wrap {
  position: relative;
}
.gnd-img-swap-wrap .gnd-img-default,
.gnd-img-swap-wrap .gnd-img-hover {
  display: block;
  transition: opacity 0.1s ease;
}
.gnd-img-swap-wrap .gnd-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}
.gnd-feature-small-card:hover .gnd-img-default {
  opacity: 0;
}
.gnd-feature-small-card:hover .gnd-img-hover {
  opacity: 1;
}

/* ─── INFRAESTRUCTURA ────────────────────────────────────── */
.gnd-infra-section {
  background: #f7f9fb;
}

/* Counter cards */
.gnd-counter-card {
  background: #fff;
  border-radius: var(--gnd-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border-bottom: 3px solid var(--gnd-primary);
  transition: var(--gnd-transition);
}
.gnd-counter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gnd-shadow);
}

.gnd-counter-icon {
  font-size: 2rem;
  color: var(--gnd-primary);
  margin-bottom: 0.75rem;
}

.gnd-counter-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gnd-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--gnd-primary), var(--gnd-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gnd-counter-label {
  font-size: 0.78rem;
  color: var(--gnd-text-light);
  font-weight: 500;
  line-height: 1.35;
}

/* City cards */
.gnd-city-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border-radius: var(--gnd-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  transition: var(--gnd-transition);
  border-top: 3px solid transparent;
}
.gnd-city-card:hover {
  border-top-color: var(--gnd-primary);
  transform: translateY(-3px);
}
.gnd-city-card i {
  font-size: 1.5rem;
  color: var(--gnd-primary);
}
.gnd-city-card strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gnd-dark);
}
.gnd-city-card span {
  font-size: 0.73rem;
  color: var(--gnd-text-light);
}

/* Feature list */
.gnd-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.gnd-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: #fff;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--gnd-transition);
  font-size: 0.88rem;
  color: var(--gnd-text);
}
.gnd-feature-list li:hover {
  box-shadow: 0 4px 16px rgba(230, 149, 57, 0.15);
  transform: translateX(4px);
}
.gnd-fl-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gnd-primary), var(--gnd-secondary));
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ─── CTA SECTION ────────────────────────────────────────── */
.gnd-cta-section {
  padding: 5rem 0;
}
.gnd-cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.gnd-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(230, 149, 57, 0.92) 0%,
    rgba(58, 125, 141, 0.88) 100%
  );
}
.gnd-cta-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  margin-bottom: 0.9rem;
}
.gnd-cta-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.8rem;
}
.gnd-cta-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 300;
  margin: 0;
}

/* ─── SERVICES ───────────────────────────────────────────── */
.gnd-service-card {
  background: #fff;
  border-radius: var(--gnd-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: var(--gnd-transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.gnd-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gnd-primary), var(--gnd-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.gnd-service-card:hover::before {
  transform: scaleX(1);
}

.gnd-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gnd-shadow-lg);
  border-color: rgba(230, 149, 57, 0.15);
}

.gnd-service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(230, 149, 57, 0.12),
    rgba(244, 186, 67, 0.08)
  );
  border-radius: 14px;
  color: var(--gnd-primary);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  transition: var(--gnd-transition);
}
.gnd-service-card:hover .gnd-service-icon {
  background: linear-gradient(135deg, var(--gnd-primary), var(--gnd-secondary));
  color: #fff;
}

.gnd-service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gnd-dark);
  margin-bottom: 0.7rem;
}

.gnd-service-card p {
  font-size: 0.85rem;
  color: var(--gnd-text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.gnd-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gnd-service-list li {
  font-size: 0.8rem;
  color: var(--gnd-text);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.gnd-service-list li:last-child {
  border-bottom: none;
}
.gnd-service-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gnd-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── NORMATIVIDAD / ACCORDION ───────────────────────────── */
.gnd-norma-section {
  padding: 5rem 0;
}
.gnd-norma-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.gnd-norma-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(10, 20, 30, 0.95) 0%,
    rgba(10, 20, 30, 0.88) 30%,
    rgba(58, 125, 141, 0.85) 100%
  );
}

.gnd-norma-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.gnd-norma-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(230, 149, 57, 0.15);
  color: var(--gnd-secondary);
  border: 1px solid rgba(230, 149, 57, 0.3);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.74rem;
  font-weight: 600;
}

/* Accordion */
.gnd-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gnd-accordion-item {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--gnd-transition);
}
.gnd-accordion-item:has(.show) {
  background: rgba(230, 149, 57, 0.1);
  border-color: rgba(230, 149, 57, 0.35);
}

.gnd-accordion-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--gnd-transition);
  user-select: none;
}
.gnd-accordion-header:hover {
  color: var(--gnd-primary);
}
.gnd-accordion-header i:first-child {
  color: var(--gnd-primary);
  font-size: 1rem;
}

.gnd-acc-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.45) !important;
}
.gnd-accordion-header:not(.collapsed) .gnd-acc-arrow {
  transform: rotate(180deg);
}

.gnd-accordion-body {
  padding: 0 1.25rem 1.1rem 3.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* ─── CONTACTO ───────────────────────────────────────────── */
.gnd-contact-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--gnd-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--gnd-transition);
  height: 100%;
}
.gnd-contact-card:hover {
  box-shadow: 0 12px 32px rgba(230, 149, 57, 0.12);
  border-color: var(--gnd-primary);
  transform: translateY(-4px);
}
.gnd-contact-card .gnd-contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  font-size: 1.2rem;
}
.gnd-contact-card strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gnd-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.gnd-contact-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gnd-text-light);
  line-height: 1.55;
}
.gnd-contact-card a {
  color: var(--gnd-accent);
  text-decoration: none;
  transition: var(--gnd-transition);
}
.gnd-contact-card a:hover {
  color: var(--gnd-primary);
}

.gnd-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.gnd-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.gnd-contact-item:last-of-type {
  border-bottom: none;
}

.gnd-contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gnd-primary), var(--gnd-secondary));
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.gnd-contact-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gnd-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.gnd-contact-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gnd-text-light);
}
.gnd-contact-item a {
  color: var(--gnd-accent);
  text-decoration: none;
  transition: var(--gnd-transition);
}
.gnd-contact-item a:hover {
  color: var(--gnd-primary);
}

/* Social buttons */
.gnd-social-row {
  display: flex;
  gap: 0.6rem;
}

.gnd-social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gnd-primary), var(--gnd-secondary));
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--gnd-transition);
}
.gnd-social-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(230, 149, 57, 0.4);
}
.gnd-social-sm {
  width: 34px;
  height: 34px;
  font-size: 0.78rem;
}

/* Form */
.gnd-contact-form {
  background: #f7f9fb;
  border-radius: var(--gnd-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.gnd-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gnd-dark);
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
  display: block;
  text-transform: uppercase;
}

.gnd-input {
  border: 2px solid #e8ecf0;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  color: var(--gnd-dark);
  background: #fff;
  transition: var(--gnd-transition);
  width: 100%;
}
.gnd-input:focus {
  outline: none;
  border-color: var(--gnd-primary);
  box-shadow: 0 0 0 3px rgba(230, 149, 57, 0.12);
}
.gnd-select {
  cursor: pointer;
}
.gnd-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.gnd-footer-top {
  background: linear-gradient(
    135deg,
    var(--gnd-dark) 0%,
    var(--gnd-dark-2) 100%
  );
}

.gnd-footer-bottom {
  background: rgba(0, 0, 0, 0.8);
}

.gnd-footer-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  line-height: 1.7;
}

.gnd-footer-heading {
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gnd-primary);
  display: inline-block;
}

.gnd-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.gnd-footer-links li a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  font-size: 0.84rem;
  transition: var(--gnd-transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gnd-footer-links li a::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gnd-primary);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transition: var(--gnd-transition);
}
.gnd-footer-links li a:hover {
  color: var(--gnd-primary);
}
.gnd-footer-links li a:hover::before {
  opacity: 1;
}

.gnd-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.gnd-footer-contact li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.5;
}
.gnd-footer-contact li i {
  color: var(--gnd-primary);
  margin-top: 2px;
  flex-shrink: 0;
}
.gnd-footer-contact li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: var(--gnd-transition);
}
.gnd-footer-contact li a:hover {
  color: var(--gnd-primary);
}

.gnd-footer-copy {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

/* ─── BACK TO TOP (Porto default — hidden) ───────────────── */
#back-to-top,
.scroll-to-top {
  display: none !important;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .gnd-philosophy-card {
    padding: 2rem;
  }
  .gnd-contact-form {
    padding: 1.8rem;
  }
  .gnd-quehacemos-bg,
  .gnd-norma-bg,
  .gnd-cta-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 767px) {
  .gnd-hero-title {
    font-size: 1.9rem;
  }
  .gnd-section-title {
    font-size: 1.6rem;
  }
  .gnd-hero-subtitle {
    font-size: 0.92rem;
  }
  .gnd-philosophy-card {
    padding: 1.5rem;
  }
  .gnd-divider {
    margin-inline: 0;
  }
  .gnd-contact-form {
    padding: 1.25rem;
  }
  .gnd-scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .gnd-stat-card {
    padding: 0.9rem 1.1rem;
  }
  .gnd-strip-item {
    padding: 1.2rem;
  }
  .gnd-counter-card {
    padding: 1.4rem 1rem;
  }
  .gnd-service-card {
    padding: 1.4rem;
  }
}

/* ─── ACCESSIBILITY ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .gnd-hero-img {
    animation: none;
  }
}

/* ─── PRINT ──────────────────────────────────────────────── */
@media print {
  .gnd-header,
  .gnd-scroll-indicator {
    display: none !important;
  }
  body {
    padding-top: 0 !important;
  }
}

html.sticky-header-active #header .header-body {
  box-shadow: none !important;
}
