/* =========================================================
   The Smile House — shared stylesheet
   Theme: black + metallic gold, matching the clinic branding
   ========================================================= */

:root {
  --tsh-black: #0b0b0c;
  --tsh-black-soft: #141416;
  --tsh-black-card: #1b1b1e;
  --tsh-gold: #d4af37;
  --tsh-gold-light: #f3d580;
  --tsh-gold-dark: #a67c1e;
  --tsh-white: #f7f5f0;
  --tsh-grey: #b9b6ae;
  --tsh-grey-dark: #8a877f;
  --tsh-border: rgba(212, 175, 55, 0.25);
  --tsh-whatsapp: #25d366;
  --tsh-radius: 14px;
  --tsh-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --tsh-gradient-gold: linear-gradient(135deg, #f3d580 0%, #d4af37 45%, #a67c1e 100%);
  --tsh-max-width: 1180px;
  --tsh-header-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--tsh-black);
  color: var(--tsh-white);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", "Georgia", serif;
  color: var(--tsh-white);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--tsh-grey); }

a { color: inherit; text-decoration: none; }

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

ul { margin: 0; padding: 0; list-style: none; }

.gold-text {
  background: var(--tsh-gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  max-width: var(--tsh-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--tight { padding: 56px 0; }

.section--alt {
  background: var(--tsh-black-soft);
  border-top: 1px solid var(--tsh-border);
  border-bottom: 1px solid var(--tsh-border);
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--tsh-gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--tsh-gradient-gold);
  color: #14110a;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(212, 175, 55, 0.4); }

.btn-outline {
  background: transparent;
  color: var(--tsh-gold-light);
  border-color: var(--tsh-gold);
}
.btn-outline:hover { background: rgba(212, 175, 55, 0.1); }

.btn-whatsapp {
  background: var(--tsh-whatsapp);
  color: #06210f;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp:hover { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4); }

.btn-call {
  background: transparent;
  color: var(--tsh-white);
  border-color: rgba(247, 245, 240, 0.35);
}
.btn-call:hover { background: rgba(247, 245, 240, 0.08); }

.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--tsh-header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tsh-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}

.brand img {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  border: 1px solid var(--tsh-border);
}

.brand-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  color: var(--tsh-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--tsh-grey);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--tsh-gold-light);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--tsh-gradient-gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn { padding: 10px 20px; font-size: 0.85rem; }

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--tsh-gold-light);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.16), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(212, 175, 55, 0.08), transparent 50%),
    var(--tsh-black);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--tsh-gold);
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead {
  font-size: 1.08rem;
  color: var(--tsh-grey);
  max-width: 52ch;
  margin-bottom: 30px;
}

.hero-media {
  position: relative;
  justify-self: center;
}

.hero-media .portrait-frame {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 340 / 322;
  border-radius: var(--tsh-radius);
  overflow: hidden;
  border: 2px solid var(--tsh-gold);
  box-shadow: var(--tsh-shadow);
}

.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-media .caption-badge {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tsh-black-card);
  border: 1px solid var(--tsh-border);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: var(--tsh-shadow);
}

.hero-media .caption-badge strong { color: var(--tsh-gold-light); }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 40px 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 0 8px;
}

.trust-item .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tsh-gold);
  color: var(--tsh-gold-light);
}
.trust-item .icon-circle svg { width: 26px; height: 26px; }

.trust-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tsh-white);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 26px;
}

.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--tsh-black-card);
  border: 1px solid var(--tsh-border);
  border-radius: var(--tsh-radius);
  padding: 32px 28px;
  box-shadow: var(--tsh-shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--tsh-gold);
}

.card .icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.12);
  color: var(--tsh-gold-light);
  margin-bottom: 18px;
}
.card .icon-circle svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.94rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--tsh-gold-light);
  font-weight: 600;
  font-size: 0.88rem;
}

/* ---------- About / credentials ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.credential-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.credential-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--tsh-black-card);
  border: 1px solid var(--tsh-border);
  border-radius: 12px;
}

.credential-item .icon-circle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.12);
  color: var(--tsh-gold-light);
}
.credential-item .icon-circle svg { width: 20px; height: 20px; }

.credential-item h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  margin: 0 0 4px;
  color: var(--tsh-white);
}
.credential-item p { margin: 0; font-size: 0.88rem; }

.quote-block {
  border-left: 3px solid var(--tsh-gold);
  padding: 6px 0 6px 24px;
  margin: 30px 0;
}
.quote-block p {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--tsh-gold-light);
  margin: 0;
}

/* ---------- Services ---------- */
.services-category {
  margin-bottom: 56px;
}

