/* =============================================
   M&E CONEXIÓN LOGÍSTICA — REDESIGN v2
   LIGHT THEME · SCROLL ANIMATIONS · PARALLAX
   Brand: Orange #ef973b, Gold #edb92b
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --orange: #ef973b;
  --orange-dark: #d97f25;
  --orange-light: #fbb96a;
  --gold: #edb92b;
  --gold-light: #f5d36a;
  --black: #111;
  --dark: #1a1a2e;
  --gray-900: #222;
  --gray-700: #555;
  --gray-500: #888;
  --gray-300: #ccc;
  --gray-100: #f5f5f7;
  --white: #ffffff;
  --bg-cream: #faf9f6;
  --bg-warm: #fef8f0;
  --gradient-brand: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%);
  --gradient-hero: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 40%, #16213e 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 20px 60px rgba(239,151,59,0.15);
  --shadow-btn: 0 4px 20px rgba(239,151,59,0.35);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.redesign {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  color: var(--black);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

body.redesign a { color: var(--orange); text-decoration: none; transition: all 0.3s ease; }
body.redesign a:hover { color: var(--orange-dark); text-decoration: none; }
body.redesign p { color: var(--gray-700); margin-bottom: 1rem; }

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

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gradient-brand);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-btn);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn-brand::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}

.btn-brand:hover::before { left: 100%; }
.btn-brand:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(239,151,59,0.4);
  color: #fff !important;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--black) !important;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--gray-300);
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange) !important;
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.95);
  color: var(--black) !important;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  color: var(--orange) !important;
}

/* ===== NAVBAR ===== */
.re-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.re-navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.re-navbar .navbar-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.re-navbar .logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.re-navbar .logo-icon { width: 44px; height: 44px; }

.re-navbar .logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.re-navbar .brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  transition: color 0.4s;
}
.re-navbar.scrolled .brand-name { color: var(--black); }

.re-navbar .brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--orange-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.4s;
}
.re-navbar.scrolled .brand-sub { color: var(--orange); }

.re-navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.re-navbar .nav-links a.nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 60px;
  transition: all 0.3s;
  position: relative;
}

.re-navbar.scrolled .nav-links a.nav-link { color: var(--gray-700); }
.re-navbar .nav-links a.nav-link:hover,
.re-navbar .nav-links a.nav-link.active { color: #fff; background: rgba(255,255,255,0.12); }
.re-navbar.scrolled .nav-links a.nav-link:hover,
.re-navbar.scrolled .nav-links a.nav-link.active { color: var(--orange); background: rgba(239,151,59,0.08); }

/* Mobile */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}
.mobile-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.re-navbar.scrolled .mobile-toggle span { background: var(--black); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO — FULL IMPACT ===== */
.re-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 240px 0 100px;
  background: var(--gradient-hero);
}

.re-hero .hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.re-hero .hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.7);
}

.re-hero .hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,15,35,0.85) 0%, rgba(26,26,46,0.7) 40%, rgba(22,33,62,0.6) 100%);
}

/* Animated floating shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 2;
  opacity: 0.08;
  animation: floatShape 20s infinite ease-in-out;
}

.hero-shape-1 {
  width: 500px; height: 500px;
  background: var(--orange);
  top: -15%;
  right: -10%;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 350px; height: 350px;
  background: var(--gold);
  bottom: -10%;
  left: -5%;
  animation-delay: -7s;
}

.hero-shape-3 {
  width: 200px; height: 200px;
  background: #fff;
  top: 40%;
  right: 20%;
  animation-delay: -14s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.08); }
}

.re-hero .hero-content {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.re-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(239,151,59,0.15);
  border: 1px solid rgba(239,151,59,0.3);
  border-radius: 60px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.re-hero .hero-eyebrow .pulse-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
  box-shadow: 0 0 12px var(--orange);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.re-hero h1 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 700px;
}

.re-hero h1 .hero-highlight {
  position: relative;
  display: inline-block;
}

.re-hero h1 .hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 14px;
  background: var(--gradient-brand);
  opacity: 0.3;
  border-radius: 4px;
  z-index: -1;
  transform: skewX(-3deg);
}

.re-hero .hero-desc {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.9;
  margin-bottom: 40px;
}

.re-hero .hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.re-hero .hero-metrics {
  display: flex;
  gap: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.re-hero .metric {
  text-align: left;
}

.re-hero .metric-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.re-hero .metric-number .metric-suffix {
  color: var(--orange);
  font-size: 2rem;
}

.re-hero .metric-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ===== SCROLL ANIMATIONS ===== */
[data-scroll] {
  opacity: 0;
  transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-scroll="fade-up"] { transform: translateY(80px); }
