/* Harborline Rentals - Completely original stylesheet */
/* Ocean teal + sand palette, distinct from any previous work */

:root {
  --ocean: #0A4D68;
  --ocean-deep: #083A4F;
  --sand: #E9C46A;
  --sand-dark: #D4A84B;
  --cream: #FBF8F3;
  --white: #FFFFFF;
  --ink: #1C2526;
  --muted: #5C6B70;
  --line: #E2E8EA;
  --card-bg: #FFFFFF;
  --shadow: 0 2px 16px rgba(10, 77, 104, 0.08);
  --radius: 10px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --max: 1100px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--ocean); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--sand-dark); }
ul { list-style: none; }

/* ---- HEADER ---- */
.topbar {
  background: var(--ocean-deep);
  color: #A8C5D0;
  font-size: 0.8rem;
  padding: 0.4rem 0;
  text-align: center;
}
.topbar a { color: #C5DCE6; }
.topbar a:hover { color: var(--sand); }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ocean);
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  background: var(--ocean);
  color: var(--sand);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}
.nav a:hover, .nav a.is-active { color: var(--ocean); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.phone-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ocean);
}
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ocean);
}

/* ---- LAYOUT ---- */
main { flex: 1; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.2rem;
}
.block { padding: 3.25rem 0; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; color: var(--ocean-deep); }
h1 { font-size: 2.35rem; line-height: 1.15; }
h2 { font-size: 1.6rem; margin-bottom: 0.4rem; }
h3 { font-size: 1.1rem; }

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  font-family: inherit;
  text-decoration: none;
}
.btn-sand {
  background: var(--sand);
  color: var(--ocean-deep);
}
.btn-sand:hover {
  background: var(--sand-dark);
  color: var(--ocean-deep);
  box-shadow: var(--shadow);
}
.btn-ocean {
  background: var(--ocean);
  color: var(--white);
}
.btn-ocean:hover {
  background: var(--ocean-deep);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--ocean);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--ocean);
  background: #F0F7FA;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: var(--ocean-deep);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/car-hero.jpg') center/cover no-repeat;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.2rem;
  color: var(--white);
}
.hero-content h1 {
  color: var(--white);
  max-width: 520px;
  margin-bottom: 0.85rem;
}
.hero-content .lead {
  color: #C5DCE6;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ---- QUICK SEARCH ---- */
.quick-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
  box-shadow: var(--shadow);
}
.quick-form {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
}
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.field input, .field select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--ocean);
}

/* ---- VALUE STRIP ---- */
.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.value-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.value-item strong {
  display: block;
  color: var(--ocean);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}
.value-item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ---- VEHICLE CARDS ---- */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}
.car-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.car-card:hover { box-shadow: var(--shadow); }
.car-photo {
  height: 160px;
  background: #E8EEF0;
  overflow: hidden;
}
.car-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.car-info {
  padding: 1.1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.car-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.car-cat {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.car-bits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.car-price-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ocean);
}
.price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}
.price-note {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.3;
  max-width: 110px;
}

/* ---- FILTERS ---- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.chip {
  padding: 0.4rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.chip:hover, .chip.on {
  background: var(--ocean);
  color: var(--white);
  border-color: var(--ocean);
}

/* ---- PAGE BANNER ---- */
.page-banner {
  background: var(--ocean);
  color: var(--white);
  padding: 2.4rem 0;
}
.page-banner h1 { color: var(--white); margin-bottom: 0.3rem; }
.page-banner p { color: #B8D0DA; max-width: 500px; }

/* ---- ABOUT ---- */
.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}
.split p { color: var(--muted); margin-bottom: 0.9rem; }
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.side-card .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sand-dark);
}
.side-card .lbl {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.side-card .row {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.side-card .row:last-child { border-bottom: none; }

/* ---- FAQ ---- */
.faq-block { max-width: 680px; }
.faq {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  margin-bottom: 0.55rem;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 0.95rem 1.15rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ocean-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-q::after { content: "+"; font-weight: 400; color: var(--muted); }
.faq.open .faq-q::after { content: "−"; }
.faq-a {
  display: none;
  padding: 0 1.15rem 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}
.faq.open .faq-a { display: block; }

.policy-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.1rem;
}
.policy-box h3 { margin-bottom: 0.6rem; }
.policy-box p, .policy-box li {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
  line-height: 1.55;
}
.policy-box ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.notice {
  background: #FDF6E9;
  border: 1px solid #E9D5A8;
  border-radius: 8px;
  padding: 1.15rem 1.25rem;
  margin-top: 1.5rem;
}
.notice h4 {
  font-size: 0.9rem;
  color: var(--ocean-deep);
  margin-bottom: 0.4rem;
}
.notice p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ---- CONTACT ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.25rem;
}
.info-list .item {
  margin-bottom: 1.1rem;
}
.info-list strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.form-card h2 { margin-bottom: 1.1rem; }
.fg { margin-bottom: 0.9rem; }
.fg label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--ink);
}
.fg input, .fg select, .fg textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
.fg textarea { min-height: 110px; resize: vertical; }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  outline: none;
  border-color: var(--ocean);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.form-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.7rem;
  line-height: 1.45;
}

/* ---- CTA ---- */
.cta-strip {
  background: var(--ocean);
  color: var(--white);
  text-align: center;
  padding: 2.75rem 0;
}
.cta-strip h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-strip p { color: #B8D0DA; margin-bottom: 1.25rem; max-width: 420px; margin-left: auto; margin-right: auto; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--ocean-deep);
  color: #8BA8B5;
  padding: 2.75rem 0 1.25rem;
  font-size: 0.88rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto 2rem;
  padding: 0 1.2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.75rem;
}
.footer-grid .brand { color: var(--white); margin-bottom: 0.6rem; }
.footer-grid p { line-height: 1.5; max-width: 240px; }
.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}
.footer-grid a {
  display: block;
  color: #8BA8B5;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}
.footer-grid a:hover { color: var(--sand); }

.legal-notes {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.2rem 1rem;
  font-size: 0.74rem;
  line-height: 1.5;
  color: #6A8794;
}
.legal-notes p { margin-bottom: 0.35rem; }

.footer-base {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 880px) {
  .quick-form { grid-template-columns: 1fr 1fr; }
  .value-strip { grid-template-columns: 1fr; }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 0.75rem 1.2rem 1rem;
    border-bottom: 1px solid var(--line);
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .menu-btn { display: flex; }
  .phone-link { display: none; }
  h1 { font-size: 1.85rem; }
  .quick-form { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 400px; }
}