/* ==========================================================================
   Dental Art Workshops — dentalartkw.com
   Design system: brand blue #19609c preserved, refined premium palette
   Mobile-first · WCAG AA · no framework
   ========================================================================== */

:root {
  --brand: #19609c;
  --brand-dark: #124a79;
  --navy: #0d2f4d;
  --sky: #ecf3f9;
  --sky-deep: #dcE9f4;
  --ink: #1e2a35;
  --muted: #52657a;
  --line: #dde6ee;
  --bg: #fbfcfe;
  --white: #ffffff;
  --gold: #a97e1c;
  --gold-bg: #faf3e2;
  --wa: #128c4b; /* WhatsApp, darkened for AA contrast */
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 3px rgba(13, 47, 77, .07), 0 8px 28px rgba(13, 47, 77, .08);
  --shadow-lift: 0 4px 10px rgba(13, 47, 77, .10), 0 16px 40px rgba(13, 47, 77, .14);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.22rem; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 14px rgba(13,47,77,.06); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.brand-link { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-link img { width: 46px; height: 46px; border-radius: 8px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy); line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .55rem .7rem; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { display: block; }

.site-nav ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .55rem .9rem; border-radius: 999px;
  font-weight: 500; font-size: .95rem; color: var(--ink); text-decoration: none;
}
.site-nav a:hover { background: var(--sky); color: var(--brand-dark); }
.site-nav a[aria-current="page"] { background: var(--sky); color: var(--brand-dark); font-weight: 600; }
.site-nav .nav-cta a {
  background: var(--brand); color: #fff; font-weight: 600; margin-left: .5rem;
}
.site-nav .nav-cta a:hover { background: var(--brand-dark); color: #fff; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; gap: .25rem; }
  .site-nav a { padding: .85rem 1rem; border-radius: var(--radius-sm); }
  .site-nav .nav-cta a { margin-left: 0; text-align: center; }
}

/* -------------------------------------------------------------------- hero */
.hero { background: linear-gradient(180deg, var(--sky) 0%, var(--bg) 100%); padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.hero p.lead { font-size: 1.13rem; color: var(--muted); max-width: 34em; }

.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lift); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; min-height: 48px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #0d6e3a; color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--sky); color: var(--brand-dark); }

.trust-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; padding: 0; list-style: none; }
.trust-chips li {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem .95rem; font-size: .85rem; font-weight: 500; color: var(--navy);
}
.trust-chips svg { color: var(--brand); flex: none; }

/* -------------------------------------------------------------- stats band */
.stats-band { background: var(--navy); color: #fff; padding: clamp(1.75rem, 4vw, 2.75rem) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
@media (min-width: 700px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; color: #fff; line-height: 1.1; }
.stat span { font-size: .85rem; color: #b9cddf; letter-spacing: .02em; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.tint { background: var(--sky); }
.section-head { max-width: 42em; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ------------------------------------------------------------------- cards */
.card-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body h3 a { color: var(--navy); text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; } /* whole-card click */
.card { position: relative; }
.card-body p { margin: 0; color: var(--muted); font-size: .93rem; }
.card-meta { margin-top: auto; padding-top: .9rem; display: flex; flex-wrap: wrap; gap: .5rem; }

.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  padding: .28rem .7rem; border-radius: 999px;
}
.badge-blue { background: var(--sky); color: var(--brand-dark); }
.badge-gold { background: var(--gold-bg); color: var(--gold); }
.badge-soon { background: #eef1f4; color: var(--muted); }

.card-link-hint { font-size: .88rem; font-weight: 600; color: var(--brand); margin-top: .3rem; }

.card-instructor { margin: 0; font-size: .86rem; font-weight: 600; color: var(--brand-dark); }

/* -------------------------------------------------------------- topic catalog */
.cat-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.cat-nav a {
  display: inline-block; padding: .45rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--brand-dark);
  font-size: .87rem; font-weight: 600; text-decoration: none;
}
.cat-nav a:hover { background: var(--sky); border-color: var(--brand); }
.topic-cat { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.topic-cat > h2 { border-bottom: 2px solid var(--sky-deep); padding-bottom: .5rem; margin-bottom: 1.25rem; }
.topic-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .topic-grid { grid-template-columns: repeat(3, 1fr); } }
.topic {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s;
}
.topic:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.topic-body { padding: 1.25rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .45rem; height: 100%; }
.topic-body h3 { margin: 0; font-size: 1.02rem; }
.topic-body h3 a { color: var(--navy); text-decoration: none; }
.topic-body h3 a::after { content: ""; position: absolute; inset: 0; }
.topic-body p { margin: 0; color: var(--muted); font-size: .9rem; }
.topic-body .card-meta { margin-top: auto; padding-top: .7rem; }

/* -------------------------------------------------------------- feature row */
.features { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow); }
.feature .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--sky);
  display: grid; place-items: center; color: var(--brand); margin-bottom: 1rem;
}
.feature h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ------------------------------------------------------------------- team */
.team-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.person-top { display: flex; gap: 1.25rem; padding: 1.5rem; align-items: center; }
.person-top img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--sky); }
.person-top .avatar-fallback {
  width: 96px; height: 96px; border-radius: 50%; flex: none; border: 3px solid var(--sky);
  background: var(--sky-deep); color: var(--brand-dark); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
}
.person h3 { margin: 0 0 .15rem; }
.person .role { color: var(--brand); font-weight: 600; font-size: .9rem; margin: 0; }
.person .creds { color: var(--muted); font-size: .84rem; margin: .2rem 0 0; }

