/* ============================================
   Al Hanson Motors, Inc. - Main Stylesheet
   ============================================ */

:root {
    --primary: #a82e2e;
    --primary-dark: #7f1f1f;
    --accent: #d94b4b;
    --dark: #151e24;
    --dark-2: #1f2a32;
    --text: #222222;
    --text-light: #555555;
    --text-muted: #8a8f94;
    --bg: #f8f9fa;
    --bg-white: #ffffff;
    --bg-light: #eef0f2;
    --border: #e1e4e8;
    --success: #198754;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 34px rgba(0, 0, 0, 0.14);
    --radius: 0.5rem;
    --radius-lg: 0.9rem;
    --transition: 0.25s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', system-ui, sans-serif; font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: 2.6rem; } h2 { font-size: 2rem; } h3 { font-size: 1.4rem; } h4 { font-size: 1.15rem; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
.text-accent { color: var(--primary) !important; }
.btn { font-weight: 600; border-radius: var(--radius); padding: 0.6rem 1.25rem; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-dark { background: var(--dark); border-color: var(--dark); }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 0.2rem rgba(168, 46, 46, 0.15); }

/* ---- Top bar + Navbar ---- */
.topbar { background: var(--dark); color: rgba(255,255,255,0.75); font-size: 0.82rem; padding: 0.35rem 0; }
.topbar a { color: #fff; font-weight: 600; }
.navbar-ahm { background: var(--bg-white); border-bottom: 3px solid var(--primary); padding: 0.6rem 0; box-shadow: var(--shadow-sm); }
.navbar-ahm .navbar-brand { display: flex; flex-direction: column; line-height: 1; }
.navbar-ahm .brand-name { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: 0.02em; color: var(--dark); }
.navbar-ahm .brand-name span { color: var(--primary); }
.navbar-ahm .brand-since { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.2rem; }
.navbar-ahm .nav-link { color: var(--dark); font-weight: 600; padding: 0.5rem 0.85rem !important; }
.navbar-ahm .nav-link:hover, .navbar-ahm .nav-link.active { color: var(--primary); }
.navbar-ahm .navbar-toggler { border: none; font-size: 1.4rem; color: var(--dark); }
.navbar-ahm .navbar-toggler:focus { box-shadow: none; }
.btn-nav-cta { background: var(--primary); color: #fff; border-radius: 2rem; padding: 0.5rem 1.15rem; font-weight: 700; white-space: nowrap; }
.btn-nav-cta:hover { background: var(--primary-dark); color: #fff; }
.dropdown-item.active, .dropdown-item:active { background: var(--primary); }
@media (max-width: 991px) {
    .navbar-ahm .btn-nav-cta { display: inline-block; margin: 0.75rem 0 0.25rem; }
}

/* ---- Hero ---- */
.hero {
    position: relative; color: #fff; padding: 6rem 0 5rem; overflow: hidden; isolation: isolate;
    background: #151e24 url('/assets/video/hero-poster.jpg') center 45% / cover no-repeat;
}
/* Drone footage of the lot from the previous site (silent, looping). Poster shows until it plays. */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: 0; pointer-events: none; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(21,30,36,0.50) 0%, rgba(21,30,36,0.42) 45%, rgba(21,30,36,0.62) 100%); }
.hero-content { position: relative; z-index: 2; }
.hero h1, .hero .lead { text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
@media (max-width: 575px) { .hero-video { display: none; } } /* phones: poster only, save data */
.hero h1 { color: #fff; font-size: 3rem; font-weight: 800; }
.hero .lead { color: rgba(255,255,255,0.85); font-size: 1.2rem; max-width: 640px; }
.hero .eyebrow { display: inline-block; background: var(--primary); color: #fff; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; padding: 0.3rem 0.75rem; border-radius: 2rem; margin-bottom: 1rem; }
.hero-search { background: #fff; border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow-lg); margin-top: 2rem; }
.hero-search .form-select, .hero-search .form-control { border: 1px solid var(--border); min-height: 46px; }
@media (max-width: 767px) { .hero { padding: 3.5rem 0 3rem; } .hero h1 { font-size: 2.1rem; } }

/* ---- Sections ---- */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-dark { background: var(--dark); color: rgba(255,255,255,0.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-light { background: var(--bg-light); }
.section-title { margin-bottom: 2rem; }
.section-title .kicker { color: var(--primary); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; font-weight: 700; }
.section-title h2 { margin: 0.25rem 0 0; }

/* ---- Pillars ---- */
.pillar { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; height: 100%; box-shadow: var(--shadow-sm); border-top: 4px solid var(--primary); }
.pillar i { font-size: 1.8rem; color: var(--primary); margin-bottom: 0.75rem; }
.pillar h4 { margin-bottom: 0.5rem; }
.pillar p { color: var(--text-light); margin: 0; font-size: 0.95rem; }

/* ---- Vehicle cards ---- */
.vehicle-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); height: 100%; display: flex; flex-direction: column; position: relative; }
.vehicle-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.vehicle-card .photo { position: relative; aspect-ratio: 4 / 3; background: var(--bg-light); overflow: hidden; }
.vehicle-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vehicle-card .photo .count { position: absolute; bottom: 0.5rem; right: 0.5rem; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 2rem; }
.vehicle-card .body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.vehicle-card .title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--dark); margin: 0 0 0.15rem; }
.vehicle-card .title a { color: inherit; }
.vehicle-card .trim { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0.5rem; }
.vehicle-card .price { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--primary); }
.vehicle-card .meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; font-size: 0.82rem; color: var(--text-light); margin-top: auto; padding-top: 0.6rem; }
.vehicle-card .meta i { color: var(--text-muted); margin-right: 0.25rem; }
.vehicle-card .stock { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.05em; }
.ribbon { position: absolute; top: 0.9rem; left: -2.2rem; transform: rotate(-35deg); background: var(--primary); color: #fff; font-weight: 800; font-size: 0.75rem; letter-spacing: 0.15em; padding: 0.3rem 2.6rem; z-index: 2; box-shadow: var(--shadow-sm); }
.ribbon.pending { background: var(--warning); color: #222; }
.badge-featured { position: absolute; top: 0.75rem; right: 0.75rem; background: var(--dark); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 2rem; z-index: 2; }
.badge-cat { display: inline-block; background: var(--bg-light); color: var(--text-light); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.15rem 0.5rem; border-radius: 2rem; }

/* ---- Inventory filters ---- */
.filter-bar { background: #fff; border-radius: var(--radius-lg); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.filter-bar label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 600; margin-bottom: 0.15rem; }
.type-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.type-tabs a { background: #fff; border: 1px solid var(--border); border-radius: 2rem; padding: 0.4rem 1rem; font-weight: 600; color: var(--dark); font-size: 0.9rem; }
.type-tabs a .n { color: var(--text-muted); font-weight: 500; margin-left: 0.25rem; }
.type-tabs a.active, .type-tabs a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.type-tabs a.active .n { color: rgba(255,255,255,0.8); }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin-bottom: 1rem; color: var(--text-light); font-size: 0.95rem; }
.chip { display: inline-flex; align-items: center; gap: 0.35rem; background: #fff; border: 1px solid var(--border); border-radius: 2rem; padding: 0.2rem 0.7rem; font-size: 0.82rem; color: var(--text-light); }
.chip a { color: var(--text-muted); }
.notice { background: #fff8e1; border-left: 4px solid var(--warning); padding: 0.85rem 1rem; border-radius: var(--radius); color: #5c4400; font-size: 0.95rem; }

/* ---- Vehicle detail ---- */
.vdp-header { padding: 2rem 0 1rem; }
.vdp-header h1 { font-size: 2rem; margin-bottom: 0.2rem; }
.vdp-header .trim { color: var(--text-light); font-size: 1.05rem; }
.vdp-price { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2rem; color: var(--primary); line-height: 1; }
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-light); aspect-ratio: 4 / 3; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; width: 42px; height: 42px; border-radius: 50%; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.gallery-nav:hover { background: var(--primary); }
.gallery-nav.prev { left: 0.75rem; } .gallery-nav.next { right: 0.75rem; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 0.5rem; margin-top: 0.6rem; }
.gallery-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); cursor: pointer; border: 2px solid transparent; opacity: 0.85; }
.gallery-thumbs img.active, .gallery-thumbs img:hover { border-color: var(--primary); opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 3000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lightbox .close { position: absolute; top: 1rem; right: 1.25rem; color: #fff; font-size: 2rem; background: none; border: none; cursor: pointer; }
.lightbox .gallery-nav { background: rgba(255,255,255,0.15); }
.lightbox .counter { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.spec-table { width: 100%; font-size: 0.95rem; }
.spec-table th { font-weight: 600; color: var(--text-light); width: 42%; padding: 0.55rem 0; border-bottom: 1px solid var(--border); }
.spec-table td { padding: 0.55rem 0; border-bottom: 1px solid var(--border); }
.feature-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.feature-chips span { background: #fff; border: 1px solid var(--border); border-radius: 2rem; padding: 0.3rem 0.8rem; font-size: 0.85rem; color: var(--text); }
.feature-chips span i { color: var(--success); margin-right: 0.3rem; }
.side-card { background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.history-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.history-badges span { display: inline-flex; align-items: center; gap: 0.35rem; background: #e8f5ee; color: #0f5132; border-radius: 2rem; padding: 0.3rem 0.8rem; font-size: 0.85rem; font-weight: 600; }
.btn-carfax { background: #fff; border: 2px solid #1a3d6d; color: #1a3d6d; font-weight: 700; }
.btn-carfax:hover { background: #1a3d6d; color: #fff; }

/* ---- Staff ---- */
.staff-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; height: 100%; }
.staff-card .photo { aspect-ratio: 1 / 1; background: var(--bg-light); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.staff-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.staff-card .photo i { font-size: 4rem; color: var(--text-muted); }
.staff-card .body { padding: 1.1rem; }
.staff-card h4 { margin: 0 0 0.15rem; font-size: 1.05rem; }
.staff-card .role { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.staff-card .exp { color: var(--text-muted); font-size: 0.85rem; }

/* ---- Reviews ---- */
.review-card { background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); height: 100%; }
.review-card .stars { color: #f5b301; margin-bottom: 0.5rem; }
.review-card blockquote { font-size: 1rem; color: var(--text); margin: 0 0 0.75rem; }
.review-card .author { font-weight: 700; color: var(--dark); font-size: 0.9rem; }
.review-card .author small { color: var(--text-muted); font-weight: 400; }

/* ---- Hours table ---- */
.hours-table { width: 100%; }
.hours-table td { padding: 0.45rem 0; border-bottom: 1px solid var(--border); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.today td { color: var(--primary); font-weight: 700; }

/* ---- Forms ---- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.form-card label { font-weight: 600; font-size: 0.9rem; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---- CTA band ---- */
.cta-band { background: var(--primary); color: #fff; padding: 3rem 0; }
.cta-band h2 { color: #fff; }
.cta-band .btn-light { color: var(--primary); font-weight: 700; }

/* ---- Footer ---- */
.footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.footer-brand { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.3rem; color: #fff; }
.footer-brand span { color: var(--accent); }
.footer h5 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer a { color: rgba(255,255,255,0.75); }
.footer a:hover { color: #fff; }
.footer li { margin-bottom: 0.45rem; }
.footer-contact i { width: 1.2rem; color: var(--accent); margin-right: 0.4rem; }
.footer .social-link { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.85rem; gap: 0.5rem; }
.sticky-call { position: fixed; bottom: 0; left: 0; right: 0; background: var(--primary); color: #fff; text-align: center; font-weight: 700; padding: 0.85rem; z-index: 1040; box-shadow: 0 -4px 12px rgba(0,0,0,0.2); }
.sticky-call:hover { color: #fff; background: var(--primary-dark); }
@media (max-width: 767px) { body { padding-bottom: 52px; } }

/* ---- Misc ---- */
.page-header { background: var(--dark); color: #fff; padding: 2.75rem 0; }
.page-header h1 { color: #fff; margin: 0; font-size: 2.2rem; }
.page-header p { color: rgba(255,255,255,0.75); margin: 0.5rem 0 0; }
.breadcrumb { font-size: 0.85rem; margin: 0; }
.breadcrumb a { color: var(--text-light); }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-light); background: #fff; border-radius: var(--radius-lg); }
.empty-state i { font-size: 2.5rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ============================================
   Public pages additions (homepage, inventory, VDP, forms)
   ============================================ */
.vehicle-card .photo { display: block; }
.vehicle-card .photo:hover img { transform: scale(1.03); }
.vehicle-card .photo img { transition: transform var(--transition); }
.kicker { color: var(--primary); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; font-weight: 700; }
.text-accent-light { color: var(--accent) !important; }
.text-muted-light { color: rgba(255,255,255,0.6) !important; }
.lead-sm { font-size: 1.05rem; color: var(--text-light); }
.hero-stats { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.hero-stats a { color: #fff; font-weight: 600; }
.hero .hero-search .btn { min-height: 46px; }

/* Browse-by-type tiles */
.type-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem 1rem; text-align: center; color: var(--dark); height: 100%; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.type-tile i { font-size: 1.9rem; color: var(--primary); }
.type-tile .name { font-family: 'Montserrat', sans-serif; font-weight: 700; }
.type-tile .n { font-size: 0.8rem; color: var(--text-muted); }
.type-tile:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--dark); }

/* Hours card on dark sections */
.hours-card { background: var(--dark-2); border-radius: var(--radius-lg); padding: 1.5rem; color: rgba(255,255,255,0.85); }
.hours-card h3 { color: #fff; font-size: 1.15rem; }
.hours-card .hours-table td { border-bottom-color: rgba(255,255,255,0.1); }
.hours-card .hours-table tr.today td { color: #ff8a8a; }
.open-pill { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.25rem 0.7rem; border-radius: 2rem; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }
.open-pill.open { background: var(--success); color: #fff; }
.side-card .open-pill { background: var(--bg-light); color: var(--text-light); }
.side-card .open-pill.open { background: var(--success); color: #fff; }

/* Inventory filters */
.filter-bar .form-select, .filter-bar .form-control { font-size: 0.9rem; }
@media (max-width: 991px) {
    .filter-bar { display: none; }
    .filter-bar.open { display: block; }
}
.page-header .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-header .breadcrumb-item.active, .page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.55); }
.pagination .page-link { color: var(--primary); }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* VDP */
.gallery-main .photo-counter { position: absolute; bottom: 0.75rem; left: 0.75rem; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.8rem; padding: 0.2rem 0.6rem; border-radius: 2rem; }
.gallery-main .zoom-hint { position: absolute; bottom: 0.75rem; right: 0.75rem; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.8rem; padding: 0.2rem 0.6rem; border-radius: 2rem; }
.gallery-main .ribbon { top: 1.4rem; left: -2rem; font-size: 0.9rem; padding: 0.4rem 3rem; }
.vdp-side.sticky-lg-top { top: 90px; }
.mode-tabs .btn { border: 1px solid var(--border); color: var(--text-light); background: var(--bg-light); }
.mode-tabs .btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.trade-box { background: var(--bg-light); border-radius: var(--radius); padding: 0.75rem; }
.vdp-description { color: var(--text); line-height: 1.75; }
.lightbox .gallery-nav.prev { left: 1rem; } .lightbox .gallery-nav.next { right: 1rem; }
@media (max-width: 575px) { .gallery-thumbs { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); } .vdp-header h1 { font-size: 1.6rem; } .vdp-price { font-size: 1.6rem; } .gallery-main .zoom-hint { display: none !important; } }

/* About */
.thanks-box { display: flex; gap: 0.9rem; align-items: flex-start; background: #fff; border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.thanks-box i { color: var(--primary); font-size: 1.3rem; margin-top: 0.15rem; }
.stat-tile { background: #fff; border-radius: var(--radius-lg); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); border-top: 4px solid var(--primary); flex: 1; }
.stat-tile .num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--primary); line-height: 1.1; }
.stat-tile .lbl { font-size: 0.8rem; color: var(--text-muted); }
.about-photo { object-fit: cover; width: 100%; }

/* Reviews */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; background: #fff; border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm); }
.rating-summary .big { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.6rem; color: var(--dark); line-height: 1; }
.rating-summary .stars { color: #f5b301; font-size: 1.1rem; }
.star-picker { display: inline-flex; gap: 0.15rem; font-size: 1.7rem; line-height: 1; }
.star-picker input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-picker label { cursor: pointer; color: #d7dadd; transition: color 0.15s, transform 0.15s; margin: 0; }
.star-picker label.lit, .star-picker input:checked ~ label { color: #f5b301; }
.star-picker input:checked ~ label { color: #d7dadd; }
.star-picker label.lit { color: #f5b301 !important; }
.star-picker label:hover { transform: scale(1.1); }
.star-picker input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Contact */
.contact-list li { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list i { color: var(--primary); width: 1.25rem; text-align: center; margin-top: 0.3rem; }

/* Forms */
.form-alert:empty { display: none; }
.honeypot label { position: absolute; left: -9999px; }

/* Guard against horizontal overflow on small screens */
html, body { overflow-x: hidden; }
img { max-width: 100%; }
