/* Cheap Rent A Car Hawaii (CRC Hawaii) — site stylesheet
   Design: sand/teal/ink with a single hibiscus-orange accent reserved for
   price + calls-to-action. Road-signage structure: thick rules, rectangular
   tags, no rounded SaaS cards. */

:root {
  --sand: #f3eee4;
  --sand-deep: #ece4d4;
  --teal: #1f6f6b;
  --teal-dark: #15504d;
  --ink: #1e2a28;
  --orange: #e8562e;
  --orange-dark: #c8431f;
  --grey: #8b8578;
  --white: #ffffff;
  --rule: 3px solid var(--ink);
  --rule-thin: 1px solid rgba(30, 42, 40, 0.18);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Noto Sans KR", "Noto Sans JP", -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Archivo Black", "Noto Sans KR", "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { max-width: 62ch; }
a { color: var(--teal-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--ink);
  color: var(--sand);
  font-size: 0.88rem;
}
.utility-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.utility-bar a { color: var(--sand); text-decoration: none; font-weight: 600; }
.utility-bar .langs { display: flex; gap: 14px; }
.utility-bar .langs a[aria-current="true"] { color: var(--orange); }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--sand);
  border-bottom: var(--rule);
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.logo img {
  height: 56px;
  width: auto;
  display: block;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] {
  border-bottom-color: var(--orange);
}
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--teal);
  color: var(--sand);
  border-bottom: var(--rule);
  padding: 56px 0 48px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -35deg,
    rgba(243, 238, 228, 0.05) 0px,
    rgba(243, 238, 228, 0.05) 2px,
    transparent 2px,
    transparent 34px
  );
}
.hero.hero-photo {
  background-color: var(--teal);
  background-image:
    linear-gradient(100deg, rgba(30,42,40,0.92) 0%, rgba(30,42,40,0.72) 40%, rgba(30,42,40,0.28) 72%, rgba(30,42,40,0.05) 100%),
    url('../assets/img/hero-photo.jpg');
  background-size: cover;
  background-position: center 30%;
  padding: 64px 0 52px;
}
.hero.hero-photo::before { display: none; }
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--orange) 0px, var(--orange) 34px,
    transparent 34px, transparent 60px
  );
  opacity: 0.9;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .tagline {
  font-size: 0.95rem;
  text-transform: none;
  color: var(--sand-deep);
  margin-bottom: 10px;
  font-weight: 600;
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero p.lead {
  color: var(--sand);
  font-size: 1.15rem;
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  align-items: center;
}

.tag-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--sand);
  color: var(--ink);
  border: var(--rule);
  padding: 10px 18px;
  font-family: "Archivo Black", sans-serif;
}
.tag-stat .num { color: var(--orange); font-size: 1.6rem; }
.tag-stat .label { font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: 0.85rem; max-width: 14ch; }

.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 26px;
  border: var(--rule);
  color: var(--ink);
  background: var(--white);
}
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--ink); }
.btn-primary:hover { background: var(--orange-dark); }
.btn:hover { background: var(--sand-deep); }
.hero .btn { border-color: var(--white); }
.hero .btn-primary { border-color: var(--ink); }
.hero .btn:not(.btn-primary) { background: transparent; color: var(--white); }
.hero .btn:not(.btn-primary):hover { background: rgba(255,255,255,0.12); }

.hook {
  margin-top: 22px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--white);
}

/* ---------- Sections ---------- */
section { padding: 52px 0; border-bottom: var(--rule-thin); }
section:last-of-type { border-bottom: none; }
section.section-white { background: var(--white); }
section.section-tint { background: #e9f2f1; }
.section-label {
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--orange);
  display: inline-block;
}

/* ---------- Stat band ---------- */
.stat-band {
  background: var(--ink);
  color: var(--sand);
  padding: 0;
  border-bottom: var(--rule);
}
.stat-band .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-band .stat {
  padding: 30px 20px;
  text-align: center;
  border-left: 1px solid rgba(243,238,228,0.18);
}
.stat-band .stat:first-child { border-left: none; }
.stat-band .stat .num {
  font-family: "Archivo Black", "Noto Sans KR", "Noto Sans JP", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--orange);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-band .stat .lbl {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sand-deep);
}
@media (max-width: 700px) {
  .stat-band .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat-band .stat:nth-child(3) { border-left: none; }
}

