/* AAGYY Transportes Pérez – Custom Styles */
:root {
  --color-red:      #8B1A1A;
  --color-red-dark: #6a1212;
  --color-blue:     #1B3A5C;
  --color-blue-dark:#122640;
  --color-gray:     #2d2d2d;
  --color-dark:     #1a1a1a;
  --color-text:     #374151;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--color-text); line-height: 1.6; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp            { animation: fadeInUp 0.65s ease both; }
.delay-100                   { animation-delay: 0.1s; }
.delay-200                   { animation-delay: 0.2s; }
.delay-300                   { animation-delay: 0.3s; }
.delay-400                   { animation-delay: 0.4s; }

/* ── Mobile menu ── */
#mobile-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}
#mobile-menu.open { max-height: 600px; opacity: 1; }

/* ── Gradients ── */
.hero-gradient {
  background: linear-gradient(135deg, #1a1a1a 0%, #1B3A5C 55%, #8B1A1A 100%);
}
.hero-gradient-sm {
  background: linear-gradient(135deg, #1a1a1a 0%, #1B3A5C 60%, #8B1A1A 100%);
}

/* ── Section title accent ── */
.section-title { position: relative; }
.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--color-red);
  border-radius: 2px;
  margin: 12px auto 0;
}
.section-title-left::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--color-red);
  border-radius: 2px;
  margin: 12px 0 0;
}
.section-title-white::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: rgba(255,255,255,0.55);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ── Buttons ── */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-red);
  color: #fff;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-red:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(139,26,26,0.45);
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.65);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-dark);
  color: #fff;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.35);
}

/* ── Nav link ── */
.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-gray);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-red);
  border-bottom-color: var(--color-red);
}

/* ── Service cards ── */
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #e5e7eb;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.11);
}

/* ── Client badge ── */
.client-badge {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--color-gray);
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
  cursor: default;
}
.client-badge:hover {
  transform: translateY(-3px);
  border-color: var(--color-red);
  color: var(--color-red);
}

/* ── Value card ── */
.value-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px 20px;
  border-left: 4px solid var(--color-red);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

/* ── Destination card ── */
.dest-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 24px 20px;
  transition: background 0.2s, border-color 0.2s;
}
.dest-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}

/* ── WhatsApp float ── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25D366;
  color: #fff;
  padding: 13px 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}

/* ── Form fields ── */
.form-field {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--color-gray);
  outline: none;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(139,26,26,0.1);
}

/* ── Stats ── */
.stat-box { text-align: center; padding: 24px 20px; }
.stat-num { font-size: 2.8rem; font-weight: 800; color: var(--color-red); line-height: 1; }
.stat-label { font-size: 0.82rem; color: #6b7280; font-weight: 500; margin-top: 4px; }

/* ── Feature strip icon ── */
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.3rem;
}

/* ── ISO / cert badge ── */
.iso-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Policy card ── */
.policy-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border-top: 4px solid var(--color-red);
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  height: 100%;
}

/* ── Ethics item ── */
.ethics-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
}
.ethics-item:last-child { border-bottom: none; }

/* ── ISO Showcase ── */
.iso-showcase-bg {
  background: linear-gradient(135deg, #0f0f0f 0%, #1B3A5C 55%, #2d1010 100%);
}
.iso-seal-wrap {
  position: relative;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iso-seal {
  width: 148px;
  height: 148px;
  background: linear-gradient(145deg, #8B1A1A 0%, #6a1212 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 4px solid rgba(255,215,0,0.55);
  box-shadow: 0 0 0 10px rgba(255,215,0,0.08), 0 0 50px rgba(139,26,26,0.5);
  position: relative;
  z-index: 1;
}
.iso-seal-ring {
  position: absolute;
  width: 178px;
  height: 178px;
  border-radius: 50%;
  border: 2px dashed rgba(255,215,0,0.28);
  animation: iso-spin 24s linear infinite;
}
.iso-seal-ring2 {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px dashed rgba(255,215,0,0.12);
  animation: iso-spin 36s linear infinite reverse;
}
@keyframes iso-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.iso-cert-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 20px;
  transition: background 0.2s, border-color 0.2s;
}
.iso-cert-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,215,0,0.3);
}
.iso-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,215,0,0.1);
  border: 1.5px solid rgba(255,215,0,0.35);
  border-radius: 14px;
  padding: 10px 18px;
}
/* ── Footer link ── */
.footer-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.footer-link:hover { color: #fff; }

/* ── Contact info card ── */
.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.contact-info-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

/* ── Coordinator card ── */
.coord-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s, box-shadow 0.2s;
}
.coord-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}
