/* ============================================================
   SPL Translation — style.css
   Dark charcoal + forest green + gold palette
   ============================================================ */

:root {
  --bg-dark:      #1e2228;
  --bg-mid:       #252b33;
  --bg-light:     #2d3540;
  --green:        #1a6640;
  --green-light:  #2d8a57;
  --green-hover:  #37a368;
  --gold:         #c9a024;
  --gold-light:   #e0b93a;
  --cream:        #f5f0e8;
  --cream-muted:  #c8c0b0;
  --white:        #ffffff;
  --border:       rgba(201,160,36,0.18);

  --ff-serif: Georgia, Cambria, 'Times New Roman', serif;
  --ff-sans:  'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.45);
  --transition: 0.22s ease;

  --max-w: 1120px;
  --section-pad: 80px 24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-dark);
  color: var(--cream);
  font-family: var(--ff-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

/* ── Language visibility (legacy spans kept for transition safety) ── */
html[data-lang="es"] .en-text { display: none; }
html[data-lang="en"] .es-text { display: none; }

/* ── Layout helpers ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad); }
.section--mid  { background: var(--bg-mid); }
.section--light { background: var(--bg-light); }
.section--green { background: var(--green); }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green-light); }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--ff-serif); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--white); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); color: var(--cream); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: var(--gold); margin-bottom: 0.4em; }
h4 { font-size: 1rem; color: var(--cream); }
p  { margin-bottom: 1em; color: var(--cream-muted); }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.15rem; color: var(--cream); }
.section-title { margin-bottom: 48px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { font-size: 1.05rem; max-width: 640px; }
.section-title.text-center p { margin: 0 auto; }
.eyebrow {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  display: block;
  margin-bottom: 10px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--bg-dark);
}
.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(245,240,232,0.35);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-light);
  color: var(--white);
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 34, 40, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--cream-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
  background: rgba(255,255,255,0.06);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--bg-dark) !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language select */
.lang-select {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--cream);
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 28px 5px 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c8c0b0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 6px;
  transition: border-color var(--transition);
  min-width: 80px;
}
.lang-select:focus {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
  border-color: var(--green-light);
}
.lang-select option {
  background: var(--bg-mid);
  color: var(--cream);
}

/* Mobile lang select inside mobile nav */
.nav-mobile .lang-select { margin-top: 12px; width: 100%; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--cream-muted);
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.nav-mobile a:hover { color: var(--cream); background: rgba(255,255,255,0.05); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #0d1014 0%, var(--bg-dark) 40%, #0f2218 100%);
  padding: 100px 24px 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,102,64,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { margin-bottom: 36px; max-width: 580px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sub-page hero (shorter) */
.hero--sub {
  padding: 60px 24px 52px;
}
.hero--sub h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.hero--sub .lead { margin-bottom: 0; }

/* ── Trust bar ── */
.trust-bar {
  background: var(--green);
  padding: 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
}
.trust-item {
  padding: 20px 40px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.trust-item:last-child { border-right: none; }
.trust-item strong {
  font-size: 1.6rem;
  font-family: var(--ff-serif);
  color: var(--white);
  line-height: 1;
}
.trust-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Card grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.card {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 28px;
  transition: transform var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,160,36,0.4);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(26,102,64,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--green-light);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Process steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.step {
  padding: 32px 24px;
  position: relative;
  text-align: center;
}
.step-number {
  width: 52px;
  height: 52px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; color: var(--cream); }
.step p { font-size: 0.9rem; }

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, #0f3d26 100%);
  padding: 64px 24px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.82); margin-bottom: 32px; }
.cta-banner .btn-primary { font-size: 1.05rem; padding: 16px 40px; }

/* ── Discount ribbon ── */
.discount-banner {
  background: var(--gold);
  padding: 28px 24px;
  text-align: center;
}
.discount-banner p {
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
}
.discount-banner strong { font-size: 1.4rem; }

/* ── Language pair matrix ── */
.lang-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.lang-pair {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-pair-flag {
  font-size: 1.5rem;
  line-height: 1;
}
.lang-pair-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
}

/* ── FAQ accordion ── */
.faq-list { margin-top: 40px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: var(--bg-mid);
  color: var(--cream);
  border: none;
  padding: 20px 24px;
  font-family: var(--ff-sans);
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-light); }
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(26,102,64,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--green-light);
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  background: var(--bg-dark);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 20px 24px;
}
.faq-answer p { font-size: 0.92rem; color: var(--cream-muted); }

/* ── Contact info ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,102,64,0.18);
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--green-light);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-detail h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-light); margin-bottom: 4px; }
.contact-detail p, .contact-detail a { font-size: 0.97rem; color: var(--cream); margin: 0; }
.contact-detail a:hover { color: var(--gold); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--cream-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-light); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--bg-mid); }

/* ── Two-column content ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col--reverse .two-col-text { order: 2; }
.two-col--reverse .two-col-vis  { order: 1; }
.two-col-vis {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
}
.two-col h2 { margin-bottom: 16px; }

/* ── Checklist ── */
.checklist { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--cream-muted);
}
.checklist li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--green);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── Payment methods ── */
.payment-methods { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.payment-badge {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 8px;
}
.payment-badge svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--cream-muted);
  margin-bottom: 16px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: var(--cream-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(200,192,176,0.45); }

/* ── Footer ── */
.site-footer {
  background: #13171b;
  border-top: 1px solid var(--border);
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; margin-top: 12px; max-width: 280px; }
.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 16px;
  font-family: var(--ff-sans);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 0.88rem; color: var(--cream-muted); }
.footer-col ul a:hover { color: var(--cream); }
.footer-contact-item { display: flex; gap: 8px; margin-bottom: 10px; font-size: 0.88rem; color: var(--cream-muted); }
.footer-contact-item a { color: var(--cream-muted); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-bottom-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(200,192,176,0.5); margin: 0; }
.footer-attribution { text-align: center; }
.footer-attribution a { color: var(--cream-muted); text-decoration: underline; }
.footer-attribution a:hover { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col--reverse .two-col-text { order: 0; }
  .two-col--reverse .two-col-vis  { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-right .lang-select { display: none; }
  .trust-item { padding: 16px 24px; flex: 1 1 50%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .trust-item { flex: 1 1 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .trust-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
