/**
 * Dandeli.org — modern lightweight shell (index1)
 * System fonts, no frameworks. OYO-adjacent: clean white chrome + strong CTA.
 */

:root {
  --do-bg: #f6f7f8;
  --do-surface: #ffffff;
  --do-text: #1a1a1a;
  --do-muted: #5c6670;
  --do-border: #e8eaed;
  --do-primary: #d23f31;
  --do-primary-hover: #b83529;
  --do-accent: #0f766e;
  --do-radius: 12px;
  --do-radius-sm: 8px;
  --do-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
  --do-header-h: 64px;
  --do-max: 1180px;
  --do-space: clamp(1rem, 4vw, 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.do-body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--do-text);
  background: var(--do-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--do-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.do-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--do-primary);
  color: #fff;
}

.do-skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

@media (max-width: 1023px) {
  .do-hide-sm {
    display: none !important;
  }
}

/* ——— Header ——— */
.do-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--do-header-h);
  background: var(--do-surface);
  border-bottom: 1px solid var(--do-border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.do-header__inner {
  max-width: var(--do-max);
  margin: 0 auto;
  padding: 0 var(--do-space);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.do-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.do-logo:hover {
  text-decoration: none;
}

.do-logo img {
  height: 36px;
  width: auto;
}

.do-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .do-nav {
    display: flex;
  }
}

.do-nav__item {
  position: relative;
}

.do-nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--do-text);
  text-decoration: none;
  border-radius: var(--do-radius-sm);
}

.do-nav__link:hover {
  background: var(--do-bg);
  text-decoration: none;
}

.do-nav__chev {
  display: inline-block;
  margin-left: 0.15rem;
  font-size: 0.65em;
  opacity: 0.6;
  vertical-align: middle;
}

.do-nav__sub {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  background: var(--do-surface);
  border: 1px solid var(--do-border);
  border-radius: var(--do-radius-sm);
  box-shadow: var(--do-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.do-nav__item--dropdown:hover .do-nav__sub,
.do-nav__item--dropdown:focus-within .do-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.do-nav__sub a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--do-text);
  text-decoration: none;
}

.do-nav__sub a:hover {
  background: var(--do-bg);
  text-decoration: none;
}

.do-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.do-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--do-radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.do-btn:hover {
  text-decoration: none;
}

.do-btn--primary {
  background: var(--do-primary);
  color: #fff;
}

.do-btn--primary:hover {
  background: var(--do-primary-hover);
  color: #fff;
}

.do-btn--ghost {
  background: transparent;
  color: var(--do-text);
  border: 1px solid var(--do-border);
}

.do-btn--ghost:hover {
  background: var(--do-bg);
}

.do-btn--wa {
  background: #25d366;
  color: #fff;
}

.do-btn--wa:hover {
  background: #1ebe57;
  color: #fff;
}

.do-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: var(--do-radius-sm);
  cursor: pointer;
}

.do-menu-toggle span {
  display: block;
  height: 2px;
  background: var(--do-text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.do-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.do-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.do-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .do-menu-toggle {
    display: none;
  }
}

/* Mobile drawer */
.do-drawer {
  position: fixed;
  inset: var(--do-header-h) 0 0 0;
  background: var(--do-surface);
  z-index: 999;
  padding: 1rem var(--do-space) 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  border-top: 1px solid var(--do-border);
}

.do-drawer.is-open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .do-drawer {
    display: none;
  }
}

.do-drawer__section {
  margin-bottom: 1.25rem;
}

.do-drawer__title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--do-muted);
  margin: 0 0 0.5rem;
}

.do-drawer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.do-drawer__links li {
  border-bottom: 1px solid var(--do-border);
}

.do-drawer__links a {
  display: block;
  padding: 0.65rem 0;
  color: var(--do-text);
  font-size: 0.9375rem;
  text-decoration: none;
}

.do-drawer__links a:hover {
  color: var(--do-primary);
}

body.do-drawer-open {
  overflow: hidden;
}

.do-backdrop {
  display: none;
  position: fixed;
  inset: var(--do-header-h) 0 0 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 998;
}