[data-scroll="fade-left"] { transform: translateX(-80px); }
[data-scroll="fade-right"] { transform: translateX(80px); }
[data-scroll="zoom-in"] { transform: scale(0.85); }
[data-scroll="rotate-in"] { transform: rotate(-5deg) translateY(60px); }

[data-scroll].is-visible {
  opacity: 1;
  transform: translate(0) scale(1) rotate(0);
}

/* Stagger children */
[data-scroll-stagger] > * { opacity: 0; transform: translateY(40px); transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1); }
[data-scroll-stagger].is-visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
[data-scroll-stagger].is-visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
[data-scroll-stagger].is-visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
[data-scroll-stagger].is-visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
[data-scroll-stagger].is-visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
[data-scroll-stagger].is-visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }

/* ===== MARQUEE BANNER ===== */
.marquee-banner {
  background: var(--gradient-brand);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(0,0,0,0.6);
  text-transform: uppercase;
  letter-spacing: 4px;
  white-space: nowrap;
  padding: 0 40px;
}

.marquee-track span::after {
  content: '✦';
  margin-left: 40px;
  color: rgba(0,0,0,0.3);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== ABOUT SECTION (LIGHT BG) ===== */
.re-about {
  padding: 140px 0;
  background: var(--white);
  position: relative;
}

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

.re-about .about-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.re-about .about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.re-about .about-image-wrap:hover img { transform: scale(1.05); }

.re-about .about-image-wrap .float-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--gradient-brand);
  color: #000;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 8px 30px rgba(239,151,59,0.3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.re-about .about-image-wrap .float-badge .badge-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  line-height: 1;
}

.re-about .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 16px;
}

.re-about .section-eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.re-about h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 24px;
}

.re-about .about-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--gray-700);
  margin-bottom: 36px;
}

.re-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.re-value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  transition: all 0.4s ease;
  border: 1px solid transparent;
}

.re-value-item:hover {
  background: var(--bg-warm);
  border-color: rgba(239,151,59,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.re-value-item .v-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  border-radius: 12px;
  color: #fff;
}

.re-value-item h4 { font-size: 15px; margin-bottom: 2px; color: var(--black); }
.re-value-item p { font-size: 13px; color: var(--gray-500); margin: 0; line-height: 1.5; }

/* ===== SERVICES ===== */
.re-services {
  padding: 140px 0;
  background: var(--bg-cream);
  position: relative;
}

.re-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(239,151,59,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section-header { text-align: center; margin-bottom: 72px; }
.section-header .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 16px;
  justify-content: center;
}

.section-header .section-eyebrow::before,
.section-header .section-eyebrow::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.section-header h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 550px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(239,151,59,0.15);
}

.service-card .card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover .card-img img { transform: scale(1.1); }

.service-card .card-img .card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px; height: 44px;
  background: var(--gradient-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #000;
  box-shadow: 0 4px 15px rgba(239,151,59,0.4);
}

.service-card .card-content {
  padding: 28px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  transition: all 0.3s;
}

.service-card .card-link:hover { gap: 14px; }
.service-card .card-link svg { transition: transform 0.3s; }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* ===== CTA PARALLAX ===== */
.re-cta-parallax {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.re-cta-parallax .cta-bg {
  position: absolute;
  inset: 0;
}

.re-cta-parallax .cta-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  position: absolute;
  top: -10%;
}

.re-cta-parallax .cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,15,35,0.88) 0%, rgba(239,151,59,0.5) 100%);
}

.re-cta-parallax .cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 24px;
}

.re-cta-parallax h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 20px;
}

.re-cta-parallax p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.8;
}

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

.re-contact .contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.re-contact .contact-info h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.re-contact .contact-info > p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 36px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  transition: all 0.4s ease;
  border: 1px solid transparent;
}

