:root {
    --primary-green: #2E7D32;
    --bright-green: #3FAE2A;
    --dark-green: #1B5E20;
    --gold: #D4AF37;
    --gold-light: #F1C94A;
    --light-bg: #F4F6F5;
    --surface-white: #FFFFFF;
    --border-gray: #E0E0E0;
    --text-black: #2B2B2B;
    --text-muted: #6B7280;
    --dark-bg: #0f0f0f;
    --darker-bg: #0a0a0a;
    --text-white: #f5f5f5;
    --input-bg: #FFFFFF;
    --danger: #e74c3c;
    --warning: #f1c40f;
    --accent-neon: #7dff76;
    --card-bg: #121212;
}

body {
    background: var(--light-bg);
    color: var(--text-black);
    overflow-x: hidden;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}
body.no-scroll { overflow: hidden; }

.btn-primary {
    background: var(--dark-green);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.form-control {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 12px 15px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* Global typography */
html, body { line-height: 1.4; }

/* Home Specific Styles */
.home-section { padding: 70px 0; text-align: center; }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-black);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Hero */
.hero-new {
    background: url('../img/slider.jpeg') no-repeat center center;
    background-size: cover;
    min-height: 680px;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 40px;
    position: relative;
    color: white;
}

.hero-bottom {
    position: relative;
    width: 100%;
    height: 80px;
    background: #ffffff;
    border-top-left-radius: 80% 140px;
    border-top-right-radius: 80% 140px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
    margin-top: -40px;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.2) 70%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
    align-items: center;
}

.hero-left { display: flex; flex-direction: column; }

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 20, 20, 0.65);
    border: 1px solid rgba(255,255,255,0.2);
    color: #e6e6e6;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeUp 0.8s ease forwards;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 800;
    max-width: 640px;
    margin: 26px 0 28px 0;
    text-shadow: 0 4px 15px rgba(0,0,0,0.55);
    letter-spacing: -0.4px;
    opacity: 0;
    transform: translateY(14px);
    animation: heroFadeUp 0.9s ease forwards;
    animation-delay: 0.15s;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.hero-text {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    max-width: 800px;
    margin: 40px 0 35px 0;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}

/* Right illustration wrapper */
.hero-illus { position: relative; width: 100%; height: 520px; z-index:3; pointer-events:auto; will-change: transform; transition: transform .35s ease; }
.hero-vignette { display: none; }
.hero-illus .illus-van { position:absolute; right:10px; bottom: 6px; width: 320px; height:auto; transform: rotate(-2deg); pointer-events:none; }
.hero-illus .illus-drop { position:absolute; right:170px; top:40px; width:100px; height:auto; pointer-events:none; }

