@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --white: #fff;
  --dark: #1a1a1a;
  --gray: #303030;
  --navy: #0d2748;
  --navy-dark: #080F18;
  --gold: #C5A55A;
  --gold-light: #e0c878;
  --gold-sv: #c9a84c;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --section-padding: 110px 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.8;
  overflow-x: hidden;
  background: var(--white);
  font-size: 16px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Scroll Reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== WhatsApp Float ===== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: visible;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-btn .btn-content {
  width: 60%;
  height: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
}

.whatsapp-float-btn img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.pulse-effect {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.4);
  animation-name: pulse;
  animation-duration: 2.4s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  opacity: 0;
  z-index: 5;
}

.pulse1 { animation-delay: 0s; }
.pulse2 { animation-delay: 1.2s; }

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { opacity: 0.3; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ===== Navbar ===== */
.navbar {
  background: rgba(234,234,234,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 14px 0;
  transition: all 0.3s;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.navbar.scrolled { background: rgba(234,234,234,0.98); box-shadow: 0 2px 30px rgba(0,0,0,0.08); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo {
  color: var(--white); font-size: 1.6rem; font-weight: 800;
  text-decoration: none; font-family: var(--font-heading);
}
.logo span { color: var(--gold); }

.nav-menu { list-style: none; display: flex; gap: 32px; align-items: center; }
.nav-menu a {
  color: rgba(0,0,0,0.6); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: color 0.3s;
  position: relative; padding-bottom: 4px; letter-spacing: 0.3px;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.3s ease;
}
.nav-menu a:hover { color: var(--dark); }
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gold); color: var(--dark) !important;
  padding: 8px 22px !important; border-radius: 6px;
  font-weight: 600 !important; transition: all 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--dark) !important; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--dark); border-radius: 2px; transition: 0.3s; }

/* ===== Hero ===== */
.hero {
  position: relative; height: 100vh; min-height: 650px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(160deg, rgba(13,39,72,0.4) 0%, rgba(13,39,72,0.85) 40%, rgba(26,26,26,0.92) 100%);
  z-index: 1;
}
.hero-overlay::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 25% 40%, rgba(197,165,90,0.07) 0%, transparent 50%);
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 860px; padding: 0 24px; }

.hero-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(197,165,90,0.3); padding: 6px 18px;
  border-radius: 30px; margin-bottom: 28px;
}

.hero-content h1 {
  font-size: 4rem; font-weight: 800; font-family: var(--font-heading);
  line-height: 1.1; margin-bottom: 8px;
}
.hero-content h1 span { color: var(--gold); font-style: italic; }

.hero-accent { display: block; width: 60px; height: 3px; background: var(--gold); margin: 24px auto; border-radius: 2px; }

.hero-content p {
  font-size: 1.1rem; line-height: 1.8; color: rgba(255,255,255,0.8);
  max-width: 680px; margin: 0 auto 36px; font-weight: 300;
}

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

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: bounceDown 2.5s infinite;
}
.hero-scroll .scroll-line { width: 1px; height: 36px; background: linear-gradient(to bottom, var(--gold), transparent); }

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

