/* Premium Invisalign Landing Page */

:root {
   --pil-navy: #172951;
   --pil-navy-2: #213963;
   --pil-gold: #E4A86E;
   --pil-gold-dark: #c9864d;
   --pil-ink: #172033;
   --pil-text: #4d5667;
   --pil-muted: #f6f3ef;
   --pil-white: #ffffff;
   --pil-border: rgba(23, 41, 81, 0.14);
   --pil-shadow: 0 20px 55px rgba(23, 41, 81, 0.14);
   --pil-title-font: "Afacad", Arial, sans-serif;
   --pil-text-font: "Inter", Arial, sans-serif;
}

html {
   scroll-behavior: smooth;
}

body.premium-invisalign-landing-page {
   margin: 0;
   padding-bottom: 0;
   overflow-x: hidden;
   color: var(--pil-text);
   background: var(--pil-white);
   font-family: var(--pil-text-font);
}

.premium-invisalign-landing-page *,
.premium-invisalign-landing-page *::before,
.premium-invisalign-landing-page *::after {
   box-sizing: border-box;
}

.pil-page {
   width: 100%;
   overflow-x: hidden;
   background: var(--pil-white);
}

.pil-container {
   width: min(1180px, calc(100% - 40px));
   margin: 0 auto;
}

.pil-header {
   position: sticky;
   top: 0;
   z-index: 999;
   background: var(--pil-navy);
   border-bottom: 1px solid rgba(228, 168, 110, 0.25);
   backdrop-filter: blur(14px);
}

.pil-header__inner {
   min-height: 78px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 22px;
}

.pil-logo {
   flex: 0 0 auto;
}

.pil-logo img {
   display: block;
   width: 230px;
   max-width: 46vw;
   height: auto;
   background: transparent;
}

.pil-header__actions,
.pil-hero__actions,
.pil-consult-card__actions {
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 12px;
}

.pil-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-height: 46px;
   padding: 12px 22px;
   border: 1px solid transparent;
   border-radius: 8px;
   font-family: var(--pil-text-font);
   font-size: 15px;
   font-weight: 700;
   line-height: 1.2;
   text-align: center;
   text-decoration: none;
   transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
   cursor: pointer;
}

.pil-btn:hover,
.pil-btn:focus {
   transform: translateY(-2px);
   text-decoration: none;
}

.pil-btn--gold {
   color: var(--pil-navy);
   background: var(--pil-gold);
   box-shadow: 0 12px 26px rgba(228, 168, 110, 0.28);
}

.pil-btn--gold:hover,
.pil-btn--gold:focus {
   color: var(--pil-white);
   background: var(--pil-gold-dark);
}

.pil-btn--ghost {
   color: var(--pil-navy);
   border-color: var(--pil-border);
   background: var(--pil-white);
}

.pil-header__actions .pil-btn--ghost {
   color: var(--pil-white);
   border-color: rgba(255, 255, 255, 0.35);
   background: transparent;
}

.pil-btn--ghost:hover,
.pil-btn--ghost:focus,
.pil-header__actions .pil-btn--ghost:hover,
.pil-header__actions .pil-btn--ghost:focus {
   color: var(--pil-navy);
   background: var(--pil-white);
}

.pil-btn--white {
   color: var(--pil-navy);
   background: var(--pil-white);
}

.pil-btn--white:hover,
.pil-btn--white:focus {
   color: var(--pil-navy);
   background: #f8e3cf;
}

.pil-btn--navy {
   color: var(--pil-white);
   background: var(--pil-navy);
}

.pil-btn--outline {
   color: var(--pil-navy);
   border-color: var(--pil-navy);
   background: transparent;
}

.pil-btn--outline:hover,
.pil-btn--outline:focus {
   color: var(--pil-white);
   background: var(--pil-navy);
}

.pil-hero {
   position: relative;
   min-height: calc(100vh - 78px);
   overflow: hidden;
   display: flex;
   align-items: stretch;
   color: var(--pil-white);
   background: linear-gradient(135deg, var(--pil-navy) 0%, var(--pil-navy-2) 100%);
}

.pil-hero__grid {
   min-height: calc(100vh - 78px);
   display: grid;
   grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
   align-items: stretch;
   gap: 36px;
}

.pil-hero__copy {
   align-self: center;
   padding: 60px 0 70px;
}

