/*
Theme Name: Dr. Ze Carlos Integral
Theme URI: https://zecarlosdentista.com.mx/
Author: Dr. Ze Carlos
Description: Tema personalizado para la consulta del Dr. Ze Carlos Quintero Gonzalez.
Version: 1.0.1
Text Domain: ze-carlos-integral
*/

:root {
  --zc-black: #090909;
  --zc-charcoal: #141414;
  --zc-panel: #1b1b1b;
  --zc-line: #3a3a3a;
  --zc-white: #f5f3ef;
  --zc-paper: #ece9e4;
  --zc-muted: #aaa7a2;
  --zc-copy: #cbc8c3;
  --zc-serif: Georgia, "Times New Roman", serif;
  --zc-sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--zc-black);
  color: var(--zc-white);
  font-family: var(--zc-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .zc-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.zc-shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.zc-kicker {
  margin: 0 0 24px;
  color: var(--zc-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.zc-display {
  margin: 0;
  font-family: var(--zc-serif);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}
.zc-display em { color: var(--zc-muted); font-weight: 400; }
.zc-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid var(--zc-white);
  border-radius: 999px;
  background: var(--zc-white);
  color: #101010;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}
.zc-button:hover { background: transparent; color: var(--zc-white); }
.zc-button--ghost { background: transparent; color: var(--zc-white); }
.zc-button--ghost:hover { background: var(--zc-white); color: #101010; }

.zc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--zc-line);
  background: rgba(9, 9, 9, .94);
  backdrop-filter: blur(15px);
}
.zc-header__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 270px 1fr auto;
  align-items: center;
  gap: 28px;
}
.zc-brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.zc-brand__mark { width: 53px; height: 58px; flex: 0 0 53px; overflow: hidden; }
.zc-brand__mark img {
  width: 148px;
  max-width: none;
  transform: translate(-48px, -6px);
  filter: invert(1) grayscale(1) brightness(1.35);
}
.zc-brand__copy { display: flex; flex-direction: column; white-space: nowrap; line-height: 1.1; }
.zc-brand__copy strong { font-family: var(--zc-serif); font-size: 17px; font-weight: 400; letter-spacing: .045em; }
.zc-brand__copy span { margin-top: 6px; color: #8e8b87; font-size: 8px; letter-spacing: .2em; }
.zc-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 2.8vw, 44px); }
.zc-nav a { color: #d5d2cd; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.zc-nav a:hover { color: #fff; }
.zc-header__cta { min-height: 43px; padding-inline: 20px; background: transparent; color: var(--zc-white); }
.zc-menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--zc-line); border-radius: 50%; background: transparent; color: #fff; }

