/* ============================================================
   AXIS DENTAL — sample dental clinic site
   Theme: bold modern / technology-forward
   SAMPLE / PLACEHOLDER PROJECT · EulClavie web design demo
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:root {
  --void:  #0B0D10;
  --panel: #12161B;
  --panel-2:#171C22;
  --white: #F3F6F4;
  --gray:  #8B958F;
  --lime:  #C9F24E;
  --line:  rgba(243,246,244,.13);
  --line-2:rgba(243,246,244,.07);

  --font: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 4.6vw, 76px);
  --max: 1280px;
  --bar-h: 30px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px; line-height: 1.6; font-weight: 400;
  color: var(--white); background: var(--void);
  padding-top: var(--bar-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lime); color: var(--void); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
h1 { font-size: clamp(2.4rem, 6.6vw, 5.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); text-transform: uppercase; }
h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); }
.lead { color: var(--gray); font-size: 17px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 4px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--lime); color: var(--void);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: #D8FF6B; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--panel-2); border-color: var(--white); }
.btn--dark { background: var(--void); color: var(--white); }
.btn--dark:hover { background: #1B2129; }

/* ---------- sample bar ---------- */
.sample-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--lime); color: var(--void);
  font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding-inline: 14px; text-align: center;
}
.sample-bar .dim { color: rgba(11,13,16,.6); }
@media (max-width: 720px) { .sample-bar { font-size: 8.5px; letter-spacing: .14em; } .sample-bar .dim { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 150;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(11,13,16,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line-2); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -.03em; text-transform: uppercase; }
.brand i { width: 14px; height: 14px; background: var(--lime); display: block; transform: rotate(45deg); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); transition: color .25s; }
.nav__links a:hover { color: var(--white); }
.nav__toggle { display: none; width: 36px; height: 36px; position: relative; }
.nav__toggle i { position: absolute; left: 7px; right: 7px; height: 2px; background: var(--white); transition: transform .35s var(--ease); }
.nav__toggle i:nth-child(1) { top: 14px; }
.nav__toggle i:nth-child(2) { top: 21px; }
body.menu-open .nav__toggle i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav__toggle i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 940px) { .nav__links { display: none; } .nav__toggle { display: block; } }
@media (max-width: 520px) { .nav__inner > .btn { display: none; } }

.menu {
  position: fixed; inset: calc(var(--bar-h) + 74px) 0 0 0; z-index: 140;
  background: var(--void); padding: 26px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
body.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.menu a { font-size: 1.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: -.03em; padding-block: 12px; border-bottom: 1px solid var(--line-2); }
.menu .btn { margin-top: 22px; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(100px, 12vw, 150px); padding-bottom: clamp(40px, 5vw, 70px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 60px); align-items: end; }
.hero h1 { margin-top: 20px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { margin-top: 24px; max-width: 44ch; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 4px; }
.hero__media::after { content: ""; position: absolute; inset: 10px -10px -10px 10px; border: 1px solid var(--lime); border-radius: 4px; z-index: -1; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .hero__media::after { inset: 8px -8px -8px 8px; }
}

/* ---------- stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 4px; margin-top: clamp(40px, 5vw, 70px); }
.stats div { padding: clamp(18px, 2.4vw, 30px); border-right: 1px solid var(--line-2); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: clamp(1.7rem, 3.2vw, 2.8rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2n) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(60px, 8vw, 120px); }
.section--panel { background: var(--panel); }
.sechead { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 54px); }
.sechead h2 { margin-top: 12px; max-width: 18ch; }
.sechead p { color: var(--gray); max-width: 40ch; }

/* ---------- tech cells ---------- */
.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tech__cell { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--panel-2); transition: border-color .4s var(--ease); }
.tech__cell:hover { border-color: var(--lime); }
.tech__cell img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.85) contrast(1.05); transition: transform 1s var(--ease); }
.tech__cell:hover img { transform: scale(1.04); }
.tech__body { padding: clamp(18px, 2vw, 26px); }
.tech__body h3 { margin-top: 12px; }
.tech__body p { margin-top: 10px; font-size: 14.5px; color: var(--gray); }
@media (max-width: 900px) { .tech { grid-template-columns: 1fr; } }

