/* --- prototype2.css -------------------------------------------------------
   Estilos de la landing /prototype-2 (diseño estilo alquiler de vehículos).

   Hoja independiente: trae su propio reset, paleta y tipografía para NO
   reciclar base.css / header.css / footer.css ni la estética del sitio
   actual. Todo se prefija con .p2- para no colisionar si algún día se carga
   junto a las otras hojas.

   Paleta: azul tinta profundo + verde agua (teal) como acento, sobre gris
   muy claro. Tipografía: Sora (títulos) + Inter (texto).
   ------------------------------------------------------------------------ */

/* ================= RESET ================= */
*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

/* El JS alterna visibilidad con el atributo `hidden`. Sin esto, cualquier
   regla de autor con `display` (p. ej. .p2-modal { display:grid }) pisa el
   `[hidden]` del navegador y el elemento —aunque invisible— se queda encima
   bloqueando los clics. */
[hidden] { display: none !important; }

/* ================= TOKENS ================= */
.p2-body {
  --p2-ink: #0b1b26;
  --p2-ink-2: #12293a;
  --p2-accent: #02c39a;
  --p2-accent-dark: #019a7b;
  --p2-amber: #ffb703;
  --p2-bg: #f4f6f8;
  --p2-card: #ffffff;
  --p2-text: #0b1b26;
  --p2-muted: #5e7183;
  --p2-line: #e4e9ee;
  --p2-radius: 16px;
  --p2-radius-lg: 22px;
  --p2-shadow: 0 10px 30px rgba(11, 27, 38, 0.08);
  --p2-shadow-lg: 0 24px 60px rgba(11, 27, 38, 0.16);

  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--p2-text);
  background: var(--p2-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.p2-body h1,
.p2-body h2,
.p2-body h3,
.p2-body h4 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.15; color: var(--p2-ink); }

.p2-body img { max-width: 100%; display: block; }
.p2-body a:not(.p2-btn) { color: inherit; text-decoration: none; }
.p2-body button { font: inherit; cursor: pointer; }

.p2-shell { width: 90%; max-width: 1200px; margin: 0 auto; }

.p2-visually-hidden {
  position: absolute !important; height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.p2-skip-nav {
  position: absolute; top: -120%; left: 16px; z-index: 999;
  background: var(--p2-accent); color: #04231c; font-weight: 700;
  padding: 12px 20px; border-radius: 0 0 10px 10px; transition: top .25s ease;
}
.p2-skip-nav:focus { top: 0; }

/* ================= TIPOGRAFÍA / CABECERAS DE SECCIÓN ================= */
.p2-section { padding: 92px 0; scroll-margin-top: 90px; }
#p2-fleet, #p2-pricing, #p2-how, #p2-faq { scroll-margin-top: 92px; }

.p2-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--p2-accent-dark);
}
.p2-eyebrow-light { color: #9ff0dd; }

.p2-sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.p2-sec-head--left { margin-left: 0; text-align: left; }
.p2-sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; margin: 14px 0 12px; letter-spacing: -0.02em; }
.p2-sec-head p { color: var(--p2-muted); font-size: 1.06rem; }

/* ================= BOTONES ================= */
.p2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; font-family: inherit;
  padding: 13px 22px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.p2-btn:active { transform: translateY(1px); }