/* ===== Section common ===== */
.section { padding: var(--section-padding); position: relative; }
.section-dark { background: var(--gray); color: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-light { background: #f7f7f7; }

.section-title-wrap { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.5rem; font-weight: 800; font-family: var(--font-heading);
  margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-sub { font-size: 1rem; color: #888; max-width: 560px; margin: 0 auto; font-weight: 300; }
.section-dark .section-sub, .section-navy .section-sub { color: rgba(255,255,255,0.5); }
.section-divider { width: 50px; height: 3px; background: var(--gold); margin: 18px auto 0; border-radius: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 14px 34px;
  border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: all 0.3s;
  border: 2px solid; letter-spacing: 0.3px;
}
.btn-primary { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.btn-primary:hover { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-outline:hover { background: var(--white); border-color: var(--white); color: var(--dark); }

/* ===== Stats ===== */
.stats-bar { background: var(--navy); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 50px 30px; border-right: 1px solid rgba(255,255,255,0.06); transition: background 0.3s; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.03); }
.stat-number { font-size: 3.4rem; font-weight: 800; font-family: var(--font-heading); color: var(--gold); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.55); font-weight: 400; letter-spacing: 0.5px; }

/* ===== About ===== */
.about-grid { display: flex; align-items: center; gap: 70px; }
.about-text { flex: 1; }
.about-text .about-tag { display: inline-block; font-size: 0.65rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.about-text h2 { font-size: 2.3rem; font-weight: 800; font-family: var(--font-heading); margin-bottom: 20px; line-height: 1.25; }
.about-text p { font-size: 1rem; margin-bottom: 18px; line-height: 1.8; color: #666; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0; }
.about-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #555; list-style: none; }
.about-features li i { color: var(--gold); font-size: 0.85rem; width: 18px; text-align: center; }

.about-image { flex: 1; position: relative; }
.about-image .img-wrapper { border-radius: 14px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,0.1); }
.about-image img { width: 100%; display: block; border-radius: 14px; }
.about-image .exp-badge {
  position: absolute; bottom: -14px; right: -14px;
  background: var(--gold); color: var(--dark); padding: 16px 20px;
  border-radius: 12px; text-align: center; box-shadow: 0 10px 40px rgba(197,165,90,0.3);
}
.about-image .exp-badge strong { display: block; font-size: 1.8rem; font-weight: 800; font-family: var(--font-heading); line-height: 1; }
.about-image .exp-badge span { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ===== Principios ===== */
.principios-intro { max-width: 800px; margin: 0 auto 50px; text-align: center; }
.principios-intro p { font-size: 1rem; line-height: 1.8; color: #666; margin-bottom: 12px; }

.principios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1060px;
  margin: 0 auto;
}

.principio-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}

.principio-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.principio-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(197,165,90,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 20px;
  transition: background 0.3s;
}

.principio-card:hover .principio-icon {
  background: var(--gold);
  color: var(--dark);
}

.principio-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.principio-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: #777;
}

@media (max-width: 768px) {
  .principios-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ===== Services ===== */

.section-services {
  background: #0f1c2e;
  position: relative;
  overflow: hidden;
}

.section-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1920&q=80') center / cover no-repeat;
  opacity: 0.08;
  z-index: 0;
}

.section-services::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,28,46,0.92);
  z-index: 1;
}

.section-services > .container {
  position: relative;
  z-index: 2;
}

/* Header */
.sv-header {
  text-align: center;
  margin-bottom: 50px;
}

.sv-header .sv-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-sv);
  margin-bottom: 8px;
  display: block;
}

.sv-header h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-sv);
  line-height: 1.15;
  margin-bottom: 20px;
}

.sv-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.2rem;
  color: var(--gold-sv);
  font-weight: 300;
}

.sv-divider .line {
  display: block;
  width: 50px;
  height: 1px;
  background: var(--gold-sv);
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.4s, border-color 0.3s;
}

.service-card:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 15px 45px rgba(0,0,0,0.4);
}

/* Gold bottom accent que se expande en hover */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-sv);
  z-index: 3;
  transition: width 0.3s, left 0.3s;
}

.service-card:hover::after {
  width: 100%;
  left: 0;
}

/* Image + overlay aparecen por opacidad con zoom sutil */
.sv-hover-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover .sv-hover-wrap {
  opacity: 1;
}

.sv-hover-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.service-card:hover .sv-hover-bg {
  transform: scale(1.05);
}

/* Overlay oscuro sobre la imagen */
.sv-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,28,46,0.45) 0%, rgba(15,28,46,0.92) 100%);
}

