/* ============================================================
   Dental.Rent — Global Stylesheet
   ============================================================ */

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

:root {
  --blue: #0f766e;
  --blue-dark: #115e59;
  --blue-light: #dff7f4;
  --accent: #14b8a6;
  --teal: #0d9488;
  --white: #ffffff;
  --off-white: #f6fbfa;
  --gray-50: #f1f5f9;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --text: #1e293b;
  --text-muted: #64748b;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.13);
  --max-w: 1160px;
  --font:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-mono:
    ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

.dojo-strip {
  background: linear-gradient(90deg, #0f172a, #0f3a43);
  color: var(--white);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dojo-strip .container {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.dojo-strip a {
  color: #5eead4;
  font-weight: 700;
}

/* ── Typography ─────────────────────────────────────────── */

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.05rem;
}

p {
  max-width: 70ch;
}

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ── Utilities ──────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}
.section-sm {
  padding: 2.5rem 0;
}

.ninja-principle {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.ninja-principle h3 {
  margin-bottom: 0.5rem;
}

.ninja-principle p + p {
  margin-top: 0.65rem;
}

.text-center {
  text-align: center;
}
.text-muted {
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--blue-light);
  color: var(--blue-dark);
}

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--blue-light);
  text-decoration: none;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

/* ── Navigation ─────────────────────────────────────────── */

.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-logo span {
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition:
    background 0.15s,
    color 0.15s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--blue-light);
  color: var(--blue);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.4rem;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  background: linear-gradient(135deg, #0a3a3a 0%, #0f766e 62%, #14b8a6 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero h1 {
  color: var(--white);
}
.hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 56ch;
}

.hero-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.2rem;
}

/* ── Category grid ──────────────────────────────────────── */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.category-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
  transform: translateY(-3px);
  text-decoration: none;
}

.category-icon {
  font-size: 2.2rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.25rem;
}

.category-card h3 {
  font-size: 1.05rem;
  color: var(--gray-900);
}

.category-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 100%;
}

.category-card .cat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 0.25rem;
}

/* ── Feature list ───────────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
}

.feature-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.feature-item h4 {
  margin-bottom: 0.25rem;
}
.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 100%;
}

/* ── Equipment table ────────────────────────────────────── */

.equip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.equip-table th {
  background: var(--gray-50);
  padding: 0.7rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--gray-700);
  border-bottom: 2px solid var(--gray-200);
}

.equip-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--text);
  vertical-align: top;
}

.equip-table tr:hover td {
  background: var(--gray-50);
}

/* ── Pricing cards ──────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.pricing-card .price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-card .price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.pricing-card li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1.4rem;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ── CTA banner ─────────────────────────────────────────── */

.cta-banner {
  background: linear-gradient(135deg, #0a3a3a 0%, #0f766e 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0.75rem auto 2rem;
}

/* ── Breadcrumb ─────────────────────────────────────────── */

.breadcrumb {
  padding: 0.85rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--gray-400);
  margin-right: 0.4rem;
}

.breadcrumb a {
  color: var(--blue);
}
.breadcrumb [aria-current] {
  color: var(--gray-700);
}

/* ── Page hero (subpages) ───────────────────────────────── */

.page-hero {
  background: linear-gradient(135deg, #0a3a3a 0%, #0f766e 70%, #14b8a6 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0.6rem;
  max-width: 58ch;
}

/* ── Info box ───────────────────────────────────────────── */

.info-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.3rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* ── Step list ──────────────────────────────────────────── */

.step-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item h4 {
  margin-bottom: 0.25rem;
}
.step-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 100%;
}

/* ── Section header ─────────────────────────────────────── */

.section-header {
  margin-bottom: 2.5rem;
}

.section-header .badge {
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ── Testimonials ───────────────────────────────────────── */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.65;
  font-style: italic;
}

.testimonial-author {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── Footer ─────────────────────────────────────────────── */

.site-footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.65);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand .nav-logo {
  color: var(--white);
  font-size: 1.35rem;
}
.footer-brand p {
  font-size: 0.875rem;
  margin-top: 0.65rem;
  max-width: 30ch;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s;
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── faq ─────────────────────────────────────────────────── */

details {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
}

details + details {
  margin-top: 0.5rem;
}

summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-900);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--blue);
  font-weight: 400;
  transition: transform 0.2s;
}

details[open] summary::after {
  content: "−";
}

details > p,
details > div {
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 100%;
}

/* ── Tag pills ───────────────────────────────────────────── */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.22rem 0.7rem;
  border-radius: 99px;
  border: 1px solid var(--gray-200);
  font-size: 0.8rem;
  color: var(--gray-700);
  background: var(--white);
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .dojo-strip {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}
