/* BalakApp website — shared styles.
   Color palette matching the app: dark background, orange primary (#F97316),
   muted grays for body text. Mobile-first responsive. */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #0A0A0F;
  color: #E5E5E7;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

/* ─── Header ─── */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid #27272A;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: #E5E5E7;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo span {
  color: #F97316;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  background: #18181B;
  border-radius: 12px;
  padding: 4px;
}

.lang-switcher a {
  display: inline-block;
  padding: 6px 12px;
  text-decoration: none;
  color: #A1A1AA;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 8px;
  transition: all 0.2s;
}

.lang-switcher a:hover {
  color: #E5E5E7;
}

.lang-switcher a.active {
  background: #F97316;
  color: #fff;
}

/* ─── Main content ─── */
main {
  padding-bottom: 40px;
}

h1 {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-top: 32px;
  margin-bottom: 12px;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  color: #E5E5E7;
  margin-top: 20px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 12px;
  color: #D4D4D8;
  font-size: 15px;
}

ul, ol {
  margin: 12px 0 12px 20px;
  color: #D4D4D8;
}

li {
  margin-bottom: 6px;
  font-size: 15px;
}

a {
  color: #F97316;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.last-updated {
  color: #71717A;
  font-size: 13px;
  margin-bottom: 24px;
}

.callout {
  background: #18181B;
  border-left: 3px solid #F97316;
  padding: 14px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 14px;
}

.callout strong {
  color: #fff;
}

/* Tabla de servicios de terceros */
.services-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: #18181B;
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
}

.services-table th,
.services-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #27272A;
}

.services-table th {
  background: #27272A;
  color: #E5E5E7;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.services-table td {
  color: #D4D4D8;
}

.services-table tr:last-child td {
  border-bottom: none;
}

/* ─── Landing page ─── */
.hero {
  text-align: center;
  padding: 40px 0;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 17px;
  color: #A1A1AA;
  margin-bottom: 32px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0;
}

@media (min-width: 600px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: #18181B;
  border: 1px solid #27272A;
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: #F97316;
  transform: translateY(-2px);
}

.card h3 {
  color: #fff;
  margin-top: 0;
  font-size: 18px;
}

.card p {
  color: #A1A1AA;
  font-size: 14px;
  margin-bottom: 0;
}

/* ─── Footer ─── */
footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #27272A;
  text-align: center;
}

footer p {
  font-size: 13px;
  color: #71717A;
  margin-bottom: 4px;
}

/* Para pantallas chicas */
@media (max-width: 480px) {
  h1 { font-size: 26px; }
  .hero h1 { font-size: 32px; }
  h2 { font-size: 18px; }
  .container { padding: 20px 16px 48px; }
}
