/* ===================================================
   VIRENTA — Global Stylesheet
   =================================================== */
:root {
  --accent:        #E8720C;
  --accent-light:  #FFF7ED;
  --accent-hover:  #C2560A;
  --bg:            #F6F7FA;
  --white:         #FFFFFF;
  --dark:          #0F1C35;
  --dark2:         #0B1528;
  --text:          #1A1A2E;
  --text2:         #4B5563;
  --text3:         #9CA3AF;
  --border:        #E5E7EB;
  --green:         #16A34A;
  --green-bg:      #DCFCE7;
  --red:           #DC2626;
  --red-bg:        #FEE2E2;
  --radius:        10px;
  --radius-lg:     18px;
  --shadow:        0 2px 16px rgba(0,0,0,0.08);
  --shadow-hover:  0 8px 32px rgba(0,0,0,0.14);
  --nav-h:         72px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 15px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 900; letter-spacing: -2px; line-height: 1.05; }
h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 900; letter-spacing: -1px; }
h3 { font-size: 18px; font-weight: 700; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: block; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 64px; }
.section { padding: 80px 0; }
.section--dark { background: var(--dark); }
.section--dark h2, .section--dark .eyebrow { color: var(--accent); }
.section--dark h2 { color: #fff; }
@media (max-width: 768px) { .container { padding: 0 20px; } .section { padding: 48px 0; } }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: var(--radius); font-size: 13px; font-weight: 700; cursor: pointer; border: none; transition: all 0.2s; white-space: nowrap; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.2); color: #fff; }
.btn--outline:hover { border-color: rgba(255,255,255,0.5); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark2); }
.btn--ghost { background: var(--bg); border: 1.5px solid var(--border); color: var(--text2); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn--sm { padding: 8px 14px; font-size: 12px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: var(--dark); height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 64px; border-bottom: 1px solid rgba(255,255,255,0.06); overflow: visible; }
.nav-spacer { height: var(--nav-h); }
/* Logotipo wrapper — išlenda žemyn iš nav (2x didesnis logotipas) */
.nav__logo-wrap { position: relative; z-index: 201; margin-bottom: -44px; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4)); }
.nav__logo-img { height: 96px; width: auto; display: block; }
.nav__links { display: flex; gap: 32px; }
.nav__link { color: rgba(255,255,255,0.6); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav__link:hover, .nav__link--active { color: #fff; }
.nav__link--active { color: var(--accent); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; display: block; transition: all 0.3s; }
.lang-switcher { display: flex; gap: 2px; background: rgba(255,255,255,0.08); border-radius: 8px; padding: 3px; }
.lang-btn { background: transparent; border: none; color: rgba(255,255,255,0.5); padding: 5px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer; letter-spacing: 0.5px; transition: all 0.2s; }
.lang-btn--active { background: var(--accent); color: #fff; }

/* ===== VIDEO HERO ===== */
.video-hero { position: relative; width: 100%; min-height: 580px; overflow: hidden; background: var(--dark); margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); padding-bottom: 48px; }
.video-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.video-hero__video.vh-visible { opacity: 1; }
.video-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,22,48,0.84) 0%, rgba(10,22,48,0.62) 50%, rgba(10,22,48,0.28) 100%); z-index: 1; }
.video-hero__content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; padding: 0 80px; }
.video-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; opacity: 0; transform: translateX(-120px); transition: opacity 1.6s ease 0.4s, transform 1.6s cubic-bezier(0.22,1,0.36,1) 0.4s; }
.video-hero__eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.video-hero__title { font-size: clamp(36px,5vw,54px); font-weight: 900; line-height: 1.1; letter-spacing: -2px; color: #fff; margin-bottom: 20px; }
.video-hero__title em { color: var(--accent); font-style: normal; }
.vh-line1 { display: block; opacity: 0; transform: translateX(-160px); transition: opacity 1.8s ease 0.7s, transform 1.8s cubic-bezier(0.22,1,0.36,1) 0.7s; }
.vh-line2 { display: block; opacity: 0; transform: translateX(160px); transition: opacity 1.8s ease 1.0s, transform 1.8s cubic-bezier(0.22,1,0.36,1) 1.0s; }
.video-hero__desc { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 40px; max-width: 460px; opacity: 0; transform: translateY(60px); transition: opacity 1.6s ease 1.3s, transform 1.6s cubic-bezier(0.22,1,0.36,1) 1.3s; }
.video-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.vh-btn1 { opacity: 0; transform: translateX(-80px); transition: opacity 1.4s ease 1.6s, transform 1.4s cubic-bezier(0.22,1,0.36,1) 1.6s; }
.vh-btn2 { opacity: 0; transform: translateX(80px); transition: opacity 1.4s ease 1.8s, transform 1.4s cubic-bezier(0.22,1,0.36,1) 1.8s; }
.video-hero__stats { display: flex; gap: 40px; opacity: 0; transform: translateY(30px); transition: opacity 1.4s ease 2.0s, transform 1.4s ease 2.0s; margin-top: 40px; }
.video-hero__badge { position: absolute; bottom: 24px; right: 40px; z-index: 2; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(20px); transition: opacity 1.4s ease 2.2s, transform 1.4s ease 2.2s; }
.video-hero.vh-active .video-hero__eyebrow { opacity: 1; transform: translateX(0); }
.video-hero.vh-active .vh-line1 { opacity: 1; transform: translateX(0); }
.video-hero.vh-active .vh-line2 { opacity: 1; transform: translateX(0); }
.video-hero.vh-active .video-hero__desc { opacity: 1; transform: translateY(0); }
.video-hero.vh-active .vh-btn1 { opacity: 1; transform: translateX(0); }
.video-hero.vh-active .vh-btn2 { opacity: 1; transform: translateX(0); }
.video-hero.vh-active .video-hero__stats { opacity: 1; transform: translateY(0); }
.video-hero.vh-active .video-hero__badge { opacity: 1; transform: translateY(0); }

/* ===== FLASH MESSAGES ===== */
.flash-container { position: fixed; top: calc(var(--nav-h) + 12px); right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.flash { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius); font-size: 14px; font-weight: 600; min-width: 280px; max-width: 400px; box-shadow: var(--shadow-hover); }
.flash--success { background: #DCFCE7; color: #15803D; border: 1px solid #86EFAC; }
.flash--error   { background: #FEE2E2; color: #DC2626; border: 1px solid #FCA5A5; }
.flash--info    { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.flash__close { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 18px; line-height: 1; color: inherit; opacity: 0.6; }

/* ===== HERO ===== */
.hero { background: var(--dark); padding: 80px 0 0; overflow: hidden; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.hero__eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero__desc { color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 40px; max-width: 440px; }
.hero__actions { display: flex; gap: 12px; margin-bottom: 52px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; }
.stat__num { font-size: 30px; font-weight: 900; color: #fff; line-height: 1; }
.stat__label { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }
.hero__visual { position: relative; padding-bottom: 24px; }
.hero__car-frame { background: #0d1a2a; border-radius: 24px 24px 0 0; border: 1px solid rgba(255,255,255,0.06); border-bottom: none; padding: 40px 32px 0; overflow: hidden; }
.hero__car-frame img { width: 100%; border-radius: 12px; object-fit: cover; min-height: 200px; }
.hero__car-frame--empty { display: flex; align-items: center; justify-content: center; min-height: 240px; }
.ground-line { height: 2px; background: linear-gradient(to right, transparent, rgba(232,114,12,0.5), transparent); }
.hero__badge { position: absolute; bottom: 40px; right: 24px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.hero__badge-dot { width: 8px; height: 8px; background: #22C55E; border-radius: 50%; flex-shrink: 0; }
.hero__badge-text { font-size: 12px; color: rgba(255,255,255,0.85); font-weight: 600; }

/* ===== SEARCH BAR ===== */
.search-wrap { background: var(--dark); padding-bottom: 64px; }
.search-bar { background: var(--white); border-radius: 16px; padding: 28px 32px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 20px; align-items: end; box-shadow: var(--shadow); }
.search-field label { display: block; font-size: 11px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.search-field input, .search-field select { width: 100%; border: 1.5px solid var(--border); background: var(--bg); color: var(--text); padding: 12px 14px; border-radius: var(--radius); font-size: 14px; outline: none; transition: border-color 0.2s; }
.search-field input:focus, .search-field select:focus { border-color: var(--accent); }

/* ===== FORM ELEMENTS ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 6px; }
.form-control { width: 100%; border: 1.5px solid var(--border); background: var(--white); color: var(--text); padding: 12px 14px; border-radius: var(--radius); font-size: 14px; outline: none; transition: border-color 0.2s; }
.form-control:focus { border-color: var(--accent); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--text3); margin-top: 4px; }

/* ===== CAR CARDS ===== */
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.car-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.car-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--accent); }
.car-card__img { height: 200px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #EEF2F8; }
.car-card__img img { width: 100%; height: 100%; object-fit: cover; }
.car-card__no-photo { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #B0B8C8; }
.car-card__no-photo svg { opacity: 0.7; }
.car-card__no-photo span { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.car-card__badge { position: absolute; top: 14px; left: 14px; background: #fff; border: 1px solid var(--border); color: var(--text2); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.car-card__status { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.car-card__status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.car-card__status--free { background: var(--green-bg); color: var(--green); }
.car-card__status--busy { background: var(--red-bg); color: var(--red); }
.car-card__body { padding: 20px 22px 22px; }
.car-card__make { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.car-card__name { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 14px; letter-spacing: -0.5px; }
.car-card__specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.spec-pill { display: flex; align-items: center; gap: 5px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 5px 10px; font-size: 12px; font-weight: 600; color: var(--text2); }
.car-card__footer { border-top: 1px solid var(--border); padding-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.price__label { font-size: 10px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; }
.price__amount { font-size: 28px; font-weight: 900; color: var(--accent); letter-spacing: -1px; line-height: 1; }
.price__unit { font-size: 11px; color: var(--text3); font-weight: 600; }
.car-card__actions { display: flex; gap: 8px; }

/* ===== FILTER TABS ===== */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { background: var(--white); border: 1.5px solid var(--border); color: var(--text2); padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.filter-btn.active, .filter-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }

/* ===== CALENDAR ===== */
.calendar-wrap { background: var(--white); border: 1.5px solid var(--border); border-radius: 20px; padding: 40px; }
.calendar-wrap--modal { padding: 24px; }
.cal-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.cal-car-label { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.cal-heading { font-size: 22px; font-weight: 900; color: var(--dark); letter-spacing: -0.5px; }
.cal-controls { display: flex; align-items: center; gap: 10px; }
.cal-month-label { font-size: 14px; font-weight: 700; color: var(--text2); letter-spacing: 1px; text-transform: uppercase; min-width: 140px; text-align: center; }
.cal-nav-btn { width: 36px; height: 36px; border-radius: 8px; background: var(--bg); border: 1.5px solid var(--border); color: var(--text2); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.cal-nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.day-label { text-align: center; font-size: 11px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; padding: 0 0 10px; }
.day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.15s; color: var(--text); position: relative; }
.day:hover:not(.day--booked):not(.day--inactive):not(.day--selected) { background: var(--accent-light); color: var(--accent); }
.day--inactive { color: #D1D5DB; cursor: default; pointer-events: none; }
.day--past { color: #D1D5DB; cursor: default; pointer-events: none; }
.day--selected { background: var(--accent); color: #fff; font-weight: 800; }
.day--in-range { background: #FFF7ED; color: var(--accent); }
.day--booked { background: #FEF2F2; color: #FCA5A5; cursor: not-allowed; pointer-events: none; position: relative; }
.day--booked::after { content: ''; position: absolute; top: 50%; left: 15%; right: 15%; height: 1px; background: #FCA5A5; }
.day--today::before { content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
.cal-legend { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--text2); }
.legend-swatch { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }

/* ===== HOW IT WORKS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; position: relative; margin-top: 48px; }
.steps-grid::before { content: ''; position: absolute; top: 28px; left: 14%; right: 14%; height: 1px; background: linear-gradient(to right, transparent, rgba(232,114,12,0.4), transparent); }
.step { text-align: center; padding: 0 16px; position: relative; }
.step__icon { width: 56px; height: 56px; background: rgba(232,114,12,0.12); border: 2px solid rgba(232,114,12,0.25); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 24px; position: relative; z-index: 1; }
.step__num { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; background: var(--accent); border-radius: 50%; font-size: 11px; font-weight: 800; color: #fff; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 15px; color: #fff; margin-bottom: 8px; }
.step p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.review-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 16px; padding: 28px; }
.review-stars { color: #F59E0B; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--text2); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer__avatar { width: 38px; height: 38px; background: var(--accent-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: var(--accent); flex-shrink: 0; }
.reviewer__name { font-size: 14px; font-weight: 700; color: var(--dark); }
.reviewer__date { font-size: 12px; color: var(--text3); }

/* ===== FOOTER ===== */
.footer { background: var(--dark2); padding: 64px; }
.footer__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 48px; }
.footer__desc { font-size: 14px; color: rgba(255,255,255,0.4); margin-top: 16px; line-height: 1.75; max-width: 280px; }
.footer__heading { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 2.5px; color: rgba(255,255,255,0.3); margin-bottom: 20px; }
.footer__links li { margin-bottom: 12px; }
.footer__links a, .footer__links span { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__bottom { max-width: 1200px; margin: 48px auto 0; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 12px; }

/* ===== AUTH PAGES ===== */
.auth-page { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; justify-content: center; padding: 48px 20px; background: var(--bg); }
.auth-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 48px; width: 100%; max-width: 440px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 28px; margin-bottom: 8px; }
.auth-card__sub { color: var(--text2); margin-bottom: 32px; }
.auth-divider { text-align: center; margin: 24px 0; font-size: 13px; color: var(--text3); }
.auth-link { color: var(--accent); font-weight: 600; }
.auth-link:hover { text-decoration: underline; }

/* ===== CAR DETAIL PAGE ===== */
.car-detail { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }
.car-detail__gallery { border-radius: var(--radius-lg); overflow: hidden; background: #EEF2F8; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.car-detail__gallery img { width: 100%; height: 100%; object-fit: cover; }
.car-detail__info h1 { font-size: 32px; margin-bottom: 8px; }
.car-detail__make { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; }
.car-detail__specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.car-detail__spec { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--text2); }
.price-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.price-table td { padding: 8px 12px; border-bottom: 1px solid var(--border); }
.price-table td:last-child { font-weight: 700; color: var(--accent); text-align: right; }

/* ===== RESERVATION FORM ===== */
.res-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.res-summary { background: var(--bg); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.res-summary__row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.res-summary__row:last-child { border-bottom: none; font-weight: 800; font-size: 16px; color: var(--accent); }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: var(--bg); font-weight: 700; color: var(--text2); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; padding: 12px 16px; text-align: left; border-bottom: 2px solid var(--border); }
td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
tr:hover td { background: var(--bg); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge--pending   { background: #FEF9C3; color: #854D0E; }
.badge--confirmed { background: var(--green-bg); color: var(--green); }
.badge--cancelled { background: var(--red-bg); color: var(--red); }
.badge--completed { background: #EDE9FE; color: #5B21B6; }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text3); margin-bottom: 32px; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { opacity: 0.4; }

/* ===== PAGE HERO (subpages) ===== */
.page-hero { background: var(--dark); padding: 48px 0 40px; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.5); max-width: 540px; margin: 0 auto; }

/* ===== FULL AVAILABILITY CALENDAR ===== */
.avail-cal { background: var(--white); border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; }
.avail-cal__header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.avail-cal__title { font-size: 16px; font-weight: 800; color: var(--dark); }
.avail-cal__nav { display: flex; align-items: center; gap: 10px; }
.avail-cal__nav button { width: 34px; height: 34px; border-radius: 8px; background: var(--bg); border: 1.5px solid var(--border); color: var(--text2); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.avail-cal__nav button:hover { border-color: var(--accent); color: var(--accent); }
.avail-cal__month { font-size: 14px; font-weight: 700; color: var(--text2); min-width: 130px; text-align: center; }
.avail-cal__grid { padding: 16px 18px; }
.avail-cal__days-header { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; margin-bottom: 6px; }
.avail-cal__day-name { text-align: center; font-size: 11px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 0; }
.avail-cal__days { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.avail-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.15s; position: relative; border: 1.5px solid transparent; }
.avail-day--empty { pointer-events: none; }
.avail-day--past { color: #D1D5DB; cursor: default; pointer-events: none; }
.avail-day--free { background: #F0FDF4; color: #15803D; border-color: #BBF7D0; }
.avail-day--free:hover { background: #DCFCE7; border-color: #86EFAC; }
.avail-day--booked { background: #FEF2F2; color: #DC2626; border-color: #FCA5A5; cursor: not-allowed; pointer-events: none; }
.avail-day--booked::after { content: ''; position: absolute; top: 50%; left: 15%; right: 15%; height: 1.5px; background: #FCA5A5; }
.avail-day--selected { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; font-weight: 800; }
.avail-day--in-range { background: #FFF7ED; color: var(--accent); border-color: #FDBA74; }
.avail-day--today { font-weight: 900; }
.avail-day--today::before { content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.avail-cal__legend { display: flex; gap: 20px; padding: 12px 18px; border-top: 1px solid var(--border); flex-wrap: wrap; background: var(--bg); }
.avail-cal__legend-item { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--text2); }
.avail-cal__legend-swatch { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid transparent; }

/* ===== MAP ===== */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; height: 360px; background: #ddd; margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 500; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.modal__header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal__title { font-size: 18px; font-weight: 700; }
.modal__close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text3); line-height: 1; }
.modal__body { padding: 24px; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 64px 20px; color: var(--text3); }
.empty-state__icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { color: var(--text2); margin-bottom: 8px; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.chat-name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ===== RESERVATION FORM GRIDS ===== */
.res-date-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.avail-cal-two-month-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===================================================
   RESPONSIVE — Tablet (≤1024px) + Mobile (≤768px) + Small (≤480px)
   =================================================== */

/* ── TABLET ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .cars-grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer { padding: 48px 32px; }
  .car-detail { grid-template-columns: 1fr; }
  .car-detail__specs-grid { grid-template-columns: 1fr 1fr; }
  .search-bar { grid-template-columns: 1fr 1fr; gap: 14px; }
  .video-hero__content { padding: 0 40px; }
  .video-hero__badge { right: 20px; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps-grid::before { display: none; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .section-header { flex-wrap: wrap; gap: 14px; }
  .contact-grid { gap: 40px; }
  /* Account page */
  section .container > div[style*="grid-template-columns:280px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── MOBILUS ── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Nav */
  .nav { padding: 0 16px; height: var(--nav-h); }
  .nav__logo-img { height: 64px; }
  .nav__logo-wrap { margin-bottom: -28px; }
  .nav__links {
    display: none; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--dark); padding: 16px;
    gap: 2px; border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 199; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__links.open { display: flex; }
  .nav__link { padding: 12px 8px; font-size: 15px; border-radius: 8px; }
  .nav__link:hover, .nav__link--active { background: rgba(255,255,255,0.06); }
  .nav__right { gap: 6px; }
  .nav__right .btn--outline { display: none; } /* Slėpti "Prisijungti" — rodyti tik "Registruotis" */
  .nav__right .btn--primary { padding: 8px 14px; font-size: 12px; }
  .nav__burger { display: flex; }
  .lang-switcher { display: flex; }
  .lang-btn { padding: 4px 7px; font-size: 11px; }

  /* Video Hero */
  .video-hero { min-height: 100svh; padding-bottom: 80px; }
  .video-hero__overlay { background: rgba(10,22,48,0.75); }
  .video-hero__content { padding: 0 20px; align-items: flex-end; padding-bottom: 80px; }
  .video-hero__title { font-size: clamp(28px, 7vw, 42px); letter-spacing: -1px; }
  .video-hero__desc { font-size: 14px; margin-bottom: 24px; }
  .video-hero__actions { gap: 10px; }
  .vh-btn1, .vh-btn2 { padding: 12px 20px; font-size: 14px; }
  .video-hero__stats { gap: 24px; margin-top: 28px; }
  .stat__num { font-size: 24px; }
  .video-hero__badge { bottom: 16px; right: 16px; padding: 10px 14px; }

  /* Search */
  .search-wrap { padding: 0 16px 32px; }
  .search-bar { grid-template-columns: 1fr; padding: 18px; gap: 12px; }
  .search-bar .btn-search { width: 100%; justify-content: center; padding: 13px; }

  /* Section */
  .section { padding: 40px 0; }
  .container { padding: 0 16px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .filter-row { flex-wrap: wrap; gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: 12px; }

  /* Cars grid */
  .cars-grid { grid-template-columns: 1fr; gap: 16px; }
  .car-card__img { height: 200px; }
  .car-card__name { font-size: 18px; }
  .price__amount { font-size: 24px; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 8px; margin-top: 32px; }
  .step h3 { font-size: 13px; }
  .step p { font-size: 12px; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }

  /* Footer */
  .footer { padding: 36px 16px 24px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 10px; }
  .footer__desc { display: none; }

  /* Auth */
  .auth-page { padding: 32px 16px; }
  .auth-card { padding: 24px 16px; }

  /* Car detail */
  .car-detail { gap: 24px; }
  .car-detail__gallery { aspect-ratio: 16/10; }
  .car-detail__specs-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .car-detail__spec { padding: 8px 10px; font-size: 12px; }
  .price-table { font-size: 13px; }

  /* Calendar */
  .avail-cal__grid { padding: 10px; }
  .avail-day { font-size: 12px; border-radius: 6px; }
  .avail-cal__legend { gap: 12px; padding: 10px; font-size: 11px; }
  .calendar-wrap { padding: 16px; }

  /* Reservation form in car.php */
  .res-card { padding: 20px 16px; }
  .res-summary__row { font-size: 13px; }

  /* Floating phone */
  .float-phone { bottom: 16px; right: 16px; }

  /* Cookie banner */
  #cookieBanner { padding: 16px; }
  #cookieBanner > div { display: flex; flex-direction: column; gap: 14px; }
  #cookieBanner > div > div:last-child { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; }

  /* Flash messages */
  .flash-container { right: 10px; left: 10px; }
  .flash { min-width: unset; }

  /* Page hero */
  .page-hero { padding: 36px 0 28px; }
  .page-hero h1 { font-size: clamp(22px, 5vw, 36px); }

  /* Contact page */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .map-wrap { height: 260px; }

  /* Account grid */
  .section .container [style*="grid-template-columns:280px"] {
    display: flex !important;
    flex-direction: column !important;
  }
}

/* ── MAŽAS TELEFONAS (≤480px) ── */
@media (max-width: 480px) {
  .nav__logo-img { height: 52px; }
  .nav__logo-wrap { margin-bottom: -20px; }

  /* Hero */
  .video-hero__title { font-size: clamp(24px, 8vw, 34px); }
  .video-hero__stats { flex-wrap: wrap; gap: 16px; }
  .vh-btn1, .vh-btn2 { width: 100%; justify-content: center; text-align: center; }
  .video-hero__actions { flex-direction: column; }

  /* Steps — 1 stulpelis */
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Footer — 1 stulpelis */
  .footer__inner { grid-template-columns: 1fr; gap: 20px; }
  .footer__bottom .lang-switcher { display: none; }

  /* Cars */
  .cars-grid { grid-template-columns: 1fr; }
  .car-card__specs { gap: 6px; }
  .spec-pill { font-size: 11px; padding: 4px 8px; }

  /* Cal 2 mėnesiai → 1 stulpelis */
  .avail-cal-two-month-grid { grid-template-columns: 1fr; }

  /* Chat formos vardas/telefonas → 1 stulpelis */
  .chat-name-grid { grid-template-columns: 1fr; }

  /* Search */
  .search-bar .search-field input,
  .search-bar .search-field select { font-size: 14px; }

  /* Auth */
  .auth-card h1 { font-size: 22px; }

  /* Buttons */
  .btn--lg { padding: 13px 22px; font-size: 14px; }

  /* Flash */
  .flash { font-size: 13px; padding: 12px 14px; }

  /* Cookie */
  #cookieBanner > div > div:last-child button { flex: 1; font-size: 12px; padding: 10px 12px; }

  /* Rezervacijos formos datos/laiko ir vietų gridas → 1 stulpelis */
  .res-date-grid { grid-template-columns: 1fr; }
}

/* ── LABAI MAŽAS (≤360px) ── */
@media (max-width: 360px) {
  :root { --nav-h: 58px; }
  .video-hero__title { font-size: 22px; }
  .section-header h2 { font-size: 22px; }
  .nav__right .btn--primary { padding: 7px 10px; font-size: 11px; }
}
