/* Dr. Faysal Succaria — preview stylesheet (design v1) */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg:      #FAF8F4;
  --bg-alt:  #F3EFE8;
  --ink:     #201D1A;
  --muted:   #6B6459;
  --accent:  #2F4739;   /* deep calm sage-green */
  --accent-2:#8A6F4E;   /* warm bronze */
  --line:    #E4DDD1;
  --white:   #FFFFFF;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ---------- Draft banner ---------- */
.draft-banner {
  background: var(--accent);
  color: #EFECE4;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .04em;
  text-align: center;
  padding: 8px 16px;
}
.draft-banner strong { font-weight: 600; color: #fff; }

/* ---------- Header / nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,244,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 82px; gap: 24px;
}
.brand {
  display: flex; align-items: center;
  text-decoration: none; transition: opacity .2s; flex-shrink: 0;
}
.brand:hover { opacity: .82; }
.brand-sig { height: 46px; width: auto; display: block; }
@media (max-width: 560px){ .brand-sig { height: 38px; } }
.nav-links { display: flex; gap: 24px; align-items: center; flex-wrap: nowrap; }
.nav-links a {
  font-size: 13.5px; color: var(--muted); text-decoration: none;
  letter-spacing: .02em; transition: color .2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.btn {
  display: inline-block; font-family: var(--sans);
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  padding: 12px 22px; border-radius: 2px; text-decoration: none;
  cursor: pointer; transition: all .2s; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #24382c; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.nav .btn { padding: 10px 20px; }
.nav .btn-primary {
  background: #6B5236;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(107,82,54,.4);
}
.nav .btn-primary:hover {
  background: #59431F;
  box-shadow: 0 6px 14px rgba(107,82,54,.5);
  transform: translateY(-1px);
}

@media (max-width: 820px){
  .nav-links a:not(.btn){ display:none; }
  .nav-drop{ display:none; }
}

/* ---------- Nav dropdown ---------- */
.nav-drop { position: relative; }
.nav-drop > a::after { content:" ▾"; font-size: 9px; color: var(--accent-2); }
.drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 14px; display: none; min-width: 260px;
}
.nav-drop:hover .drop-menu { display: block; }
.drop-inner {
  background: #fff; border: 1px solid var(--line); border-radius: 3px;
  padding: 10px 0; box-shadow: 0 14px 34px -14px rgba(32,29,26,.22);
}
.drop-inner a {
  display: block; padding: 10px 22px; font-size: 14px;
  color: var(--muted); text-decoration: none; letter-spacing: .02em;
}
.drop-inner a:hover { color: var(--ink); background: var(--bg-alt); }
.drop-inner a strong { font-weight: 500; color: var(--ink); }
.drop-sep { height: 1px; background: var(--line); margin: 8px 0; }