.services-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tsh-border);
}

.services-category-head h2 { margin-bottom: 4px; }
.services-category-head p { margin: 0; font-size: 0.9rem; }

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--tsh-black-card);
  border: 1px solid var(--tsh-border);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}
.service-row:hover { border-color: var(--tsh-gold); }

.service-row .dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--tsh-gradient-gold);
}

.service-row h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  margin: 0 0 3px;
  color: var(--tsh-white);
}
.service-row p { margin: 0; font-size: 0.85rem; }

/* ---------- Locations ---------- */
.location-card {
  background: var(--tsh-black-card);
  border: 1px solid var(--tsh-border);
  border-radius: var(--tsh-radius);
  overflow: hidden;
  box-shadow: var(--tsh-shadow);
  display: flex;
  flex-direction: column;
}

.location-card .map-embed {
  width: 100%;
  height: 220px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
  display: block;
}

.location-card-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }

.location-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #14110a;
  background: var(--tsh-gradient-gold);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.location-card h3 { margin-bottom: 6px; }
.location-card .address {
  color: var(--tsh-grey);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex: 1;
}

.location-card .cta-row { margin-top: auto; }
.location-card .cta-row .btn { padding: 10px 18px; font-size: 0.82rem; flex: 1; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--tsh-black-card);
  border: 1px solid var(--tsh-border);
  border-radius: var(--tsh-radius);
  padding: 30px;
  margin-bottom: 20px;
}

.contact-info-card h3 { margin-bottom: 16px; }

.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.contact-line:last-child { margin-bottom: 0; }

.contact-line .icon-circle {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.12);
  color: var(--tsh-gold-light);
}
.contact-line .icon-circle svg { width: 18px; height: 18px; }

.contact-line strong { display: block; color: var(--tsh-white); font-size: 0.92rem; }
.contact-line span, .contact-line a { color: var(--tsh-grey); font-size: 0.9rem; }
.contact-line a:hover { color: var(--tsh-gold-light); }

.form-card {
  background: var(--tsh-black-card);
  border: 1px solid var(--tsh-border);
  border-radius: var(--tsh-radius);
  padding: 34px;
  box-shadow: var(--tsh-shadow);
}

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--tsh-grey-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--tsh-black);
  border: 1px solid var(--tsh-border);
  border-radius: 10px;
  color: var(--tsh-white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--tsh-gold);
}

.form-row textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.8rem;
  color: var(--tsh-grey-dark);
  margin-top: 14px;
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { color: #6bd88f; }
.form-status.is-error { color: #e77373; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--tsh-gradient-gold);
  color: #14110a;
  border-radius: var(--tsh-radius);
  padding: 54px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 24px;
  max-width: calc(var(--tsh-max-width) - 48px);
  margin: 0 auto;
}

.cta-band h2 { color: #14110a; margin-bottom: 6px; }
.cta-band p { color: rgba(20, 17, 10, 0.75); margin: 0; }
.cta-band .btn-primary {
  background: #14110a;
  color: var(--tsh-gold-light);
  box-shadow: none;
}
.cta-band .btn-primary:hover { background: #232019; }
.cta-band .btn-call { color: #14110a; border-color: rgba(20, 17, 10, 0.4); }
.cta-band .btn-call:hover { background: rgba(20, 17, 10, 0.08); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tsh-black-soft);
  border-top: 1px solid var(--tsh-border);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer-brand .brand-name { color: var(--tsh-white); }

.footer-col h4 {
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tsh-gold);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { color: var(--tsh-grey); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--tsh-gold-light); }

.footer-bottom {
  border-top: 1px solid var(--tsh-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--tsh-grey-dark);
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.error-page .eyebrow { display: block; margin-bottom: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-call-label { display: none; }
  .header-actions .btn-primary { display: none; }
  .header-actions { gap: 8px; }
  .header-actions .btn-call { padding: 10px 12px; }

  .site-header.is-open .main-nav {
    display: flex;
    position: absolute;
    top: var(--tsh-header-h);
    left: 0;
    right: 0;
    background: var(--tsh-black-soft);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--tsh-border);
  }
}

@media (max-width: 760px) {
  .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .cta-band .cta-row { justify-content: center; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .brand-name { font-size: 0.92rem; max-width: 150px; }
  .brand img { width: 38px; height: 38px; min-width: 38px; }
  h1 { font-size: 2rem; }
  .cta-row .btn { flex: 1 1 auto; }
}
