/* ════════════════════════════════════════════════════════════════
   ganatucargo.co — Stylesheet
   Paleta: Azul #1E5A96 · Gris #2C3E50 · Dorado #D4A574
   ════════════════════════════════════════════════════════════════ */

:root {
  --primary: #1E5A96;
  --primary-dark: #154A7E;
  --secondary: #2C3E50;
  --accent: #D4A574;
  --accent-dark: #C4955F;
  --bg: #ffffff;
  --bg-muted: #f5f6f7;
  --bg-secondary: #2C3E50;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* ────────────────────────── Reset ────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); color: var(--text); line-height: 1.6; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ────────────────────────── Container ────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ────────────────────────── Typography ───────────────────── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--text-muted); }

/* ────────────────────────── Buttons ──────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 0.5rem;
  font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: all 0.2s ease; border: none; text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline-light {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-whatsapp {
  background: #25D366; color: var(--white);
  padding: 1rem 2rem; font-size: 1.1rem; border-radius: 0.75rem;
}
.btn-whatsapp:hover { background: #1da851; }

/* ────────────────────────── Badge ────────────────────────── */
.badge {
  display: inline-block; padding: 0.35rem 0.9rem;
  border-radius: 9999px; font-size: 0.85rem; font-weight: 500;
}
.badge-accent {
  background: rgba(212, 165, 116, 0.2); color: var(--accent);
  border: 1px solid rgba(212, 165, 116, 0.3);
}

/* ────────────────────────── Hero ─────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--primary); color: var(--white);
  padding: 2rem 0;
}
@media (min-width: 768px) { .hero { padding: 2.5rem 0; } }
@media (min-width: 1024px) { .hero { padding: 3rem 0; } }
.hero-bg {
  position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
}
.hero-bg::before {
  content: ''; position: absolute; top: -6rem; right: -6rem;
  width: 24rem; height: 24rem; border-radius: 50%;
  background: var(--accent); filter: blur(80px);
}
.hero-bg::after {
  content: ''; position: absolute; bottom: -8rem; left: -8rem;
  width: 28rem; height: 28rem; border-radius: 50%;
  background: var(--white); filter: blur(80px);
}
.hero-content { position: relative; max-width: 100%; }
.hero-logo-title {
  display: flex; align-items: stretch; gap: 3rem; margin-bottom: 1.5rem; justify-content: space-between;
}
@media (max-width: 768px) { .hero-logo-title { flex-direction: column; gap: 2rem; } }
.hero-logo-title > div {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-start;
}
.brand-mark-large {
  width: 380px; height: 380px; flex-shrink: 0; object-fit: contain;
  background: white; padding: 20px; border-radius: 8px;
}
@media (max-width: 768px) { .brand-mark-large { width: 250px; height: 250px; } }
.hero-content h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero-subtitle {
  font-size: 1.25rem; color: rgba(255,255,255,0.8);
  max-width: 36rem; line-height: 1.6;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.35rem; } }
.hero-actions {
  margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

/* ────────────────────────── Sections ─────────────────────── */
.section { padding: 3rem 0; }
@media (min-width: 768px) { .section { padding: 4rem 0; } }
.section-secondary { background: var(--secondary); color: rgba(255,255,255,0.8); }
.section-secondary h2 { color: var(--white); }
.section-secondary p { color: rgba(255,255,255,0.8); }
.section-muted { background: var(--bg-muted); }
.service-explanation {
  background: rgba(212, 165, 116, 0.08); border-left: 4px solid var(--accent);
  padding: 1rem; border-radius: 0.5rem; margin-top: 1.5rem; margin-bottom: 2rem;
  font-style: italic;
}
.service-explanation h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 0.95rem; font-style: italic; }
.service-explanation p { margin-bottom: 0.5rem; font-size: 0.85rem; line-height: 1.5; font-style: italic; }
.service-explanation p:last-child { margin-bottom: 0; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; line-height: 1.7; }