.hero-phone { position: absolute; right: 70px; top: 0; width: 260px; height: 520px; }
.hero-phone-frame { width: 100%; height: auto; opacity: 0.7; display:block; }
.hero-phone-ui {
    position: absolute;
    top: 70px;
    left: 26px;
    right: 26px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.2);
    padding: 14px;
}
.hero-phone-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #3d3d3d;
    font-weight: 600;
}
.hero-phone-top strong {
    font-size: 1.1rem;
    color: #1b5e20;
    font-weight: 800;
}
.hero-phone-list {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}
.hero-phone-row {
    background: #f2f3f5;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.78rem;
    display: flex;
    justify-content: space-between;
    color: #4b4b4b;
    font-weight: 600;
}
.hero-coins {
    position: absolute;
    right: 150px;
    bottom: 60px;
    display: grid;
    gap: 6px;
}
.hero-coins span {
    width: 70px;
    height: 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f5d46b, #d2a734);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}
.hero-coins span:nth-child(2) { width: 62px; margin-left: 6px; }
.hero-coins span:nth-child(3) { width: 54px; margin-left: 12px; }

.promo-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(46, 125, 50, 0.85); /* primary green with transparency */
    border: 1px solid rgba(255,255,255,0.25);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simulator-card {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 300px;
    background: #0f1011;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 20px 55px rgba(0,0,0,0.55);
    overflow: hidden;
    z-index: 4;
    pointer-events: auto;
}

.sim-header {
    background: linear-gradient(180deg, #8ae63f 0%, #4fb115 100%);
    color: #fff;
    padding: 18px 18px 16px;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 14px 28px rgba(88,182,26,0.38);
}

.sim-header small { opacity: .95; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
.sim-amount { font-size: 2.1rem; line-height: 1; text-shadow: 0 2px 0 rgba(0,0,0,0.2); }

.sim-body {
    padding: 16px 18px 18px;
}

.sim-label {
    font-size: .78rem;
    color: #cfcfcf;
    margin-bottom: 6px;
    display: block;
}

.sim-input {
    width: 100%;
    background: rgba(27,28,29,0.85);
    color: #f2f2f2;
    border: 1px solid #2a2b2d;
    border-radius: 10px;
    padding: 10px 12px;
    outline: none;
    backdrop-filter: blur(2px);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.sim-input:focus {
    border-color: #3a3b3d;
    box-shadow: 0 0 0 2px rgba(94,179,25,0.25);
}

.sim-inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.sim-chips { display:flex; gap:8px; margin-top:8px; flex-wrap:wrap; }
.sim-chip { background:#151617; border:1px solid #2a2b2d; color:#e9e9e9; padding:8px 12px; border-radius:10px; cursor:pointer; font-weight:700; font-size:.9rem; }
.sim-chip.active { background:#1c1e1f; border-color:#3a3b3d; color:#7ede93; }
.sim-spark { margin-top:8px; }
.sim-spark canvas { width:100%; height:48px; display:block; }

.sim-result {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, #0f1011 0%, #0b0c0c 100%);
    border: 1px solid #232325;
    border-radius: 12px;
    padding: 12px 14px;
    color: #cfd3d7;
}
.sim-result .result-amount { background: #141515; border: 1px solid #2b2c2e; padding: 10px 12px; border-radius: 12px; color: #fff; font-weight: 800; text-align: right; white-space: nowrap; font-size: 1.05rem; }

.sim-note {
    margin-top: 8px;
    font-size: .7rem;
    color: #9aa09b;
    text-align: right;
}

.input-group {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    gap: 8px;
    align-items: center;
}
.step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 42px;
    border-radius: 10px;
    border: 1px solid #2a2b2d;
    background: #151617;
    color: #e9e9e9;
    cursor: pointer;
    user-select: none;
    transition: background .15s ease, transform .06s ease;
}
.step:active { transform: translateY(1px); }
.step:hover { background:#191a1b; }

@keyframes heroFadeUp {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

.btn-hero-green {
    background: linear-gradient(180deg, #67c022 0%, #4da614 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 8px 0 rgba(0,0,0,0.25), 0 12px 24px rgba(78,166,20,0.35);
    text-decoration: none;
}

.btn-hero-outline {
    background-color: rgba(0,0,0,0.35);
    border: 2px solid rgba(255,255,255,0.75);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    backdrop-filter: blur(3px);
    text-decoration: none;
}

/* Step Cards */
.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.step-card {
    background: linear-gradient(180deg, #fffaf3 0%, #f6f1e9 100%);
    padding: 32px 22px 26px;
    border-radius: 20px;
    border: 1px solid #e6decd;
    box-shadow: 0 20px 55px rgba(0,0,0,0.15);
    text-align: center;
}

.step-icon { position: relative; width: 200px; height: 140px; margin: 0 auto 18px; display: grid; place-items: center; }
.step-icon::before { content: ""; position: absolute; inset: 0; border-radius: 16px; background: radial-gradient(120% 80% at 50% 45%, rgba(255,200,120,0.22) 0%, rgba(255,200,120,0.06) 46%, rgba(0,0,0,0) 70%); }
.step-icon img { width: 176px; height: 124px; object-fit: contain; display: block; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }

.step-card h3 {
    color: #2f8d1b;
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 800;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.btn-small {
    background: linear-gradient(180deg, #f2f2f2 0%, #e7e7e7 100%);
    color: #333;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #d9d9d9;
    box-shadow: 0 6px 14px rgba(0,0,0,0.14);
}

/* Benefits Section */
.benefits-section {
    position: relative;
    padding: 90px 0;
    background: #0e0e0e;
    overflow: hidden;
}
.benefits-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 45%, rgba(10,10,10,0.35) 70%, rgba(10,10,10,0.15) 100%),
      url('../img/1.jpeg') center/cover no-repeat;
    opacity: 0.95;
    transform: scale(1.02);
}
.benefits-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(40% 60% at 15% 35%, rgba(67,192,71,0.18), transparent 60%);
    pointer-events: none;
}

.section-head {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    text-align: left;
    position: relative;
    z-index: 2;
}
.section-head .section-title { margin-bottom: 10px; color: #f5f5f5; }
.section-head .section-subtitle { margin-bottom: 0; color: rgba(255,255,255,0.7); }

.benefits-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: center;
    position: relative;
    z-index: 2;
    perspective: 1200px;
}
.benefits-illus {
    position: relative;
    align-self: center;
    display: flex;
    justify-content: flex-end;
}
.benefits-illus img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 40px 70px rgba(0,0,0,0.45);
    transform: perspective(1200px) rotateY(-10deg) rotateX(4deg) translateZ(10px);
    transition: transform .5s ease, box-shadow .5s ease;
}
.benefits-illus img:hover {
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateZ(24px);
    box-shadow: 0 50px 90px rgba(0,0,0,0.55);
}

/* Cómo Funciona – fondo con ciudad */
#como-funciona {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.96) 30%, rgba(255,255,255,0.94) 100%),
      url('../img/hero-city.svg') center/cover no-repeat;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
#como-funciona .section-title { font-size: 2.8rem; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 100%;
    margin: 0;
    position: relative;
    z-index: 2;
}

.how-section {
    position: relative;
    padding: 90px 0 80px;
    overflow: hidden;
}
.how-section .section-title { color:#0b0b0b; text-align:center; }
.how-bg {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(14,14,14,0.8) 0%, rgba(20,20,20,0.8) 40%, rgba(20,20,20,0.85) 100%),
      url('../img/1.jpeg') center/cover no-repeat;
    transform: scale(1.02);
}
.how-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.how-tagline {
    margin: 8px auto 22px;
    color: #d1f5d8;
    font-weight: 600;
    opacity: .95;
}
.how-cards {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    margin-top: 10px;
}
.how-card {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 20px 18px 16px;
    box-shadow: 0 22px 50px rgba(15,23,42,0.14);
    transform: perspective(1000px) translateZ(0) rotateX(0) rotateY(0);
    transition: transform .25s ease, box-shadow .25s ease;
}
.how-card:hover {
    transform: perspective(1000px) translateZ(10px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 28px 60px rgba(15,23,42,0.2);
}
.how-card .how-num {
    font-family: 'Roboto Mono','Inter',monospace;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 8px;
}
.how-card h3 {
    font-size: 1.2rem;
    color: #111827;
    margin: 4px 0 8px;
    font-weight: 800;
}
.how-card p { color:#6b7280; font-size:.95rem; margin-bottom:12px; }
.how-cta { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:22px; }
.how-cta .btn-hero-green { width:auto; }
.how-cta-note { color:#9ca3af; font-weight:700; letter-spacing:.06em; text-transform:uppercase; font-size:.78rem; }

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

.impact-section { position:relative; padding: 90px 0 80px; overflow:hidden; }
.impact-bg {
  position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(46,204,113,0.18), transparent 60%),
    radial-gradient(1200px 700px at 90% 40%, rgba(15,23,42,0.35), transparent 60%),
    linear-gradient(180deg, rgba(13,17,23,0.92) 0%, rgba(13,17,23,0.96) 30%, rgba(10,12,14,0.98) 100%),
    url('../img/2.jpeg') center/cover no-repeat;
  filter: saturate(1.05);
  transform: translateY(0);
  will-change: transform;
}
.impact-inner { position:relative; z-index:2; max-width:1200px; margin:0 auto; padding:0 20px; text-align:center; }
.impact-kicker { color:#d1f5d8; opacity:.95; margin:8px auto 16px; font-weight:600; }
.impact-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:10px 0 18px; }
.impact-kpi { background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); border-radius:14px; padding:12px; backdrop-filter: blur(2px); }
.impact-kpi .val { color:#7dffb3; font-size:1.3rem; font-weight:800; font-family:'Roboto Mono','Inter',monospace; }
.impact-kpi .lbl { color:#9ca3af; font-size:.78rem; }
.impact-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:16px; margin-top:6px; }
.impact-card { background:#ffffff; border:1px solid rgba(0,0,0,0.08); border-radius:18px; padding:18px; text-align:left; box-shadow:0 22px 50px rgba(15,23,42,0.14); transform: perspective(1000px) translateZ(0); transition: transform .25s ease, box-shadow .25s ease; }
.impact-card:hover { transform: perspective(1000px) translateZ(10px) rotateX(2deg) rotateY(-2deg); box-shadow:0 28px 60px rgba(15,23,42,0.2); }
.impact-card .icon { font-size:1.6rem; }
.impact-card h3 { margin:8px 0 6px; font-size:1.15rem; font-weight:800; color:#0f172a; }
.impact-card p { margin:0; color:#64748b; }
.impact-cta { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:20px; }
.impact-cta .btn-hero-green, .impact-cta .btn-hero-outline { width:auto; }
@media (max-width: 900px) {
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .impact-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .impact-grid { grid-template-columns: 1fr; }
  .impact-kpis { grid-template-columns: 1fr 1fr; }
}

.site-footer {
    background: #0d0d0d;
    color: #e8e8e8;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 10px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 24px;
    padding: 56px 20px 48px;
}
.footer-col { font-size: .95rem; }
.footer-brand { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.footer-text { opacity: .85; }
.footer-contact { margin-top: 12px; font-weight: 600; }
.footer-contact a { color: #e8e8e8; text-decoration: none; opacity: .9; }
.footer-contact a:hover { color: var(--primary-green); opacity: 1; }
.footer-title { font-weight: 700; margin-bottom: 14px; margin-top: 6px; color: #fff; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-list a { color: #e8e8e8; text-decoration: none; opacity: .9; }
.footer-list a:hover { color: var(--primary-green); opacity: 1; }
.footer-bottom { padding: 24px 20px; background: #0a0a0a; border-top: 1px solid rgba(255,255,255,0.06); font-size: .9rem; opacity: .9; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.auth-footer-bar {
    background: #0f1110;
    color: #e7efe9;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 56px;
}
.auth-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    padding: 40px 20px 32px;
}
.auth-footer-col { font-size: .95rem; }
.auth-footer-brand { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; color: #fff; }
.auth-footer-text { opacity: .85; line-height: 1.5; }
.auth-footer-title { font-weight: 700; margin-bottom: 10px; color: #fff; }
.auth-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.auth-footer-links a { color: #cfe3d4; text-decoration: none; opacity: .9; }
.auth-footer-links a:hover { color: var(--primary-green); opacity: 1; }
.auth-footer-bottom { padding: 16px 20px; background: #0b0d0c; border-top: 1px solid rgba(255,255,255,0.06); font-size: .88rem; color: #c2ccc6; }
@media (max-width: 900px) {
  .auth-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .auth-footer-grid { grid-template-columns: 1fr; }
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 96px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25);
    z-index: 1200;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.28);
}
.whatsapp-float svg {
    width: 26px;
    height: 26px;
    display: block;
    fill: currentColor;
}

.benefit-step {
    background: rgba(255,255,255,0.96);
    padding: 26px;
    border-radius: 18px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.75);
    transform: translateZ(0);
    transition: transform .35s ease, box-shadow .35s ease;
    backdrop-filter: blur(6px);
}
.benefit-step:hover {
    transform: translateY(-6px) rotateX(2deg);
    box-shadow: 0 26px 50px rgba(0,0,0,0.22);
}

.step-number {
    width: 35px;
    height: 35px;
    background: #2a3d2e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-number.two { background: #5eb319; }
.step-number.three { background: #1b4d2a; }

/* Navigation Bar */
.navbar {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Mas alto para logo mas grande */
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
}
.navbar-hero.scrolled {
    height: 80px;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.navbar .container { height: 100%; }
.navbar-hero .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
}

.nav-links { z-index: auto; }
.navbar-hero .nav-links { z-index: 1001; }

/* Better tap target and visual */
.nav-links a:hover { color: var(--bright-green); }
.btn-ingresar { 
    box-shadow: 0 8px 20px rgba(94,179,25,0.4); 
    border-radius: 30px !important;
    padding: 10px 25px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 800 !important;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo { 
    height: 90px; /* Logo mas grande */
    width: auto; 
    display:block; 
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.2));
}
.navbar-hero.scrolled .brand-logo {
    height: 70px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--bright-green);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.navbar-hero .nav-links a { border-bottom: none; }
.navbar-hero .nav-links a:hover,
.navbar-hero .nav-links a.active { color: var(--bright-green); }

.navbar-hero .nav-links a { color: #ffffff; }

/* Mobile nav toggle */
.nav-toggle { 
    display:none; 
    width:48px; 
    height:48px; 
    border-radius:12px; 
    border:1px solid rgba(255,255,255,0.25); 
    background: rgba(0,0,0,0.4); 
    color:#fff; 
    align-items:center; 
    justify-content:center; 
    cursor:pointer;
    transition: all 0.3s ease;
}
.nav-toggle:hover {
    background: rgba(0,0,0,0.6);
    border-color: var(--bright-green);
}
.nav-toggle span { width: 18px; height: 2px; background:#fff; position: relative; display:block; }
.nav-toggle span::before, .nav-toggle span::after { content:""; position:absolute; left:0; right:0; height:2px; background:#fff; }
.nav-toggle span::before { top:-6px; } .nav-toggle span::after { top:6px; }

@media (max-width: 900px) {
  .nav-toggle { display:flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    padding: 18px 20px 22px;
    background: linear-gradient(180deg, rgba(0,0,0,0.98), rgba(0,0,0,0.94));
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display:none;
    flex-direction: column;
    gap: 14px;
    z-index: 1001;
    transform: translateY(-10px);
    opacity: 0;
    transition: all .25s ease;
  }
  .nav-links.open { display:flex; transform: translateY(0); opacity: 1; }
  .navbar-hero .nav-links a { color:#fff; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); width: 100%; text-align: center; }
  .navbar-hero .nav-links a::after { display: none; }
  .btn-ingresar { width: 100%; text-align: center; margin-top: 10px; }
}

.btn-ingresar {
    background: var(--primary-green);
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
}

/* Registration Pages Styling */
.reg-container {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 0 20px;
}

.reg-form-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.reg-form-box h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.reg-form-box p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.reg-info-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.reg-preview {
    width: 100%;
    max-width: 420px;
    height: 480px;
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.94) 40%, rgba(255,255,255,0.92) 100%),
      url('../img/hero-city.svg') center/cover no-repeat;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.reg-preview img { width: 220px; height: auto; opacity: .9; }
.reg-preview .reg-van { position:absolute; bottom: 28px; right: 26px; width: 220px; transform: rotate(-2deg); }
.reg-preview .reg-drop { position:absolute; top: 24px; right: 48px; width: 90px; opacity: .9; }

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
    opacity: 0.6;
    filter: grayscale(100%);
}

/* Dashboard Flows Styling */
.flow-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 32px 28px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
    margin-bottom: 36px;
}

.publish-card {
    padding: 28px 30px 26px;
    border-radius: 24px;
    background: radial-gradient(circle at 0 0, rgba(212,175,55,0.18), transparent 55%), #ffffff;
}

.publish-header {
    margin-bottom: 20px;
}

.publish-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(63,174,42,0.08);
    color: var(--primary-green);
    font-weight: 700;
}

.publish-card .section-title {
    font-size: 1.9rem;
    margin: 10px 0 6px;
}

.publish-card .section-title span {
    font-weight: 800;
}

.publish-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.publish-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr);
    gap: 28px;
    margin-top: 24px;
}

@media (max-width: 1200px) {
  .publish-grid { grid-template-columns: 1fr; }
}

.publish-main {
    display: flex;
}

.publish-box {
    width: 100%;
    border-radius: 20px;
    padding: 22px 22px 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f4f6f5 50%, #ffffff 100%);
    box-shadow: 0 18px 40px rgba(15,23,42,0.08);
    border: 1px solid rgba(0,0,0,0.04);
}

.publish-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(46,125,50,0.06);
    color: var(--primary-green);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.publish-chip-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(212,175,55,0.8), rgba(241,201,74,0.6));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.8), 0 0 18px rgba(212,175,55,0.75);
}

.publish-chip-icon svg {
    width: 12px;
    height: 12px;
    fill: #1b1b1b;
}

.publish-field-group {
    margin-top: 16px;
}

.publish-field-group label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-black);
}

.input-with-icon {
    position: relative;
    display: block;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(46,125,50,0.16), transparent 65%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.input-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-green);
}

.publish-input {
    padding-left: 46px;
}

.publish-price-row {
    margin-top: 18px;
}

.publish-price-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
}

.publish-price-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 4px;
}

.publish-price-value .currency {
    font-family: 'Poppins','Inter',sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.publish-price-value .amount {
    font-family: 'Roboto Mono','Inter',monospace;
    font-size: 2rem;
    font-weight: 700;
}

.publish-price-value .unit {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.publish-price-updated {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 4px;
}

.map-shell {
    border-radius: 16px;
    background: #f8faf9;
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
}

.map-shell-header {
    padding: 10px 14px 0;
}

.map-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(27,94,32,0.08);
    color: var(--primary-green);
    font-size: 0.78rem;
    font-weight: 600;
}

#seller-pickup-map {
    width: 100%;
    height: 260px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    margin: 10px 14px 8px;
}

@media (max-width: 600px) {
  #seller-pickup-map { height: 320px; margin: 8px 12px; }
  .publish-box { padding: 18px; border-radius: 16px; }
  .publish-cta { padding: 12px 22px; }
}

.map-hint {
    font-size: 0.8rem;
    color: #6b7280;
    padding: 0 14px 12px;
}

.publish-cta {
    margin-top: 22px;
    width: 100%;
    padding: 12px 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bright-green), var(--dark-green));
    box-shadow: 0 16px 30px rgba(46,125,50,0.35);
    color: #ffffff;
    font-weight: 700;
    border: none;
}

.publish-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(27,94,32,0.4);
}

.publish-aside {
    display: flex;
}

.publish-aside-card {
    width: 100%;
    border-radius: 18px;
    padding: 18px 18px 16px;
    background: linear-gradient(145deg, #ffffff 0%, #f4f6f5 60%, #ffffff 100%);
    border: 1px dashed #d0d7d2;
}

.publish-aside-card h4 {
    font-size: 0.98rem;
    margin-bottom: 8px;
    color: #111827;
}

.publish-aside-card ul {
    padding-left: 18px;
    font-size: 0.86rem;
    color: #4b5563;
    line-height: 1.6;
}

.publish-aside-card li + li {
    margin-top: 4px;
}
}

.buyer-hero {
    margin-bottom: 32px;
}

.buyer-hero-inner {
    border-radius: 20px;
    padding: 22px 26px 26px;
    background:
      linear-gradient(180deg, rgba(244,246,245,0.3) 0%, rgba(244,246,245,0.96) 55%, rgba(244,246,245,1) 100%),
      url('../img/hero-city.svg') center top/cover no-repeat;
    box-shadow: 0 18px 45px rgba(15,23,42,0.1);
}

.buyer-hero-header {
    margin-bottom: 18px;
}

.buyer-title {
    font-family: 'Poppins','Inter',sans-serif;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--text-black);
}

.buyer-title span {
    font-weight: 700;
}

.buyer-subline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.buyer-brand {
    color: var(--primary-green);
    font-weight: 600;
}

.buyer-dot {
    opacity: 0.5;
}

.buyer-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 26px;
    align-items: stretch;
}

.buyer-greeting-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 14px 35px rgba(15,23,42,0.08);
}

