/* ============================================================
   LOGÍSTICA MARGARIT — Estilos Principales
   Paleta: Azul #1f2e3b | Dorado #b69d6a | Blanco #ffffff
   ============================================================ */

:root {
  --blue: #1f2e3b;
  --blue-dark: #0d1b2a;
  --blue-mid: #2a3f52;
  --gold: #b69d6a;
  --gold-light: #d4b896;
  --gold-pale: rgba(182,157,106,0.12);
  --white: #ffffff;
  --light: #f8f9fa;
  --light-2: #eef1f5;
  --text: #2c3e50;
  --text-light: #64748b;
  --border: rgba(31,46,59,0.1);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --radius: 6px;
  --transition: all 0.38s cubic-bezier(0.4,0,0.2,1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--text); overflow-x: hidden; line-height: 1.6; background: var(--white); }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ---- TIPOGRAFÍA ---- */
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.25; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px; margin-bottom: 0.75rem;
}
.section-tag::before { content:''; width:24px; height:2px; background:var(--gold); display:block; }
.section-title { font-size: clamp(1.9rem,3.5vw,2.7rem); color: var(--blue); margin-bottom: 1rem; }
.section-title.light { color: var(--white); }
.section-subtitle { color: var(--text-light); font-size: 1rem; line-height: 1.8; max-width: 560px; }
.section-subtitle.light { color: rgba(255,255,255,0.65); }

/* ---- BOTONES ---- */
.btn { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.9rem 2rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(182,157,106,0.38); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-mid); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(31,46,59,0.28); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.45); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-3px); }
.btn-lg { padding: 1.1rem 2.6rem; font-size: 1rem; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.12); }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-img { height: 120px; width: auto; display: block; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a {
  color: var(--blue); font-weight: 500; font-size: 0.9rem;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 1rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 26px; height: 2px; background: var(--blue); border-radius: 2px; transition: var(--transition); display: block; }
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--blue);
  z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--white); font-size: 1.5rem; font-family: 'Playfair Display', serif; transition: color 0.3s; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: var(--white);
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ---- HERO ---- */
.hero {
  height: 100vh; min-height: 720px; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1920&q=80');
  background-size: cover; background-position: center 40%;
  transform: scale(1.05); animation: heroZoom 12s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,27,42,0.88) 0%, rgba(13,27,42,0.65) 55%, rgba(13,27,42,0.3) 100%);
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.0); } }
.hero-content {
  position: relative; z-index: 2; padding: 0 8%; max-width: 780px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(182,157,106,0.5); background: rgba(182,157,106,0.1);
  color: var(--gold-light); padding: 0.45rem 1rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1px;
  opacity: 0; animation: slideUp 0.8s 0.2s ease forwards;
}
.hero-title {
  font-size: clamp(2.8rem,5.5vw,4.2rem); color: var(--white);
  margin: 1rem 0 1.5rem; line-height: 1.15;
  opacity: 0; animation: slideUp 0.8s 0.45s ease forwards;
}
.hero-title em { color: var(--gold); font-style: normal; }
.hero-subtitle {
  color: rgba(255,255,255,0.72); font-size: 1.12rem; line-height: 1.8; max-width: 600px;
  margin-bottom: 2.5rem; opacity: 0; animation: slideUp 0.8s 0.7s ease forwards;
}
.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: slideUp 0.8s 0.9s ease forwards;
}
.hero-scroll {
  position: absolute; bottom: 110px; left: 8%; z-index: 2;
  display: flex; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.5); font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase;
  opacity: 0; animation: slideUp 0.8s 1.2s ease forwards;
}
.hero-scroll-line { width: 40px; height: 1px; background: rgba(255,255,255,0.3); }
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(13,27,42,0.92); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(182,157,106,0.25);
  display: flex; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: slideUp 0.8s 1.1s ease forwards;
}
.hero-stat {
  padding: 1.4rem 3rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  flex: 1; min-width: 140px;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: 'Playfair Display', serif; font-size: 2rem;
  font-weight: 700; color: var(--gold); display: block; line-height: 1;
}
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 0.3rem; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(55px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- SECCIONES GENERALES ---- */
.section { padding: 6rem 8%; }
.section-sm { padding: 4rem 8%; }
.section-dark { background: var(--blue-dark); }
.section-light { background: var(--light); }
.section-white { background: var(--white); }
.section-blue { background: var(--blue); }

/* ---- SERVICIOS (ACCORDION) ---- */
.services-section { background: var(--white); }
.services-layout {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 5rem; align-items: start; margin-top: 4rem;
}
.services-img-wrap { position: sticky; top: 100px; }
.services-img-wrap img {
  width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius);
  transition: opacity 0.5s ease;
}
.services-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85), transparent);
  padding: 2rem 1.5rem; border-radius: 0 0 var(--radius) var(--radius);
}
.services-img-caption { color: var(--white); font-size: 0.85rem; opacity: 0.8; }
.services-img-name { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; }

