/*
Theme Name: URBN Review — Hello Elementor Child
Description: Scoped design styles for the URBN Dental patient review landing page.
Author: The Doctors Marketing
Template: hello-elementor
Version: 1.0.0
Text Domain: urbn-review-hello-child
*/

/* Assign the classes below to Elementor containers and widgets as described in README.md. */
:where(.urbn-rv-page, .urbn-rv-header, .urbn-rv-footer, .urbn-rv-sticky, .urbn-rv-popup) {
  --urbn-ink: #172c31;
  --urbn-muted: #526367;
  --urbn-green: #85ad58;
  --urbn-soft: #f5f7f2;
  --urbn-line: #d7ded8;
  color: var(--urbn-ink);
  font-family: "Poppins", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.urbn-rv-header { background: #fff; border-bottom: 1px solid #edf0eb; }
.urbn-rv-header__inner {
  width: min(100% - 40px, 1180px);
  min-height: 86px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.urbn-rv-logo img { width: clamp(218px, 64vw, 255px); height: auto; }
.urbn-rv-location .elementor-heading-title {
  color: #51615a;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .035em;
  white-space: nowrap;
}

/* Hero */
.urbn-rv-page .urbn-rv-hero { background: #fff; }
.urbn-rv-hero__inner { width: min(100%, 1440px); margin-inline: auto; }
.urbn-rv-hero__content { min-width: 0; padding: 29px 24px 0; }
.urbn-rv-hero__intro,
.urbn-rv-review-actions,
.urbn-rv-help { max-width: 510px; }
.urbn-rv-eyebrow .elementor-heading-title {
  margin: 0 0 10px;
  color: #66884d;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.urbn-rv-h1 .elementor-heading-title {
  margin: 0 0 12px;
  color: var(--urbn-ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(32px, 9vw, 47px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.047em;
}
.urbn-rv-h1 .urbn-rv-highlight { color: #638e4c; }
.urbn-rv-intro .elementor-widget-container,
.urbn-rv-intro p {
  margin: 0;
  color: var(--urbn-muted);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.65;
}
.urbn-rv-review-actions { margin-top: 23px; }
.urbn-rv-google .elementor-button {
  width: 100%;
  min-height: 56px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: var(--urbn-green);
  color: #15291e;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.urbn-rv-google .elementor-button:hover { background: #759d49; color: #15291e; }
.urbn-rv-google .elementor-button::after { content: "↗"; margin-left: auto; font-size: 17px; font-weight: 400; }
.urbn-rv-other-label .elementor-widget-container,
.urbn-rv-other-label p {
  color: #68736e;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
}
.urbn-rv-other-label p { margin: 14px 0 8px; }
.urbn-rv-social-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.urbn-rv-social .elementor-button {
  width: 100%;
  min-height: 50px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  border: 1px solid #cbd5ca;
  border-radius: 0;
  background: #fff;
  color: var(--urbn-ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}
.urbn-rv-social .elementor-button:hover { border-color: #739656; background: var(--urbn-soft); color: var(--urbn-ink); }
.urbn-rv-social .elementor-button::after { content: "↗"; margin-left: auto; font-size: 15px; font-weight: 400; }
.urbn-rv-help {
  margin-top: 22px;
  padding: 18px 20px 19px;
  background: var(--urbn-ink);
  color: #fff;
}
.urbn-rv-help__kicker .elementor-heading-title {
  margin: 0 0 6px;
  color: #a8ca80;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.urbn-rv-help__title .elementor-heading-title {
  margin: 0 0 10px;
  color: #fff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.urbn-rv-help__link .elementor-button {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #a8ca80;
  text-underline-offset: 5px;
}
.urbn-rv-help__link .elementor-button:hover { background: transparent; color: #fff; }
.urbn-rv-hero__image {
  position: relative;
  min-height: 230px;
  margin-top: 25px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.urbn-rv-image-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 12px 18px;
  background: rgba(23, 44, 49, .88);
}
.urbn-rv-image-caption .elementor-heading-title {
  color: #fff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
}

/* Referral */
.urbn-rv-referral { background: var(--urbn-soft); }
.urbn-rv-referral__inner {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
  padding: 47px 0 55px;
  display: grid;
  gap: 25px;
}
.urbn-rv-referral__copy { order: 1; min-width: 0; }
.urbn-rv-referral__visual { order: 2; width: 100%; max-width: 400px; justify-self: center; overflow: hidden; }
.urbn-rv-referral__visual img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; }
.urbn-rv-referral .urbn-rv-eyebrow .elementor-heading-title { margin-bottom: 14px; }
.urbn-rv-referral__title .elementor-heading-title {
  margin: 0 0 14px;
  color: var(--urbn-ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(30px, 7.5vw, 48px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.04em;
}
.urbn-rv-referral__question .elementor-widget-container,
.urbn-rv-referral__question p,
.urbn-rv-referral__text .elementor-widget-container,
.urbn-rv-referral__text p {
  color: var(--urbn-muted);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}
.urbn-rv-referral__question p,
.urbn-rv-referral__text p { margin: 0 0 13px; }
.urbn-rv-referral__question .elementor-widget-container,
.urbn-rv-referral__question p { color: var(--urbn-ink); font-weight: 600; }
.urbn-rv-referral__text strong { color: var(--urbn-ink); font-weight: 700; }
.urbn-rv-referral__button .elementor-button {
  min-width: 190px;
  min-height: 52px;
  margin-top: 13px;
  padding: 12px 17px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  border: 0;
  border-radius: 0;
  background: var(--urbn-ink);
  color: #fff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.urbn-rv-referral__button .elementor-button:hover { background: #2e5258; color: #fff; }
.urbn-rv-referral__button .elementor-button::after { content: "↗"; margin-left: auto; font-size: 17px; font-weight: 400; }

/* Footer and mobile action bar */
.urbn-rv-footer { background: #fff; }
.urbn-rv-footer__inner {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
  padding: 25px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: #596660;
  font-size: 11px;
}
.urbn-rv-footer__inner :is(p, a, .elementor-heading-title) {
  margin: 0;
  color: #596660;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 11px;
}
.urbn-rv-footer__inner strong { color: var(--urbn-ink); }
.urbn-rv-footer__phone a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.urbn-rv-footer__actions { display: none; }
.urbn-rv-copyright {
  padding: 15px 20px;
  background: #171a1b;
  text-align: center;
}
.urbn-rv-copyright .elementor-widget-container,
.urbn-rv-copyright p,
.urbn-rv-copyright a {
  margin: 0;
  color: #fff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}
.urbn-rv-copyright a { text-decoration: underline; text-underline-offset: 3px; }
.urbn-rv-sticky { display: none; }

/* Shared Elementor popup content. Popup width and close button stay in Elementor settings. */
.urbn-rv-popup { background: #fff; color: var(--urbn-ink); }
.urbn-rv-popup__eyebrow .elementor-heading-title {
  color: #66884d;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.urbn-rv-popup__title .elementor-heading-title {
  color: var(--urbn-ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(27px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.04em;
}
.urbn-rv-popup__intro .elementor-widget-container,
.urbn-rv-popup__intro p {
  color: #4f6061;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}
.urbn-rv-popup .elementor-form .elementor-field-label {
  color: var(--urbn-ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
}
.urbn-rv-popup .elementor-form :is(input.elementor-field, textarea.elementor-field) {
  padding: 12px 14px;
  border: 1px solid #cfd9d0;
  border-radius: 0;
  background: #fbfcfa;
  color: var(--urbn-ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
}
.urbn-rv-popup .elementor-form input.elementor-field { min-height: 49px; }
.urbn-rv-popup .elementor-form textarea.elementor-field { min-height: 126px; }
.urbn-rv-popup .elementor-form .elementor-button {
  min-height: 50px;
  padding: 11px 17px;
  border: 0;
  border-radius: 0;
  background: var(--urbn-green);
  color: #15291e;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .urbn-rv-footer__inner { align-items: center; text-align: center; }
  .urbn-rv-footer { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .urbn-rv-sticky {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid #dfe6dc;
    background: #fff;
    box-shadow: 0 -5px 18px rgba(23, 44, 49, .08);
  }
  .urbn-rv-sticky .elementor-button {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 0;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
  }
  .urbn-rv-sticky__refer .elementor-button { border: 1px solid var(--urbn-ink); background: #fff; color: var(--urbn-ink); }
  .urbn-rv-sticky__book .elementor-button { border: 1px solid var(--urbn-green); background: var(--urbn-green); color: #15291e; }
}
@media (max-width: 359px) {
  .urbn-rv-header__inner { width: min(100% - 32px, 1180px); }
  .urbn-rv-logo img { width: 220px; }
  .urbn-rv-location { display: none; }
  .urbn-rv-hero__content { padding-inline: 20px; }
  .urbn-rv-h1 .elementor-heading-title { font-size: 32px; }
  .urbn-rv-social-row { gap: 7px; }
  .urbn-rv-social .elementor-button { padding-inline: 8px; font-size: 11px; }
  .urbn-rv-help { padding-inline: 16px; }
}
@media (min-width: 768px) {
  .urbn-rv-header__inner { min-height: 104px; }
  .urbn-rv-logo img { width: 300px; }
  .urbn-rv-location .elementor-heading-title { font-size: 11px; }
  .urbn-rv-hero__inner { display: grid; grid-template-columns: 54% 46%; min-height: 660px; }
  .urbn-rv-hero__content {
    align-self: center;
    padding: 48px 8% 50px max(20px, calc((min(100vw, 1440px) - 1180px) / 2));
  }
  .urbn-rv-eyebrow .elementor-heading-title { font-size: 11px; }
  .urbn-rv-h1 .elementor-heading-title { font-size: clamp(43px, 4.8vw, 67px); }
  .urbn-rv-intro .elementor-widget-container,
  .urbn-rv-intro p { font-size: 15px; }
  .urbn-rv-google .elementor-button { min-height: 61px; font-size: 15px; }
  .urbn-rv-social .elementor-button { min-height: 52px; font-size: 13px; }
  .urbn-rv-help { margin-top: 27px; padding: 20px 23px; }
  .urbn-rv-help__title .elementor-heading-title { font-size: 20px; }
  .urbn-rv-hero__image { min-height: 660px; margin-top: 0; }
  .urbn-rv-image-caption { padding: 15px 22px; }
  .urbn-rv-image-caption .elementor-heading-title { font-size: 12px; }
  .urbn-rv-referral__inner { padding: 72px 0; grid-template-columns: 46% 1fr; align-items: center; gap: 8%; }
  .urbn-rv-referral__copy { order: 2; }
  .urbn-rv-referral__visual { order: 1; max-width: none; }
  .urbn-rv-referral__question .elementor-widget-container,
  .urbn-rv-referral__question p,
  .urbn-rv-referral__text .elementor-widget-container,
  .urbn-rv-referral__text p { font-size: 15px; }
  .urbn-rv-footer__inner { padding: 30px 0; flex-direction: row; align-items: center; justify-content: space-between; }
  .urbn-rv-footer__actions { display: flex; align-items: center; gap: 18px; }
}
@media (min-width: 1100px) {
  .urbn-rv-hero__inner { grid-template-columns: 55% 45%; min-height: 720px; }
  .urbn-rv-hero__content { padding-right: 11%; }
  .urbn-rv-hero__image { min-height: 720px; }
}
@media (max-width: 560px) {
  .urbn-rv-popup__title .elementor-heading-title { font-size: 28px; }
  .urbn-rv-popup__intro .elementor-widget-container,
  .urbn-rv-popup__intro p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .urbn-rv-page *, .urbn-rv-popup * { scroll-behavior: auto; transition-duration: 0s; animation-duration: 0s; }
}