.do-backdrop.is-visible {
  display: block;
}

@media (min-width: 1024px) {
  .do-backdrop {
    display: none !important;
  }
}

/* ——— Hero ——— */
.do-hero {
  position: relative;
  min-height: min(72vh, 560px);
  display: flex;
  align-items: flex-end;
  background: #1a2f2c;
}

.do-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.do-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.do-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.do-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--do-max);
  margin: 0 auto;
  padding: var(--do-space);
  padding-bottom: clamp(1.5rem, 5vw, 3rem);
}

.do-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.do-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  max-width: 18ch;
}

.do-hero__sub {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 36ch;
}

/* Search card (OYO-style) */
.do-search-card {
  background: var(--do-surface);
  border-radius: var(--do-radius);
  box-shadow: var(--do-shadow);
  padding: 1rem 1.25rem 1.25rem;
  max-width: 640px;
}

.do-search-card__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--do-muted);
  margin-bottom: 0.75rem;
}

.do-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.do-search-row .do-field {
  flex: 1 1 140px;
}

.do-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--do-muted);
  margin-bottom: 0.25rem;
}

.do-field input,
.do-field select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 0.9375rem;
  border: 1px solid var(--do-border);
  border-radius: var(--do-radius-sm);
  background: var(--do-surface);
  color: var(--do-text);
}

.do-field input:focus,
.do-field select:focus {
  outline: 2px solid var(--do-accent);
  outline-offset: 1px;
  border-color: transparent;
}

.do-search-submit {
  flex: 1 1 100%;
  margin-top: 0.25rem;
}

@media (min-width: 600px) {
  .do-search-submit {
    flex: 0 0 auto;
    align-self: flex-end;
    margin-top: 0;
    min-width: 140px;
  }
}

.do-search-submit .do-btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
}

/* ——— Sections ——— */
.do-main {
  padding-bottom: 3rem;
}

.do-section {
  max-width: var(--do-max);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem) var(--do-space);
}

/* Lifted panel (do not set horizontal margin here — it breaks margin: auto centering) */
.do-section--panel {
  background: var(--do-surface);
  border-radius: var(--do-radius);
  box-shadow: var(--do-shadow);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.do-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.do-section__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.do-link-all {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--do-primary);
  text-decoration: none;
}

.do-link-all:hover {
  text-decoration: underline;
}

/* Trust chips */
.do-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
}

.do-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--do-surface);
  border: 1px solid var(--do-border);
  border-radius: 999px;
  color: var(--do-muted);
}

.do-chip svg {
  flex-shrink: 0;
  opacity: 0.85;
}

/* Card grid */
.do-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* Horizontal scroll row: centers when it fits; scrollbar when cards overflow */
.do-scroll-hint {
  font-size: 0.75rem;
  color: var(--do-muted);
  margin: -0.35rem 0 0.65rem;
}

.do-grid-scroll-outer {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  margin-left: calc(-1 * var(--do-space));
  margin-right: calc(-1 * var(--do-space));
  padding-left: var(--do-space);
  padding-right: var(--do-space);
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--do-border) transparent;
}

.do-grid-scroll-outer:focus-visible {
  outline: 2px solid var(--do-accent);
  outline-offset: 2px;
}

.do-grid-scroll-outer::-webkit-scrollbar {
  height: 8px;
}

.do-grid-scroll-outer::-webkit-scrollbar-thumb {
  background: var(--do-border);
  border-radius: 4px;
}

.do-grid.do-grid--scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  width: max-content;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0.25rem;
}

.do-grid.do-grid--scroll .do-card {
  flex: 0 0 min(280px, calc(100vw - 3rem));
  max-width: 300px;
  scroll-snap-align: start;
}

@media (min-width: 900px) {
  .do-scroll-hint {
    display: none;
  }
}

.do-card {
  background: var(--do-surface);
  border-radius: var(--do-radius);
  overflow: hidden;
  border: 1px solid var(--do-border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.do-card:hover {
  box-shadow: var(--do-shadow);
  transform: translateY(-2px);
}

.do-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--do-border);
}

a.do-card__media {
  display: block;
  color: inherit;
}