.person details { border-top: 1px solid var(--line); }
.person summary {
  cursor: pointer; list-style: none; padding: .95rem 1.5rem;
  font-weight: 600; font-size: .92rem; color: var(--brand);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.person summary::-webkit-details-marker { display: none; }
.person summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.person details[open] summary::after { transform: rotate(45deg); }
.person summary:hover { background: var(--sky); }
.person .bio { padding: 0 1.5rem 1.4rem; color: var(--muted); font-size: .93rem; }
.person .bio ul { margin: 0; padding-left: 1.2rem; }
.person .bio li { margin-bottom: .45rem; }

/* --------------------------------------------------------- workshop detail */
.detail-hero { background: linear-gradient(180deg, var(--sky) 0%, var(--bg) 100%); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.detail-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: 1.15fr .85fr; } }
.detail-hero img { border-radius: var(--radius); box-shadow: var(--shadow-lift); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: #fff; }
.meta-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.1rem 0 1.4rem; }

.outline-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.outline-list li { display: flex; gap: .8rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.1rem; }
.outline-list svg { flex: none; color: var(--brand); margin-top: .18rem; }

.day-cols { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .day-cols { grid-template-columns: 1fr 1fr; } }
.day-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.day-col h3 { color: var(--brand); }
.day-col ul { margin: 0; padding-left: 1.15rem; color: var(--muted); }
.day-col li { margin-bottom: .5rem; }

.speaker-card {
  display: flex; align-items: center; gap: 1.1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; box-shadow: var(--shadow); max-width: 460px;
}
.speaker-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sky); flex: none; }
.speaker-card .label { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .15rem; }
.speaker-card .name { font-weight: 700; color: var(--navy); margin: 0; }
.speaker-card .name a { color: inherit; }
.speaker-card .spec { color: var(--brand); font-size: .88rem; margin: 0; }

/* --------------------------------------------------------------- CTA band */
.cta-band { background: var(--navy); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c6d8e8; max-width: 38em; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-band .note { font-size: .9rem; margin-top: 1.25rem; color: #9fb9d0; }
.cta-band a.plain { color: #fff; }

/* ----------------------------------------------------------------- contact */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }

.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { flex: none; color: var(--brand); margin-top: .2rem; }
.contact-list strong { display: block; color: var(--navy); font-size: .95rem; }
.contact-list span, .contact-list a { color: var(--muted); font-size: .95rem; }

form.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: var(--bg);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(25, 96, 156, .15); }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); margin-top: 2.5rem; }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--navy); color: #b9cddf; margin-top: clamp(3rem, 7vw, 5rem); }
.footer-grid { display: grid; gap: 2rem; padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { color: #fff; font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #d7e5f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { max-width: 30em; font-size: .93rem; }
.social-row { display: flex; gap: .7rem; margin-top: 1rem; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff;
}
.social-row a:hover { background: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 1.25rem 0; font-size: .84rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* --------------------------------------------------------- floating button */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .18s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
@media (min-width: 900px) { .wa-float { display: none; } }

/* -------------------------------------------------------------- animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .wa-float { transition: none; }
}

/* ------------------------------------------------------------------ misc */
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
