/*
Theme Name: Cadaxi Mobility
Theme URI: https://cadaxi.com/
Author: iDisk / EDUARDO
Author URI: https://idisk.com.mx/
Description: Tema custom para Cadaxi (transport, mobilité, taxi, survoltage, livraisons) con esquema de color #FAAF09.
Version: 1.0
License: GPLv2 or later
Text Domain: cadaxi
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #050816;
  --bg-soft: #070b1f;
  --accent: #FAAF09;
  --accent-soft: rgba(250, 175, 9, 0.15);
  --accent-strong: #fdb02a;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --danger: #ef4444;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.65);
  --radius-xl: 24px;
  --radius-full: 999px;
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #000 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.85), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.logo-text {
  color: #e5e7eb;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-link {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.18s ease-out;
}

.nav-link:hover {
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
  font-size: 0.8rem;
}

.lang-link {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  color: var(--muted);
}

.lang-link.active {
  background: var(--accent);
  color: #3b2a00;
  font-weight: 600;
}

.lang-separator {
  font-size: 0.7rem;
  color: rgba(148, 163, 184, 0.7);
  padding: 0 0.1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #3b2a00;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 14px 35px rgba(250, 175, 9, 0.45);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 20px 45px rgba(250, 175, 9, 0.55);
}

.btn-small {
  padding-inline: 0.95rem;
}

/* MAIN LAYOUT */

.site-main {
  padding: 1.8rem 0 3rem;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 175, 9, 0.6);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.7rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin-bottom: 0.8rem;
}

.hero-title span.highlight {
  background: linear-gradient(120deg, #FAAF09, #fbbf24, #facc15);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 1.3rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.hero-secondary {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-secondary strong {
  color: #e5e7eb;
  font-weight: 600;
}

.hero-side-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, #020617, #020617 40%, #000 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-side-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 220deg,
    rgba(250, 175, 9, 0.04),
    rgba(250, 175, 9, 0.15),
    rgba(250, 175, 9, 0.05),
    transparent 55%
  );
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* GENERIC SECTIONS */

.section {
  margin-bottom: 2.2rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}

/* CARDS */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

.card {
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
}

.card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.card p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* FORM CARDS */

.form-card {
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
}

input, select, textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text);
  font-size: 0.86rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.6rem 0 2rem;
  background: radial-gradient(circle at bottom, #020617, #020617 60%, #000 100%);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-contact a {
  color: var(--text);
}

.footer-admin-hint {
  opacity: 0.7;
}

/* RESPONSIVE */

@media (max-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .main-nav {
    display: none;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