.pil-eyebrow {
   margin: 0 0 12px;
   color: var(--pil-gold);
   font-size: 13px;
   font-weight: 800;
   letter-spacing: 0.08em;
   line-height: 1.4;
   text-transform: uppercase;
}

.pil-hero h1,
.pil-page h2,
.pil-page h3 {
   margin-top: 0;
   color: var(--pil-ink);
   font-family: var(--pil-title-font);
   font-weight: 700;
   letter-spacing: 0;
}

.pil-hero h1 {
   max-width: 760px;
   margin-bottom: 14px;
   color: var(--pil-white);
   font-size: clamp(44px, 5vw, 68px);
   line-height: 1.02;
}

.pil-hero p {
   max-width: 760px;
   color: rgba(255, 255, 255, 0.9);
   font-size: 17px;
   line-height: 1.72;
}

.pil-hero__lead {
   margin-bottom: 8px;
   color: var(--pil-gold) !important;
   font-family: var(--pil-title-font);
   font-size: clamp(26px, 3vw, 38px) !important;
   font-weight: 700;
   line-height: 1.12 !important;
}

.pil-hero__sublead {
   margin-bottom: 18px;
   color: var(--pil-white) !important;
   font-size: 22px !important;
   font-weight: 700;
   line-height: 1.34 !important;
}

.pil-perfect {
   margin: 28px 0 30px;
   padding: 20px;
   border: 1px solid rgba(255, 255, 255, 0.18);
   border-radius: 8px;
   background: rgba(255, 255, 255, 0.08);
}

.pil-perfect span {
   display: block;
   margin-bottom: 12px;
   color: var(--pil-gold);
   font-weight: 800;
}

.pil-perfect ul,
.pil-check-list,
.pil-pill-list {
   margin: 0;
   padding: 0;
   list-style: none;
}

.pil-perfect ul {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 10px 16px;
}

.pil-perfect li,
.pil-check-list li {
   position: relative;
   padding-left: 28px;
   line-height: 1.55;
}

.pil-perfect li::before,
.pil-check-list li::before {
   content: "";
   position: absolute;
   left: 0;
   top: 0.55em;
   width: 10px;
   height: 10px;
   border-radius: 50%;
   background: var(--pil-gold);
}

.pil-hero__image {
   position: relative;
   align-self: stretch;
   display: flex;
   align-items: flex-end;
   justify-content: flex-end;
   min-height: 650px;
}

.pil-hero__image img {
   position: relative;
   right: 0;
   bottom: -1px;
   display: block;
   width: auto;
   max-height: 650px;
   margin-bottom: 0;
   object-fit: contain;
   object-position: bottom right;
}

.pil-trust-bar {
   padding: 22px 0;
   background: var(--pil-white);
}

.pil-trust-strip {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 10px;
   margin: 0;
   padding: 18px;
   border: 1px solid var(--pil-border);
   border-radius: 10px;
   background: var(--pil-navy);
   box-shadow: 0 12px 32px rgba(23, 41, 81, 0.08);
}

.pil-trust-strip__item {
   color: var(--pil-white);
   font-size: 14px;
   font-weight: 700;
   line-height: 1.35;
}

.pil-page section {
   padding: 76px 0;
}

.pil-page h2 {
   margin-bottom: 18px;
   font-size: clamp(34px, 4vw, 50px);
   line-height: 1.12;
}

.pil-page h3 {
   margin-bottom: 10px;
   font-size: 24px;
   line-height: 1.22;
}

.pil-page p {
   margin-top: 0;
   font-size: 17px;
   line-height: 1.78;
}

.pil-section-head {
   max-width: 820px;
   margin: 0 auto 42px;
   text-align: center;
}

.pil-section-head p:last-child {
   margin-bottom: 0;
}

.pil-doctor__grid,
.pil-final__grid {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 48px;
   align-items: center;
}

.pil-transformations,
.pil-video,
.pil-final {
   background: var(--pil-muted);
}

.pil-why {
   background: var(--pil-white);
}

.pil-card-grid {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 22px;
}

