/* ============================================
   CCALIMEDIC — Laboratorio Clínico
   Paleta: Cyan #1BAEE6 | Navy #2B3A67
   ============================================ */

:root {
  --cyan: #1BAEE6;
  --cyan-dark: #1590C4;
  --cyan-light: #E6F6FC;
  --navy: #2B3A67;
  --navy-dark: #1E2A4D;
  --navy-light: #3D4F80;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ============================================
   UTILIDADES
   ============================================ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  background: var(--cyan-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(27, 174, 230, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 174, 230, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 44px;
  width: auto;
  transition: var(--transition);
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--cyan);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--navy);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--cyan);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  padding: 8px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 160px 0 120px;
  background: linear-gradient(165deg, var(--gray-50) 0%, var(--white) 50%, var(--cyan-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27,174,230,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(43,58,103,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  color: var(--cyan);
  position: relative;
}

.hero-desc {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-logo-wrap {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cyan-light) 0%, var(--white) 100%);
  border-radius: 50%;
  box-shadow: var(--shadow-xl);
}

.hero-logo-wrap::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 2px dashed var(--cyan);
  border-radius: 50%;
  opacity: 0.3;
  animation: spin 30s linear infinite;
}

.hero-logo-img {
  position: relative;
  z-index: 2;
  width: 280px;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(27,174,230,0.2));
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.hero-stat {
  text-align: left;
}

.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.hero-stat-num span {
  color: var(--cyan);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual-main {
  background: linear-gradient(135deg, var(--cyan-light) 0%, var(--gray-50) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.about-visual-main::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(27,174,230,0.1) 0%, transparent 50%);
}

.about-visual-main img {
  position: relative;
  z-index: 1;
  max-width: 280px;
  filter: drop-shadow(0 16px 40px rgba(43,58,103,0.15));
}

.about-visual-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float 3s ease-in-out infinite;
}

.about-visual-float-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

.about-visual-float-text strong {
  display: block;
  font-size: 18px;
  color: var(--navy);
}

.about-visual-float-text span {
  font-size: 13px;
  color: var(--gray-500);
}

.about-content h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.about-feature:hover {
  border-color: var(--cyan);
  background: var(--cyan-light);
  transform: translateY(-2px);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  flex-shrink: 0;
}

.about-feature-text strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 2px;
}

.about-feature-text span {
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gray-300) 50%, transparent 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--navy) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--cyan-light);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--cyan-light) 0%, var(--white) 100%);
  border: 2px solid var(--cyan-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  border-color: var(--cyan);
  color: var(--white);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.service-promo {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.service-promo::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(27,174,230,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.service-promo-content {
  position: relative;
  z-index: 1;
}

.service-promo-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-promo-content p {
  font-size: 15px;
  opacity: 0.85;
}

.service-promo-btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ============================================
   TEAM
   ============================================ */
.team {
  padding: 100px 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cyan-light);
}

.team-card.featured {
  border-color: var(--cyan);
  background: linear-gradient(180deg, var(--cyan-light) 0%, var(--white) 40%);
}

.team-card.featured::before {
  content: 'Destacado';
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 100px;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}

.team-avatar.initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
}

.team-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.team-card .role {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card .desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============================================
   PAYMENTS
   ============================================ */
.payments {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.payments-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.payment-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  min-width: 140px;
  height: 56px;
}

.payment-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Yape */
.payment-item.yape {
  background: linear-gradient(135deg, #7B1FA2 0%, #4A148C 100%);
  color: var(--white);
  border-color: transparent;
  font-family: 'Segoe UI', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}
.payment-item.yape::before {
  content: 'S/';
  position: absolute;
  top: 6px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  background: #00C853;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Plin */
.payment-item.plin {
  background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
  color: var(--white);
  border-color: transparent;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  position: relative;
}
.payment-item.plin::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 12px;
  width: 6px;
  height: 6px;
  background: #FF4081;
  border-radius: 50%;
}

/* BBVA */
.payment-item.bbva {
  background: #072146;
  color: #fff;
  border-color: transparent;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 2px;
}

/* Interbank */
.payment-item.interbank {
  background: #fff;
  color: #00A650;
  border: 2px solid #00A650;
  font-weight: 800;
  font-size: 18px;
}
.payment-item.interbank::before {
  content: '';
  width: 18px;
  height: 18px;
  background: #00A650;
  border-radius: 3px;
  display: inline-block;
  margin-right: 4px;
}

/* BCP */
.payment-item.bcp {
  background: #fff;
  color: #002A8D;
  border: 2px solid #002A8D;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 1px;
  position: relative;
}
.payment-item.bcp::before,
.payment-item.bcp::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #FF6B00;
  border-radius: 50%;
  display: inline-block;
}
.payment-item.bcp::before { margin-right: 6px; }
.payment-item.bcp::after { margin-left: 6px; }

/* Banco de la Nación */
.payment-item.bn {
  background: #fff;
  color: #1a1a1a;
  border: 2px solid #C41E3A;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  line-height: 1.3;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  height: auto;
  min-height: 56px;
}
.payment-item.bn .bn-icon {
  width: 28px;
  height: 20px;
  position: relative;
}
.payment-item.bn .bn-icon::before {
  content: '';
  position: absolute;
  width: 28px;
  height: 4px;
  background: #C41E3A;
  border-radius: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-15deg);
}
.payment-item.bn .bn-icon::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 4px;
  background: #C41E3A;
  border-radius: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(15deg);
}
.payment-item.bn strong {
  font-size: 14px;
  color: #1a1a1a;
}
.payment-item.bn span {
  font-size: 10px;
  color: #666;
  font-weight: 400;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gray-300) 50%, transparent 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--cyan-light);
  background: var(--cyan-light);
  transform: translateX(4px);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item-body strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-item-body span,
.contact-item-body a {
  font-size: 14px;
  color: var(--gray-500);
}

.contact-item-body a:hover {
  color: var(--cyan);
}

.contact-hours {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: var(--white);
  position: sticky;
  top: 100px;
}

.contact-hours h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-hours h3 .icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row .day {
  font-size: 14px;
  opacity: 0.8;
}

.hours-row .time {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.hours-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  opacity: 0.7;
  text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand span {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--cyan);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.7);
}

.footer-contact-item .icon {
  color: var(--cyan);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    order: 2;
  }
  .hero-visual {
    order: 1;
  }
  .hero-desc {
    margin: 0 auto 36px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
  .nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    padding: 120px 0 80px;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-logo-wrap {
    width: 280px;
    height: 280px;
  }
  .hero-logo-img {
    width: 200px;
  }
  .section-title {
    font-size: 28px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-promo {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand {
    justify-content: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-desc {
    margin: 0 auto 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .hero-stat {
    text-align: center;
  }
  .btn {
    width: 100%;
  }
}
