/* DIH Rental — public site */
:root {
  --background: 40 33% 96%;
  --foreground: 210 24% 10%;
  --card: 40 40% 99%;
  --card-foreground: 210 24% 10%;
  --primary: 4 78% 48%;
  --primary-foreground: 0 0% 100%;
  --secondary: 200 18% 92%;
  --secondary-foreground: 210 24% 14%;
  --muted: 30 16% 90%;
  --muted-foreground: 210 10% 38%;
  --accent: 200 22% 94%;
  --accent-foreground: 210 24% 12%;
  --border: 30 12% 84%;
  --input: 30 12% 84%;
  --ring: 4 78% 48%;
  --ink: 210 28% 12%;
  --sea: 198 42% 36%;
  --radius: 0.65rem;
  --font-display: "Syne", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, hsl(4 78% 48% / 0.07), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 8%, hsl(198 50% 45% / 0.1), transparent 50%),
    linear-gradient(180deg, hsl(40 33% 97%), hsl(var(--background)));
  color: hsl(var(--foreground));
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: hsl(var(--ink));
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid hsl(var(--border) / 0.7);
  background: hsl(40 33% 97% / 0.82);
  backdrop-filter: blur(12px);
}
.site-header-inner {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.brand span { color: hsl(var(--primary)); font-weight: 700; }
.nav {
  display: none;
  gap: 1.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}
.nav a { transition: color .15s; }
.nav a:hover { color: hsl(var(--foreground)); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.linkish { color: hsl(var(--muted-foreground)); font-weight: 500; }
.linkish:hover { color: hsl(var(--foreground)); }

@media (min-width: 768px) {
  .nav { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.4rem;
  padding: 0 1.1rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 8px 20px hsl(4 78% 40% / 0.22);
}
.btn-primary:hover { background: hsl(4 78% 44%); }
.btn-outline {
  background: hsl(var(--card) / 0.7);
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-outline:hover { background: hsl(var(--accent)); }
.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
}
.btn-ghost:hover { background: hsl(var(--accent)); }
.btn-lg { height: 3rem; padding: 0 1.35rem; font-size: 0.975rem; }

/* Alerts */
.alert {
  width: min(100% - 2rem, 68rem);
  margin: 1rem auto 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  font-size: 0.875rem;
}
.alert-ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid hsl(var(--border) / 0.8);
  background:
    linear-gradient(135deg, hsl(40 40% 98%) 0%, hsl(200 30% 94%) 48%, hsl(4 60% 95%) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
  padding: 3.25rem 0 3.75rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 4.25rem 0 4.75rem;
    gap: 2.5rem;
  }
}
.hero-copy { max-width: 34rem; }
.brand-lockup {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 1rem;
  color: hsl(var(--ink));
}
.brand-lockup em {
  font-style: normal;
  color: hsl(var(--primary));
  display: block;
}
.hero h1 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}
.hero-lead {
  color: hsl(var(--muted-foreground));
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
  max-width: 34ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-visual {
  position: relative;
  min-height: 16rem;
  border-radius: calc(var(--radius) + 0.35rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, hsl(0 0% 100% / 0.55), transparent 45%),
    linear-gradient(160deg, hsl(198 35% 28%), hsl(210 28% 14%) 55%, hsl(4 55% 28%));
  box-shadow: 0 24px 50px hsl(210 30% 12% / 0.18);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  animation: ken 18s ease-in-out infinite alternate;
}
.hero-visual-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.hero-visual-art svg {
  width: min(88%, 22rem);
  height: auto;
  opacity: 0.95;
  animation: floaty 5.5s ease-in-out infinite;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.hero-orb-a {
  width: 8rem; height: 8rem;
  top: -1.5rem; right: -1rem;
  background: hsl(4 78% 55% / 0.35);
  animation: pulse 4s ease-in-out infinite;
}
.hero-orb-b {
  width: 11rem; height: 11rem;
  bottom: -3rem; left: -2rem;
  background: hsl(198 60% 55% / 0.28);
  animation: pulse 5.5s ease-in-out infinite reverse;
}

@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.rise-delay-1 { animation-delay: .08s; }
.rise-delay-2 { animation-delay: .16s; }
.rise-delay-3 { animation-delay: .24s; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Sections */
.section { padding: 4rem 0; position: relative; }
.section + .section { border-top: 1px solid hsl(var(--border) / 0.75); }
.section h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin-bottom: 0.55rem; }
.section-intro {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  max-width: 34rem;
  margin-bottom: 1.85rem;
}
.section-fleet {
  background:
    linear-gradient(180deg, transparent, hsl(200 25% 94% / 0.55) 40%, transparent);
}

/* Cards / fleet */
.card {
  background: hsl(var(--card) / 0.88);
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.25rem;
}
.muted { color: hsl(var(--muted-foreground)); }

.fleet-card {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
}
@media (min-width: 720px) {
  .fleet-card { grid-template-columns: 1.15fr 1fr; gap: 2rem; }
}
.fleet-media { min-width: 0; }
.fleet-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) + 0.2rem);
  box-shadow: 0 18px 40px hsl(210 30% 12% / 0.14);
}
.fleet-mark {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  text-align: center;
  border-radius: calc(var(--radius) + 0.2rem);
  background:
    radial-gradient(circle at 70% 20%, hsl(4 70% 55% / 0.2), transparent 40%),
    linear-gradient(145deg, hsl(210 22% 18%), hsl(198 30% 24%));
  color: #fff;
  box-shadow: 0 18px 40px hsl(210 30% 12% / 0.14);
}
.fleet-mark span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.02em;
}
.fleet-mark small {
  font-size: 0.8rem;
  opacity: 0.75;
  max-width: 14rem;
  margin-inline: auto;
}
.fleet-body h3 { font-size: 1.125rem; }
.price-line {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 1.1rem 0 1.25rem;
}
.price-line strong {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
}
.fleet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}
.fleet-meta span::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  vertical-align: 0.1rem;
}
.fleet-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.fleet-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.grid-2 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
.price-panel {
  padding: 1.5rem 0;
  border-top: 1px solid hsl(var(--border));
}
.price-panel:first-child { border-top: 0; padding-top: 0; }
.price-panel .label-sm {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.4rem;
}
.price-panel .value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.price-panel .hint {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
@media (min-width: 640px) {
  .price-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .price-panel { border-top: 0; padding: 0 0 0 1.5rem; border-left: 1px solid hsl(var(--border)); }
  .price-panel:first-child { padding-left: 0; border-left: 0; }
}

.steps { display: grid; gap: 1rem; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
}
.step {
  border: 0;
  border-radius: var(--radius);
  padding: 1.15rem 1.05rem;
  background: hsl(var(--card) / 0.8);
  box-shadow: inset 0 0 0 1px hsl(var(--border));
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.step:hover {
  transform: translateY(-3px);
  background: hsl(0 0% 100%);
  box-shadow: 0 12px 28px hsl(210 24% 12% / 0.08), inset 0 0 0 1px hsl(var(--border));
}
.step .n {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.step h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.85rem; color: hsl(var(--muted-foreground)); }

.faq details {
  border: 0;
  border-bottom: 1px solid hsl(var(--border));
  border-radius: 0;
  padding: 1rem 0;
  margin-bottom: 0;
  background: transparent;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  margin-top: 0.55rem;
  font-size: 0.925rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
}

.cta-banner {
  border: 0;
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 2rem 1.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, hsl(4 78% 48% / 0.18), transparent 55%),
    linear-gradient(135deg, hsl(210 28% 12%), hsl(198 35% 18%));
  color: #fff;
  box-shadow: 0 20px 44px hsl(210 30% 10% / 0.22);
}
.cta-banner h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 0.4rem; color: #fff; }
.cta-banner p { color: hsl(0 0% 100% / 0.78); font-size: 1rem; margin-bottom: 1.25rem; max-width: 36rem; }
.cta-banner .btn-primary {
  background: #fff;
  color: hsl(4 78% 42%);
  box-shadow: none;
}
.cta-banner .btn-outline,
.cta-banner .btn-ghost {
  color: #fff;
  border-color: hsl(0 0% 100% / 0.35);
}
.cta-banner .btn-outline:hover,
.cta-banner .btn-ghost:hover {
  background: hsl(0 0% 100% / 0.1);
}

/* Footer */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  padding: 1.75rem 0;
  margin-top: auto;
  background: hsl(40 30% 95% / 0.65);
}
.site-footer-inner {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
}
.brand-line {
  font-family: var(--font-display);
  font-weight: 700;
  color: hsl(var(--foreground));
}