.service-card-inner {
  position: relative;
  z-index: 2;
  padding: 36px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-inner .sv-icon {
  font-size: 1.8rem;
  color: var(--gold-sv);
  margin-bottom: 16px;
  display: block;
}

.service-card-inner h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card-inner p,
.service-card-inner ul {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}

.service-card:hover p,
.service-card:hover ul {
  color: rgba(255,255,255,0.8);
}

.service-card-inner ul {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}

.service-card-inner ul li {
  padding: 4px 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  position: relative;
  padding-left: 16px;
  transition: color 0.3s;
}

.service-card:hover ul li {
  color: rgba(255,255,255,0.75);
}

.service-card-inner ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold-sv);
  font-weight: 700;
}

.service-card-inner .sv-link {
  color: var(--gold-sv);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  position: relative;
  padding-bottom: 2px;
}

.service-card-inner .sv-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.3s;
}

.service-card:hover .sv-link {
  color: var(--white);
  gap: 10px;
}

.service-card:hover .sv-link::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .sv-header h2 { font-size: 2rem; }
  .sv-divider .line { width: 30px; }
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1f3a 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(197,165,90,0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(197,165,90,0.04) 0%, transparent 40%);
}
.cta-section::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.01) 40px, rgba(255,255,255,0.01) 41px);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: 2.5rem; font-weight: 800; font-family: var(--font-heading); margin-bottom: 16px; color: var(--white); letter-spacing: -0.5px; }
.cta-content p { font-size: 1.05rem; color: rgba(255,255,255,0.55); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Team ===== */
.team-section { background: #fff; }
.team-grid { display: flex; flex-direction: column; gap: 40px; }

.team-card {
  display: grid; grid-template-columns: 280px 1fr;
  background: var(--white); border-radius: 16px;
  overflow: hidden; box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);
}

.team-card-img-wrap {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 28px; background: #f5f5f5;
}
.team-card-img {
  width: 200px; height: 200px; object-fit: cover;
  border-radius: 50%; display: block; transition: transform 0.6s;
  border: 3px solid rgba(197,165,90,0.2);
}
.team-card:hover .team-card-img { transform: scale(1.04); }

.team-card-body { padding: 34px 36px 34px 28px; display: flex; flex-direction: column; justify-content: center; }

.team-card-body .team-label {
  display: inline-block; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
  background: rgba(197,165,90,0.08); padding: 4px 14px;
  border-radius: 20px; margin-bottom: 12px; align-self: flex-start;
}

.team-card-body h3 { font-size: 1.5rem; margin-bottom: 2px; color: var(--dark); font-weight: 800; font-family: var(--font-heading); }
.team-card-body .team-role { font-size: 0.8rem; color: var(--gold); font-weight: 600; letter-spacing: 1px; margin-bottom: 14px; text-transform: uppercase; }

.team-card-body .team-text {
  font-size: 0.88rem; line-height: 1.75; color: #777;
}
.team-card-body .team-text p { margin-bottom: 8px; }
.team-card-body .team-text p:last-child { margin-bottom: 0; }
.team-card-body .team-text strong { color: var(--dark); }

/* ===== Footer ===== */
.footer { background: #eaeaea; color: var(--dark); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2.5fr 2fr 1.2fr; gap: 50px; padding-bottom: 50px; }
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 14px; font-weight: 800; font-family: var(--font-heading); color: var(--gold); }
.footer-brand h3 span { color: var(--white); }
.footer-brand p { font-size: 0.83rem; line-height: 1.8; color: #888; max-width: 320px; }

.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #aaa; text-decoration: none;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 0.95rem; transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(197,165,90,0.08); }

.footer-links h4, .footer-contact h4 { font-size: 0.8rem; margin-bottom: 20px; color: var(--dark); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #888; text-decoration: none; transition: color 0.3s; font-size: 0.85rem; }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.82rem; margin-bottom: 10px; color: #888; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.footer-contact p i { color: var(--gold); font-size: 0.75rem; margin-top: 4px; flex-shrink: 0; }
.footer-offices { font-style: italic; color: #bbb !important; font-size: 0.78rem !important; margin-top: 6px; }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 24px 0; text-align: center;
  font-size: 0.78rem; color: #bbb; letter-spacing: 0.5px;
}

/* ===== Servicios Detalle ===== */
.servicios-section {
  background: #f5f5f5;
}

.servicios-header {
  text-align: center;
  margin-bottom: 50px;
}

.servicios-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.servicios-header p {
  font-size: 1rem;
  color: #888;
  margin-bottom: 18px;
}

.servicios-header .servicios-divider {
  width: 50px;
  height: 3px;
  background: #b8952a;
  margin: 0 auto;
  border-radius: 2px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.servicio-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: box-shadow 0.4s, transform 0.4s;
  position: relative;
}

.servicio-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #b8952a;
  z-index: 2;
}

.servicio-card:hover {
  box-shadow: 0 18px 50px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.servicio-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.4s;
}

.servicio-card:hover .servicio-card-img {
  transform: scale(1.04);
}

.servicio-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,35,64,0.1) 0%, rgba(26,35,64,0.75) 100%);
  z-index: 1;
}

