/* ============================================================
   CLARO DENTAL — sample dental clinic site
   Theme: clean clinical calm
   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 {
  --white: #FFFFFF;
  --mint:  #F1F8F6;
  --mint-2:#E4F1ED;
  --teal:  #0F7A6B;
  --teal-d:#0A5A4F;
  --ink:   #0E1F1B;
  --gray:  #5C6B67;
  --line:  #DFEBE7;
  --amber: #E9A93D;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --bar-h: 30px;
  --r: 18px;
  --shadow: 0 18px 50px -28px rgba(14,31,27,.35);
  --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.65; font-weight: 400;
  color: var(--ink); background: var(--white);
  padding-top: var(--bar-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--teal); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.lead { color: var(--gray); font-size: 17px; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.12; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  background: var(--teal); color: #fff;
  transition: background-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 10px 24px -14px rgba(15,122,107,.9);
}
.btn:hover { background: var(--teal-d); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--mint); border-color: var(--mint-2); }
.btn--white { background: #fff; color: var(--teal-d); box-shadow: none; }
.btn--white:hover { background: var(--mint); }

/* ---------- 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(--ink); color: #fff;
  font-size: 9.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding-inline: 14px; text-align: center;
}
.sample-bar .dim { color: rgba(255,255,255,.55); }
@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;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-solid { border-bottom-color: var(--line); box-shadow: 0 10px 30px -26px rgba(14,31,27,.5); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 19px; }
.brand span.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); display: block; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 14.5px; font-weight: 500; color: var(--gray); transition: color .25s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { font-size: 14.5px; font-weight: 600; }
.nav__toggle { display: none; width: 36px; height: 36px; position: relative; }
.nav__toggle i { position: absolute; left: 7px; right: 7px; height: 2px; border-radius: 2px; background: var(--ink); 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, .nav__phone { display: none; }
  .nav__toggle { display: block; }
}
@media (max-width: 520px) { .nav__cta .btn { display: none; } }

.menu {
  position: fixed; inset: calc(var(--bar-h) + 72px) 0 0 0; z-index: 140;
  background: #fff; padding: 26px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 8px;
  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.5rem; font-weight: 600; padding-block: 12px; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 20px; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(96px, 12vw, 130px); padding-bottom: clamp(50px, 7vw, 90px); background: linear-gradient(180deg, var(--mint) 0%, rgba(241,248,246,0) 78%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { margin-top: 18px; max-width: 14ch; }
.hero .lead { margin-top: 20px; max-width: 46ch; }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { margin-top: 30px; display: flex; align-items: center; gap: 14px; }
.hero__avatars { display: flex; }
.hero__avatars img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -12px; }
.hero__avatars img:first-child { margin-left: 0; }
.hero__proof p { font-size: 13.5px; color: var(--gray); line-height: 1.45; }
.hero__proof b { color: var(--ink); }
.hero__media { position: relative; }
.hero__media > img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: calc(var(--r) + 8px); box-shadow: var(--shadow); }
.hero__card {
  position: absolute; left: -18px; bottom: -22px;
  background: #fff; border-radius: var(--r); padding: 16px 20px;
  box-shadow: 0 20px 44px -26px rgba(14,31,27,.5); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.hero__card .pulse { width: 10px; height: 10px; border-radius: 50%; background: #22B07D; box-shadow: 0 0 0 4px rgba(34,176,125,.18); }
.hero__card b { display: block; font-size: 14px; }
.hero__card span { font-size: 12.5px; color: var(--gray); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media > img { aspect-ratio: 4 / 3; }
  .hero__card { left: 12px; bottom: -18px; }
  .hero h1 { max-width: 18ch; }
}

/* ---------- info strip ---------- */
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 66px); }
.info__card { background: var(--mint); border-radius: var(--r); padding: clamp(18px, 2.4vw, 26px); }
.info__card b { display: block; font-size: 15px; }
.info__card span { display: block; margin-top: 6px; font-size: 14px; color: var(--gray); }
@media (max-width: 760px) { .info { grid-template-columns: 1fr; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 110px); }
.section--mint { background: var(--mint); }
.sechead { max-width: 640px; }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead h2 { margin-top: 12px; }
.sechead p { margin-top: 14px; color: var(--gray); }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(34px, 4vw, 52px); }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(20px, 2.4vw, 30px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mint-2); }
.svc__mark { width: 42px; height: 42px; border-radius: 12px; background: var(--mint-2); display: grid; place-items: center; color: var(--teal-d); font-weight: 700; font-size: 14px; }
.svc h3 { margin-top: 18px; }
.svc p { margin-top: 8px; font-size: 14.5px; color: var(--gray); }
.svc__price { margin-top: 16px; font-size: 13px; color: var(--teal-d); font-weight: 600; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* ---------- why us ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.why__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--r) + 6px); }
.why__list { margin-top: 26px; }
.why__list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding-block: 14px; border-top: 1px solid var(--line); }
.why__list li:last-child { border-bottom: 1px solid var(--line); }
.why__tick { width: 24px; height: 24px; border-radius: 50%; background: var(--mint-2); color: var(--teal-d); display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 2px; }
.why__list b { display: block; font-size: 15.5px; }
.why__list span { font-size: 14.5px; color: var(--gray); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(34px, 4vw, 52px); }
.member { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1s var(--ease); }
.member:hover img { transform: scale(1.04); }
.member__body { padding: 18px 20px 22px; }
.member__body b { display: block; font-size: 16px; }
.member__body span { display: block; font-size: 13.5px; color: var(--teal-d); margin-top: 2px; }
.member__body p { margin-top: 10px; font-size: 14px; color: var(--gray); }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(34px, 4vw, 52px); }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.4vw, 28px); }
.quote__stars { color: var(--amber); letter-spacing: .1em; font-size: 14px; }
.quote p { margin-top: 14px; font-size: 15px; }
.quote footer { margin-top: 18px; font-size: 13.5px; color: var(--gray); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin-inline: auto; margin-top: clamp(30px, 4vw, 46px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding-block: 20px; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--teal); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 20px; color: var(--gray); font-size: 15px; max-width: 66ch; }

/* ---------- booking ---------- */
.booking { background: var(--teal-d); color: #fff; border-radius: calc(var(--r) + 10px); padding: clamp(28px, 4.4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); }
.booking h2 { color: #fff; }
.booking p { margin-top: 14px; color: rgba(255,255,255,.78); max-width: 40ch; }
.booking__cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.hours { background: rgba(255,255,255,.08); border-radius: var(--r); padding: clamp(18px, 2.4vw, 26px); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 14.5px; }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: rgba(255,255,255,.7); }
.hours__addr { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.78); }
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } }

/* ---------- notice ---------- */
.notice { border: 1px dashed #C9D9D4; background: var(--mint); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(14px, 3vw, 36px); }
.notice p { font-size: 13.5px; color: var(--gray); max-width: 64ch; }
.notice p + p { margin-top: 8px; }
.notice b { color: var(--ink); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 66px); }
.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: 12px; font-size: 14px; color: var(--gray); max-width: 32ch; }
.foot h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; }
.foot li + li { margin-top: 8px; }
.foot li, .foot a { font-size: 14.5px; }
.foot a:hover { color: var(--teal); }
.foot__bottom { margin-top: clamp(30px, 4vw, 50px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 13px; 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; }
}