.pil-card-grid--three {
   grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pil-card,
.pil-consult-card {
   height: 100%;
   padding: 28px;
   border: 1px solid var(--pil-border);
   border-radius: 8px;
   background: var(--pil-white);
   box-shadow: 0 12px 32px rgba(23, 41, 81, 0.08);
}

.pil-card span {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-width: 64px;
   min-height: 34px;
   margin-bottom: 18px;
   padding: 7px 12px;
   border-radius: 8px;
   color: var(--pil-navy);
   background: rgba(228, 168, 110, 0.24);
   font-weight: 800;
}

.pil-card p {
   margin-bottom: 0;
}

.pil-gallery {
   display: grid;
   grid-template-columns: repeat(4, minmax(0, 1fr));
   gap: 18px;
}

.pil-gallery img {
   display: block;
   width: 100%;
   aspect-ratio: 4 / 3;
   object-fit: cover;
   border-radius: 8px;
   box-shadow: var(--pil-shadow);
}

.pil-pill-list {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 12px;
   margin: 34px auto 0;
}

.pil-pill-list li {
   padding: 11px 15px;
   border: 1px solid var(--pil-border);
   border-radius: 8px;
   color: var(--pil-navy);
   background: var(--pil-white);
   font-weight: 700;
}

.pil-doctor {
   color: var(--pil-white);
   background: var(--pil-navy);
}

.pil-doctor h2,
.pil-doctor h3,
.pil-doctor p,
.pil-doctor li {
   color: var(--pil-white);
}

.pil-doctor__image {
   align-self: stretch;
   display: flex;
   align-items: flex-end;
   justify-content: center;
   border-radius: 8px;
   background: linear-gradient(180deg, rgba(228, 168, 110, 0.12), rgba(255, 255, 255, 0.08));
   overflow: hidden;
}

.pil-doctor__image img {
   display: block;
   width: min(100%, 430px);
   object-fit: contain;
}

.pil-doctor__role {
   color: var(--pil-gold) !important;
   font-weight: 800;
}

.pil-doctor-highlight {
   margin: 22px 0 26px;
   padding: 22px;
   border-left: 4px solid var(--pil-gold);
   border-radius: 8px;
   background: rgba(255, 255, 255, 0.08);
}

.pil-doctor-highlight p:last-child {
   margin-bottom: 0;
   color: var(--pil-gold);
}

.pil-check-list {
   display: grid;
   gap: 12px;
   margin: 18px 0 26px;
}

.pil-feature-list {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   border-top: 1px solid var(--pil-border);
   border-left: 1px solid var(--pil-border);
}

.pil-feature-list article {
   padding: 30px;
   border-right: 1px solid var(--pil-border);
   border-bottom: 1px solid var(--pil-border);
}

.pil-feature-list p {
   margin-bottom: 0;
}

.pil-review-card p {
   font-style: italic;
}

.pil-faq {
   color: var(--pil-white);
   background: var(--pil-navy);
}

.pil-faq h2 {
   color: var(--pil-white);
}

.pil-faq-list {
   max-width: 920px;
   margin: 0 auto;
   display: grid;
   gap: 14px;
}

.pil-faq-list details {
   border: 1px solid rgba(255, 255, 255, 0.14);
   border-radius: 8px;
   background: rgba(255, 255, 255, 0.08);
   overflow: hidden;
}

.pil-faq-list summary {
   padding: 20px 22px;
   color: var(--pil-white);
   font-family: var(--pil-title-font);
   font-size: 22px;
   font-weight: 700;
   cursor: pointer;
}

.pil-faq-list p {
   margin: 0;
   padding: 0 22px 22px;
   color: rgba(255, 255, 255, 0.86);
}

.pil-final {
   scroll-margin-top: 100px;
}

.pil-consult-card {
   background: var(--pil-white);
}

.pil-consult-card h3 {
   color: var(--pil-navy);
   font-size: 34px;
}

.pil-consult-card__actions {
   align-items: stretch;
   flex-direction: column;
}

.pil-consult-card__actions .pil-btn {
   width: 100%;
}

.pil-footer {
   padding: 28px 0;
   color: rgba(255, 255, 255, 0.82);
   background: #101d3b;
}

.pil-footer__inner {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-wrap: wrap;
   gap: 10px 24px;
   text-align: center;
}

.pil-footer p {
   margin: 0;
   color: inherit;
   font-size: 15px;
   line-height: 1.4;
}

.pil-footer a {
   color: var(--pil-gold);
   text-decoration: none;
}

.pil-mobile-cta {
   display: none;
}

@media (max-width: 1180px) {
   .pil-gallery {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }
}

@media (max-width: 991px) {
   .pil-header__inner {
      min-height: auto;
      padding: 14px 0;
      align-items: flex-start;
      flex-direction: column;
   }

   .pil-header__actions {
      width: 100%;
   }

   .pil-header__actions .pil-btn {
      flex: 1 1 180px;
      padding-left: 14px;
      padding-right: 14px;
   }

   .pil-hero,
   .pil-hero__grid {
      min-height: auto;
   }

   .pil-hero__grid,
   .pil-doctor__grid,
   .pil-final__grid {
      grid-template-columns: 1fr;
   }

   .pil-hero__copy {
      padding: 70px 0 22px;
   }

   .pil-hero__image {
      min-height: auto;
      justify-content: center;
   }

   .pil-hero__image img {
      width: min(78vw, 430px);
      max-height: none;
   }

   .pil-page section {
      padding: 64px 0;
   }

   .pil-card-grid,
   .pil-card-grid--three,
   .pil-feature-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }
}