a.do-card__media:hover {
  text-decoration: none;
}

.do-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.do-card__body {
  padding: 1rem 1.1rem 1.15rem;
}

.do-card__title {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.do-card__title a {
  color: inherit;
  text-decoration: none;
}

.do-card__title a:hover {
  color: var(--do-primary);
  text-decoration: none;
}

.do-card__meta {
  font-size: 0.8125rem;
  color: var(--do-muted);
  margin-bottom: 0.5rem;
}

.do-card__desc {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--do-muted);
  line-height: 1.45;
}

.do-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.do-card__actions .do-btn {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.8125rem;
  padding: 0.5rem 0.75rem;
}

/* Category pills row — centered block on wide screens */
.do-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  justify-content: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 599px) {
  .do-cats {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.do-cat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--do-surface);
  border: 1px solid var(--do-border);
  border-radius: var(--do-radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.do-cat:hover {
  border-color: var(--do-accent);
  background: #f0fdfa;
  text-decoration: none;
}

.do-cat__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--do-radius-sm);
  background: var(--do-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.do-cat__text strong {
  display: block;
  font-size: 0.9375rem;
}

.do-cat__text span {
  font-size: 0.8125rem;
  color: var(--do-muted);
}

/* Banner CTA */
.do-banner {
  max-width: var(--do-max);
  margin: 0 auto;
  padding: 0 var(--do-space) 2rem;
}

.do-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  border-radius: var(--do-radius);
  color: #fff;
}

.do-banner__inner h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.do-banner__inner p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  opacity: 0.95;
}

.do-banner__inner .do-btn {
  background: #fff;
  color: #115e59;
}

.do-banner__inner .do-btn:hover {
  background: var(--do-bg);
}

/* ——— Footer ——— */
.do-footer {
  background: #1e2930;
  color: #cbd5e1;
  padding: 2.5rem var(--do-space) 1.5rem;
  font-size: 0.875rem;
}

.do-footer a {
  color: #e2e8f0;
  text-decoration: none;
}

.do-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.do-footer__grid {
  max-width: var(--do-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.do-footer__brand {
  max-width: 280px;
}

.do-footer__heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin: 0 0 0.75rem;
}

.do-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.do-footer__list li {
  margin-bottom: 0.45rem;
}

.do-footer__bottom {
  max-width: var(--do-max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: #94a3b8;
  text-align: center;
}

/* ——— Inner pages (terms, privacy, etc.) ——— */
.do-page-head {
  background: linear-gradient(180deg, #eef0f2 0%, var(--do-bg) 100%);
  border-bottom: 1px solid var(--do-border);
  padding: 1.25rem var(--do-space) 1.35rem;
}

.do-page-head__inner {
  max-width: var(--do-max);
  margin: 0 auto;
}

.do-breadcrumb {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--do-muted);
}

.do-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: var(--do-border);
  font-weight: 400;
}

.do-breadcrumb a {
  color: var(--do-primary);
  font-weight: 600;
  text-decoration: none;
}

.do-breadcrumb a:hover {
  text-decoration: underline;
}

.do-page-head h1 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.do-legal {
  max-width: var(--do-max);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2rem) var(--do-space) 2.5rem;
}

.do-legal__inner {
  max-width: 52rem;
  margin: 0 auto;
  background: var(--do-surface);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 3vw, 1.85rem);
  border-radius: var(--do-radius);
  border: 1px solid var(--do-border);
  box-shadow: var(--do-shadow);
}

.do-legal__inner h2 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.65rem;
  font-weight: 700;
}

.do-legal__inner h2:first-of-type {
  margin-top: 0;
}

.do-legal__inner h3 {
  font-size: 1.05rem;
  margin: 1.35rem 0 0.5rem;
  font-weight: 700;
}

.do-legal__inner p {
  margin: 0.65rem 0;
  line-height: 1.65;
  color: var(--do-text);
}

.do-legal__inner ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.35rem;
  line-height: 1.6;
}

.do-legal__inner li {
  margin: 0.35rem 0;
}

.do-legal__inner a {
  color: var(--do-accent);
  font-weight: 500;
}