/* ---------- Icon reasons ---------- */
.reasons-list.icon-list li { display: flex; gap: 16px; align-items: flex-start; }
.reasons-list .icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border: 2px solid var(--ink);
  background: var(--sand);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Terms cards (replaces plain dl) ---------- */
.terms-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  margin-top: 24px;
  border-top: var(--rule-thin);
  border-left: var(--rule-thin);
}
.terms-cards .term-card {
  border-right: var(--rule-thin);
  border-bottom: var(--rule-thin);
  padding: 22px;
}
.terms-cards .icon {
  width: 36px; height: 36px;
  border: 2px solid var(--ink);
  background: var(--sand);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.terms-cards h3 { margin-bottom: 6px; font-size: 1.02rem; }
.terms-cards p { margin: 0; font-size: 0.95rem; }

.reasons-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: var(--rule-thin);
  border-left: var(--rule-thin);
}
.reasons-list li {
  border-right: var(--rule-thin);
  border-bottom: var(--rule-thin);
  padding: 20px 22px;
  font-weight: 600;
}
.reasons-list li strong { display: block; color: var(--teal-dark); font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: 1.05rem; margin-bottom: 6px; }

/* ---------- Fleet grid ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.fleet-card { border: var(--rule); background: var(--white); }
.fleet-card .photo {
  aspect-ratio: 4/3;
  background: var(--sand-deep);
  border-bottom: var(--rule);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fleet-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fleet-card .caption { padding: 12px 14px; }
.fleet-card .caption .cat { font-weight: 700; font-size: 0.78rem; color: var(--teal-dark); text-transform: uppercase; letter-spacing: 0.04em; }
.fleet-card .caption h3 { margin: 4px 0 0; font-size: 1rem; }
.photo-credit { font-size: 0.72rem; color: var(--grey); padding: 0 14px 12px; }

/* ---------- FAQ / accordion ---------- */
.faq-item { border-bottom: var(--rule-thin); }
.faq-item summary {
  cursor: pointer;
  padding: 18px 4px;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: "Archivo Black", sans-serif;
  color: var(--orange);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .answer { padding: 0 4px 20px; color: var(--ink); }

.terms-grid { margin-top: 24px; }
.terms-grid dt { font-family: "Archivo Black", sans-serif; font-size: 1rem; color: var(--teal-dark); margin-top: 22px; }
.terms-grid dd { margin: 6px 0 0; }

/* ---------- Map / location ---------- */
.map-frame { border: var(--rule); margin-top: 24px; }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }
.directions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 24px; }
.directions > div { border-left: var(--rule); padding-left: 18px; }

/* ---------- Contact form ---------- */
.contact-form { margin-top: 24px; max-width: 560px; }
.contact-form label { display: block; font-weight: 700; margin-bottom: 6px; margin-top: 16px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: var(--rule-thin);
  border-color: var(--ink);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form button { margin-top: 22px; }
.form-note { font-size: 0.85rem; color: var(--grey); margin-top: 10px; }

/* ---------- Reviews ---------- */
.reviews-widget-slot {
  border: var(--rule);
  background: var(--white);
  padding: 32px;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.reviews-widget-slot .rating {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.reviews-widget-slot .rating .num {
  font-family: "Archivo Black", "Noto Sans KR", "Noto Sans JP", sans-serif;
  font-size: 2.6rem;
  color: var(--orange);
}
.reviews-widget-slot .stars { color: var(--orange); font-size: 1.2rem; letter-spacing: 2px; }
.reviews-widget-slot .count { color: var(--grey); font-weight: 600; font-size: 0.92rem; }
.reviews-note { font-size: 0.8rem; color: var(--grey); margin-top: 10px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: var(--sand);
  padding: 44px 0 28px;
}
footer.site-footer .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
footer.site-footer h3 { color: var(--white); font-size: 0.95rem; margin-bottom: 10px; }
footer.site-footer a { color: var(--sand); text-decoration: none; }
footer.site-footer a:hover { color: var(--orange); }
footer.site-footer .bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(243,238,228,0.2);
  font-size: 0.82rem;
  color: var(--grey);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .reasons-list { grid-template-columns: 1fr; }
  nav.main-nav ul { gap: 16px; }
  .site-header .wrap { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