.buyer-greeting-title {
    font-family: 'Poppins','Inter',sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-black);
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.buyer-greeting-title span {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
}

.buyer-greeting-text {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.buyer-today-card {
    margin-top: 18px;
    padding: 16px 18px 18px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--border-gray);
    box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}

.buyer-today-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.buyer-today-value {
    font-family: 'Roboto Mono','Inter',monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-black);
}

.buyer-today-sub {
    margin-top: 4px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.buyer-cta {
    margin-top: 14px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
    border-radius: 999px;
}

.buyer-map-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 16px 16px 18px;
    box-shadow: 0 14px 35px rgba(15,23,42,0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pickup-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.history-card, .next-card {
  background: rgba(255,255,255,0.96);
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(15,23,42,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}
.history-card { padding: 16px; }
.history-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.history-head h3 { font-size:1rem; color:#2a3d2e; }
.history-cols { display:grid; grid-template-columns: 1fr repeat(3,auto); gap: 12px; color:#9aa3a2; font-size:.85rem; }
.history-body { display:flex; flex-direction:column; gap:8px; }
.hist-row { display:grid; grid-template-columns: 1fr repeat(3,auto); gap: 12px; align-items:center; background:#f7f9f8; border-radius:12px; padding:8px 10px; }
.hist-left { display:flex; align-items:center; gap:8px; color:#374151; }
.dot { width:10px; height:10px; border-radius:999px; background:#8bc34a; display:inline-block; }
.hist-liters, .hist-amount, .hist-price { color:#111827; font-weight:600; font-family:'Roboto Mono','Inter',monospace; }
.next-card { padding: 16px; display:flex; flex-direction:column; gap:10px; }
.next-head { display:flex; justify-content:space-between; align-items:center; }
.next-head h3 { font-size:1rem; color:#2a3d2e; }
.badge { background:#eef5ef; color:#2E7D32; border-radius:999px; padding:4px 10px; font-weight:700; font-size:.78rem; }
.next-price { font-size:1.6rem; font-weight:800; color:#1f2937; }
.next-sub { color:#6b7280; font-size:.9rem; }
.accept-wrap { display:flex; flex-direction:column; gap:6px; }
#accept-slider { -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; background: #e5e7eb; outline: none; }
#accept-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: #2a3d2e; border-radius: 50%; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
#accept-slider::-moz-range-thumb { width: 18px; height: 18px; background: #2a3d2e; border-radius: 50%; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.accept-scale { display:flex; justify-content:space-between; color:#9aa3a2; font-size:.85rem; }
.next-stats { display:grid; grid-template-columns: repeat(3,1fr); gap:8px; color:#374151; }
.next-stats .stat { background:#f7f9f8; border-radius:12px; padding:8px 10px; display:flex; flex-direction:column; align-items:flex-start; }
.next-stats .stat b { font-family:'Roboto Mono','Inter',monospace; }
@media (max-width: 900px) {
  .pickup-grid { grid-template-columns: 1fr; }
}
.buyer-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.buyer-map-bg {
    margin-top: 4px;
    border-radius: 16px;
    height: 220px;
    background:
      radial-gradient(circle, rgba(212,175,55,.25), transparent 55%),
      url('../img/comprador/mapa.png') center/cover no-repeat;
}

.price-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    border: 1px solid #eee;
}

.price-box h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
}

.calendar-widget {
    background: white;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 20px;
    max-width: 400px;
}

.success-badge {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.stats-tabs {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.stat-tab {
    color: #c7c7c7;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 10px 12px;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.stat-tab.active {
    color: #f5f5f5;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 10px;
    text-shadow: 0 0 12px rgba(46,204,113,0.5);
}

.stats-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.stat-item h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.8rem;
    color: #888;
}

.stats-bar {
    background: linear-gradient(180deg, #0e0e0e 0%, #121212 100%);
    padding: 40px 0 30px;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.stats-bar-card {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background:
      radial-gradient(900px 400px at 15% 0%, rgba(46,204,113,0.10), transparent 60%),
      linear-gradient(180deg, #0f1115 0%, #0b0d10 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 26px 24px 18px;
    box-shadow: 0 16px 36px rgba(0,0,0,0.45);
    overflow: hidden;
    transition: transform .35s ease;
    will-change: transform;
}
.stats-bar-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px);
    opacity: 0.25;
    pointer-events: none;
}
.stats-bar-card::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: -30%; right: -30%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.06) 45%, transparent 60%);
    transform: translateX(-60%);
    animation: cardSheen 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes cardSheen {
  0% { transform: translateX(-60%); opacity: 0; }
  15% { opacity: .8; }
  50% { transform: translateX(60%); opacity: .4; }
  100% { transform: translateX(60%); opacity: 0; }
}

.stats-bar .stat-item h2 {
    color: #fff;
}

.stats-bar .stat-item p {
    color: #b5b5b5;
}

.stats-bar .stats-values {
    gap: 20px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
}
.animate-up { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.in-view { opacity: 1; transform: none; }

.stats-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.stats-cta { width: auto; }
.stats-cta-dark {
    border-color: #3b3b3b;
    background: #1f1f1f;
    color: #fff;
}
.stats-logos {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
    opacity: 0.6;
    font-weight: 600;
}

.benefits-section {
    background: linear-gradient(0deg, rgba(245,245,245,1) 0%, rgba(245,245,245,0.92) 50%, rgba(245,245,245,0.85) 100%), url('../img/hero-city.svg') center/cover no-repeat;
}

/* Hybrid Model */
.hybrid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 10px auto 0;
}

.model-section { background: #ffffff; }
.model-head {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
}
.model-head .section-title { text-align: left; }
.model-head .section-subtitle { text-align: left; margin-bottom: 0; }
.model-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    color: #666;
    opacity: 0.7;
}

/* Responsive layout */
@media (max-width: 900px) {
  .hero-new { height: auto; padding-top: 100px; padding-bottom: 30px; }
  .hero-bottom { margin-top: -26px; height: 56px; border-top-left-radius: 90% 120px; border-top-right-radius: 90% 120px; z-index: 1; }
  .hero-title { font-size: 2rem; margin: 18px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { order: 2; }
  .hero-illus { height: 420px; margin-top: 10px; }
  .hero-phone { right: 40px; width: 220px; }
  .hero-coins { right: 120px; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .benefits-wrap { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .benefits-illus { justify-content: center; }
  .benefits-illus img { transform: none; }
  .stats-values { grid-template-columns: 1fr 1fr; }
  .hybrid-grid { grid-template-columns: 1fr; }
  .navbar-hero { height: 80px; }
  .brand-logo { height: 60px; }
  .nav-links { gap: 18px; }
  .navbar-hero .container { padding: 0 16px; }
}
@media (max-width: 600px) {
  .hero-kicker { font-size: 0.8rem; }
  .hero-title { font-size: 1.7rem; }
  .hero-illus { height: 400px; }
  .hero-phone { right: 14px; width: 190px; top: 10px; }
  .hero-coins { right: 80px; bottom: 30px; }
  .hero-illus .illus-van { width: 180px; right: 6px; bottom: 0; transform: rotate(-2deg); }
  .hero-phone-row { font-size: 0.72rem; }
  .step-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .stats-values { grid-template-columns: 1fr; }
  .stats-actions { justify-content: center; }
  .stats-logos { margin-left: 0; justify-content: center; flex-wrap: wrap; }
  .btn-hero-green, .btn-hero-outline { width: 100%; text-align: center; }
}

.hybrid-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 15px;
    padding: 40px;
    color: white;
    text-align: left;
}

.form-control--light {
    background: #ffffff !important;
    color: #222 !important;
    border: 1px solid #ddd !important;
}
.form-control--light::placeholder { color: #999; }

.hybrid-card--restaurants {
    background:
      url('../img/hybrid-texture.svg') center/cover no-repeat,
      linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 100%);
    background-blend-mode: screen, normal;
}

.hybrid-card--buyers {
    background:
      url('../img/hybrid-texture.svg') center/cover no-repeat,
      linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 100%);
    background-blend-mode: screen, normal;
}

.hybrid-card h3 {
    color: #f1c40f;
    margin-bottom: 20px;
}

.hybrid-card ul {
    list-style: none;
}

.hybrid-card li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hybrid-card li::before {
    content: '✓';
    color: var(--primary-green);
}

/* Partner logos */
.partner-logos {
    max-width: 1200px;
    margin: 0 auto 10px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    opacity: 0.9;
    filter: grayscale(100%);
    flex-wrap: nowrap;
}
.partner-logos img {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: .7;
    transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}
.partner-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-1px);
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Auth Pages */
.auth-wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.auth-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

.auth-card--light {
    background: #ffffff;
    border: 1px solid #eaeaea;
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-muted);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--input-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
}

.is-invalid { border-color: #e74c3c !important; box-shadow: 0 0 0 3px rgba(231,76,60,0.12); }
.is-valid { border-color: #27ae60 !important; box-shadow: 0 0 0 3px rgba(39,174,96,0.12); }
.form-hint { font-size: .82rem; color: #666; margin-top: 6px; }
.form-error { font-size: .82rem; color: #c0392b; margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pass-group { position: relative; }
.pass-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 6px;
}
.strength {
  height: 8px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 10px;
}
.strength-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #e74c3c, #f1c40f, #2ecc71);
  transition: width .25s ease;
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-image: linear-gradient(135deg, var(--bright-green), var(--dark-green));
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.btn-primary:hover {
    background-image: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary-green);
    text-decoration: none;
}

.login-hero {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.94) 40%, rgba(255,255,255,0.92) 100%),
      url('../img/hero-city.svg') center/cover no-repeat;
    padding: 80px 20px;
}
.login-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    align-items: start;
}
.login-side {
    background: linear-gradient(135deg, #242424 0%, #161616 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 24px 24px;
    box-shadow: 0 20px 55px rgba(0,0,0,0.18);
}
@media (max-width: 900px) {
  .login-wrap { grid-template-columns: 1fr; }
}

/* New Auth Pro Layout (dark, like reference) */
.auth-shell {
  min-height: calc(100vh - 80px);
  background: radial-gradient(900px circle at 5% 10%, rgba(46, 204, 113, 0.12) 0%, rgba(23,23,23,1) 60%),
              radial-gradient(900px circle at 95% 90%, rgba(42, 61, 46, 0.18) 0%, rgba(23,23,23,1) 60%),
              #171717;
  padding: 80px 16px 40px;
  display: grid;
  place-items: center;
}
.auth-frame {
  width: 100%;
  max-width: 980px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  box-shadow: 0 26px 90px rgba(0,0,0,0.35);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.auth-left {
  position: relative;
  background:
    url('../img/comprador/fondo.png') center/cover no-repeat;
  min-height: 560px;
  display: grid;
  align-items: end;
  padding: 28px;
  overflow: hidden;
}
.auth-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.35) 100%),
    radial-gradient(900px circle at 20% 0%, rgba(0,0,0,0.30) 0%, transparent 60%);
  z-index: 0;
}
.auth-left .promo {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}
.auth-left .promo h2 { font-size: 2rem; margin: 0 0 6px; }
.auth-left .promo p { opacity: .9; }
.auth-right {
  background: linear-gradient(180deg, #151a19 0%, #121513 100%);
  padding: 32px 28px;
}
.auth-right .form-group { margin-bottom: 12px; }
.auth-right .form-control { background:#1a201c; color:#eaf6ee; border-color:#2a3d2e; }
.auth-right .form-control::placeholder { color:#9fb1a4; }
.auth-heading h1 { color: #fff; margin: 0; }
.auth-heading p { color: #c8d1c9; margin: 6px 0 16px; }
.social-btn {
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  border: none;
  width: 100%;
  display: inline-block;
  text-decoration: none;
}
.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: #74809a;
  font-size: .85rem;
  margin: 14px 0;
}
.divider::before, .divider::after {
  content: "";
  height: 1px;
  background: rgba(255,255,255,0.08);
  display: block;
}
.input-icon { position: relative; }
.input-icon .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .85;
}
.input-icon .form-control { padding-left: 42px; background: #1a201c; color: #eaf6ee; border-color: #2a3d2e; }
.input-icon .form-control::placeholder { color: #9fb1a4; }
.btn-gradient { background: linear-gradient(90deg, #2a3d2e, var(--primary-green)); color: #fff !important; }
.auth-links { display:flex; justify-content: space-between; align-items:center; font-size:.9rem; margin:6px 0 14px; }
.auth-links a { color: #c8d1c9; text-decoration:none; }
.auth-links a:hover { color: #fff; }
@media (max-width: 900px) {
  .auth-frame { grid-template-columns: 1fr; }
  .auth-left { min-height: 240px; }
}

.contact-hero {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.35) 100%),
      url('../img/hero-city.svg') center/cover no-repeat;
    color: #fff;
    padding: 110px 20px 80px;
}
.contact-hero .section-title { color: #fff; text-align: left; }
.contact-hero .section-subtitle { color: #d0d0d0; text-align: left; }
.contact-wrap { max-width: 1200px; margin: -40px auto 70px; padding: 0 20px; }
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.contact-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.1);
    padding: 30px;
}
.contact-side {
    background: linear-gradient(135deg, #242424 0%, #161616 100%);
    color: #fff;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 30px;
}
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0; }
.contact-cta { margin-top: 18px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-wrap { margin: 20px auto 40px; }
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Dashboard Layout */
.dashboard-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.sidebar {
    background-color: var(--darker-bg);
    padding: 30px 20px;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.sidebar-logo {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    display: block;
    text-decoration: none;
}

.nav-menu {
    list-style: none;
}

.nav-item {
    margin-bottom: 10px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--primary-green);
}

.nav-link:focus { outline: none; box-shadow: 0 0 0 2px rgba(46,204,113,0.25); }
.nav-menu .nav-link[href*="#"] { cursor: pointer; }

.main-content {
    padding: 40px;
    overflow-y: auto;
    max-width: 1200px;
    margin: 0 auto;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.breadcrumbs { display:flex; align-items:center; gap:8px; font-size:.9rem; color: var(--text-muted); margin:-20px 0 16px; }
.breadcrumbs a { color:#c8d1c9; text-decoration:none; }
.breadcrumbs a:hover { color:#fff; }
.page-title { font-size:1.6rem; font-weight:800; color:#fff; margin:0 0 12px; }

.mobile-back { display:none; margin:0 0 12px; }
.mobile-back a { display:inline-flex; align-items:center; gap:6px; color:#fff; text-decoration:none; padding:8px 12px; background:#2a3d2e; border-radius:8px; }
.stat-chips { display:flex; gap:10px; flex-wrap:wrap; margin:6px 0 18px; }
.stat-chip { display:flex; align-items:center; gap:8px; background:#1f2a22; border:1px solid #314237; color:#e7f7ec; padding:10px 12px; border-radius:10px; font-size:.9rem; }
.stat-chip b { color:#7ede93; font-weight:800; }
@media (max-width: 992px) {
  .mobile-back { display:block; }
}

.filter-bar { display:flex; gap:10px; flex-wrap:wrap; margin:8px 0 16px; }
.filter-bar input[type="text"], .filter-bar select { padding:10px 12px; border-radius:10px; border:1px solid #314237; background:#1f2a22; color:#e7f7ec; }
.filter-bar .btn { padding:10px 14px; border-radius:10px; background:#2a3d2e; color:#fff; border:0; }

.admin-body { background:#0d1117; color:#e5e7eb; }
.admin-shell { display:grid; grid-template-columns:260px 1fr; min-height:100vh; }
.admin-sidebar {
    background:#0f141b;
    border-right:1px solid rgba(255,255,255,0.06);
    padding:24px 18px;
    position:sticky;
    top:0;
    height:100vh;
}
.admin-brand {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:1.2rem;
    font-weight:800;
    color:#f8fafc;
    margin-bottom:22px;
}
.admin-brand img { width:34px; height:34px; border-radius:8px; }
.admin-section-title {
    margin:18px 0 8px;
    font-size:.7rem;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#6b7280;
}
.admin-nav { display:grid; gap:6px; }
.admin-link {
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    border-radius:10px;
    color:#cbd5e1;
    text-decoration:none;
    border:1px solid transparent;
    transition: all .2s ease;
}
.admin-link.active, .admin-link:hover {
    background: rgba(67,192,71,0.12);
    color:#d1f5d8;
    border-color: rgba(67,192,71,0.25);
}
.admin-main { padding:28px 28px 40px; }
.admin-topbar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:18px;
}
.admin-title h1 { font-size:1.6rem; margin:0 0 6px; color:#f8fafc; }
.admin-title p { margin:0; color:#94a3b8; }
.admin-actions { display:flex; gap:10px; flex-wrap:wrap; }
.admin-action {
    padding:10px 14px;
    border-radius:10px;
    background:#18212b;
    color:#e2e8f0;
    text-decoration:none;
    border:1px solid rgba(255,255,255,0.08);
}
.admin-action.primary {
    background: linear-gradient(135deg, #2a3d2e, #2ecc71);
    color:#0b0f14;
    font-weight:700;
    border:0;
}
.admin-content { display:grid; gap:18px; }
.admin-card {
    background:#111827;
    border:1px solid rgba(255,255,255,0.08);
    border-radius:16px;
    padding:18px;
    box-shadow:0 18px 40px rgba(0,0,0,0.4);
}
.admin-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.admin-kpi {
    background: rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:14px;
    padding:14px;
}
.admin-kpi .label { font-size:.75rem; color:#94a3b8; }
.admin-kpi .value { font-size:1.4rem; font-weight:800; color:#f8fafc; }
.admin-kpi .delta { margin-top:6px; font-size:.75rem; color:#7dffb3; font-weight:600; }
.admin-kpi .delta.down { color:#f5b6b6; }
.admin-mini-chart {
    margin-top:10px;
    display:flex;
    align-items:flex-end;
    gap:4px;
    height:42px;
}
.admin-mini-chart span {
    flex:1;
    background: linear-gradient(180deg, rgba(125,255,179,0.8), rgba(46,204,113,0.4));
    border-radius:6px 6px 4px 4px;
    opacity:0.8;
}
.admin-quick-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.admin-quick-card {
    background: rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:14px;
    padding:14px;
    display:flex;
    flex-direction:column;
    gap:6px;
}
.admin-quick-card a { color:#d1f5d8; text-decoration:none; font-weight:700; }
.admin-quick-card .meta { color:#94a3b8; font-size:.8rem; }
.admin-summary-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.admin-summary-header { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.admin-summary-header h3 { margin:0; color:#e2e8f0; font-size:1rem; }
.admin-activity { display:grid; gap:10px; }
.admin-activity-item {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 12px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,0.08);
    background:#0f172a;
    color:#e2e8f0;
}
.admin-activity-item span { color:#94a3b8; font-size:.8rem; }
.admin-pill {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:6px 10px;
    border-radius:999px;
    background: rgba(67,192,71,0.15);
    color:#7dffb3;
    font-size:.75rem;
    font-weight:700;
    border:1px solid rgba(67,192,71,0.3);
}
.admin-pill.warn { background: rgba(234,179,8,0.18); color:#fde68a; border-color: rgba(234,179,8,0.35); }
.admin-pill.danger { background: rgba(239,68,68,0.18); color:#fecaca; border-color: rgba(239,68,68,0.35); }
.admin-chart-routes { display:flex; align-items:flex-end; gap:8px; height:90px; margin-top:10px; }
.admin-chart-routes .bar { flex:1; display:flex; align-items:flex-end; gap:2px; }
.admin-chart-routes .seg { width:100%; border-radius:6px 6px 4px 4px; }
.seg-planned { background: linear-gradient(180deg, #60a5fa, #1d4ed8); }
.seg-progress { background: linear-gradient(180deg, #7dd3fc, #0891b2); }
.seg-completed { background: linear-gradient(180deg, #86efac, #16a34a); }
.seg-cancelled { background: linear-gradient(180deg, #fca5a5, #b91c1c); }
.admin-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.two-col { display:grid; grid-template-columns:1.3fr 1fr; gap:20px; }
.mini-btn {
    display:inline-block;
    padding:10px 12px;
    border-radius:10px;
    border:1px solid rgba(255,255,255,0.12);
    background:#0f172a;
    color:#e2e8f0;
    margin-right:8px;
    cursor:pointer;
}
.spark-wrap {
    margin-top:18px;
    border:1px solid rgba(255,255,255,0.08);
    border-radius:12px;
    padding:12px;
    background:#0f172a;
}
.flash { padding:12px 14px; border-radius:10px; margin-bottom:18px; font-size:.95rem; }
.ok { background:#123524; color:#7dffb3; border:1px solid rgba(125,255,179,0.2); }
.err { background:#3a1515; color:#f5b6b6; border:1px solid rgba(245,182,182,0.25); }
.admin-main .flow-card { background:#111827; border:1px solid rgba(255,255,255,0.08); box-shadow:0 18px 40px rgba(0,0,0,0.35); }
.admin-main .form-control {
    background:#0f172a;
    border:1px solid rgba(255,255,255,0.08);
    color:#e2e8f0;
}
.admin-main label { color:#cbd5e1; }
.admin-main .btn-small {
    background:#1f2937;
    color:#e5e7eb;
    border:1px solid rgba(255,255,255,0.12);
    box-shadow:none;
}
.admin-main .btn-primary { background: linear-gradient(135deg, #2a3d2e, #2ecc71); color:#0b0f14; }
.admin-main .table th, .admin-main .table td { border-bottom:1px solid rgba(255,255,255,0.08); }
.admin-main .table th { color:#cbd5e1; }
.admin-main .table td { color:#e2e8f0; }
.admin-main .table tr:hover td { background: rgba(255,255,255,0.03); }
.admin-main code { background:#0b1220; color:#e2e8f0; padding:4px 8px; border-radius:8px; border:1px solid rgba(255,255,255,0.08); }

@media (max-width: 1100px) {
  .admin-shell { grid-template-columns:1fr; }
  .admin-sidebar { position: relative; height:auto; border-right:0; border-bottom:1px solid rgba(255,255,255,0.06); }
  .admin-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-quick-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-summary-grid { grid-template-columns:1fr; }
  .admin-row, .two-col { grid-template-columns:1fr; }
}
@media (max-width: 640px) {
  .admin-nav { grid-template-columns:1fr; }
  .admin-kpis { grid-template-columns:1fr; }
  .admin-quick-grid { grid-template-columns:1fr; }
  .admin-summary-grid { grid-template-columns:1fr; }
}

@media (max-width: 992px) {
  .sidebar { position: fixed; top:0; left:0; bottom:0; width: 260px; background: var(--darker-bg); transform: translateX(-100%); transition: transform .25s ease; z-index: 1000; }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.4); z-index:900; }
  body.sidebar-open .sidebar-overlay { display:block; }
  .hamburger-btn { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:10px; background:#2a3d2e; color:#fff; border:0; }
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: var(--surface-white);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-gray);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.stat-card h3 {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.stat-card .value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-black);
}

.stat-card .trend {
    font-size: 0.8rem;
    margin-top: 5px;
}

.table-wrap { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid rgba(0,0,0,0.08); text-align: left; }
.table th { font-weight: 700; color: #333; }
.table td { color: #444; }
.table tr:hover td { background: #fafafa; }

.table-compact { font-size:0.85rem; }
.table-compact th,
.table-compact td { padding:6px 6px; }

#offers-map { width: 100%; height: 420px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(0,0,0,0.08); }
#route-map { width: 100%; height: 300px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(0,0,0,0.08); }

.filters-bar { display:flex; align-items: center; gap: 12px; margin: 10px 0 18px; flex-wrap: wrap; }
.filters-bar .form-control { background:#fff; color:#333; border-color:#ddd; }
.filters-bar label { font-weight:600; font-size:.85rem; color:#333; margin-right:6px; }
.filters-bar .filter-group { display:flex; align-items:center; gap:8px; }

.offers-card {
  padding: 24px 24px 22px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(46,125,50,0.08), transparent 55%), #ffffff;
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 22px 50px rgba(15,23,42,0.14);
}
.offers-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.offers-header .section-title {
  text-align: left;
  font-size: 1.9rem;
}
.offers-subtitle {
  margin-top: 6px;
  color: #6b7280;
  font-size: .9rem;
  max-width: 540px;
}
.offers-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.offers-kpi {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(148,163,184,0.4);
  display: flex;
  flex-direction: column;
  min-width: 150px;
}
.offers-kpi-label {
  font-size: .75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.offers-kpi-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2px;
}
.offers-route-form {
  display: flex;
  align-items: center;
}
.offers-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(209,213,219,0.9);
}
.offers-filters .filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.offers-filters label {
  font-weight: 600;
  font-size: .8rem;
  color: #4b5563;
}
.offers-filters .form-control {
  background: #f9fafb;
  border-radius: 999px;
  border-color: #e5e7eb;
  font-size: .85rem;
}
.filter-range {
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-sep {
  font-size: .9rem;
  color: #6b7280;
}
.filter-group-search {
  flex: 1;
  min-width: 200px;
}
.filter-group-search .form-control {
  width: 100%;
}
.offers-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
}
.offers-map-panel {
  position: relative;
}
.offers-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.offers-map-hint {
  font-size: .8rem;
  color: #6b7280;
}
.offers-list-panel {
  background: #f9fafb;
  border-radius: 18px;
  padding: 14px 14px 10px;
  border: 1px solid rgba(209,213,219,0.9);
  display: flex;
  flex-direction: column;
  max-height: 420px;
}
.offers-list-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}
.offers-list-title {
  font-weight: 700;
  font-size: .95rem;
  color: #111827;
}
.offers-list-sub {
  font-size: .78rem;
  color: #6b7280;
}
.offers-list {
  flex: 1;
  overflow: auto;
  margin-top: 4px;
}
.offers-list .table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.offers-list .table thead tr th {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #9ca3af;
  border: none;
  padding: 4px 6px;
}
.offers-list .table tbody tr {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15,23,42,0.08);
  border-radius: 999px;
  transform: translateY(0);
  transition: box-shadow .18s ease, transform .18s ease;
}
.offers-list .table tbody tr:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.12);
}
.offers-list .table tbody tr td {
  padding: 10px 10px;
  border: none;
  font-size: .85rem;
}
.offers-list .table tbody tr td:first-child {
  padding-left: 14px;
}
.offers-list .table tbody tr td:last-child {
  padding-right: 14px;
}
.offers-list .table tbody tr td:nth-child(4) {
  font-family: 'Roboto Mono','Inter',monospace;
}
.offers-list .table tbody tr td:nth-child(6) {
  color: #6b7280;
  font-size: .8rem;
}
.offers-list .table tbody tr td:nth-child(5) {
  font-weight: 600;
}
.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(226,232,240,0.9);
  font-size: .83rem;
  color: #374151;
}
.city-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg,#22c55e,#15803d);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.status-published,
.status-available {
  background: rgba(22,163,74,0.08);
  color: #15803d;
}
.status-assigned,
.status-accepted {
  background: rgba(59,130,246,0.08);
  color: #1d4ed8;
}
.status-collected,
.status-completed {
  background: rgba(234,179,8,0.08);
  color: #b45309;
}
.status-cancelled,
.status-canceled {
  background: rgba(239,68,68,0.08);
  color: #b91c1c;
}

.trend.up { color: var(--primary-green); }

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.content-grid--single {
    grid-template-columns: 1fr;
}

.card {
    background-color: var(--surface-white);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-gray);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.kpi-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.kpi-card.kpi-green { background: linear-gradient(135deg, rgba(63,174,42,0.08), #ffffff); }
.kpi-card.kpi-gold { background: radial-gradient(circle, rgba(212,175,55,0.12), transparent 60%), #ffffff; }
.kpi-title { font-size: .85rem; color: #6b7280; font-weight: 600; }
.kpi-value { font-family: 'Roboto Mono','Inter',monospace; font-size: 1.6rem; font-weight: 800; color: #1b1b1b; }
.kpi-sub { font-size: .78rem; color: #9ca3af; margin-top: 4px; }

.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.analytics-chart {
  background: linear-gradient(145deg, #ffffff 0%, #f4f6f5 50%, #ffffff 100%);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 16px;
  padding: 16px;
}
.chart-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.chart-title { font-weight:700; }
.chart-sub { color:#888; font-size:.85rem; }
.chart-labels { display:flex; justify-content:space-between; color:#888; font-size:.85rem; margin-top:6px; }
.mini-chips { display:flex; gap:8px; margin-top:8px; }
.mini-chip { padding:6px 10px; border-radius:999px; background:#eef5ef; color:#2E7D32; font-size:.78rem; font-weight:600; }
.analytics-table {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 16px;
  padding: 12px;
}

@media (max-width: 900px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    color: var(--text-muted);
    font-weight: 500;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

td {
    padding: 15px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-available { background: rgba(46, 204, 113, 0.1); color: var(--primary-green); }
.badge-assigned { background: rgba(241, 196, 15, 0.1); color: var(--warning); }
.badge-collected { background: rgba(52, 152, 219, 0.1); color: #3498db; }

@media (max-width: 992px) {
    .dashboard-container { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    body.sidebar-open .sidebar { display: block; }
    .content-grid { grid-template-columns: 1fr; }
}

/* CRM Light Theme */
.dashboard-light .main-content { background: #f6f7f9; }
.dashboard-light .stat-card,
.dashboard-light .card,
.dashboard-light .auth-card { background:#ffffff; border: 1px solid #eaeaea; box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.dashboard-light .stat-card h3 { color:#888; }
.dashboard-light .stat-card .value { color:#1a1a1a; }
.dashboard-light .flow-card { background:#ffffff; border:1px solid #eaeaea; box-shadow:0 10px 30px rgba(0,0,0,0.08); }

/* Notifications modern UI */
.notif-actions { display:flex; justify-content:flex-start; margin-bottom:12px; }
.notif-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.notif-card {
  background:#ffffff;
  border:1px solid #eaeaea;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(0,0,0,0.06);
  padding: 14px 16px;
}
.notif-card.notif-unread { border-color: #2E7D32; box-shadow: 0 12px 30px rgba(46,125,50,0.12); }
.notif-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
.notif-badge { padding:4px 10px; border-radius:999px; background:#eef5ef; color:#2E7D32; font-size:.78rem; font-weight:600; }
.notif-date { color:#888; font-size:.85rem; }
.notif-title { font-weight:700; margin-bottom:4px; }
.notif-message { color:#4b5563; font-size:.95rem; }
.notif-empty {
  background:#ffffff;
  border:1px dashed #d0d7d2;
  border-radius:14px;
  padding:16px;
  color:#666;
  text-align:center;
}
@media (max-width: 900px) {
  .notif-grid { grid-template-columns: 1fr; }
}
.listings-grid {
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:16px;
}
.listings-empty {
  background:#ffffff;
  border:1px dashed #d0d7d2;
  border-radius:16px;
  padding:20px;
  text-align:center;
  color:#4b5563;
}
.listings-empty h3 {
  margin-bottom:6px;
  font-size:1.2rem;
}
.listings-empty p {
  margin-bottom:12px;
}
.rewards-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
}
.reward-card {
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  box-shadow:0 14px 32px rgba(15,23,42,0.06);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.reward-media {
  position:relative;
  background:linear-gradient(135deg,#f3f4f6,#e5f5ec);
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.reward-media img {
  width:100%;
  max-height:150px;
  object-fit:cover;
  border-radius:12px;
}
.reward-placeholder {
  width:100%;
  max-height:150px;
  border-radius:12px;
  background:radial-gradient(circle at top,#bbf7d0,#e5f5ec 60%,#f9fafb);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#166534;
  font-size:2.4rem;
  font-weight:700;
}
.reward-tag {
  position:absolute;
  left:14px;
  top:14px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(15,23,42,0.86);
  color:#f9fafb;
  font-size:.8rem;
  font-weight:600;
}
.reward-body {
  padding:14px 16px 4px;
}
.reward-body h3 {
  margin:0 0 6px;
  font-size:1rem;
  font-weight:700;
  color:#111827;
}
.reward-body p {
  margin:0;
  font-size:.88rem;
  color:#6b7280;
}
.reward-footer {
  padding:10px 16px 14px;
  display:flex;
  justify-content:flex-end;
}
.rewards-shell {
  padding: 24px 24px 22px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(59,130,246,0.06), transparent 55%), #ffffff;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 22px 50px rgba(15,23,42,0.12);
}
.rewards-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}
.rewards-header .section-title {
  text-align: left;
  font-size: 1.9rem;
}
.rewards-subtitle {
  margin-top: 6px;
  color: #6b7280;
  font-size: .9rem;
  max-width: 520px;
}
.rewards-balance {
  padding: 10px 16px;
  border-radius: 18px;
  background: #0f172a;
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 180px;
}
.rewards-balance-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9ca3af;
}
.rewards-balance-value {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Roboto Mono','Inter',monospace;
}
.rewards-balance-hint {
  font-size: .76rem;
  color: #9ca3af;
}
.rewards-alert-ok {
  margin-bottom: 10px;
  background:#e9f7ef;
  border:1px solid #ccebd6;
  color:#2e7d32;
}
.rewards-alert-error {
  margin-bottom: 10px;
  background:#fdecea;
  border:1px solid #f5c6cb;
  color:#c0392b;
}
.reward-cta {
  background:#2a3d2e;
  color:#fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 600;
}
.reward-cta[disabled] {
  background:#e5e7eb;
  color:#9ca3af;
  cursor:not-allowed;
}
.listing-card {
  background: linear-gradient(145deg, #ffffff 0%, #f4f6f5 50%, #ffffff 100%);
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:18px 20px 16px;
  box-shadow:0 18px 40px rgba(15,23,42,0.08);
  display:flex;
  flex-direction:column;
  gap:12px;
  position:relative;
  overflow:hidden;
}
.listing-card-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.listing-card-title h3 {
  margin:6px 0 4px;
  font-size:1.35rem;
  font-weight:800;
  color:#111827;
}
.listing-chip {
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:#eef5ef;
  color:#2E7D32;
  font-size:.78rem;
  font-weight:600;
}
.listing-chip::before {
  content:'';
  width:8px;
  height:8px;
  border-radius:999px;
  background:#16a34a;
  margin-right:6px;
}
.listing-amount {
  margin-left:6px;
  font-size:1.1rem;
  color:#16a34a;
  font-family:'Roboto Mono','Inter',monospace;
}
.listing-subtitle {
  margin-top:2px;
  font-size:.9rem;
  color:#6b7280;
}
.listing-main-metrics {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:6px;
}
.listing-metric {
  display:flex;
  align-items:center;
  gap:8px;
}
.listing-metric-icon {
  width:28px;
  height:28px;
  border-radius:999px;
  background:#ecfdf3;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#16a34a;
}
.listing-metric-icon svg {
  width:16px;
  height:16px;
}
.listing-metric-label {
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#9ca3af;
  font-weight:600;
}
.listing-metric-value {
  font-size:.98rem;
  color:#111827;
  font-weight:700;
}
.listing-card-body {
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px 18px;
  padding-top:6px;
  border-top:1px solid #f0f0f0;
}
.listing-meta-label {
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#9ca3af;
  font-weight:600;
}
.listing-meta-value {
  font-size:.95rem;
  color:#374151;
  font-weight:600;
}
.listing-card-footer {
  margin-top:8px;
  padding-top:8px;
  border-top:1px solid #f0f0f0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.listing-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.listing-date-input {
  max-width:150px;
  display:inline-block;
}
.listing-btn-danger {
  background:#fdecea;
  color:#c0392b;
  border:1px solid #f5c6cb;
}
.listing-btn-cert {
  background:#2a3d2e;
  color:#fff;
}
.listing-cert {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.listing-note {
  font-size:.82rem;
  color:#6b7280;
}
@media (max-width: 900px) {
  .listings-grid { grid-template-columns: 1fr; }
  .listing-card-body { grid-template-columns: 1fr 1fr; }
}
.dashboard-light .form-control { background:#ffffff; color:#333; border:1px solid #ddd; }
.dashboard-light .sidebar { background-color: var(--darker-bg); }
.dashboard-light .page-title { color:#1a1a1a; }
.dashboard-light .breadcrumbs { color:#888; }
.dashboard-light .breadcrumbs a { color:#888; }
.dashboard-light .breadcrumbs a:hover { color:#1a1a1a; }
.dashboard-light .stat-chip { background:#fff; border:1px solid #eee; color:#333; }
.dashboard-light .stat-chip b { color:#333; }
.dashboard-light .table th { color:#666; border-bottom:1px solid #eee; }
.dashboard-light .table td { color:#333; border-bottom:1px solid #f0f0f0; }
.dashboard-light .btn { background:#2a3d2e; color:#fff; }
.dashboard-light .btn-primary { background:#2a3d2e; }
.dashboard-light .btn-small { background:#eee; color:#333; }

/* Accent Theme: Orange */
.crm-accent-orange {
    --primary-green: #ff7f2a;
    --dark-green: #ff7f2a;
}
.crm-accent-orange .btn-primary { background: var(--primary-green); }
.crm-accent-orange .nav-link:hover, 
.crm-accent-orange .nav-link.active { background-color: rgba(255,127,42,0.12); color: var(--primary-green); }
.crm-accent-orange .stat-chip b { color: var(--primary-green); }
