/* ═══════════════════════════════════════════════════════
   ALQUILERES LLAMA IA — Public Web CSS
   Premium, conversion-focused, mobile-first
   ═══════════════════════════════════════════════════════ */

:root {
  --primary: #1a1a2e;
  --accent:  #e94560;
  --accent2: #0f3460;
  --gold:    #f5a623;
  --text:    #1a1a2e;
  --text-light: #666;
  --bg:      #fafafa;
  --white:   #ffffff;
  --border:  #e8e8e8;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.15);
  --font:    'Inter', system-ui, -apple-system, sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--font); color:var(--text); background:var(--bg); line-height:1.6; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }

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

/* ── Buttons ── */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px;
       padding:12px 24px; border-radius:8px; font-weight:600; font-size:15px;
       border:none; cursor:pointer; transition:all .2s; }
.btn-primary { background:var(--accent); color:#fff; }
.btn-primary:hover { background:#c73652; transform:translateY(-1px); box-shadow:0 4px 16px rgba(233,69,96,.4); }
.btn-secondary { background:#fff; color:var(--text); border:2px solid var(--border); }
.btn-secondary:hover { border-color:var(--accent); color:var(--accent); }
.btn-lg { padding:16px 32px; font-size:17px; border-radius:10px; }
.btn-full { width:100%; }

/* ── NAVBAR ── */
.navbar { position:sticky; top:0; z-index:100; background:rgba(255,255,255,.95);
          backdrop-filter:blur(10px); border-bottom:1px solid var(--border);
          padding:0 20px; }
.navbar-inner { max-width:1200px; margin:0 auto; display:flex;
                align-items:center; justify-content:space-between;
                height:64px; gap:16px; }
.navbar-brand { display:flex; align-items:center; gap:10px; font-weight:700; font-size:18px; }
.navbar-brand img { height:36px; width:auto; }
.navbar-actions { display:flex; align-items:center; gap:12px; }
.navbar-actions a { font-size:14px; font-weight:500; color:var(--text-light); }
.navbar-actions a:hover { color:var(--accent); }

/* ── HERO ── */
.hero { background:linear-gradient(135deg, var(--primary) 0%, var(--accent2) 100%);
        padding:80px 20px 120px; text-align:center; position:relative; overflow:hidden; }
.hero::before { content:''; position:absolute; inset:0;
                background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position:relative; z-index:1; }
.hero h1 { font-size:clamp(32px,5vw,56px); font-weight:800; color:#fff;
           line-height:1.1; margin-bottom:16px; }
.hero h1 span { color:var(--gold); }
.hero p { font-size:clamp(16px,2vw,20px); color:rgba(255,255,255,.8);
          max-width:600px; margin:0 auto 40px; }

/* ── SEARCH BOX ── */
.search-box { background:#fff; border-radius:16px; padding:8px;
              box-shadow:var(--shadow-lg); max-width:900px; margin:0 auto;
              display:grid; grid-template-columns:1fr 1fr 1fr auto;
              gap:0; position:relative; }
@media(max-width:768px) {
  .search-box { grid-template-columns:1fr; gap:0; border-radius:12px; }
}
.search-field { padding:12px 20px; border-right:1px solid var(--border); }
.search-field:last-of-type { border-right:none; }
@media(max-width:768px) {
  .search-field { border-right:none; border-bottom:1px solid var(--border); }
  .search-field:last-of-type { border-bottom:none; }
}
.search-field label { display:block; font-size:11px; font-weight:700;
                      text-transform:uppercase; letter-spacing:.08em;
                      color:var(--text-light); margin-bottom:4px; }
.search-field input, .search-field select {
  width:100%; border:none; outline:none; font-size:15px; font-weight:500;
  color:var(--text); background:transparent; font-family:var(--font); }
.search-submit { padding:12px 32px; }

/* ── SECTION ── */
.section { padding:64px 0; }
.section-alt { background:#fff; }
.section-title { font-size:28px; font-weight:700; margin-bottom:8px; }
.section-sub { color:var(--text-light); margin-bottom:40px; font-size:16px; }

/* ── FILTERS BAR ── */
.filters-bar { background:#fff; border-bottom:1px solid var(--border);
               padding:16px 0; position:sticky; top:64px; z-index:50; }
.filters-inner { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.filter-chip { padding:8px 16px; border-radius:100px; border:1.5px solid var(--border);
               font-size:13px; font-weight:500; cursor:pointer; background:#fff;
               transition:all .15s; }
.filter-chip:hover, .filter-chip.active { border-color:var(--accent);
                                           background:var(--accent); color:#fff; }
.sort-select { margin-left:auto; padding:8px 16px; border-radius:8px;
               border:1.5px solid var(--border); font-size:13px; font-family:var(--font);
               cursor:pointer; }

/* ── LISTING GRID ── */
.listing-layout { display:grid; grid-template-columns:1fr; gap:24px; }
@media(min-width:900px) {
  .listing-layout { grid-template-columns:280px 1fr; align-items:start; }
}
.filters-sidebar { background:#fff; border-radius:var(--radius); padding:24px;
                   border:1px solid var(--border); position:sticky; top:130px; }
.filters-sidebar h3 { font-size:16px; font-weight:700; margin-bottom:20px;
                      padding-bottom:12px; border-bottom:1px solid var(--border); }
.filter-group { margin-bottom:24px; }
.filter-group label { font-size:13px; font-weight:600; color:var(--text-light);
                      text-transform:uppercase; letter-spacing:.06em; display:block;
                      margin-bottom:10px; }
.filter-group input[type=range] { width:100%; accent-color:var(--accent); }
.price-range-display { display:flex; justify-content:space-between;
                       font-size:13px; color:var(--text-light); margin-top:6px; }
.filter-group select { width:100%; padding:8px 12px; border:1.5px solid var(--border);
                       border-radius:8px; font-size:14px; font-family:var(--font); }
.amenity-checks { display:flex; flex-direction:column; gap:8px; }
.amenity-checks label { display:flex; align-items:center; gap:8px;
                        font-size:14px; cursor:pointer; }
.amenity-checks input[type=checkbox] { accent-color:var(--accent); width:16px; height:16px; }

/* ── UNIT CARD ── */
.units-grid { display:grid; gap:24px;
              grid-template-columns:repeat(auto-fill, minmax(300px,1fr)); }
.unit-card { background:#fff; border-radius:var(--radius); overflow:hidden;
             border:1px solid var(--border); transition:all .2s;
             display:flex; flex-direction:column; }
.unit-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:transparent; }
.unit-card-img { position:relative; height:220px; overflow:hidden; background:#f0f0f0; }
.unit-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.unit-card:hover .unit-card-img img { transform:scale(1.05); }
.unit-badge { position:absolute; top:12px; left:12px; background:var(--accent);
              color:#fff; padding:4px 10px; border-radius:100px;
              font-size:11px; font-weight:700; text-transform:uppercase; }
.unit-badge.badge-gold { background:var(--gold); color:#1a1a2e; }
.unit-card-body { padding:20px; flex:1; display:flex; flex-direction:column; }
.unit-card-title { font-size:17px; font-weight:700; margin-bottom:4px; }
.unit-card-location { font-size:13px; color:var(--text-light); margin-bottom:12px;
                      display:flex; align-items:center; gap:4px; }
.unit-card-meta { display:flex; gap:16px; font-size:13px; color:var(--text-light);
                  margin-bottom:16px; flex-wrap:wrap; }
.unit-card-meta span { display:flex; align-items:center; gap:4px; }
.unit-card-footer { display:flex; align-items:center; justify-content:space-between;
                    margin-top:auto; padding-top:16px;
                    border-top:1px solid var(--border); }
.unit-price { font-size:22px; font-weight:800; color:var(--accent); }
.unit-price small { font-size:13px; font-weight:400; color:var(--text-light); }
.unit-card-cta { padding:8px 20px; font-size:14px; }
.no-photo { width:100%; height:100%; display:flex; align-items:center;
            justify-content:center; background:#f5f5f5; color:#ccc; font-size:48px; }

/* ── DETAIL PAGE ── */
.detail-hero { position:relative; height:480px; overflow:hidden; background:#f0f0f0; }
.detail-hero img { width:100%; height:100%; object-fit:cover; }
.detail-grid { display:grid; gap:40px; }
@media(min-width:900px) { .detail-grid { grid-template-columns:1fr 380px; } }
.detail-gallery { display:grid; grid-template-columns:2fr 1fr 1fr;
                  grid-template-rows:240px 240px; gap:8px; border-radius:var(--radius);
                  overflow:hidden; }
.detail-gallery img { width:100%; height:100%; object-fit:cover; }
.detail-gallery img:first-child { grid-row:1/3; }
.detail-section { margin-bottom:32px; padding-bottom:32px;
                  border-bottom:1px solid var(--border); }
.detail-section:last-child { border-bottom:none; }
.detail-section h2 { font-size:20px; font-weight:700; margin-bottom:16px; }
.amenities-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
                  gap:12px; }
.amenity-item { display:flex; align-items:center; gap:8px; font-size:14px;
                padding:8px 12px; background:#f8f8f8; border-radius:8px; }
.amenity-icon { font-size:18px; }

/* ── BOOKING CARD ── */
.booking-card { background:#fff; border:1px solid var(--border); border-radius:16px;
                padding:28px; position:sticky; top:100px; }
.booking-card h3 { font-size:20px; font-weight:700; margin-bottom:4px; }
.booking-price { font-size:28px; font-weight:800; color:var(--accent); margin-bottom:20px; }
.booking-price small { font-size:14px; font-weight:400; color:var(--text-light); }
.date-inputs { display:grid; grid-template-columns:1fr 1fr; gap:1px;
               border:1.5px solid var(--border); border-radius:10px; overflow:hidden;
               margin-bottom:12px; }
.date-input-field { padding:12px 16px; background:#fff; }
.date-input-field label { display:block; font-size:10px; font-weight:700;
                          text-transform:uppercase; letter-spacing:.08em;
                          color:var(--text-light); margin-bottom:4px; }
.date-input-field input { border:none; outline:none; font-size:14px; font-weight:600;
                          color:var(--text); width:100%; font-family:var(--font); }
.date-input-field:first-child { border-right:1px solid var(--border); }
.guests-input { border:1.5px solid var(--border); border-radius:10px;
                padding:12px 16px; margin-bottom:20px; }
.guests-input label { display:block; font-size:10px; font-weight:700;
                      text-transform:uppercase; letter-spacing:.08em;
                      color:var(--text-light); margin-bottom:4px; }
.guests-input select { border:none; outline:none; font-size:14px; font-weight:600;
                       color:var(--text); width:100%; font-family:var(--font); background:transparent; }
.price-breakdown { margin:20px 0; }
.price-row { display:flex; justify-content:space-between; font-size:14px;
             padding:6px 0; color:var(--text-light); }
.price-row.total { font-weight:700; font-size:16px; color:var(--text);
                   border-top:1px solid var(--border); margin-top:8px; padding-top:12px; }
.promo-input { display:flex; gap:8px; margin-bottom:16px; }
.promo-input input { flex:1; padding:10px 14px; border:1.5px solid var(--border);
                     border-radius:8px; font-size:14px; font-family:var(--font); outline:none; }
.promo-input input:focus { border-color:var(--accent); }
.promo-input button { padding:10px 16px; font-size:14px; border-radius:8px;
                      background:var(--primary); color:#fff; border:none; cursor:pointer; }
.availability-msg { text-align:center; font-size:13px; color:var(--text-light);
                    margin-top:12px; }

/* ── BOOKING FORM ── */
.booking-steps { display:flex; gap:0; margin-bottom:40px; }
.booking-step { flex:1; text-align:center; padding:16px; position:relative; }
.booking-step::after { content:''; position:absolute; top:50%; right:0;
                       transform:translateY(-50%); width:1px; height:40%;
                       background:var(--border); }
.booking-step:last-child::after { display:none; }
.step-num { width:32px; height:32px; border-radius:50%; border:2px solid var(--border);
            display:flex; align-items:center; justify-content:center;
            font-weight:700; font-size:14px; margin:0 auto 8px;
            color:var(--text-light); }
.booking-step.active .step-num { background:var(--accent); border-color:var(--accent); color:#fff; }
.booking-step.done .step-num { background:var(--primary); border-color:var(--primary); color:#fff; }
.step-label { font-size:12px; color:var(--text-light); font-weight:500; }
.booking-step.active .step-label { color:var(--accent); font-weight:700; }
.form-section { background:#fff; border:1px solid var(--border); border-radius:var(--radius);
                padding:28px; margin-bottom:24px; }
.form-section h3 { font-size:18px; font-weight:700; margin-bottom:20px;
                   padding-bottom:12px; border-bottom:1px solid var(--border); }
.form-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:600px) { .form-grid-2 { grid-template-columns:1fr; } }
.form-field { display:flex; flex-direction:column; gap:6px; }
.form-field label { font-size:13px; font-weight:600; color:var(--text); }
.form-field input, .form-field select, .form-field textarea {
  padding:12px 16px; border:1.5px solid var(--border); border-radius:8px;
  font-size:15px; font-family:var(--font); outline:none; transition:border-color .15s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color:var(--accent); }
.booking-summary { background:#f8f8f8; border-radius:12px; padding:20px;
                   margin-bottom:20px; }
.summary-row { display:flex; justify-content:space-between; padding:6px 0;
               font-size:14px; border-bottom:1px solid var(--border); }
.summary-row:last-child { border-bottom:none; font-weight:700; font-size:16px; }

/* ── CONFIRMATION ── */
.confirmation-hero { text-align:center; padding:60px 20px 40px; }
.confirm-icon { font-size:72px; margin-bottom:20px; }
.confirm-title { font-size:32px; font-weight:800; color:var(--primary); margin-bottom:12px; }
.confirm-sub { color:var(--text-light); font-size:16px; max-width:500px; margin:0 auto; }
.confirmation-card { background:#fff; border:1px solid var(--border);
                     border-radius:var(--radius); padding:32px; max-width:600px;
                     margin:32px auto; }

/* ── FOOTER ── */
.footer { background:var(--primary); color:rgba(255,255,255,.7); padding:48px 0 24px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:40px; margin-bottom:40px; }
@media(max-width:768px) { .footer-grid { grid-template-columns:1fr; } }
.footer-brand img { height:52px; margin-bottom:16px; background:#fff; padding:8px; border-radius:12px; box-sizing:border-box; }
.footer-brand p { font-size:14px; line-height:1.7; }
.footer h4 { color:#fff; font-size:15px; font-weight:700; margin-bottom:16px; }
.footer ul { list-style:none; display:flex; flex-direction:column; gap:8px; }
.footer a { color:rgba(255,255,255,.6); font-size:14px; }
.footer a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:24px;
                 display:flex; justify-content:space-between; align-items:center;
                 font-size:13px; flex-wrap:wrap; gap:12px; }

/* ── UTILS ── */
.text-accent { color:var(--accent); }
.text-muted { color:var(--text-light); }
.text-center { text-align:center; }
.mb-4 { margin-bottom:16px; }
.mb-8 { margin-bottom:32px; }
.badge { display:inline-block; padding:3px 10px; border-radius:100px;
         font-size:11px; font-weight:700; text-transform:uppercase; }
.badge-green { background:#d4edda; color:#155724; }
.badge-red { background:#f8d7da; color:#721c24; }
.alert { padding:16px 20px; border-radius:10px; margin-bottom:20px; font-size:14px; }
.alert-error { background:#fef2f2; border:1px solid #fecaca; color:#dc2626; }
.alert-success { background:#f0fdf4; border:1px solid #bbf7d0; color:#166534; }
.rating-stars { color:var(--gold); font-size:14px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation:fadeUp .4s ease forwards; }

/* ── MOBILE NAV ── */
@media(max-width:768px) {
  .navbar-actions .hide-mobile { display:none; }
  .hero { padding:60px 20px 100px; }
  .section { padding:40px 0; }
}