.accordion { }
.accordion-item { border-bottom: 1px solid rgba(31,46,59,0.12); }
.accordion-trigger {
  width: 100%; padding: 1.6rem 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; transition: var(--transition); background: none;
}
.accordion-trigger-left { display: flex; align-items: center; gap: 1.2rem; }
.acc-num {
  font-size: 0.75rem; font-weight: 700; color: var(--gold);
  min-width: 28px; font-family: 'Playfair Display', serif;
}
.acc-title {
  font-size: 1.05rem; font-weight: 600; color: var(--blue);
  transition: color 0.3s; text-align: left;
}
.acc-icon {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
  background: var(--light-2); display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.acc-icon svg { width: 14px; height: 14px; stroke: var(--blue); transition: transform 0.35s; }
.accordion-item.active .acc-icon { background: var(--blue); }
.accordion-item.active .acc-icon svg { stroke: var(--white); transform: rotate(45deg); }
.accordion-item.active .acc-title { color: var(--gold); }

.accordion-panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1);
}
.accordion-item.active .accordion-panel { max-height: 400px; }
.accordion-panel-inner {
  background: var(--blue); border-radius: var(--radius);
  padding: 1.8rem 2rem; margin-bottom: 1rem;
  border-top: 3px solid var(--white);
}
.accordion-panel-inner p { color: rgba(255,255,255,0.82); font-size: 0.95rem; line-height: 1.85; }
.acc-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.2rem; color: var(--gold); font-size: 0.85rem; font-weight: 600;
  transition: gap 0.3s;
}
.acc-cta:hover { gap: 0.8rem; }
.acc-cta svg { width: 14px; height: 14px; stroke: var(--gold); }

/* ---- MAPA ARGENTINA ---- */
.map-section {
  background: var(--blue-dark); padding: 6rem 8%;
  position: relative; overflow: hidden;
}
.map-section::before {
  content: ''; position: absolute; left: -200px; top: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(182,157,106,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.map-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.map-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem; margin-top: 3rem;
}
.map-stat-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(182,157,106,0.18);
  border-radius: var(--radius); padding: 1.6rem 1.2rem; text-align: center;
  transition: var(--transition);
}
.map-stat-card:hover { background: rgba(182,157,106,0.09); border-color: var(--gold); transform: translateY(-4px); }
.map-stat-card .num {
  font-family: 'Playfair Display', serif; font-size: 2.1rem;
  font-weight: 700; color: var(--gold); display: block; line-height: 1;
}
.map-stat-card .lbl { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-top: 0.4rem; display: block; }
.map-svg-wrap { display: flex; justify-content: center; align-items: center; }
.map-svg-wrap svg {
  max-height: 520px; width: auto;
  filter: drop-shadow(0 0 40px rgba(182,157,106,0.12));
}

@keyframes pulseDot {
  0%,100% { r: 3; opacity: 0.6; }
  50% { r: 4.5; opacity: 1; }
}
@keyframes pulseRing {
  0% { r: 5; opacity: 0.7; stroke-width: 1.5; }
  100% { r: 14; opacity: 0; stroke-width: 0.5; }
}
.dot-inner { animation: pulseDot 2.5s ease-in-out infinite; }
.dot-ring { animation: pulseRing 2.5s ease-out infinite; }

/* ---- DIFERENCIALES — CARDS ---- */
.diff-section { background: var(--light); }
.diff-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3.5rem;
}
.diff-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2.4rem 2rem;
  border-left: 4px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.diff-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(182,157,106,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.diff-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  border-left-color: var(--gold);
}
.diff-card:hover .diff-card-icon { background: var(--blue); }
.diff-card:hover .diff-card-icon svg { stroke: var(--gold); }
.diff-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.72rem; font-weight: 700;
  color: var(--gold); letter-spacing: 2px;
  display: block; margin-bottom: 1rem;
}
.diff-card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--light-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; transition: var(--transition);
}
.diff-card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--blue); transition: stroke 0.3s;
}
.diff-card h3 {
  font-size: 1.05rem; color: var(--blue);
  margin-bottom: 0.75rem; line-height: 1.3;
}
.diff-card p {
  color: var(--text-light); font-size: 0.9rem; line-height: 1.75;
}