@media (max-width: 767px) {
   body.premium-invisalign-landing-page {
      padding-bottom: 72px;
   }

   .pil-container {
      width: min(100% - 28px, 1180px);
   }

   .pil-logo img {
      width: 190px;
      max-width: 72vw;
   }

   .pil-header__actions {
      gap: 8px;
   }

   .pil-header__actions .pil-btn {
      min-height: 42px;
      flex-basis: calc(50% - 4px);
      font-size: 13px;
   }

   .pil-header__actions .pil-btn:last-child {
      flex-basis: 100%;
   }

   .pil-hero__grid {
      gap: 10px;
   }

   .pil-hero__copy {
      padding-top: 38px;
      text-align: left;
   }

   .pil-hero h1 {
      font-size: clamp(38px, 12vw, 50px);
   }

   .pil-hero__lead {
      font-size: 26px !important;
   }

   .pil-hero__sublead {
      font-size: 19px !important;
   }

   .pil-perfect ul,
   .pil-trust-strip,
   .pil-card-grid,
   .pil-card-grid--three,
   .pil-feature-list,
   .pil-gallery {
      grid-template-columns: 1fr;
   }

   .pil-btn {
      width: 100%;
      min-height: 46px;
      padding: 12px 16px;
   }

   .pil-page section {
      padding: 54px 0;
   }

   .pil-page h2 {
      font-size: 34px;
   }

   .pil-page h3 {
      font-size: 22px;
   }

   .pil-page p {
      font-size: 16px;
   }

   .pil-card,
   .pil-consult-card,
   .pil-feature-list article {
      padding: 22px;
   }

   .pil-gallery img {
      aspect-ratio: 3 / 2;
   }

   .pil-pill-list {
      align-items: stretch;
      flex-direction: column;
   }

   .pil-pill-list li {
      text-align: center;
   }

   .pil-faq-list summary {
      font-size: 19px;
   }

   .pil-footer__inner {
      flex-direction: column;
      gap: 7px;
   }

   .pil-mobile-cta {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1000;
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: var(--pil-navy);
      border-top: 1px solid rgba(228, 168, 110, 0.35);
      box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
   }

   .pil-mobile-cta a {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 58px;
      color: var(--pil-white);
      font-weight: 800;
      text-decoration: none;
   }

   .pil-mobile-cta a:last-child {
      color: var(--pil-navy);
      background: var(--pil-gold);
   }
}

@media (max-width: 420px) {
   .pil-header__actions .pil-btn {
      flex-basis: 100%;
   }

   .pil-hero h1 {
      font-size: 36px;
   }

   .pil-hero__lead {
      font-size: 23px !important;
   }
}
/* Hero doctor image base fix */
body.premium-invisalign-landing-page .pil-hero {
  overflow: hidden !important;
}

body.premium-invisalign-landing-page .pil-hero__image {
  align-self: stretch !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  position: relative !important;
}

body.premium-invisalign-landing-page .pil-hero__image img {
  position: relative !important;
  z-index: 1 !important;
  margin-bottom: 0 !important;
}
body.premium-invisalign-landing-page .pil-hero__image img {
  transform: translateY(72px) !important;
}

body.premium-invisalign-landing-page .pil-hero__image::after {
  bottom: -72px !important;
  height: 170px !important;
}
}