/* ---------- treatments accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 40px; gap: 18px; align-items: center;
  padding-block: clamp(18px, 2.4vw, 30px);
  transition: padding-left .4s var(--ease);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { padding-left: 10px; }
.acc__num { font-size: 11.5px; letter-spacing: .14em; color: var(--lime); }
.acc summary h3 { font-size: clamp(1.2rem, 2.6vw, 2rem); text-transform: uppercase; letter-spacing: -.03em; }
.acc__price { font-size: 14px; color: var(--gray); white-space: nowrap; }
.acc__plus { justify-self: end; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: var(--gray); transition: transform .35s var(--ease), border-color .35s, color .35s; }
.acc details[open] .acc__plus { transform: rotate(45deg); border-color: var(--lime); color: var(--lime); }
.acc__body { padding: 0 0 26px 82px; max-width: 70ch; color: var(--gray); font-size: 15px; }
@media (max-width: 760px) {
  .acc summary { grid-template-columns: 44px minmax(0, 1fr) 34px; gap: 12px; }
  .acc__price { grid-column: 2; font-size: 13px; }
  .acc__plus { grid-row: 1; }
  .acc__body { padding-left: 56px; }
}

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 4px; }
.process div { padding: clamp(20px, 2.6vw, 34px); border-right: 1px solid var(--line-2); }
.process div:last-child { border-right: 0; }
.process b { display: block; margin-top: 16px; font-size: 16px; }
.process p { margin-top: 8px; font-size: 14px; color: var(--gray); }
@media (max-width: 860px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process div:nth-child(2n) { border-right: 0; }
  .process div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
}
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } .process div { border-right: 0; border-bottom: 1px solid var(--line-2); } }

/* ---------- lime band ---------- */
.band { background: var(--lime); color: var(--void); }
.band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 60px); align-items: center; padding-block: clamp(46px, 6vw, 90px); }
.band h2 { max-width: 16ch; }
.band p { margin-top: 16px; max-width: 40ch; color: rgba(11,13,16,.72); }
.band__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.band__list div { display: flex; justify-content: space-between; gap: 18px; padding-block: 12px; border-bottom: 1px solid rgba(11,13,16,.18); font-size: 15px; }
.band__list dt { opacity: .65; }
@media (max-width: 860px) { .band__inner { grid-template-columns: 1fr; } }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.member { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease), transform 1s var(--ease); }
.member:hover img { filter: none; transform: scale(1.03); }
.member__body { padding: 18px 20px 22px; }
.member__body b { display: block; font-size: 16px; }
.member__body span { display: block; margin-top: 3px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; } }

/* ---------- notice ---------- */
.notice { border: 1px solid var(--line); border-radius: 4px; padding: clamp(20px, 3vw, 34px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(14px, 3vw, 36px); background: var(--panel); }
.notice b { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.notice p { font-size: 13.5px; color: var(--gray); max-width: 64ch; }
.notice p + p { margin-top: 8px; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line-2); padding-block: clamp(44px, 5vw, 74px); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 46px); }
.foot__brand p { margin-top: 14px; font-size: 14px; color: var(--gray); max-width: 32ch; }
.foot h4 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; font-weight: 500; }
.foot li + li { margin-top: 8px; }
.foot li, .foot a { font-size: 14.5px; }
.foot a:hover { color: var(--lime); }
.foot__bottom { margin-top: clamp(32px, 4vw, 54px); padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 12.5px; color: var(--gray); }
@media (max-width: 820px) { .foot__top { grid-template-columns: repeat(2, 1fr); } .foot__brand { grid-column: 1 / -1; } }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(20px); }
.is-ready .rv { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.page { opacity: 0; transition: opacity .4s ease; }
.page.is-visible { opacity: 1; }
.page.is-leaving { opacity: 0; transition-duration: .25s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
  .page { opacity: 1; }
}