/* ---- FAQ ---- */
.faq-section { background: var(--white); }
.faq-layout {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem; align-items: start; margin-top: 4rem;
}
.faq-img { position: sticky; top: 100px; }
.faq-img img { width: 100%; height: 580px; object-fit: cover; border-radius: var(--radius); }
.faq-questions { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; padding: 1.4rem 0;
  display: flex; align-items: center; justify-content: space-between;
  background: none; text-align: left; gap: 1rem;
  color: var(--blue); font-weight: 600; font-size: 0.95rem;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--gold); }
.faq-q-icon {
  flex-shrink: 0; width: 22px; height: 22px;
  color: var(--text-light); transition: transform 0.35s, color 0.3s;
}
.faq-item.active .faq-q { color: var(--gold); }
.faq-item.active .faq-q-icon { transform: rotate(45deg); color: var(--gold); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.active .faq-a { max-height: 200px; }
.faq-a-inner {
  padding: 0 1rem 1.4rem 0;
  color: var(--text-light); font-size: 0.9rem; line-height: 1.8;
}

/* ---- CONTACTO ---- */
.contact-section { background: var(--light); }
.contact-layout {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 5rem; align-items: start; margin-top: 4rem;
}
.contact-form-wrap {
  background: var(--white); border-radius: 10px;
  padding: 3rem; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--blue); margin-bottom: 0.5rem; letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.92rem; font-family: 'Inter', sans-serif; color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s; background: var(--white); outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aab; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(182,157,106,0.12);
}
.form-group textarea { height: 130px; resize: vertical; }
.btn-submit {
  width: 100%; padding: 1.1rem;
  background: var(--blue); color: var(--white); border: none;
  border-radius: var(--radius); font-size: 1rem; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-submit:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(182,157,106,0.3); }
.contact-info-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
  background: var(--blue); border-radius: 10px; padding: 2.2rem;
  color: var(--white);
}
.contact-info-card h3 {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  color: var(--white); margin-bottom: 1.8rem;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.4rem; padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-info-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.contact-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(182,157,106,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 17px; height: 17px; stroke: var(--gold); }
.contact-info-text strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 0.15rem; }
.contact-info-text span { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.wa-card {
  background: #25d366; border-radius: 10px; padding: 1.8rem 2.2rem;
  display: flex; align-items: center; gap: 1.2rem; transition: var(--transition);
}
.wa-card:hover { background: #20ba5a; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(37,211,102,0.35); }
.wa-icon svg { width: 36px; height: 36px; fill: white; }
.wa-card-text strong { display: block; color: var(--white); font-size: 1.05rem; font-weight: 700; }
.wa-card-text span { color: rgba(255,255,255,0.82); font-size: 0.85rem; }

/* ---- FOOTER ---- */
.footer { background: var(--blue-dark); color: rgba(255,255,255,0.65); padding: 5rem 8% 2.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3.5rem; margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-logo {
  font-family: 'Playfair Display', serif; font-size: 1.5rem;
  color: var(--white); font-weight: 700; margin-bottom: 1rem; display: block;
}
.footer-brand-logo span { color: var(--gold); }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; max-width: 270px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-social svg { width: 15px; height: 15px; }
.footer-col h4 {
  color: var(--white); font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem;
}
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: var(--gold); }

/* ---- WHATSAPP FLOTANTE ---- */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  width: 58px; height: 58px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45); transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-3px); background: #20ba5a; }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 36px rgba(37,211,102,0.75); }
}
.whatsapp-tooltip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--blue); color: var(--white); padding: 0.45rem 1rem;
  border-radius: 100px; font-size: 0.78rem; font-weight: 600; white-space: nowrap;
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ---- ANIMACIONES DE SCROLL ---- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left { opacity: 0; transform: translateX(-38px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(38px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translate(0); }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; } .d5 { transition-delay: 0.5s; }

/* ---- PAGE HERO (SUBPÁGINAS) ---- */
.page-hero {
  min-height: 340px; background: var(--blue); padding: 0 8%;
  display: flex; align-items: flex-end; padding-bottom: 4rem;
  margin-top: 72px; position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,42,0.7), rgba(31,46,59,0.92));
}
.page-hero-content { position: relative; z-index: 1; }
.page-breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 1rem; display: flex; gap: 0.5rem; align-items: center; }
.page-breadcrumb a { color: var(--gold); }
.page-breadcrumb span { color: rgba(255,255,255,0.3); }
.page-hero h1 { font-size: clamp(2.2rem,4.5vw,3.5rem); color: var(--white); }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { color: rgba(255,255,255,0.68); font-size: 1rem; margin-top: 0.8rem; max-width: 560px; line-height: 1.75; }