.contact-card:hover {
  background: var(--bg-warm);
  border-color: rgba(239,151,59,0.15);
  transform: translateX(8px);
}

.contact-card .card-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  border-radius: 14px;
  color: #fff;
}

.contact-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--gray-500); margin: 0; line-height: 1.6; }
.contact-card a { color: var(--gray-700); font-weight: 500; }
.contact-card a:hover { color: var(--orange); }

/* Form */
.re-form-panel {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.re-form-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.re-form-panel h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.re-form-panel > p {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 32px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 20px;
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-xs);
  color: var(--black);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(239,151,59,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-500); }
.form-group textarea { min-height: 130px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-btn);
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(239,151,59,0.4);
}

/* ===== FOOTER ===== */
.re-footer {
  background: var(--dark);
  padding: 80px 0 40px;
  color: rgba(255,255,255,0.6);
}

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

.re-footer .footer-brand p { font-size: 14px; line-height: 1.9; margin-bottom: 24px; color: rgba(255,255,255,0.5); }
.re-footer .footer-social { display: flex; gap: 10px; }
.re-footer .footer-social a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.re-footer .footer-social a:hover {
  background: var(--gradient-brand);
  color: #000;
  transform: translateY(-4px) rotate(5deg);
}

.re-footer h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  color: #fff;
}

.re-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.re-footer .footer-links li { margin-bottom: 14px; }
.re-footer .footer-links a { font-size: 14px; color: rgba(255,255,255,0.45); transition: all 0.3s; }
.re-footer .footer-links a:hover { color: var(--orange); padding-left: 6px; }

.re-footer .footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.re-footer .footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--orange); }

.re-footer .footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.re-footer .footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); margin: 0; }
.re-footer .footer-bottom a { font-size: 13px; color: rgba(255,255,255,0.35); }
.re-footer .footer-bottom a:hover { color: var(--orange); }

/* ===== SERVICE PAGES ===== */
.re-service-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  padding-top: 100px;
  overflow: hidden;
  position: relative;
}

.re-service-hero .hero-shape { opacity: 0.05; }

.re-service-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.re-service-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.re-service-detail {
  padding: 100px 0;
  background: var(--white);
}

.re-service-detail .detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.re-service-detail .detail-image { border-radius: var(--radius); overflow: hidden; }
.re-service-detail .detail-image img { width: 100%; border-radius: var(--radius); object-fit: cover; }

.re-service-detail h2 { font-size: 2rem; margin-bottom: 20px; }

.re-service-detail .detail-list { list-style: none; padding: 0; margin: 0 0 32px; }
.re-service-detail .detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.6;
}
.re-service-detail .detail-list li svg { flex-shrink: 0; color: var(--orange); margin-top: 3px; }

/* Gracias */
.re-gracias {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
}
.re-gracias .check-icon {
  width: 90px; height: 90px;
  margin: 0 auto 28px;
  background: var(--gradient-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.re-gracias h1 { font-size: 3rem; margin-bottom: 16px; color: var(--black); }
.re-gracias p { font-size: 1.1rem; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .re-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 991px) {
  .re-navbar .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(26,26,46,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
  }
  .re-navbar .nav-links.open { display: flex; }
  .re-navbar .nav-links a.nav-link { color: rgba(255,255,255,0.8) !important; font-size: 22px; }
  .re-navbar .nav-links a.nav-link:hover { color: var(--orange) !important; }
  .mobile-toggle { display: flex; }

  .re-about .about-grid,
  .re-contact .contact-layout,
  .re-service-detail .detail-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .re-values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .re-footer .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .re-hero .hero-metrics { flex-direction: column; gap: 24px; }
  .re-form-panel { padding: 28px; }
  .re-about, .re-services, .re-contact { padding: 80px 0; }
  .re-footer .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .re-hero h1 { font-size: 2.2rem; }
  .re-hero .hero-buttons { flex-direction: column; }
}

/* Override old styles */
body.redesign .site-footer,
body.redesign .site-navbar-wrap,
body.redesign .site-blocks-cover,
body.redesign #topbar { display: none !important; }
body.redesign .site-wrap { overflow: visible; }
body.redesign .site-wrap:before { display: none; }