.p2-btn-primary { background: var(--p2-accent); color: #04231c; box-shadow: 0 10px 22px rgba(2, 195, 154, 0.32); }
.p2-btn-primary:hover { background: var(--p2-accent-dark); box-shadow: 0 14px 26px rgba(2, 195, 154, 0.38); }
.p2-btn-ghost { background: #fff; color: var(--p2-ink); border-color: var(--p2-line); }
.p2-btn-ghost:hover { border-color: var(--p2-ink); }
.p2-btn-sm { padding: 10px 16px; font-size: .86rem; }
.p2-btn-block { width: 100%; }
.p2-btn:disabled { opacity: .55; cursor: not-allowed; }

/* ================= NAV ================= */
.p2-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease;
}
.p2-nav.is-stuck { box-shadow: 0 8px 24px rgba(11, 27, 38, 0.08); border-bottom-color: var(--p2-line); }
.p2-nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.p2-logo { display: inline-flex; align-items: center; gap: 11px; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.18rem; }
.p2-logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--p2-ink); color: #9ff0dd; font-size: 1rem;
}
.p2-logo-text span { color: var(--p2-accent-dark); }
.p2-logo-text--light { color: #fff; }

.p2-nav-links { display: flex; gap: 26px; margin-left: auto; }
.p2-nav-links a { font-weight: 500; color: var(--p2-ink-2); position: relative; }
.p2-nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--p2-accent); transition: width .2s ease;
}
.p2-nav-links a:hover::after { width: 100%; }

.p2-nav-actions { display: flex; align-items: center; gap: 16px; }
.p2-nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--p2-ink-2); }
.p2-nav-phone i { color: var(--p2-accent-dark); }

.p2-burger {
  display: none; border: 1px solid var(--p2-line); background: #fff;
  width: 42px; height: 42px; border-radius: 11px; color: var(--p2-ink); font-size: 1.05rem;
}
.p2-mobile-menu {
  display: none; flex-direction: column; gap: 4px; padding: 14px 5%;
  background: #fff; border-top: 1px solid var(--p2-line); box-shadow: var(--p2-shadow);
}
/* El JS alterna el atributo hidden; el display del menú depende de él. */
.p2-mobile-menu:not([hidden]) { display: flex; }
.p2-mobile-menu a { padding: 12px 6px; font-weight: 600; border-radius: 10px; }
.p2-mobile-menu a:hover { background: var(--p2-bg); }

/* ================= HERO ================= */
.p2-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.p2-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.p2-hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 20, 30, 0) 40%, rgba(6, 20, 30, 0.45) 100%),
    linear-gradient(90deg, rgba(6, 20, 30, 0.74) 0%, rgba(6, 20, 30, 0.5) 55%, rgba(6, 20, 30, 0.2) 100%),
    linear-gradient(120deg, rgba(2, 195, 154, 0.28), rgba(11, 27, 38, 0) 60%);
}
.p2-hero-inner { padding: 40px 0 48px; max-width: 1080px; }
.p2-hero h1 {
  color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.7rem); font-weight: 800;
  letter-spacing: -0.03em; margin: 18px 0 20px;
}
.p2-hero-lead { max-width: 620px; font-size: 1.12rem; color: rgba(255, 255, 255, 0.86); }
.p2-hero-actions { margin: 22px 0 30px; }

/* Buscador tipo alquiler de vehículos */
.p2-search {
  margin-top: 38px; background: #fff; border-radius: var(--p2-radius-lg);
  box-shadow: var(--p2-shadow-lg); padding: 16px; display: grid;
  grid-template-columns: 1.1fr 1fr 1fr auto; gap: 12px; align-items: end; max-width: 980px;
}
.p2-search-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.p2-search-field label {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--p2-muted); display: flex; align-items: center; gap: 6px;
}
.p2-search-field label i { color: var(--p2-accent-dark); }
.p2-search-field input,
.p2-search-field select {
  width: 100%; border: 1px solid var(--p2-line); border-radius: 12px;
  padding: 12px 14px; font-size: .95rem; font-family: inherit; color: var(--p2-ink); background: #fbfcfd;
}
.p2-search-field input:focus,
.p2-search-field select:focus { outline: 2px solid rgba(2, 195, 154, 0.4); border-color: var(--p2-accent); }
.p2-search-btn {
  height: 48px; padding: 0 26px; border: 0; border-radius: 12px;
  background: var(--p2-accent); color: #04231c; font-weight: 700; font-size: .96rem;
  display: inline-flex; align-items: center; gap: 9px; transition: background .2s ease;
}
.p2-search-btn:hover { background: var(--p2-accent-dark); }