/* ---- SERVICIO CARDS (página servicios) ---- */
.service-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 2rem; margin-top: 3rem; }
.service-card {
  border-radius: 10px; overflow: hidden; background: var(--white);
  box-shadow: var(--shadow); transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img { height: 220px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 2rem; }
.service-card-icon { color: var(--gold); margin-bottom: 1rem; }
.service-card-icon svg { width: 28px; height: 28px; stroke: var(--gold); }
.service-card h3 { font-size: 1.2rem; color: var(--blue); margin-bottom: 0.75rem; }
.service-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.75; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.2rem;
  color: var(--gold); font-size: 0.85rem; font-weight: 600; transition: gap 0.3s;
}
.service-card-link svg { width: 14px; height: 14px; stroke: var(--gold); }
.service-card-link:hover { gap: 0.8rem; }

/* ---- NOSOTROS ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; height: 540px; object-fit: cover; border-radius: var(--radius); }
.about-img-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--gold); padding: 1.5rem 2rem; border-radius: var(--radius);
  text-align: center; color: var(--white); box-shadow: var(--shadow-lg);
}
.about-img-badge .big { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; display: block; line-height: 1; }
.about-img-badge .small { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.value-item {
  padding: 1.5rem; background: var(--light); border-radius: var(--radius);
  border-left: 3px solid var(--gold); transition: var(--transition);
}
.value-item:hover { background: var(--gold-pale); transform: translateX(5px); }
.value-item h4 { color: var(--blue); font-size: 0.95rem; margin-bottom: 0.35rem; }
.value-item p { color: var(--text-light); font-size: 0.85rem; }
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content:''; position:absolute; left:6px; top:0; bottom:0; width:2px; background: linear-gradient(to bottom, var(--gold), transparent); }
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item::before { content:''; position:absolute; left:-2rem; top:4px; width:14px; height:14px; border-radius:50%; background:var(--gold); border:3px solid var(--white); box-shadow:0 0 0 2px var(--gold); }
.timeline-item h4 { color: var(--blue); font-size: 1rem; margin-bottom: 0.3rem; }
.timeline-item p { color: var(--text-light); font-size: 0.88rem; }
.timeline-year { color: var(--gold); font-size: 0.78rem; font-weight: 700; margin-bottom: 0.25rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-layout { grid-template-columns: 1fr; gap: 3rem; }
  .services-img-wrap { position: static; }
  .map-layout { grid-template-columns: 1fr; gap: 3rem; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-img { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .diff-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 4rem 5%; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-stat { padding: 1rem 1.5rem; flex: 0 1 calc(50% - 0.5rem); }
  .hero-stat:nth-child(2) { border-right: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .map-stats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .diff-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .hero-stat:last-child { border-bottom: none; }
}
/* =========================
   MOBILE HERO DEFINITIVO
========================= */
@media (max-width: 768px){

  .hero{
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    overflow: hidden !important;
    margin-top: 72px !important;
    padding: 0 !important;
  }

  .hero-bg{
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    transform: none !important;
    animation: none !important;
    background-position: center top !important;
  }

  .hero-content{
    position: relative !important;
    z-index: 2 !important;
    padding: 28px 5% 22px !important;
    max-width: none !important;
  }

  .hero-badge{
    font-size: 0.68rem !important;
    padding: 0.4rem 0.75rem !important;
    letter-spacing: 0.4px !important;
    opacity: 1 !important;
    animation: none !important;
  }

  .hero-title{
    font-size: clamp(2.15rem, 11vw, 3rem) !important;
    line-height: 1.05 !important;
    margin: 1rem 0 1rem !important;
    opacity: 1 !important;
    animation: none !important;
  }

  .hero-subtitle{
    display: block !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin: 0 0 1.25rem !important;
    max-width: 100% !important;
    opacity: 1 !important;
    animation: none !important;
  }

  .hero-ctas{
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    opacity: 1 !important;
    animation: none !important;
  }

  .hero-ctas .btn{
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.85rem 1rem !important;
  }

  .hero-stats{
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    z-index: 2 !important;

    width: 100% !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;

    background: rgba(8, 22, 35, 0.96) !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 24px 24px 0 0 !important;
    overflow: hidden !important;

    opacity: 1 !important;
    animation: none !important;
  }

  .hero-stat{
    min-width: 0 !important;
    padding: 18px 10px !important;
    border-right: 1px solid rgba(255,255,255,0.08) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  .hero-stat:nth-child(2),
  .hero-stat:nth-child(4){
    border-right: none !important;
  }

  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4){
    border-bottom: none !important;
  }

  .hero-stat-num{
    font-size: 1.55rem !important;
  }

  .hero-stat-label{
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
  }
}