/* Pages / forms */
.page { padding: 2.5rem 0 4rem; }
.page h1 { font-size: 1.65rem; }
.book-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); }
}
.book-card { padding: 0; overflow: hidden; }
.book-card-media {
  height: 7.5rem;
  background:
    linear-gradient(145deg, hsl(210 22% 18%), hsl(198 30% 24%));
  display: flex;
  align-items: flex-start;
  padding: 0.75rem;
}
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: calc(var(--radius) - 4px);
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
}
.book-card-body { padding: 1rem 1.25rem 1.25rem; }
.book-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.book-card h2 { font-size: 1.05rem; }
.book-form { max-width: 32rem; }
.stack { display: grid; gap: 1rem; }
.form-grid.two {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 480px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}
.label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.input {
  width: 100%;
  height: 2.35rem;
  padding: 0 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--input));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font: inherit;
  font-size: 0.875rem;
}
textarea.input { height: auto; padding: 0.5rem 0.75rem; resize: vertical; }
.input:focus {
  outline: 2px solid hsl(var(--ring) / 0.35);
  outline-offset: 1px;
  border-color: hsl(var(--ring));
}
.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  line-height: 1.4;
}
.check input { margin-top: 0.2rem; }
.estimate {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  background: hsl(var(--secondary));
}
.form-actions { margin-top: 0.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.chip {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  background: hsl(var(--background));
}
.agreement-box {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
  max-height: 10rem;
  overflow: auto;
  background: hsl(var(--muted) / 0.45);
}
.agreement-box strong { color: hsl(var(--foreground)); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .rise, .hero-visual img, .hero-visual-art svg, .hero-orb, .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