.p2-search-note { margin-top: 14px; font-size: .92rem; color: rgba(255, 255, 255, 0.9); min-height: 22px; }
.p2-search-note i { color: #9ff0dd; margin-right: 4px; }
.p2-search-note strong { color: #fff; }

.p2-hero-stats {
  list-style: none; display: flex; flex-wrap: wrap; gap: 34px; margin-top: 46px;
  padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.p2-hero-stats li { display: flex; flex-direction: column; }
.p2-hero-stats strong { font-family: 'Sora', sans-serif; font-size: 1.7rem; font-weight: 800; }
.p2-hero-stats span { font-size: .82rem; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: .06em; }

/* ================= PERKS ================= */
.p2-perks { background: var(--p2-ink); color: #fff; }
.p2-perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 0; }
.p2-perk { display: flex; gap: 14px; align-items: flex-start; }
.p2-perk i { color: var(--p2-accent); font-size: 1.35rem; margin-top: 3px; }
.p2-perk h3 { color: #fff; font-size: 1rem; margin-bottom: 3px; }
.p2-perk p { font-size: .88rem; color: rgba(255, 255, 255, 0.66); }

/* ================= FLEET ================= */
.p2-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 18px; }
.p2-input-icon {
  position: relative; flex: 1 1 260px;
}
.p2-input-icon i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--p2-muted); }
.p2-input-icon input {
  width: 100%; border: 1px solid var(--p2-line); border-radius: 999px;
  padding: 13px 18px 13px 42px; font: inherit; background: #fff; color: var(--p2-ink);
}
.p2-input-icon input:focus { outline: 2px solid rgba(2, 195, 154, 0.4); border-color: var(--p2-accent); }

.p2-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
.p2-chip {
  border: 1px solid var(--p2-line); background: #fff; color: var(--p2-ink-2);
  padding: 9px 16px; border-radius: 999px; font-size: .86rem; font-weight: 600; transition: all .18s ease;
}
.p2-chip:hover { border-color: var(--p2-accent); }
.p2-chip.is-active { background: var(--p2-ink); color: #fff; border-color: var(--p2-ink); }

.p2-sort select {
  border: 1px solid var(--p2-line); background: #fff; border-radius: 999px;
  padding: 12px 16px; font: inherit; font-weight: 600; color: var(--p2-ink); font-size: .88rem;
}

.p2-results-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 26px; color: var(--p2-muted); font-size: .9rem;
}
.p2-legend { display: inline-flex; align-items: center; gap: 8px; }
.p2-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.p2-dot-free { background: var(--p2-accent); }
.p2-dot-busy { background: #e0575b; }

.p2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* Tarjeta tipo ficha de vehículo */
.p2-card {
  background: var(--p2-card); border: 1px solid var(--p2-line); border-radius: var(--p2-radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.p2-card:hover { transform: translateY(-5px); box-shadow: var(--p2-shadow-lg); border-color: transparent; }

.p2-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #dde6ec; }
.p2-card-media img { width: 100%; height: 100%; object-fit: cover; }
.p2-media-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: var(--p2-ink); font-size: 2.4rem; background: #e6edf2; }

.p2-card-cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(11, 27, 38, 0.86); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.p2-card-flag {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700;
  padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(4px);
}
.p2-card-flag--ok { background: rgba(2, 195, 154, 0.94); color: #04231c; }
.p2-card-flag--busy { background: rgba(214, 69, 74, 0.94); color: #fff; }

.p2-card-body { padding: 20px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.p2-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.p2-card-top h3 { font-size: 1.18rem; font-weight: 700; }
.p2-card-tag { color: var(--p2-muted); font-size: .9rem; }

.p2-stars { display: inline-flex; align-items: center; gap: 3px; color: var(--p2-amber); font-size: .8rem; }
.p2-stars span { color: var(--p2-ink); font-weight: 700; margin-right: 3px; }
.p2-stars em { color: var(--p2-muted); font-style: normal; }
.p2-star-off { color: #d8dee4; }

.p2-card-specs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.p2-card-specs li { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--p2-ink-2); }
.p2-card-specs i { color: var(--p2-accent-dark); width: 16px; text-align: center; }

.p2-card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--p2-line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.p2-price-block { display: flex; flex-direction: column; }
.p2-price-day { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--p2-ink); line-height: 1; }
.p2-price-day small { font-size: .8rem; font-weight: 600; color: var(--p2-muted); }
.p2-price-week { font-size: .8rem; color: var(--p2-accent-dark); font-weight: 700; }
.p2-card-actions { display: flex; gap: 8px; }

.p2-empty { text-align: center; padding: 60px 20px; color: var(--p2-muted); }
.p2-empty i { font-size: 2.6rem; color: #c3ced7; margin-bottom: 14px; }
.p2-empty p { margin-bottom: 18px; }

/* ================= PRICING ================= */
.p2-pricing { background: #fff; }
.p2-rate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 880px; margin: 0 auto; }
.p2-rate-card {
  position: relative; background: var(--p2-bg); border: 1px solid var(--p2-line);
  border-radius: var(--p2-radius-lg); padding: 38px 32px; display: flex; flex-direction: column;
}
.p2-rate-card--featured { background: var(--p2-ink); color: #fff; border-color: var(--p2-ink); box-shadow: var(--p2-shadow-lg); }
.p2-rate-card--featured h3,
.p2-rate-card--featured .p2-rate-price { color: #fff; }
.p2-rate-card--featured .p2-rate-note,
.p2-rate-card--featured .p2-rate-list li { color: rgba(255, 255, 255, 0.82); }
.p2-rate-card--featured .p2-rate-icon { background: rgba(2, 195, 154, 0.18); color: var(--p2-accent); }
.p2-rate-badge {
  position: absolute; top: 20px; right: 20px; background: var(--p2-accent); color: #04231c;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 6px 12px; border-radius: 999px;
}
.p2-rate-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(2, 195, 154, 0.14); color: var(--p2-accent-dark); font-size: 1.25rem; margin-bottom: 18px; }
.p2-rate-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.p2-rate-price { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; }
.p2-rate-price small { font-size: 1rem; font-weight: 600; color: var(--p2-muted); }
.p2-rate-note { color: var(--p2-muted); font-size: .9rem; margin: 10px 0 20px; }
.p2-rate-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.p2-rate-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--p2-ink-2); }
.p2-rate-list i { color: var(--p2-accent-dark); margin-top: 5px; }
.p2-rate-card .p2-btn { margin-top: auto; }

/* ================= HOW ================= */
.p2-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.p2-step { background: #fff; border: 1px solid var(--p2-line); border-radius: var(--p2-radius); padding: 34px 28px; position: relative; }
.p2-step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--p2-ink); color: #9ff0dd; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.15rem;
  margin-bottom: 16px;
}
.p2-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.p2-step p { color: var(--p2-muted); font-size: .95rem; }

/* ================= TESTIMONIALS ================= */
.p2-testimonials { background: #fff; }
.p2-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p2-quote { display: flex; flex-direction: column; background: var(--p2-bg); border: 1px solid var(--p2-line); border-radius: var(--p2-radius); padding: 30px 26px; }
.p2-quote blockquote { font-size: .98rem; color: var(--p2-ink-2); margin: 14px 0 20px; }
.p2-quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .92rem; flex-wrap: wrap; }
.p2-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--p2-ink); color: #9ff0dd; font-weight: 700; font-size: .85rem; }

/* ================= FAQ ================= */
.p2-faq-shell { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.p2-faq-list { display: flex; flex-direction: column; gap: 12px; }
.p2-faq-item { background: #fff; border: 1px solid var(--p2-line); border-radius: 14px; padding: 6px 20px; }
.p2-faq-item summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--p2-ink);
  padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.p2-faq-item summary::-webkit-details-marker { display: none; }
.p2-faq-item summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .8rem; color: var(--p2-accent-dark); transition: transform .2s ease; }
.p2-faq-item[open] summary::after { transform: rotate(180deg); }
.p2-faq-item p { padding-bottom: 18px; color: var(--p2-muted); font-size: .94rem; }

/* ================= BOOK / CONTACT ================= */
.p2-book { background: linear-gradient(180deg, var(--p2-bg), #eef2f5); }
.p2-book-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
.p2-book-lead { color: var(--p2-muted); margin: 12px 0 26px; }

.p2-book-form { background: #fff; border: 1px solid var(--p2-line); border-radius: var(--p2-radius-lg); padding: 36px; box-shadow: var(--p2-shadow); }
.p2-book-form h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 12px; }

.p2-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.p2-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.p2-field label { font-size: .86rem; font-weight: 600; color: var(--p2-ink-2); }
.p2-field label span { color: #d6454a; }
.p2-field input,
.p2-field select,
.p2-field textarea {
  width: 100%; border: 1px solid var(--p2-line); border-radius: 12px; padding: 12px 14px;
  font: inherit; font-size: .95rem; color: var(--p2-ink); background: #fbfcfd; resize: vertical;
}
.p2-field input:focus,
.p2-field select:focus,
.p2-field textarea:focus { outline: 2px solid rgba(2, 195, 154, 0.4); border-color: var(--p2-accent); }
.p2-field input.p2-invalid,
.p2-field select.p2-invalid,
.p2-field textarea.p2-invalid { border-color: #d6454a; background: #fef7f7; }
.p2-field-error { color: #d6454a; font-size: .8rem; min-height: 0; opacity: 0; transition: opacity .15s ease; }
.p2-field-error.is-show { opacity: 1; }
.p2-select-placeholder { color: var(--p2-muted) !important; }

.p2-form-banner {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  font-size: .92rem; align-items: center; gap: 10px;
}
.p2-form-banner.is-show { display: flex; }
.p2-form-banner.is-ok { background: rgba(2, 195, 154, 0.12); color: #017a61; border: 1px solid rgba(2, 195, 154, 0.35); }
.p2-form-banner.is-error { background: rgba(214, 69, 74, 0.1); color: #b1363b; border: 1px solid rgba(214, 69, 74, 0.3); }

/* Panel lateral: resumen + tarifas + contacto */
.p2-book-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 92px; }

.p2-summary { background: #fff; border: 1px solid var(--p2-line); border-radius: var(--p2-radius-lg); padding: 24px; box-shadow: var(--p2-shadow); }
.p2-summary-empty { text-align: center; color: var(--p2-muted); padding: 14px 6px; }
.p2-summary-empty i { font-size: 2rem; color: var(--p2-accent); margin-bottom: 12px; }
.p2-summary-empty h3 { color: var(--p2-ink); font-size: 1.15rem; margin-bottom: 8px; }
.p2-summary-empty p { font-size: .9rem; margin-bottom: 18px; }

.p2-summary-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.p2-summary-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--p2-accent-dark); }
.p2-summary-clear { border: 1px solid var(--p2-line); background: #fff; width: 30px; height: 30px; border-radius: 8px; color: var(--p2-muted); }
.p2-summary-clear:hover { color: #d6454a; border-color: #f0c3c5; }

.p2-summary-media { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #dde6ec; margin-bottom: 16px; }
.p2-summary-media img { width: 100%; height: 100%; object-fit: cover; }
.p2-summary-name { font-size: 1.25rem; }
.p2-summary-tagline { color: var(--p2-muted); font-size: .9rem; margin: 6px 0 14px; }
.p2-summary-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; font-size: .84rem; color: var(--p2-ink-2); margin-bottom: 16px; }
.p2-summary-specs i { color: var(--p2-accent-dark); margin-right: 5px; }

.p2-summary-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.p2-summary-dates > div { background: var(--p2-bg); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.p2-summary-dates span { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--p2-muted); font-weight: 700; }
.p2-summary-dates strong { font-size: .95rem; color: var(--p2-ink); }

.p2-summary-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--p2-line); }
.p2-summary-total span { display: block; font-weight: 600; font-size: .9rem; }
.p2-summary-total small { display: block; color: var(--p2-muted); font-size: .78rem; }
.p2-summary-total > strong { font-family: 'Sora', sans-serif; font-size: 1.6rem; color: var(--p2-accent-dark); }

.p2-flash { animation: p2Flash .9s ease; }
@keyframes p2Flash {
  0% { box-shadow: 0 0 0 0 rgba(2, 195, 154, 0.55); }
  100% { box-shadow: 0 0 0 16px rgba(2, 195, 154, 0); }
}

.p2-rate-mini { background: var(--p2-ink); color: #fff; border-radius: var(--p2-radius); padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.p2-rate-mini-row { display: flex; justify-content: space-between; align-items: baseline; }
.p2-rate-mini-row span { color: rgba(255, 255, 255, 0.7); font-size: .88rem; }
.p2-rate-mini-row strong { font-family: 'Sora', sans-serif; font-size: 1.3rem; }
.p2-rate-mini-row strong small { font-size: .72rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); }

.p2-contact-info { background: #fff; border: 1px solid var(--p2-line); border-radius: var(--p2-radius); padding: 24px; }
.p2-contact-info h3 { font-size: 1.05rem; margin-bottom: 12px; }
.p2-contact-info p { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--p2-ink-2); margin-bottom: 9px; }
.p2-contact-info i { color: var(--p2-accent-dark); width: 16px; text-align: center; }
.p2-socials { display: flex; gap: 10px; margin-top: 14px; }
.p2-socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--p2-bg); color: var(--p2-ink); transition: background .2s ease; }
.p2-socials a:hover { background: var(--p2-accent); color: #04231c; }
.p2-socials a { display: none !important}

/* ================= FOOTER ================= */
.p2-footer { background: var(--p2-ink); color: rgba(255, 255, 255, 0.72); padding: 64px 0 26px; }
.p2-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.p2-footer-brand p { margin-top: 16px; font-size: .9rem; max-width: 300px; }
.p2-footer-col { display: flex; flex-direction: column; gap: 10px; }
.p2-footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 6px; }
.p2-footer-col a, .p2-footer-col p { color: rgba(255, 255, 255, 0.72); font-size: .9rem; display: flex; align-items: center; gap: 9px; transition: color .18s ease; }
.p2-footer-col a:hover { color: var(--p2-accent); }
.p2-footer-col i { color: var(--p2-accent); width: 15px; text-align: center; }
.p2-footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: .84rem; color: rgba(255, 255, 255, 0.55); }

/* ================= MODAL ================= */
.p2-modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(6, 20, 30, 0.6); padding: 20px; opacity: 0; transition: opacity .2s ease;
}
.p2-modal.is-open { opacity: 1; }
.p2-modal-dialog {
  position: relative; width: 100%; max-width: 940px; max-height: 90vh; overflow: hidden;
  background: #fff; border-radius: var(--p2-radius-lg); box-shadow: var(--p2-shadow-lg);
  display: grid; grid-template-columns: 0.9fr 1.1fr; transform: translateY(12px); transition: transform .25s ease;
}
.p2-modal.is-open .p2-modal-dialog { transform: translateY(0); }
.p2-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px;
  border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--p2-ink); font-size: 1.05rem;
  box-shadow: var(--p2-shadow);
}
.p2-modal-media { position: relative; background: #dde6ec; min-height: 260px; }
.p2-modal-media img { width: 100%; height: 100%; object-fit: cover; }
.p2-modal-media .p2-card-cat { position: absolute; top: 14px; left: 14px; }
.p2-modal-content { padding: 30px 30px 26px; max-height: 90vh; overflow-y: auto; overscroll-behavior: contain; }
.p2-modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.p2-modal-head h3 { font-size: 1.5rem; }
.p2-modal-rating { font-size: .82rem; color: var(--p2-amber); white-space: nowrap; }
.p2-modal-rating span { color: var(--p2-muted); }
.p2-modal-tagline { color: var(--p2-muted); margin: 8px 0 16px; }
.p2-modal-price { display: flex; align-items: baseline; gap: 14px; }
.p2-modal-price .p2-price-week { font-size: .88rem; }
.p2-avail-badge { display: inline-flex; align-items: center; gap: 7px; margin: 12px 0 4px; padding: 7px 13px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.p2-avail-badge--ok { background: rgba(2, 195, 154, 0.14); color: #017a61; }
.p2-avail-badge--busy { background: rgba(214, 69, 74, 0.12); color: #b1363b; }
.p2-modal-h { display: flex; align-items: center; gap: 9px; margin: 22px 0 12px; font-size: .98rem; }
.p2-modal-h i { color: var(--p2-accent-dark); }
.p2-modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.p2-spec { display: flex; flex-direction: column; gap: 2px; background: var(--p2-bg); border-radius: 10px; padding: 10px 12px; }
.p2-spec-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--p2-muted); font-weight: 700; }
.p2-spec-value { font-size: .88rem; color: var(--p2-ink); }
.p2-spec-icon { display: none; }
.p2-modal-feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.p2-modal-feats li { display: flex; gap: 8px; font-size: .88rem; color: var(--p2-ink-2); }
.p2-modal-feats i { color: var(--p2-accent-dark); margin-top: 4px; }
.p2-modal-equip { color: var(--p2-muted); font-size: .9rem; }
.p2-modal-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.p2-modal-actions .p2-btn { flex: 1; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .p2-grid { grid-template-columns: repeat(2, 1fr); }
  .p2-perks-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 30px; }
  .p2-faq-shell { grid-template-columns: 1fr; gap: 26px; }
  .p2-book-grid { grid-template-columns: 1fr; }
  .p2-book-side { position: static; }
  .p2-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .p2-search { grid-template-columns: 1fr 1fr; }
  .p2-search-btn { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .p2-nav-links { display: none; }
  .p2-nav-phone span { display: none; }
  .p2-burger { display: inline-grid; place-items: center; }
  .p2-steps { grid-template-columns: 1fr; }
  .p2-quotes { grid-template-columns: 1fr; }
  .p2-rate-grid { grid-template-columns: 1fr; }
  .p2-modal-dialog { grid-template-columns: 1fr; }
  .p2-modal-media { min-height: 220px; }
}

@media (max-width: 640px) {
  .p2-section { padding: 68px 0; }
  .p2-grid { grid-template-columns: 1fr; }
  .p2-perks-grid { grid-template-columns: 1fr; }
  .p2-search { grid-template-columns: 1fr; }
  .p2-form-row { grid-template-columns: 1fr; }
  .p2-hero-inner { padding: 60px 0 72px; }
  .p2-hero-stats { gap: 22px; }
  .p2-modal { padding: 0; }
  .p2-modal-dialog { max-height: 100vh; border-radius: 0; overflow: auto; }
  .p2-modal-content { max-height: none; overflow: visible; }
  .p2-modal-specs, .p2-modal-feats { grid-template-columns: 1fr; }
  .p2-footer-grid { grid-template-columns: 1fr; }
  .p2-nav-cta { display: none; }
  .p2-summary-dates { grid-template-columns: 1fr; }
}
