/* =============================================
   AGENCIA ADUANAL LG — styles.css
   agenciaduanallg.com
   ============================================= */

/* --- Reset & Variables --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy:       #042C53;
  --navy-mid:   #185FA5;
  --navy-light: #378ADD;
  --sky:        #B5D4F4;
  --ice:        #E6F1FB;
  --white:      #FFFFFF;
  --gold:       #EF9F27;
  --text-dark:  #0C447C;
  --text-body:  #2a3a4a;
  --text-muted: #6b7e8f;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

/* --- NAVBAR --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(4, 44, 83, 0.97);
  backdrop-filter: blur(8px);
  padding: 0 5%;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 9px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.88; }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  background: linear-gradient(150deg, var(--navy) 0%, #0a3d6e 50%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 5% 60px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(55,138,221,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55,138,221,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 140%;
  background: radial-gradient(ellipse, rgba(55,138,221,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239,159,39,0.15);
  border: 1px solid rgba(239,159,39,0.4);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 em {
  font-style: normal;
  color: var(--sky);
}

.hero-sub {
  font-size: 16px;
  color: rgba(181,212,244,0.85);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  padding: 13px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
}

/* Hero image column */
.hero-image-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.hero-logo-img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.4));
  animation: floatUp 0.8s ease-out both;
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 420px;
}

.stat-item {
  text-align: center;
  padding: 16px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(181,212,244,0.12);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 10px;
  color: rgba(181,212,244,0.65);
  margin-top: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.trust-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 420px;
  width: 100%;
}

.trust-chip {
  font-size: 11px;
  color: rgba(181,212,244,0.7);
  background: rgba(181,212,244,0.08);
  padding: 5px 10px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

/* --- SECTIONS --- */
.section { padding: 90px 5%; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 12px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: #5a6e80;
  line-height: 1.7;
  max-width: 540px;
  font-weight: 300;
}

/* --- SERVICES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.service-card {
  padding: 32px;
  border: 1px solid #dde8f2;
  border-radius: 10px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-mid), var(--navy-light));
  opacity: 0;
  transition: opacity 0.25s;
}

.service-card:hover {
  border-color: var(--sky);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(24,95,165,0.1);
}

.service-card:hover::before { opacity: 1; }

.svc-icon {
  width: 48px; height: 48px;
  background: var(--ice);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.svc-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.svc-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- WHY SECTION --- */
.why-section {
  background: var(--ice);
  border-top: 1px solid #c8ddf0;
  border-bottom: 1px solid #c8ddf0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-check {
  width: 28px; height: 28px;
  min-width: 28px;
  background: var(--navy-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.why-check svg {
  width: 14px; height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
}

.why-item-text strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 3px;
}

.why-item-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.why-visual {
  background: var(--navy);
  border-radius: 12px;
  padding: 40px 32px;
  color: #fff;
}

.why-visual h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #fff;
  margin-bottom: 24px;
  font-weight: 600;
}

.process-steps { display: flex; flex-direction: column; }

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(181,212,244,0.1);
}

.step:last-child { border-bottom: none; }

.step-num {
  width: 32px; height: 32px;
  min-width: 32px;
  background: rgba(239,159,39,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.step-text strong {
  display: block;
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 2px;
}

.step-text p {
  font-size: 12px;
  color: rgba(181,212,244,0.65);
  line-height: 1.5;
}

/* --- ADUANAS --- */
.aduanas-section {
  background: var(--navy);
  padding: 80px 5%;
  text-align: center;
}

.aduanas-inner { max-width: 1200px; margin: 0 auto; }
.aduanas-section .section-label { color: var(--gold); }
.aduanas-section h2 { color: #fff; }
.aduanas-section .section-sub {
  color: rgba(181,212,244,0.75);
  font-size: 15px;
  margin-top: 8px;
  font-weight: 300;
}

.aduanas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 40px auto 0;
}

.aduana-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(181,212,244,0.15);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: left;
}

.aduana-num {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.aduana-label {
  font-size: 11px;
  color: rgba(181,212,244,0.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.aduana-name {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  margin-top: 10px;
}

.aduana-desc {
  font-size: 12px;
  color: rgba(181,212,244,0.55);
  margin-top: 4px;
  line-height: 1.5;
}

/* --- CTA --- */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-section .section-label { color: var(--gold); }
.cta-section h2 { color: #fff; }
.cta-section p {
  color: rgba(181,212,244,0.8);
  font-size: 16px;
  margin-bottom: 36px;
  font-weight: 300;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- CONTACT STRIP --- */
.contact-strip {
  background: var(--navy);
  padding: 24px 5%;
  border-top: 1px solid rgba(181,212,244,0.1);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(181,212,244,0.8);
  font-size: 13px;
}

.contact-icon { font-size: 15px; }

.contact-item a {
  color: rgba(181,212,244,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover { color: #fff; }

/* --- FOOTER --- */
footer {
  background: #020e1a;
  padding: 48px 5% 24px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.9) saturate(0.8);
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(181,212,244,0.45);
  max-width: 300px;
  line-height: 1.65;
  font-weight: 300;
}

.footer-links h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(181,212,244,0.4);
  margin-bottom: 14px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(181,212,244,0.6);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(181,212,244,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero-content,
  .services-grid,
  .why-grid,
  .aduanas-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .nav-links, .nav-cta { display: none; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { flex-direction: column; }
}