/* Opening sections: white navigation / clean blue hero / white statement / framed demo. */
/* Spanish H1 matches the Russian size scale while retaining its own font family. */
@media (min-width: 961px) {
  html[lang="es-AR"] .dental-hero h1 { font-size: clamp(34px, 3.5vw, 52px); }
}
@media (max-width: 360px) {
  html[lang="es-AR"] .dental-hero h1 { font-size: 32px; }
}
:root {
  --hero-surface: linear-gradient(110deg, #fdfeff 0%, #e5f2ff 55%, #cfe8ff 100%);
  --opening-surface: radial-gradient(ellipse at 82% 42%, #eff9ff 0%, #f7fcff 45%, #fdfeff 82%);
  --opening-border: #b3c3e5;
  --illustration-surface: radial-gradient(ellipse at 72% 38%, #cfe8ff 0%, #e5f2ff 48%, #f2f8ff 100%);
}
html { scroll-padding-top: 108px; }
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 0;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #eef0f7;
  z-index: 10;
}
.header-inner {
  width: min(1280px, calc(100% - 80px));
  min-height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-header .brand { gap: 0; }
.brand-lockup { width: 180px; height: auto; object-fit: contain; }
.site-header .nav-links { gap: 30px; font-size: 14px; }
.site-header .header-actions { gap: 24px; }
.site-header .language-switch { gap: 4px; font-size: 11px; }
.site-header .language-switch a { padding: 12px 5px; }
.site-header .nav-cta {
  border-radius: 100px;
  padding: 13px 24px;
  min-height: 44px;
  font-size: 13px;
}
.mobile-menu { display: none; }
.dental-hero {
  display: block;
  min-height: 0;
  padding: 0;
  /* A clean, slightly richer blue separates the hero from the white navigation. */
  background: var(--hero-surface);
  overflow: hidden;
}
.dental-hero:before { content: none; }
.hero-inner {
  display: grid;
  width: min(1360px, calc(100% - 96px));
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  min-height: 650px;
  padding-block: 68px;
}
.dental-hero .hero-copy { min-width: 0; padding-block: 12px; }
.dental-hero .eyebrow { font-size: 11px; letter-spacing: 2.6px; margin-bottom: 22px; }
.dental-hero h1 {
  font-size: clamp(40px, 3.8vw, 58px);
  line-height: 1.09;
  font-weight: 740;
  letter-spacing: -2.4px;
}
.dental-hero .hero-title-term { white-space: nowrap; background: none; color: var(--ink); }
.dental-hero .hero-title-line { background: none; color: var(--ink); }
.dental-hero .hero-title-accent { display: block; background: none; color: var(--ink); }
.dental-hero .hero-gradient { background: var(--gradient); color: transparent; background-clip: text; -webkit-background-clip: text; }
.dental-hero .hero-availability {
  display: inline-block;
  position: relative;
  isolation: isolate;
  padding: 0 0.04em 0.27em;
  margin-bottom: -0.05em;
  letter-spacing: 0;
  white-space: nowrap;
  background: none;
}
.dental-hero .hero-availability::after {
  content: "";
  position: absolute;
  right: -0.12em;
  top: 0.67em;
  width: 2.7em;
  aspect-ratio: 4 / 1;
  background: url("/static/tiempify/ai-comet-underline.svg") center / contain no-repeat;
  z-index: 0;
  pointer-events: none;
}
.dental-hero .hero-availability-text { display: inline-block; position: relative; z-index: 1; }
/* Keep the punctuation in the heading text; the comet's star paints its place. */
.dental-hero .hero-availability-dot { display: inline-block; width: 0.25em; background: none; color: transparent; }
.dental-hero .hero-lede { font-size: 18.5px; line-height: 1.6; margin-top: 24px; max-width: none; color: #5b6b8f; }
.dental-hero .hero-highlights { display: grid; gap: 12px; margin-top: 24px; padding: 0; list-style: none; }
.dental-hero .hero-highlights li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 15px; line-height: 1.5; }
.dental-hero .hero-highlights strong { font-weight: 650; }
.dental-hero .hero-spark {
  display: block;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  background: var(--gradient);
  -webkit-mask: url("/static/tiempify/ai-sparkle.svg") center / contain no-repeat;
  mask: url("/static/tiempify/ai-sparkle.svg") center / contain no-repeat;
}
.dental-hero .hero-actions { margin-top: 30px; }
.dental-hero .primary-action { border-radius: 100px; min-width: 248px; }
.dental-hero .art-hero {
  width: calc(100% + 48px);
  height: auto;
  aspect-ratio: 872 / 816;
  max-width: none;
  margin: 0 0 0 -24px;
  border-radius: 0;
  box-shadow: none;
  /* Dissolve all four image edges instead of displaying a rectangular card. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 87%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 87%, transparent);
  mask-composite: intersect;
}
.dental-hero .art-hero img { width: 100%; height: 100%; object-fit: cover; }
.benefits-intro { background: #fff; }
.benefits-intro .availability-accent {
  display: inline-block;
  /* Keep the last glyph inside its painted gradient despite heading tracking. */
  letter-spacing: 0;
  padding-inline: 0.04em;
  background: linear-gradient(105deg, #009c70 0%, #087bff 48%, #9747f5 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  white-space: nowrap;
}
.benefits-intro .centered { max-width: 1040px; margin: 0 auto; text-align: center; }
.benefits-intro .section-heading > p {
  max-width: 770px;
  margin: 28px auto 0;
  font-size: 20px;
  line-height: 1.65;
}
/* White section canvas, with a pale copy card and a richer blue phone card. */
.booking-section, .reception-section, .setup-section { background: #fff; }
.calendar-section { --opening-surface: #f3f9ff; --illustration-surface: #e5f2ff; --opening-border: #cbdff5; background: #fff; }
.reception-section { padding-bottom: calc(var(--feature-row-gap) / 2); }
.booking-section { padding-top: calc(var(--feature-row-gap) / 2); }
.booking-grid, .reception-grid, .calendar-grid, .setup-feature-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.feature-copy-card, .booking-phone-card, .reception-art-card, .calendar-phone-card, .setup-art-card { min-width: 0; border: 1px solid var(--opening-border); border-radius: 32px; }
.feature-copy-card { display: flex; align-items: center; padding: 32px; min-height: 540px; background: var(--opening-surface); }
.feature-copy-card .section-heading { min-width: 0; overflow-wrap: anywhere; }
.feature-copy-card .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2.6px; background: var(--gradient); color: transparent; background-clip: text; -webkit-background-clip: text; margin-bottom: 22px; }
.feature-copy-card h2 { font-size: clamp(36px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -1.6px; font-weight: 740; text-wrap: balance; }
.feature-copy-card h2 span { display: inline; }
.reception-copy-card h2 span { display: block; }
.feature-copy-card .section-heading > p:not(.eyebrow) { margin-top: 22px; font-size: 18px; line-height: 1.6; color: #737da3; }
.feature-copy-card .feature-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; gap: 14px; margin-top: 26px; align-items: center; }
.feature-copy-card .feature-points li { display: flex; align-items: center; padding: 0; gap: 8px; min-width: 0; font-size: 14px; line-height: 1.45; border: 0; }
.feature-copy-card .feature-points li + li { border-left: 1px solid #cbd1ee; padding-left: 14px; }
.feature-copy-card .feature-points--metric li:first-child strong { font-size: 32px; background: var(--gradient); color: transparent; background-clip: text; -webkit-background-clip: text; }
.feature-copy-card .feature-points .spark { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.booking-phone-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; gap: 16px; min-height: 540px; background: var(--illustration-surface); }
.booking-phone-card figcaption { max-width: 360px; color: #536381; font-size: 11px; text-align: center; line-height: 1.6; padding-inline: 10px; }
.booking-visual { --phone-render-height: 480px; position: relative; width: 100%; max-width: 460px; height: 480px; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.booking-phone-image, .calendar-phone-image {
  width: min(100%, calc(var(--phone-render-height) * 941 / 1672));
  height: auto;
  aspect-ratio: 941 / 1672;
  max-width: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  mix-blend-mode: normal;
  transform: none;
  mask-image: url('/static/tiempify/booking-phone-mask.svg?v=1');
  mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;
}
.calendar-phone-card { display: flex; align-items: center; justify-content: center; min-height: 540px; padding: 24px; background: var(--illustration-surface); overflow: hidden; isolation: isolate; }
.calendar-phone-image { --phone-render-height: 550px; mask-image: url('/static/tiempify/calendar-phone-mask.svg?v=1'); }
.calendar-copy-card .star-list p { color: #5b6b8f; }
.calendar-copy-card .calendar-brands { gap: 12px 20px; }
.calendar-brand { display: inline-flex; align-items: center; gap: 10px; }
.calendar-brand .apple-icon { margin-left: 0; }
.other-calendar-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border: 2px solid #9d46f6; border-radius: 7px; background: #fff; color: #7054d6; }
.other-calendar-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.booking-connections { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.booking-badge { position: absolute; z-index: 2; height: auto; width: 96px; filter: drop-shadow(0 12px 20px #5769aa15); }
.booking-badge-agent { left: 0; top: 39%; border-radius: 28px; transform: rotate(-10deg); }
.booking-badge-whatsapp { right: -2px; top: 46%; transform: rotate(10deg); }
.reception-art-card { position: relative; width: 100%; padding: 0; overflow: hidden; min-height: 540px; background: #e5f2ff; }
/* One rectangular scene fills the outer frame, without an oval crop or color overlays. */
.reception-art-card .art-reception { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; aspect-ratio: auto; border-radius: 0; mix-blend-mode: normal; }
.reception-art-card .art-reception img { position: absolute; inset: 0; width: 100%; max-width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.setup-section .setup-heading { max-width: 1040px; margin: 0 auto var(--section-space); }
.setup-section .setup-heading > p { max-width: 770px; color: #5b6b8f; }
.setup-feature-rows { display: grid; grid-auto-rows: 1fr; gap: var(--feature-row-gap); }
.setup-art-card { display: flex; align-items: center; justify-content: center; min-height: 540px; padding: 24px; overflow: hidden; background: var(--illustration-surface); }
.setup-art-card img { display: block; width: min(100%, 560px); height: auto; aspect-ratio: 720 / 640; }
.setup-copy-card .star-list { gap: 20px; margin-top: 28px; }
.setup-details-card .star-list { gap: 26px; }
.setup-copy-card .section-heading > p:not(.eyebrow) { color: #5b6b8f; }
.setup-copy-card .star-list p { color: #5b6b8f; }
@media (max-width: 1100px) {
  .header-inner { width: calc(100% - 48px); gap: 20px; }
  .site-header .nav-links { gap: 18px; font-size: 12px; }
  .site-header .header-actions { gap: 10px; }
  .brand-lockup { width: 156px; height: auto; }
  .hero-inner { width: calc(100% - 64px); gap: 30px; min-height: 590px; padding-block: 48px; }
  .dental-hero h1 { font-size: 44px; letter-spacing: -1.8px; }
  .dental-hero .hero-lede { font-size: 18px; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .dental-hero .art-hero { width: 100%; max-width: 620px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 78px; gap: 18px; }
  .site-header .nav-links { display: none; }
  .site-header .header-actions { margin-left: auto; }
  .site-header .nav-cta { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu > summary { list-style: none; display: flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; width: 40px; height: 44px; padding: 8px; border-radius: 8px; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu > summary span { display: block; width: 22px; height: 1.5px; background: var(--ink); }
  .mobile-nav-links { position: absolute; top: 100%; left: 0; width: 100%; display: flex; flex-direction: column; padding: 12px 24px 20px; gap: 2px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 18px #23366308; }
  .mobile-nav-links a { padding: 13px 8px; border-radius: 8px; font-size: 15px; }
  .mobile-nav-links a:hover { background: #f2f5fc; }
  .hero-inner { gap: 20px; padding-block: 42px; min-height: 550px; }
  .dental-hero h1 { font-size: 38px; }
  .dental-hero .hero-lede { font-size: 18px; }
  .dental-hero .hero-highlights li { font-size: 15px; }
  .dental-hero .primary-action { min-width: 0; font-size: 14px; gap: 20px; }
  .dental-hero .art-hero { width: 100%; margin-inline: auto; }
  .benefits-intro .section-heading > p { font-size: 18px; max-width: 650px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 94px; }
  .header-inner { width: calc(100% - 32px); min-height: 74px; gap: 8px; }
  .site-header { flex-wrap: nowrap; }
  .site-header .header-actions { display: flex; }
  .brand-lockup { width: 145px; height: auto; }
  .site-header .language-switch { margin: 0; gap: 0; }
  .site-header .language-switch a { min-width: 27px; padding: 14px 4px; font-size: 10px; text-align: center; }
  .mobile-menu > summary { width: 34px; padding: 7px 6px; }
  .hero-inner { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 34px; min-height: 0; padding-block: 42px 32px; }
  .dental-hero .hero-copy { padding: 0; }
  .dental-hero .eyebrow { font-size: 9px; letter-spacing: 2px; margin-bottom: 18px; }
  .dental-hero h1 { font-size: clamp(35px, 8.5vw, 49px); letter-spacing: -1.6px; max-width: 540px; }
  .dental-hero .hero-lede { font-size: 17.5px; margin-top: 22px; }
  .dental-hero .hero-highlights { gap: 12px; margin-top: 22px; }
  .dental-hero .hero-highlights li { font-size: 15px; }
  .dental-hero .hero-actions { margin-top: 27px; }
  .dental-hero .primary-action { width: 100%; min-height: 54px; font-size: 16px; }
  .dental-hero .art-hero { width: 100%; max-width: 500px; margin: 0 auto; aspect-ratio: 1.12; }
  .benefits-intro .section-heading > p { font-size: 17px; line-height: 1.65; margin-top: 24px; }
}
@media (max-width: 360px) {
  .brand-lockup { width: 130px; height: auto; }
}

@media (max-width: 1100px) {
  .booking-grid, .reception-grid, .calendar-grid, .setup-feature-row { gap: 24px; }
  .feature-copy-card { padding: 28px; }
  .feature-copy-card h2 { font-size: 36px; }
  .feature-copy-card .section-heading > p:not(.eyebrow) { font-size: 17px; }
  .feature-copy-card .feature-points { gap: 12px; }
  .feature-copy-card .feature-points li { font-size: 13px; gap: 7px; }
  .feature-copy-card .feature-points li + li { padding-left: 12px; }
  .feature-copy-card .feature-points--metric li:first-child strong { font-size: 30px; }
  .feature-copy-card .feature-points .spark { font-size: 22px; }
  .booking-badge { width: 86px; }
  .booking-badge-agent { left: -5px; }
  .booking-badge-whatsapp { right: -5px; }
}
@media (max-width: 850px) {
  .reception-grid, .booking-grid, .calendar-grid, .setup-feature-row { grid-template-columns: 1fr; gap: 20px; }
  .feature-copy-card, .reception-art-card, .booking-phone-card, .calendar-phone-card, .setup-art-card { width: 100%; max-width: none; margin-inline: 0; min-height: 0; }
  .feature-copy-card { padding: 32px; }
  .reception-art-card { aspect-ratio: 6 / 5; }
  .booking-copy-card, .calendar-copy-card { order: -1; }
  .setup-copy-card { order: -1; }
  .setup-feature-rows { grid-auto-rows: auto; }
  .setup-art-card { padding: 20px; }
  .booking-visual { --phone-render-height: 460px; max-width: 430px; height: 460px; }
  .booking-badge { width: 90px; }
  .booking-badge-agent { left: 0; }
  .booking-badge-whatsapp { right: 0; }
  .feature-copy-card h2 { font-size: 40px; }
  .feature-copy-card .section-heading > p:not(.eyebrow) { font-size: 18px; }
  .feature-copy-card .feature-points { gap: 20px; }
  .feature-copy-card .feature-points li { font-size: 15px; }
  .feature-copy-card .feature-points li + li { padding-left: 20px; }
}
@media (max-width: 520px) {
  .reception-grid { gap: 24px; }
  .booking-grid { gap: 24px; }
  .calendar-grid { gap: 24px; }
  .setup-feature-row { gap: 24px; }
  .feature-copy-card, .booking-phone-card, .reception-art-card, .calendar-phone-card, .setup-art-card { border-radius: 26px; }
  .setup-art-card { padding: 12px; }
  .booking-phone-card { padding: 18px 12px; gap: 12px; }
  .calendar-phone-card { padding: 20px 12px; }
  .calendar-phone-image { --phone-render-height: 460px; }
  .booking-visual { --phone-render-height: 440px; height: 440px; }
  .booking-badge { width: 76px; }
  .booking-badge-agent { left: 0; top: 38%; border-radius: 20px; }
  .booking-badge-whatsapp { right: 0; top: 48%; }
  .feature-copy-card { padding: 28px 22px; }
  .feature-copy-card .eyebrow { font-size: 10px; letter-spacing: 2.2px; margin-bottom: 20px; }
  .feature-copy-card h2 { font-size: clamp(34px, 9.3vw, 42px); letter-spacing: -1.4px; }
  .feature-copy-card .section-heading > p:not(.eyebrow) { font-size: 17px; line-height: 1.65; color: #657495; margin-top: 22px; }
  .feature-copy-card .feature-points { gap: 10px; margin-top: 28px; }
  .feature-copy-card .feature-points li { font-size: 12px; gap: 5px; }
  .feature-copy-card .feature-points li + li { padding-left: 10px; }
  .feature-copy-card .feature-points--metric li:first-child strong { font-size: 28px; }
  .feature-copy-card .feature-points .spark { font-size: 19px; }
}
@media (max-width: 420px) {
  .booking-badge { width: 64px; }
  .feature-copy-card .feature-points { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature-copy-card .feature-points li:first-child { grid-column: 1 / -1; }
  .feature-copy-card .feature-points li:nth-child(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 360px) {
  .booking-visual { height: 520px; align-items: flex-start; }
  .booking-connections { display: none; }
  .booking-badge { width: 60px; top: auto; bottom: 4px; }
  .booking-badge-agent { left: calc(50% - 82px); }
  .booking-badge-whatsapp { right: calc(50% - 82px); }
}

/* Give the booking summary enough room for its full description. */
@media (min-width: 421px) {
  .feature-copy-card .booking-stats { grid-template-columns: minmax(0, .75fr) minmax(0, 1.5fr) minmax(0, 1fr); }
}