/* ---------- Sections ---------- */
section { padding: 132px 0; }
.section-sm { padding: 84px 0; }
@media (max-width: 820px){
  section { padding: 84px 0; }
  .section-sm { padding: 60px 0; }
}
.bg-alt { background: var(--bg-alt); }
.bg-ink { background: var(--accent); color: #EDEAE2; }
.bg-ink h2, .bg-ink h3 { color: #fff; }

.eyebrow {
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2);
  margin-bottom: 22px;
}
h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6vw, 68px); line-height: 1.05;
  letter-spacing: -.01em;
}
h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.01em;
}
h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.2; }
p { font-size: 17px; color: #35322D; margin-bottom: 18px; }
p.lead { font-size: 20px; color: var(--muted); }
.muted { color: var(--muted); }
a.inline { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--line); }
a.inline:hover { border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: 104px 0 96px; }
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { max-width: 40ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.portrait {
  aspect-ratio: 4/5; border-radius: 3px;
  background: linear-gradient(160deg, #E9E3D8, #D8CFC0);
  background-size: cover; background-position: center top;
  display: flex; align-items: center; justify-content: center;
  color: #9A8F7C; font-family: var(--serif); font-size: 19px; text-align:center;
  border: 1px solid var(--line); padding: 20px;
}
@media (max-width: 820px){
  .hero .grid { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
}

/* ---------- Credentials strip ---------- */
.creds { border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.creds .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center;
  padding-top: 26px; padding-bottom: 26px; }
.creds span {
  font-size: 13.5px; letter-spacing: .04em; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.creds span::before { content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-2); display: inline-block; }

/* ---------- Generic content blocks ---------- */
.measure { max-width: 720px; }
.center { text-align: center; margin-left:auto; margin-right:auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 820px){ .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Philosophy / cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 3px;
  padding: 34px 30px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card .num { font-family: var(--serif); font-size: 15px; color: var(--accent-2); letter-spacing:.1em; }
.card h3 { margin: 12px 0 12px; }
.card p { font-size: 15.5px; margin-bottom: 0; }
@media (max-width: 820px){ .cards { grid-template-columns: 1fr; } }

/* ---------- Ceramic comparison (Veneers page) ---------- */
.ceramic-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 46px 0 44px; }
.ceramic-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: 32px 30px; box-shadow: var(--shadow-card);
}
.ceramic-card .mat-label {
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-2); font-weight: 600; margin-bottom: 10px;
}
.ceramic-card h3 { margin-bottom: 12px; }
.ceramic-card p { font-size: 15px; margin-bottom: 12px; }
.ceramic-card .fit, .ceramic-card .trade { font-size: 14px; margin: 0; }
.ceramic-card .fit strong, .ceramic-card .trade strong { color: var(--ink); }
@media (max-width: 820px){ .ceramic-cards { grid-template-columns: 1fr; } }

.ctable { width: 100%; border-collapse: collapse; margin: 8px 0 40px; font-size: 15px; }
.ctable th, .ctable td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ctable th { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }
.ctable td:first-child { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.ctable tr td:not(:first-child) { font-size: 14.5px; }
@media (max-width: 700px){ .ctable { font-size: 13.5px; } .ctable th, .ctable td { padding: 10px 8px; } }

.case-gallery-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.case-gallery-pair h4 { font-family: var(--serif); font-size: 19px; margin-bottom: 14px; }
.case-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.case-tile {
  aspect-ratio: 1; border-radius: 3px; border: 1px dashed var(--line);
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; color: var(--accent-2); text-align: center; padding: 10px; font-style: italic;
}
@media (max-width: 700px){ .case-gallery-pair { grid-template-columns: 1fr; } }

/* ---------- Program infographic (For Dentists) ---------- */
.program-panel {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent-2);
  border-radius: 3px; padding: 52px 48px;
  box-shadow: 0 16px 44px -20px rgba(32,29,26,.16);
}
.pstats { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; margin: 38px 0 42px; text-align: center; }
.pstat { border-right: 1px solid var(--line); padding: 0 10px; }
.pstat:last-child { border-right: none; }
.pstat .v { font-family: var(--serif); font-size: 48px; color: var(--accent); line-height: 1; }
.pstat .k { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.phases { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: stretch; margin-bottom: 42px; }
.phase { border: 1px solid var(--line); border-radius: 3px; padding: 28px; background: var(--bg); }
.phase .plabel { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }
.phase h4 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 10px 0 4px; }
.phase .ph-hours { font-family: var(--serif); font-size: 36px; color: var(--accent); }
.phase p { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.phase-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent-2); font-size: 24px; }
.program-bottom { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.video-panel {
  position: relative; aspect-ratio: 16/9; border-radius: 3px; overflow: hidden;
  background: linear-gradient(160deg, #33493B 0%, #1B211D 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  color: #DDE2D9; text-decoration: none;
}
.video-panel .play {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; transition: transform .2s;
}
.video-panel:hover .play { transform: scale(1.08); }
.video-panel .play::after { content: ""; display: block; margin-left: 5px;
  border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.video-panel .vlabel { font-size: 13.5px; letter-spacing: .04em; text-align: center; padding: 0 20px; }
.program-cta { display: flex; flex-direction: column; gap: 13px; justify-content: center; }
@media (max-width: 860px){
  .program-panel { padding: 34px 24px; }
  .pstats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .pstat { border-right: none; }
  .phases { grid-template-columns: 1fr; }
  .phase-arrow { transform: rotate(90deg); padding: 10px 0; }
  .program-bottom { grid-template-columns: 1fr; }
}

/* ---------- Featured treatments (flagships) ---------- */
.treat-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.treat .tag {
  display: inline-block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 12px; font-weight: 500;
}
.treat-lg { padding: 40px 36px; }
.treat-lg h3 { font-size: 27px; }
.treat-lg p { font-size: 15.5px; }
@media (max-width: 820px){ .treat-featured { grid-template-columns: 1fr; } }

/* ---------- Treatments grid ---------- */
.treatments { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 46px; }
.treat {
  display:block; text-decoration:none; color:var(--ink);
  background:#fff; border:1px solid var(--line); border-radius:3px; padding:30px 28px;
  transition: all .2s;
}
.treat:hover { border-color:var(--accent); transform: translateY(-3px); }
.treat h3 { font-size: 21px; margin-bottom: 10px; }
.treat p { font-size: 14.5px; color: var(--muted); margin: 0; }
.treat .arrow { color: var(--accent); font-size: 14px; margin-top: 14px; display:inline-block; }
@media (max-width: 820px){ .treatments { grid-template-columns: 1fr; } }

/* ---------- Quick facts table ---------- */
.facts { border-top: 1px solid var(--line); margin-top: 8px; }
.facts .row { display: grid; grid-template-columns: 210px 1fr; gap: 24px;
  padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts .k { font-size: 13px; letter-spacing:.08em; text-transform:uppercase; color: var(--accent-2); font-weight:500; }
.facts .v { font-size: 16px; font-weight: 600; color: var(--ink); }
@media (max-width: 620px){ .facts .row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Lists ---------- */
ul.clean { list-style: none; margin: 8px 0 20px; }
ul.clean li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: 16.5px; color:#35322D; }
ul.clean li::before { content:""; position:absolute; left:0; top:11px; width:8px; height:8px;
  border:1px solid var(--accent); border-radius:50%; }
ul.credlist li::before { border-radius:0; transform: rotate(45deg); }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; margin-top: 40px; }
.step { display:grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 22px 0; border-top:1px solid var(--line); }
.step:last-child{ border-bottom:1px solid var(--line); }
.step .n { counter-increment: step; font-family:var(--serif); font-size: 30px; color: var(--accent); }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { font-size: 15.5px; margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--serif); font-size: 21px; color: var(--ink); }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; position:absolute; right:6px; top:18px; font-size:24px; color:var(--accent); font-family:var(--sans); font-weight:300; }
.faq details[open] summary::after { content:"–"; }
.faq details p { padding: 0 0 22px; font-size: 16px; margin:0; }

/* ---------- CTA band ---------- */
.cta-band { text-align:center; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { max-width: 52ch; margin: 0 auto 30px; }
.cta-band .hero-cta { justify-content:center; }

/* ---------- Footer ---------- */
footer.site { background: #1B211D; color: #C9CEC7; padding: 64px 0 40px; }
footer.site .top { display:flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid #2E3630; }
footer .brand-f { font-family: var(--serif); font-size: 22px; color:#fff; }
footer .brand-f span { display:block; font-family:var(--sans); font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:#9AA398; margin-top:8px; font-weight:400;}
footer .f-contact p { color:#C9CEC7; font-size:15px; margin-bottom:6px; }
footer .f-contact a { color:#E8EBE4; text-decoration:none; border-bottom:1px solid #3E463F; }
footer .f-contact a:hover { color:#fff; border-color:#fff; }
footer .f-links { display:flex; gap: 28px; flex-wrap:wrap; }
footer .f-links a { color:#C9CEC7; text-decoration:none; font-size:14px; }
footer .f-links a:hover { color:#fff; }
footer .fine { padding-top: 26px; font-size: 12.5px; color:#7E877C; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.ph { color: var(--accent-2); font-style: italic; }

/* ---------- Bold icon CTA buttons ---------- */
.btn-cta {
  font-size: 16px; font-weight: 700; letter-spacing: .01em;
  padding: 16px 26px; display: inline-flex; align-items: center; gap: 11px;
}
.btn-cta svg { flex-shrink: 0; }
.btn-light.btn-cta { box-shadow: 0 6px 16px rgba(0,0,0,.25); }

/* ---------- Scroll reveal (trial: index.html only) ---------- */
.js .reveal, .js .reveal-group > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.9s cubic-bezier(.16,.84,.32,1) .18s, transform 1.9s cubic-bezier(.16,.84,.32,1) .18s;
}
.js .reveal.is-visible, .js .reveal-group > *.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}