.servicio-card-img-top {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.servicio-card-img-top .servicio-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--white);
  flex-shrink: 0;
}

.servicio-card-img-top h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  flex: 1;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.servicio-card-img-top .servicio-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  align-self: flex-start;
  margin-top: -4px;
}

.servicio-card-body {
  padding: 20px 24px 24px;
  flex: 1;
}

.servicio-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.servicio-card-body ul li {
  padding: 5px 0 5px 20px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #555;
  position: relative;
}

.servicio-card-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8952a;
  opacity: 0.6;
}

.servicio-card-body ul li strong {
  color: #1a2340;
}

.servicio-card-body p {
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  color: #555 !important;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .servicios-grid { grid-template-columns: 1fr; gap: 24px; }
  .servicio-card-img { height: 160px; }
  .servicio-card-img-top { left: 16px; right: 16px; }
  .servicio-card-img-top h3 { font-size: 1rem; }
  .servicio-card-body { padding: 16px 20px 20px; }
  .servicios-header h2 { font-size: 2rem; }
}

/* ===== Page Header ===== */
.page-header { padding: 160px 0 80px; background: linear-gradient(135deg, var(--dark) 0%, var(--gray) 100%); color: var(--white); text-align: center; position: relative; }
.page-header h1 { font-size: 3rem; font-weight: 800; font-family: var(--font-heading); letter-spacing: -0.5px; }
.page-header .header-divider { width: 40px; height: 3px; background: var(--gold); margin: 16px auto 0; border-radius: 2px; }

/* ===== Contact Form ===== */
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy) !important; box-shadow: 0 0 0 3px rgba(13,39,72,0.1); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 40px 20px; }
  .stat-number { font-size: 2.6rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: rgba(26,26,26,0.98); flex-direction: column;
    padding: 28px; gap: 20px; display: none;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  .nav-menu.active { display: flex; }
  .nav-cta { text-align: center; }

  .hero-content h1 { font-size: 2.4rem; }
  .hero-content p { font-size: 0.95rem; }
  .hero-scroll { display: none; }
  .hero-buttons { flex-direction: column; align-items: center; }

  .section { padding: 70px 0; }
  .section-title { font-size: 1.9rem; }

  .about-grid { flex-direction: column; gap: 50px; }
  .about-text h2 { font-size: 1.8rem; }
  .about-features { grid-template-columns: 1fr; }
  .about-image .exp-badge { bottom: -12px; right: -12px; padding: 14px 18px; }
  .about-image .exp-badge strong { font-size: 1.4rem; }

  .cta-content h2 { font-size: 1.8rem; }

  .team-card { grid-template-columns: 1fr; }
  .team-card-img-wrap { padding: 24px; }
  .team-card-img { width: 160px; height: 160px; }
  .team-card-body { padding: 0 24px 28px; }
  .team-card-body h3 { font-size: 1.3rem; }
  .team-card-footer { flex-wrap: wrap; }
  .team-card-footer .team-social { margin-left: 0; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .footer-brand p { max-width: 100%; }

  .page-header h1 { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 2rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 30px 15px; }
}