.zc-hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(470px, 1.1fr);
  border-bottom: 1px solid var(--zc-line);
  background: #0c0c0c;
}
.zc-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 76px clamp(36px, 6vw, 92px); }
.zc-hero h1 { max-width: 640px; font-size: clamp(66px, 7vw, 104px); }
.zc-hero__text { max-width: 520px; margin: 26px 0 30px; color: var(--zc-copy); font-size: 17px; }
.zc-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.zc-hero__image { position: relative; min-height: 640px; overflow: hidden; background: #202020; }
.zc-hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,12,.28), transparent 35%); pointer-events: none; }
.zc-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.zc-hero__label { position: absolute; right: 22px; bottom: 18px; z-index: 1; color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

.zc-care { border-bottom: 1px solid var(--zc-line); background: #1a1a1a; }
.zc-care__inner { min-height: 300px; display: grid; grid-template-columns: 1fr 1fr; }
.zc-care__image { min-height: 300px; overflow: hidden; border-right: 1px solid var(--zc-line); }
.zc-care__image img { width: 100%; height: 100%; object-fit: cover; }
.zc-care__copy { display: flex; flex-direction: column; justify-content: center; padding: 46px clamp(36px, 6vw, 84px); }
.zc-care h2 { max-width: 520px; font-size: clamp(44px, 4.4vw, 68px); }
.zc-care p { max-width: 540px; margin: 22px 0 0; color: var(--zc-copy); }

.zc-treatments { padding: 100px 0 110px; border-bottom: 1px solid var(--zc-line); background: #0d0d0d; }
.zc-treatments__head { display: grid; grid-template-columns: 1fr .9fr; align-items: end; gap: 70px; margin-bottom: 48px; }
.zc-treatments h2 { max-width: 650px; font-size: clamp(50px, 5.3vw, 78px); }
.zc-treatments__head > p { margin: 0 0 8px; color: var(--zc-copy); }
.zc-treatment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.zc-treatment-card { overflow: hidden; border-radius: 10px; background: var(--zc-paper); color: #171717; }
.zc-treatment-card__image { overflow: hidden; aspect-ratio: 1.56 / 1; background: #ddd; }
.zc-treatment-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.zc-treatment-card:hover img { transform: scale(1.025); }
.zc-treatment-card__body { position: relative; min-height: 150px; padding: 23px 52px 23px 22px; }
.zc-treatment-card h3 { margin: 0 0 9px; font-family: var(--zc-serif); font-size: 25px; font-weight: 400; letter-spacing: -.025em; }
.zc-treatment-card p { margin: 0; color: #65615c; font-size: 13px; }
.zc-treatment-card__arrow { position: absolute; right: 18px; bottom: 20px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #555; border-radius: 50%; }

.zc-doctor { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--zc-line); background: #171717; }
.zc-doctor__copy { display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(36px, 7vw, 110px); }
.zc-doctor h2 { font-size: clamp(52px, 5.7vw, 84px); }
.zc-doctor__copy > p:not(.zc-kicker) { max-width: 590px; margin: 30px 0 36px; color: var(--zc-copy); font-size: 17px; }
.zc-doctor__facts { margin: 0; border-top: 1px solid var(--zc-line); }
.zc-doctor__facts div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--zc-line); }
.zc-doctor__facts dt { color: #85827e; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.zc-doctor__facts dd { margin: 0; color: #eeeae5; font-size: 14px; }
.zc-doctor__image { min-height: 720px; overflow: hidden; }
.zc-doctor__image img { width: 100%; height: 100%; object-fit: cover; }

.zc-faq { padding: 100px 0; background: var(--zc-paper); color: #151515; }
.zc-faq__inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.zc-faq h2 { font-size: clamp(48px, 5vw, 74px); }
.zc-faq .zc-kicker { color: #716d67; }
.zc-faq details { border-top: 1px solid #aaa59e; }
.zc-faq details:last-child { border-bottom: 1px solid #aaa59e; }
.zc-faq summary { position: relative; padding: 23px 40px 23px 0; cursor: pointer; list-style: none; font-family: var(--zc-serif); font-size: 20px; }
.zc-faq summary::-webkit-details-marker { display: none; }
.zc-faq summary::after { content: "+"; position: absolute; right: 6px; top: 19px; font-family: var(--zc-sans); font-size: 25px; font-weight: 300; }
.zc-faq details[open] summary::after { content: "−"; }
.zc-faq details p { max-width: 680px; margin: 0; padding: 0 48px 24px 0; color: #65615c; font-size: 14px; }

.zc-contact { background: #0d0d0d; }
.zc-contact__inner { min-height: 430px; display: grid; grid-template-columns: .9fr 1.1fr; }
.zc-contact__copy { display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(34px, 6vw, 86px); }
.zc-contact h2 { font-size: clamp(50px, 5vw, 76px); }
.zc-contact__address { margin: 26px 0 22px; color: var(--zc-copy); }
.zc-contact__image { min-height: 430px; overflow: hidden; }
.zc-contact__image img { width: 100%; height: 100%; object-fit: cover; }

.zc-footer { border-top: 1px solid var(--zc-line); background: #090909; }
.zc-footer__inner { min-height: 80px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 34px; color: #77736f; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.zc-footer strong { color: #f0ede8; font-family: var(--zc-serif); font-size: 15px; font-weight: 400; letter-spacing: .08em; }

.zc-page { min-height: 70vh; padding: 100px 0; background: var(--zc-paper); color: #151515; }
.zc-page h1 { margin: 0 0 30px; font: 400 clamp(48px, 6vw, 82px)/1 var(--zc-serif); letter-spacing: -.04em; }
.zc-page__content { max-width: 850px; }
.zc-private-shell { min-height: 100vh; }

@media (max-width: 1050px) {
  .zc-header__inner { grid-template-columns: 230px 1fr auto; }
  .zc-nav { gap: 20px; }
  .zc-hero { grid-template-columns: 1fr 48%; }
  .zc-hero__copy { padding-inline: 38px; }
  .zc-treatment-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  body.admin-bar .zc-header { top: 46px; }
  .zc-shell { width: min(100% - 40px, 720px); }
  .zc-header__inner { min-height: 74px; grid-template-columns: 1fr auto auto; }
  .zc-brand__copy { display: none; }
  .zc-nav {
    position: absolute;
    inset: 74px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--zc-line);
    background: #0b0b0b;
  }
  .zc-nav.is-open { display: flex; }
  .zc-nav a { padding: 13px 0; border-bottom: 1px solid #252525; }
  .zc-menu-toggle { display: grid; place-items: center; }
  .zc-header__cta { min-height: 40px; padding-inline: 14px; font-size: 9px; }
  .zc-hero { display: flex; min-height: 0; flex-direction: column; }
  .zc-hero__copy { padding: 76px 20px 56px; }
  .zc-hero h1 { font-size: clamp(56px, 16vw, 78px); }
  .zc-hero__text { font-size: 16px; }
  .zc-hero__image { min-height: 520px; }
  .zc-care__inner, .zc-doctor, .zc-contact__inner { grid-template-columns: 1fr; }
  .zc-care__image { min-height: 340px; border-right: 0; border-bottom: 1px solid var(--zc-line); }
  .zc-care__copy { padding: 66px 20px; }
  .zc-treatments { padding: 82px 0; }
  .zc-treatments__head { grid-template-columns: 1fr; gap: 26px; }
  .zc-treatment-grid { grid-template-columns: 1fr; }
  .zc-doctor__image { min-height: 520px; order: -1; }
  .zc-doctor__copy { padding: 78px 20px; }
  .zc-doctor__facts div { grid-template-columns: 1fr; gap: 4px; }
  .zc-faq { padding: 82px 0; }
  .zc-faq__inner { grid-template-columns: 1fr; gap: 48px; }
  .zc-contact__copy { padding: 76px 20px; }
  .zc-contact__image { min-height: 380px; }
  .zc-footer__inner { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
}

@media (max-width: 470px) {
  .zc-shell { width: min(100% - 32px, 720px); }
  .zc-brand__mark { width: 48px; flex-basis: 48px; }
  .zc-header__cta { padding-inline: 12px; }
  .zc-button { width: 100%; }
  .zc-hero__actions { flex-direction: column; }
  .zc-hero__image { min-height: 470px; }
}