/* ────────────────────────── Grids ────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 768px) { .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; } }

/* ────────────────────────── Cards ────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 0.75rem; padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease;
}
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.card-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; line-height: 1.6; }

/* ────────────────────────── Advisor ──────────────────────── */
.advisor-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .advisor-grid { grid-template-columns: 1fr 1fr; }
}
.advisor-text h2 { margin: 1rem 0 1.5rem; }
.advisor-text p { margin-bottom: 1rem; font-size: 1.1rem; line-height: 1.7; }
.advisor-photo {
  display: flex; justify-content: center;
}
@media (min-width: 768px) { .advisor-photo { justify-content: flex-end; } }
.advisor-photo img {
  width: 16rem; height: 16rem; object-fit: cover;
  border-radius: 1rem; border: 2px solid rgba(212,165,116,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
@media (min-width: 768px) {
  .advisor-photo img { width: 20rem; height: 20rem; }
}

/* ────────────────────────── Steps ────────────────────────── */
.step-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 0.75rem; padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.step-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.step-number {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.step-icon { font-size: 1.5rem; }
.step-card h3 { margin-bottom: 0.5rem; }
.step-card p { font-size: 0.95rem; line-height: 1.6; }

/* ────────────────────────── Plans ────────────────────────── */
.plan-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 0.75rem; padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: relative;
}
.plan-highlighted {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(30,90,150,0.15);
  outline: 2px solid rgba(30,90,150,0.2);
  outline-offset: -2px;
}
.plan-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--white);
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  font-size: 0.8rem; font-weight: 500;
}
.plan-icon { font-size: 1.25rem; margin-bottom: 0.75rem; }
.plan-price { margin: 0.5rem 0; }
.plan-price .price { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.plan-price .period { font-size: 0.85rem; color: var(--text-muted); margin-left: 0.5rem; }
.plan-desc { font-size: 0.9rem; margin: 0.5rem 0 1rem; }
.plan-features li {
  font-size: 0.875rem; color: var(--text-muted);
  padding: 0.35rem 0; line-height: 1.5;
}

/* ────────────────────────── Add-ons ──────────────────────── */
.add-ons { margin-top: 2rem; }
.addon-card {
  background: var(--bg-muted); border: 1px dashed var(--border);
  border-radius: 0.75rem; padding: 1.5rem;
}
.addon-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.addon-icon { font-size: 1.1rem; }
.addon-header h3 { font-size: 1rem; }
.addon-price { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.addon-card p { font-size: 0.875rem; line-height: 1.6; }

.fine-print {
  font-size: 0.75rem; color: var(--text-muted);
  margin-top: 2rem; max-width: 42rem; line-height: 1.6;
}

/* ────────────────────────── FAQ ──────────────────────────── */
.faq-container { max-width: 42rem; margin: 0 auto; }
.faq-title { text-align: center; margin-bottom: 2.5rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.faq-item summary {
  font-weight: 500; font-size: 1rem; cursor: pointer;
  padding: 0.5rem 0; list-style: none;
  position: relative; padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 0; top: 0.5rem;
  font-size: 1.25rem; color: var(--primary); transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0.5rem 0; font-size: 0.95rem; line-height: 1.7; }

/* ────────────────────────── Contact ──────────────────────── */
.contact-container { max-width: 42rem; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 2.5rem; }
.contact-header h2 { margin-bottom: 1rem; }
.contact-header p { font-size: 1.1rem; line-height: 1.7; }

.payment-card {
  background: var(--bg-muted); border-radius: 0.75rem;
  padding: 1.5rem; margin-bottom: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center; text-align: center;
}
@media (min-width: 640px) {
  .payment-card { flex-direction: row; justify-content: space-between; text-align: left; }
}
.payment-label { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.payment-sublabel { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.breb-key { font-size: 1.25rem; font-weight: 700; color: var(--primary); font-family: monospace; }
.breb-name { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
@media (min-width: 640px) {
  .payment-key { text-align: right; }
}

.payment-steps { margin-bottom: 2rem; }
.step-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.step-item p { font-size: 0.95rem; line-height: 1.6; }

.contact-actions {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  margin-top: 2rem;
}
.contact-email {
  color: var(--text-muted); font-size: 0.95rem;
  transition: color 0.2s;
}
.contact-email:hover { color: var(--primary); }

/* ────────────────────────── Footer ───────────────────────── */
.footer {
  background: var(--primary); color: var(--white);
  padding: 3rem 0;
}
.footer-top {
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: center; text-align: center;
}
@media (min-width: 768px) {
  .footer-top { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-brand { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }
.footer-contact {
  display: flex; flex-direction: column; gap: 1rem; font-size: 0.85rem;
}
@media (min-width: 640px) { .footer-contact { flex-direction: row; } }
.footer-contact a {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.8); transition: color 0.2s;
}
.footer-contact a:hover { color: var(--accent); }
.footer-divider {
  border: none; border-top: 1px solid rgba(255,255,255,0.2);
  margin: 2rem 0;
}
.footer-links { margin-bottom: 1.5rem; }
.footer-links-title { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 0.75rem; }
.footer-links-list { display: flex; flex-direction: column; gap: 1rem; font-size: 0.85rem; }
@media (min-width: 640px) { .footer-links-list { flex-direction: row; } }
.footer-links-list a {
  color: rgba(255,255,255,0.8); transition: color 0.2s;
}
.footer-links-list a:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.75rem; color: rgba(255,255,255,0.5); text-align: center;
}

/* ────────────────────── Activos visuales nuevos ───────────── */
.brand-mark {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  margin: 0 0 1.25rem;
}

.como-funciona-visual {
  display: flex;
  justify-content: center;
  margin: 0 auto 3rem;
}

.como-funciona-img {
  width: min(100%, 700px);
  border-radius: 0.9rem;
  border: 1px solid rgba(30, 90, 150, 0.12);
  box-shadow: 0 12px 30px rgba(15, 36, 61, 0.12);
}

@media (max-width: 639px) {
  .brand-mark { width: 3.25rem; height: 3.25rem; }
  .como-funciona-visual { margin-bottom: 2rem; }
}
