/* ===========================================================
   318 Tote Rentals — stylesheet
   Palette: indigo #1E3A8A (primary) + green #3DDC97 (contrast)
   Type: Sora (display) / Inter (body)
   =========================================================== */

:root {
  /* Brand */
  --indigo-900: #14276B;
  --indigo-700: #1E3A8A;
  --indigo-600: #2A4AA0;
  --indigo-500: #3D5BB5;
  --indigo-100: #E7ECFA;
  --indigo-50:  #F2F5FC;

  --green-600: #2BB37E;
  --green-500: #3DDC97;
  --green-400: #6BE6AE;
  --green-100: #DBFAEC;
  --green-50: #EEFCF6;

  --ink: #14172B;
  --ink-soft: #4B5070;
  --paper: #FFFFFF;
  --paper-soft: #F6F7FB;
  --line: #E3E6F0;

  --bad-50: #FBEAEA;
  --bad-700: #B23A3A;

  --font-display: 'Sora', 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 2px rgba(20, 23, 43, 0.04), 0 8px 24px -8px rgba(30, 58, 138, 0.12);
  --shadow-card-hover: 0 4px 10px rgba(20, 23, 43, 0.06), 0 16px 36px -12px rgba(30, 58, 138, 0.18);
  --container-w: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--indigo-700); color: #fff; padding: 12px 20px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: var(--radius-sm); }

:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--green-500); color: var(--indigo-900); }
.btn-primary:hover { background: var(--green-400); box-shadow: var(--shadow-card-hover); }
.btn-outline { background: transparent; border-color: var(--indigo-700); color: var(--indigo-700); }
.btn-outline:hover { background: var(--indigo-50); }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--indigo-700); flex-shrink: 0;
}
.logo-mark { color: var(--green-600); display: flex; }
.logo-mark svg { width: 32px; height: 32px; }
.main-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.main-nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: color 0.15s ease; position: relative;
}
.main-nav a:hover { color: var(--indigo-700); }
.main-nav a.is-active { color: var(--indigo-700); }
.main-nav a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--green-500);
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn-ghost { color: var(--indigo-700); border-color: var(--line); }
.header-cta .btn-ghost:hover { background: var(--indigo-50); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; padding: 0;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px 24px 20px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 12px 4px; font-weight: 500; color: var(--ink-soft); border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 10px; justify-content: center; }
.mobile-nav .btn-ghost { color: var(--indigo-700); border-color: var(--line); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--indigo-700) 0%, var(--indigo-900) 100%); padding: 88px 0 100px; overflow: hidden; }
.hero-inner { display: flex; justify-content: center; }
.hero-copy-centered { max-width: 700px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy-centered .hero-actions { justify-content: center; }
.hero-copy-centered .hero-trust { justify-content: center; }
.eyebrow {
  display: inline-block; font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--green-400); margin-bottom: 18px;
}
.eyebrow-dark { color: var(--indigo-600); }
.hero h1 { font-size: clamp(38px, 5vw, 56px); font-weight: 700; line-height: 1.08; color: #fff; letter-spacing: -0.01em; }
.hero-sub { font-size: 18px; color: #C7D2F5; max-width: 460px; margin: 22px 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.hero-trust span { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: #AEBDEE; }
.hero-trust svg { color: var(--green-500); flex-shrink: 0; }



/* ---------- Benefits ---------- */
.benefits { padding: 56px 0; background: var(--green-50); border-bottom: 1px solid var(--line); }
.benefits-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 20px; }
.benefit { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.benefit svg { width: 22px; height: 22px; color: var(--indigo-700); padding: 13px; background: var(--paper); border-radius: 50%; border: 1px solid var(--indigo-100); box-sizing: content-box; }
.benefit span { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }

/* ---------- Section heads ---------- */
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.01em; }
.section-sub { font-size: 16px; color: var(--ink-soft); margin-top: 14px; }

/* ---------- How it works ---------- */
.how-it-works { padding: 88px 0; background: var(--paper-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step {
  background: var(--paper); border: 1.5px solid var(--green-500); border-radius: var(--radius-md);
  padding: 28px 24px; position: relative; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { border-color: var(--green-600); box-shadow: var(--shadow-card); }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 47px; left: 100%; width: 24px; height: 2px;
  background: repeating-linear-gradient(to right, var(--green-500) 0, var(--green-500) 6px, transparent 6px, transparent 11px);
  z-index: 1;
}
.step-num {
  width: 38px; height: 38px; border-radius: 10px; background: var(--indigo-100);
  color: var(--indigo-700); font-family: var(--font-display); font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  position: relative; z-index: 2;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Pricing ---------- */
.pricing { padding: 96px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.price-card { min-width: 0; }
.price-features li { word-break: break-word; }
.btn-block { min-width: 0; white-space: normal; }
.price-card {
  border: 1.5px solid var(--indigo-500); border-radius: var(--radius-md);
  padding: 28px 22px; display: flex; flex-direction: column; gap: 18px;
  position: relative; transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.price-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); border-color: var(--indigo-700); }
.price-card-featured { border-color: var(--indigo-700); box-shadow: var(--shadow-card); margin-top: 13px; }
.price-badge {
  position: absolute; top: -13px; left: 22px; background: var(--green-500); color: var(--indigo-900);
  font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 20px;
}
.price-card h3 { font-size: 19px; font-weight: 700; }
.price-fit { font-size: 13px; color: var(--ink-soft); margin-top: -12px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; }
.price-num { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--indigo-700); }
.price-period { font-size: 14px; color: var(--ink-soft); }
.price-features { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.price-features li {
  font-size: 14px; color: var(--ink); padding-left: 22px; position: relative;
}
.price-features li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 14px;
  background: var(--green-100); border-radius: 50%;
}
.price-features li::after {
  content: '✓'; position: absolute; left: 2.5px; top: 4.5px; font-size: 10px; color: var(--green-600); font-weight: 700;
}
.price-footnote { text-align: center; margin-top: 28px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Compare ---------- */
.compare { padding: 88px 0; background: var(--paper-soft); }
.compare-table { max-width: 760px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-card); }
.compare-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); }
.compare-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.compare-header { background: var(--indigo-900); }
.compare-header > div { padding: 18px 20px; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: #fff; display: flex; align-items: center; gap: 8px; }
.compare-header .compare-col-bad { color: #E8B0B0; }
.compare-header .compare-col-good { color: var(--green-400); }
.compare-label { padding: 16px 20px; font-size: 14px; font-weight: 600; color: var(--ink-soft); background: var(--paper-soft); display: flex; align-items: center; }
.compare-col-bad { padding: 16px 20px; font-size: 14px; color: var(--bad-700); background: var(--bad-50); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 8px; min-width: 0; overflow-wrap: break-word; }
.compare-col-good { padding: 16px 20px; font-size: 14px; color: var(--green-600); background: var(--green-100); font-weight: 700; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 8px; border-left: 2px solid var(--green-500); min-width: 0; overflow-wrap: break-word; }
.compare-icon { width: 16px; height: 16px; flex-shrink: 0; }
.compare-icon-bad { color: var(--bad-700); }
.compare-icon-good { color: var(--green-600); }

/* ---------- FAQ ---------- */
.faq { padding: 88px 0; background: var(--green-50); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--paper); transition: box-shadow 0.15s ease; }
.faq-item:hover { box-shadow: var(--shadow-card); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: var(--paper); border: none; padding: 19px 22px;
  font-size: 15.5px; font-weight: 600; color: var(--ink); text-align: left;
}
.faq-chevron { color: var(--indigo-600); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; background: var(--paper-soft); }
.faq-answer p { padding: 0 22px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.faq-item.is-open .faq-answer { max-height: 200px; }
.faq-item.is-open .faq-answer p { padding: 18px 22px; }

/* ---------- Service area ---------- */
.service-area { padding: 72px 0 96px; background: var(--paper-soft); }
.area-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.area-pill {
  background: var(--paper); border: 1px solid var(--line); border-radius: 30px;
  padding: 10px 22px; font-size: 14px; font-weight: 600; color: var(--indigo-700);
}

/* ---------- Reserve ---------- */
.reserve { padding: 96px 0; background: var(--indigo-900); }
.reserve-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.reserve-copy h2 { color: #fff; font-size: clamp(28px, 3.4vw, 36px); margin: 18px 0 16px; }
.reserve-copy p { color: #C7D2F5; font-size: 16px; margin-bottom: 26px; max-width: 380px; }
.reserve-copy .btn-outline { border-color: rgba(255,255,255,0.35); color: #fff; }
.reserve-copy .btn-outline:hover { background: rgba(255,255,255,0.08); }

.reserve-form {
  background: var(--paper); border-radius: var(--radius-lg); padding: 36px;
  display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-card);
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.label-optional { font-weight: 400; color: var(--ink-soft); }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--font-body); font-size: 15px; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); color: var(--ink);
  transition: border-color 0.15s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--indigo-600); outline: none; }
.form-row textarea { resize: vertical; }
.hidden-field { position: absolute; left: -9999px; }
.form-row-checkbox { flex-direction: row; align-items: flex-start; gap: 10px; }
.form-row-checkbox input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--indigo-700); }
.form-row-checkbox label { font-size: 13.5px; font-weight: 400; color: var(--ink-soft); line-height: 1.5; }
.form-row-checkbox label a { color: var(--indigo-700); font-weight: 600; text-decoration: underline; }
.form-note { font-size: 13.5px; color: var(--green-600); text-align: center; min-height: 18px; }
.form-note.is-error { color: var(--bad-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo-footer { font-size: 18px; font-weight: 700; color: #fff; }
.footer-brand p { font-size: 13.5px; color: #9498B5; margin-top: 12px; max-width: 240px; line-height: 1.6; }
.footer-col h3 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.footer-col a:not(.btn) { display: block; font-size: 14px; color: #9498B5; margin-bottom: 10px; }
.footer-col a:not(.btn):hover { color: var(--green-400); }
.footer-col a.btn { margin-bottom: 0; }
.footer-col p { font-size: 14px; color: #9498B5; line-height: 1.6; }
.footer-bottom { padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: #6B6F8C; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--indigo-700); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  box-shadow: var(--shadow-card); z-index: 90;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--indigo-600); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid .price-card:nth-child(4), .pricing-grid .price-card:nth-child(5) { grid-column: span 1; }
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
  .reserve-inner { grid-template-columns: 1fr; }
  .reserve-copy p { max-width: none; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { padding: 0 4px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .compare-row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 360px) {
  .compare-label { padding: 14px 12px; font-size: 13px; }
  .compare-col-bad, .compare-col-good { padding: 14px 10px; font-size: 13px; flex-direction: column; align-items: flex-start; gap: 4px; word-break: break-word; hyphens: auto; }
  .compare-header > div { padding: 14px 10px; font-size: 13px; }
}

@media (max-width: 560px) {
  .header-inner { height: 68px; }
  .hero { padding: 48px 0 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .steps, .pricing-grid, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 36px; }
  .reserve-form { padding: 26px 20px; }
}
