/* ============================================
   Melissa Salvatierra Leyva
   Consultora en Comercio Internacional
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

/* RESET & BASE */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy:       #0d1f3c;
  --navy-mid:   #1a3358;
  --navy-dark:  #081525;
  --gold:       #c9a84c;
  --gold-light: #e8d08a;
  --cream:      #f8f5ef;
  --cream-dark: #ede8df;
  --white:      #ffffff;
  --text-dark:  #1a1a2e;
  --text-mid:   #4a5568;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 31, 60, 0.97);
  backdrop-filter: blur(10px);
  padding: 18px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 3px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
  padding: 14px 28px;
  border-radius: 3px;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  width: 100%;
  justify-content: center;
}

.btn-wa:hover {
  background: #1ebe5a;
}

.btn-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 28px;
  border-radius: 3px;
  font-size: 14px;
  margin-top: 12px;
  width: 100%;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.btn-mail:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--navy);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 8%;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  margin-bottom: 28px;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* Hero image */
.hero-right {
  position: relative;
}

.hero-img-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.hero-img-wrap img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%);
}

.hero-badge {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 22px;
  border-radius: 3px;
  z-index: 2;
}

.hero-badge strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.hero-badge span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ============================================
   PROPUESTA DE VALOR
   ============================================ */
.propuesta {
  background: var(--cream);
  padding: 90px 8%;
  text-align: center;
}

.propuesta .section-sub {
  max-width: 560px;
  margin: 0 auto 56px;
}

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

.pillar {
  background: var(--white);
  padding: 44px 32px;
  text-align: left;
}

.pillar:first-child {
  border-radius: 4px 0 0 4px;
}

.pillar:last-child {
  border-radius: 0 4px 4px 0;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 20px;
}

.pillar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
}

.pillar p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
  background: var(--navy);
  padding: 90px 8%;
  text-align: center;
}

.servicios .section-title {
  color: var(--white);
}

.servicios .section-sub {
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
  margin: 0 auto 56px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.servicio-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  padding: 36px 32px;
  text-align: left;
  transition: border-color 0.3s, background 0.3s;
}

.servicio-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.04);
}

.servicio-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  color: rgba(201, 168, 76, 0.2);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 16px;
}

.servicio-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}

.servicio-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
}

.servicio-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 3px 10px;
  border-radius: 2px;
}

/* ============================================
   POR QUÉ MELISSA
   ============================================ */
.porque {
  background: var(--cream);
  padding: 90px 8%;
}

.porque-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.porque-img {
  position: relative;
}

.porque-img-frame {
  background: var(--navy-mid);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.porque-img-frame img {
  width: 100%;
  display: block;
  filter: grayscale(20%);
  max-height: 460px;
  object-fit: cover;
  object-position: top;
}

.porque-img-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  background: var(--gold);
  border-radius: 3px;
  z-index: -1;
}

.porque-content .section-tag,
.porque-content .section-title {
  text-align: left;
}

.razones {
  list-style: none;
  margin-top: 32px;
}

.razon {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.razon:last-child {
  border-bottom: none;
}

.razon-check {
  width: 22px;
  height: 22px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
}

.razon h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}

.razon p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================
   HIGHLIGHT BAR / CITA
   ============================================ */
.highlight-bar {
  background: var(--navy);
  padding: 70px 8%;
  text-align: center;
}

.highlight-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.highlight-photo {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(201, 168, 76, 0.5);
}

.highlight-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
}

.highlight-text {
  text-align: left;
}

.highlight-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 16px;
}

.highlight-quote em {
  color: var(--gold);
  font-style: normal;
}

.highlight-author {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   PROCESO
   ============================================ */
.proceso {
  background: var(--white);
  padding: 90px 8%;
  text-align: center;
}

.proceso .section-sub {
  max-width: 520px;
  margin: 0 auto 56px;
}

.proceso-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 56px;
  position: relative;
}

.proceso-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.7% + 14px);
  right: calc(16.7% + 14px);
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 6px,
    transparent 6px,
    transparent 14px
  );
}

.step-circle {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.step-circle span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--gold);
  font-weight: 600;
}

.step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
}

.step p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
  background: var(--cream);
  padding: 90px 8%;
}

.contacto-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contacto-left .section-tag,
.contacto-left .section-title {
  text-align: left;
}

.contacto-left .section-title {
  font-size: 32px;
}

.contacto-left > p {
  font-size: 15px;
  color: var(--text-mid);
  margin: 16px 0 32px;
  line-height: 1.7;
}

.contacto-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacto-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contacto-icon {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.contacto-item-text strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 2px;
}

.contacto-item-text a,
.contacto-item-text span {
  font-size: 13px;
  color: var(--text-mid);
}

.contacto-item-text a:hover {
  color: var(--gold);
}

.contacto-tip {
  background: var(--white);
  border-radius: 4px;
  border-left: 3px solid var(--gold);
  padding: 24px;
  margin-top: 32px;
}

.contacto-tip strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}

.contacto-tip p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

.contacto-cta {
  background: var(--navy);
  border-radius: 4px;
  padding: 40px;
  text-align: center;
}

.contacto-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.contacto-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--navy-dark);
  padding: 32px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 16px;
  font-weight: 500;
}

.footer-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 60px 6%;
  }

  .hero-right {
    display: none;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .pillar:first-child {
    border-radius: 4px 4px 0 0;
  }

  .pillar:last-child {
    border-radius: 0 0 4px 4px;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .porque-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .highlight-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .highlight-text {
    text-align: center;
  }

  .proceso-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .proceso-steps::before {
    display: none;
  }

  .contacto-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  nav {
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
}
