* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #b39247;
    --text-dark: #111111;
    --text-muted: #555555;
    --bg-light-beige: #e5dfd3;
    --bg-gradient-top: #f7f5f0;
    --bg-gradient-bottom: #cdc5b3;
    --military-olive: #837834;
    --va-grey: #6c6f70;
    --card-dark: #070707;
    --pure-white: #ffffff;
    --font-stack: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-stack);
    color: var(--text-dark);
    background-color: var(--pure-white);
    line-height: 1.5;
    overflow-x: hidden;
}

.content-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.image-container {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.section-lead {
    font-size: 1.15rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    color: var(--text-dark);
    font-weight: 500;
}

.main-header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-block;
    width: 220px;
    max-height: 60px;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary-gold);
}

.header-utilities {
    display: flex;
    align-items: center;
}

.phone-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav-item.active, .nav-item:hover {
    color: var(--primary-gold);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-right .social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.header-right .social-icon-svg {
    width: 20px;
    height: 20px;
    fill: var(--text-dark, #1a1a1a);
}

.header-right .social-icon-link:hover .social-icon-svg {
    fill: var(--primary-gold, #b3a995); 
    transform: scale(1.05); 
}

.phone-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
    margin-left: 0.25rem; 
}

.hero-section {
    width: 100%;
    background-color: #f2ede4;
    display: block;
    position: relative;
}

.hero-bg-placeholder {
    width: 100%;
    height: calc(100vh - 76px); 
    display: block;
    position: relative;
    overflow: hidden;
}

.hero-main-img {
    width: 100%;
    height: 100%;          
    object-fit: cover;   
    display: block;
    object-position: center 40%; 
    margin: 0 auto;
}

.building-number {
    position: absolute;
    right: 15%;
    top: 40%;
    font-size: 1.25rem;
    font-weight: 600;
    color: #444;
}
.large-logo-icon {
    font-size: 4rem;
    font-weight: 700;
    color: #222;
}

.large-logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.large-logo-sub {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-gold);
}

.info-section {
    background: linear-gradient(to bottom, var(--bg-gradient-top), var(--bg-gradient-bottom));
    padding: 4rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.content-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.section-lead {
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.65;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto 4rem auto;
    font-weight: 500;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.image-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.card-logo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.info-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 480px;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.85rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .info-card p {
        max-width: 100%;
    }
}

.welcome-section {
    background-color: var(--bg-gradient-bottom);
}

.onboarding-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}

.requirements-side h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    max-width: 400px;
}

.checkmark-list {
    list-style: none;
}

.checkmark-list li {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkmark-list li::before {
    content: "✓";
    font-weight: 700;
    font-size: 1.3rem;
}

.exam-side-panel {
    background-color: var(--card-dark);
    color: var(--pure-white);
    border-radius: 24px;
    padding: 3rem;
}

.exam-side-panel h3 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.exam-duration {
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.bullet-list {
    list-style-type: none;
    padding-left: 0;
}

.bullet-list li {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--pure-white);
}

.action-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-right: 5rem;
}

.cta-button {
    background-color: var(--card-dark);
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
    padding: 1rem 2.5rem;
    font-family: var(--font-stack);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cta-button:hover {
    background-color: #222;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; 
    align-items: center;
    gap: 4rem;
    box-sizing: border-box;
}

.banner-container.reversed {
    grid-template-columns: 0.8fr 1.2fr;
}

.banner-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.banner-text p {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 500;
}

.tricare-banner {
    background-color: #8c7b21;
    border-top: 5px solid #b71c1c;
    border-bottom: 5px solid #b71c1c;
    width: 100%;
}

.va-banner {
    background-color: var(--va-grey);
    color: var(--pure-white);
    width: 100%;
}

.banner-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
    display: grid;
    
    grid-template-columns: 1.25fr 0.75fr; 
    align-items: center;
    gap: 4rem;
    box-sizing: border-box;
}

.banner-container.reversed {
    grid-template-columns: 0.75fr 1.25fr;
}

.banner-text {
    text-align: left;
}

.banner-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.banner-text p {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}

.banner-asset {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.va-logo-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .banner-container, 
    .banner-container.reversed {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 1.5rem;
        text-align: center;
    }
    
    .banner-text {
        text-align: center;
    }

    .banner-container.reversed .banner-asset {
        grid-row: 2;
    }
}

.ega-placeholder {
    width: 180px;
    height: 180px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 auto;
    border-radius: 50%;
}

.va-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.testimonials-section {
    background-color: var(--bg-gradient-bottom);
    padding: 4rem 0;
}

.flex-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 2.5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-portrait {
    width: 100%;
    max-height: 580px;
    overflow: hidden;
    display: block;
    border-radius: 8px;
}

.testimonial-portrait img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20%;
    display: block !important;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.trust-badge {
    width: 160px;
    height: 160px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-badge img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.google-review-card {
    background-color: #161616;
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.rating-meta {
    display: flex;
    flex-direction: column;
}

.rating-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}

.rating-count {
    color: #a0a0a0;
    font-size: 0.85rem;
    margin-top: 4px;
}

.google-brand {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}
.g-blue { color: #4285F4; }
.g-red { color: #EA4335; }
.g-yellow { color: #FBBC05; }
.g-green { color: #34A853; }

.star-rating {
    color: #ffb300;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.review-body {
    margin-bottom: 24px;
    border-top: 1px solid #2a2a2a;
    padding-top: 16px;
}

.review-text {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 8px 0;
}

.read-more-btn {
    color: #a0a0a0;
    font-size: 0.85rem;
    text-decoration: none;
    border-bottom: 1px solid #404040;
    transition: color 0.2s ease;
}

.read-more-btn:hover {
    color: #ffffff;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
}

.reviewer-text {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.review-date {
    color: #757575;
    font-size: 0.8rem;
    margin-top: 2px;
}

.widget-navigation {
    display: flex;
    gap: 8px;
}

.nav-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #404040;
    background: transparent;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    transition: all 0.2s ease;
}

.nav-arrow:hover {
    background-color: #ffffff;
    color: #161616;
    border-color: #ffffff;
}

.testimonial-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.3;
}

.badge-top, .badge-bottom { font-size: 0.65rem; font-weight: 700; }
.badge-main { font-size: 0.95rem; font-weight: 700; color: #d09b1f; }

.testimonial-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.testimonial-card {
    background-color: var(--card-dark);
    color: var(--pure-white);
    border-radius: 20px;
    padding: 2.5rem;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.rating-label { font-weight: 700; font-size: 1.1rem; }
.review-count { font-size: 0.85rem; color: #aaa; }
.google-row { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.25rem; }
.stars { color: #fbbc05; }

.review-text {
    font-size: 1.1rem;
    font-style: normal;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-placeholder {
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
}

.reviewer-name { font-weight: 600; font-size: 0.95rem; }
.review-date { font-size: 0.8rem; color: #888; }

.slider-arrows {
    display: flex;
    gap: 0.5rem;
}

.arrow-btn {
    background: white;
    color: black;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
}

.main-footer {
    background: linear-gradient(to bottom, #333333 0%, #000000 100%);
    color: var(--pure-white);
    padding-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.affiliates-carousel-section {
  background: linear-gradient(135deg, #111, #242424);
  padding: 3rem 2rem;
  color: #fff;
}

.affiliates-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #c2a24b;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.affiliates-title::before,
.affiliates-title::after {
  content: "";
  width: 160px;
  height: 1px;
  background: #c2a24b;
}

.affiliates-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding:1.5rem 3.5rem;
  border: 1px solid rgba(194, 162, 75, 0.25);
  border-radius: 18px;
  overflow: hidden;
}

.affiliates-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.affiliates-track::-webkit-scrollbar {
  display: none;
}

.affil-card {
  flex: 0 0 220px;
  height: 125px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  padding: 1.25rem;
}

.affil-card img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}

.affil-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 2;
}

.affil-prev { left: 1rem; }
.affil-next { right: 1rem; }

@media (max-width: 768px) {
  .affiliates-carousel-section {
    padding: 2.5rem 1rem;
  }

  .affiliates-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 14px;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.35;
    white-space: nowrap;
    margin-bottom: 1.75rem;
}

.affiliates-title::before,
.affiliates-title::after {
    flex: 1;
    max-width: 60px;
    min-width: 35px;
}

  .affiliates-carousel {
    padding: 1.5rem 2.25rem;
  }

  .affil-card {
    flex-basis: 185px;
    height: 115px;
  }

  .affil-card img {
    max-height: 80px;
  }

  .affil-arrow {
    font-size: 2.5rem;
  }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
}

.links-col p {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 2rem 0;
    text-align: left;
    font-size: 0.85rem;
    color: var(--primary-gold);
}

@media (max-width: 992px) {
    .cards-grid, .onboarding-block, .banner-container, .banner-container.reversed, .flex-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-embedded-logo {
        left: 10%;
        bottom: 10%;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .action-row {
        justify-content: center;
        padding-right: 0;
    }
}

.inner-hero-placeholder {
    height: 50vh;
    min-height: 380px;
    background-color: #e5dfd3;
}

.text-block-layout {
    max-width: 960px;
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.text-block-layout h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}

.text-block-layout p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    color: var(--text-dark);
    font-weight: 500;
}

.tech-showcase-section {
    background-color: var(--bg-gradient-top);
    padding-bottom: 4rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.tech-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.column-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.bookmark-icon {
    font-size: 1.25rem;
    margin-top: 2px;
}

.tech-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.tech-column h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.tech-column h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.tech-list {
    padding-left: 1.2rem;
    margin-bottom: 2rem;
}

.tech-list li {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.tech-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 500;
}

.tech-asset {
    margin-top: auto;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.tech-img-asset {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease; 
}

.aligner-placeholder {
    height: 140px;
}

.microbe-logo-placeholder {
    height: 100px;
}

.scanner-placeholder {
    height: 200px;
}

.video-section {
    background: var(--bg-gradient-bottom);
    padding: 3rem 0;
}

.video-container-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.video-player-container {
    position: relative;
    width: 100%;
    height: 520px;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-button {
    position: absolute; 
    z-index: 2;
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid var(--pure-white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.3s ease;
}

.video-play-button:hover {
    transform: scale(1.1);
}

.play-triangle {
    color: var(--pure-white);
    font-size: 1.5rem;
    margin-left: 4px;
}

.building-number-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.team-section {
    padding: 60px 0;
    width: 100%;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-dark);
}

.profile-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    width: 100%;
}

.profile-block.reversed {
    flex-direction: row; 
}

.profile-text-content {
    flex: 1;
}

.profile-image-wrapper {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-block:not(.reversed) .profile-avatar {
    border-top-left-radius: 160px;
    border-top-right-radius: 160px;
    border-bottom-left-radius: 160px;
    border-bottom-right-radius: 20px;
}

.profile-block.reversed .profile-avatar {
    border-top-left-radius: 160px;
    border-top-right-radius: 160px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 160px;
}

@media (max-width: 768px) {
    .profile-block, 
    .profile-block.reversed {
        flex-direction: column;
        gap: 25px;
    }
    
    .profile-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 340px;
        height: 400px;
    }
}

.profile-avatar {
    width: 100%;
    height: 480px;
    background-size: cover;
    display: block;
    border-top-left-radius: 160px;
    border-top-right-radius: 160px;
    border-bottom-left-radius: 160px;
    border-bottom-right-radius: 20px;
}

.profile-block.reversed .profile-avatar {
    border-top-left-radius: 160px;
    border-top-right-radius: 160px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 160px;
}

.img-internal-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: rgba(0,0,0,0.3);
}

.profile-text-content h3 {
    font-size: 1.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.profile-text-content p {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.read-more-btn {
    display: inline-block;
    color: var(--text-dark);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 2px solid var(--text-dark);
    padding-bottom: 2px;
}

@media (max-width: 992px) {
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .profile-block, .profile-block.reversed {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .profile-block.reversed .profile-text-content {
        order: 2;
    }
    
    .profile-image-wrapper {
        max-width: 340px;
        margin: 0 auto;
    }

    .video-placeholder-bg {
        height: 350px;
    }
}

.services-hero-placeholder {
    width: 100%;
    height: 75vh;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}

.services-list-section {
    background-color: var(--bg-gradient-bottom);
    padding: 2rem 0;
}

.services-grid-container {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.service-row {
    display: grid;
    grid-template-columns: 1.14fr 0.86fr;
    gap: 5rem;
    align-items: center;
}

.service-row.reversed {
    grid-template-columns: 0.86fr 1.14fr;
}

.service-row.reversed .service-text {
    order: 2;
}

.service-row.reversed .service-video-wrapper {
    order: 1;
}

.service-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.service-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 500;
}

.service-video-wrapper {
    width: 100%;
}

.video-preview-block {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    overflow: hidden;
}

.video-preview-block .video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 5;
}

.video-overlay-play:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translate(-50%, -50%) scale(1.08);
}

.service-list.check-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-list.check-list > li {
    position: relative;
    padding-left: 2.5rem;
    font-size: 1.15rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--text-dark);
}

.service-list.check-list > li::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.25rem;
    width: 8px;
    height: 15px;
    border: solid #000000;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.service-sub-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-qa-block {
    position: relative;
    padding-left: 2.5rem;
}

.service-qa-block h3::before {
    content: "?";
    position: absolute;
    left: 0;
    top: -0.2rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.service-qa-block h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.video-preview-block {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    overflow: hidden;
}

.video-preview-block .video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.3s ease;
    z-index: 5;
}

.video-overlay-play:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translate(-50%, -50%) scale(1.08);
}

.s1-video { background-color: #ced5db; }
.s2-video { background-color: #d1cbd4; }
.s3-video { background-color: #dcd7ce; }
.s4-video { background-color: #cbd8d6; }
.s5-video { background-color: #d7ced1; }
.s6-video { background-color: #ced6d1; }
.s7-video { background-color: #dcdcd6; }
.s8-video { background-color: #d6cbdc; }

@media (max-width: 992px) {
    .service-row, .service-row.reversed {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-row.reversed .service-text {
        order: 1;
    }

    .service-row.reversed .service-video-wrapper {
        order: 2;
    }
    
    .services-grid-container {
        gap: 4.5rem;
    }
    
    .service-text {
        text-align: center;
    }
}

.contact-hub-section {
    width: 100%;
    background-color: #d1c9bc;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.appointment-badge-container {
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 4rem;
}

.badge-phone-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.request-appointment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    padding: 1rem 4rem;
    border-radius: 50px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
    margin-top: 0.5rem;
}

.request-appointment-btn:hover {
    background-color: #222222;
    transform: translateY(-2px);
}

.request-appointment-btn:active {
    transform: translateY(0) scale(0.98);
}

.hub-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #262626;
    margin: 0 0 3rem 0;
    text-align: center;
    letter-spacing: -0.01em;
}

.review-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 1150px;
}

.review-card {
    background-color: #d1c9bc;
    border: 2px solid var(--primary-gold, #b3a995);
    border-radius: 20px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-decoration: none;
    box-shadow: 0 0 35px 10px rgba(255, 255, 255, 0.75);
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 40px 5px rgba(255, 255, 255, 0.9), 0 12px 24px rgba(0, 0, 0, 0.04);
}

.badge-icon-wrap svg,
.card-icon-wrap svg {
    width: 55px;
    height: 55px;
    fill: #7d7261;
    transition: fill 0.2s ease;
}

.review-card:hover .card-icon-wrap svg {
    fill: #595144;
}

.card-label-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: -0.01em;
}

@media (max-width: 900px) {
    .review-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hub-main-title {
        font-size: 2.75rem;
    }
}

.outreach-intro-section {
    background-color: var(--bg-gradient-top);
}

.outreach-grid-section {
    background-color: var(--bg-gradient-bottom);
    padding-bottom: 6rem;
}

.outreach-max-width {
    max-width: 1300px;
}

.outreach-main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.outreach-card-item {
    position: relative;
    display: block;
    height: 380px;
    background-color: #e0d9cb;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    color: var(--pure-white);
}

.outreach-img-src {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.outreach-card-item:hover .outreach-img-src {
    transform: scale(1.04);
}

.outreach-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 7, 7, 0.9) 0%, rgba(7, 7, 7, 0.4) 60%, rgba(7, 7, 7, 0.2) 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.story-tag {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--primary-gold);
    color: var(--pure-white);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.outreach-card-overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.outreach-card-overlay p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-story-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-gold);
    transition: color 0.2s ease;
}

.outreach-card-item:hover .read-story-link {
    color: var(--pure-white);
}

.asset-debug-label {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.25);
    z-index: 3;
    pointer-events: none;
}

.outreach-card-item.block-large {
    grid-row: span 2;
    height: 780px;
}

.outreach-card-item.block-wide {
    grid-column: span 2;
}

.out-bg-1 { background-color: #cad1cd; }
.out-bg-2a { background-color: #d8ced5; }
.out-bg-2b { background-color: #cbd4d8; }
.out-bg-3 { background-color: #dfdad1; }
.out-bg-4a { background-color: #ced6db; }
.out-bg-4b { background-color: #d7ced1; }

@media (max-width: 1100px) {
    .outreach-main-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .outreach-card-item.block-large {
        grid-row: auto;
        height: 380px;
    }

    .outreach-card-item.block-wide {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .outreach-main-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .outreach-card-item {
        height: 340px;
    }
}

.team-section {
    background-color: var(--bg-light-beige);
    width: 100%;
}

.team-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

.profile-block {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
    width: 100%;
}

.profile-block.reversed {
    flex-direction: row;
}

.profile-text-content {
    flex: 1;
}

.profile-text-content h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.profile-text-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.profile-image-wrapper {
    flex: 0 0 380px;
    height: 480px;
    overflow: hidden;
    display: block;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-block:not(.reversed) .profile-avatar {
    border-top-left-radius: 160px;
    border-top-right-radius: 160px;
    border-bottom-left-radius: 160px;
    border-bottom-right-radius: 20px;
}

.profile-block.reversed .profile-avatar {
    border-top-left-radius: 160px;
    border-top-right-radius: 160px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 160px;
}

@media (max-width: 768px) {
    .profile-block, .profile-block.reversed {
        flex-direction: column;
        gap: 2rem;
    }
    .profile-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 340px;
        height: 420px;
    }
}

.careers-section {
    background-color: #e5dfd3;
    padding: 60px 20px;
}

.careers-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.careers-content h2, 
.careers-content h3, 
.careers-content p {
    margin-bottom: 1.5rem;
}

.btn-container {
    text-align: center;
    margin-top: 2.5rem;
}

.submit-resume-btn {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 40px;
    border-radius: 50px;
    border: 2px solid #ffffff;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.submit-resume-btn:hover {
    background-color: #222222;
}

.hero-section, .main-header + section {
    margin-top: 20px;
}

.emergency-care-section {
    background-color: #e5dfd3;
    padding: 60px 20px;
}

.emergency-content {
    max-width: 900px;
    margin: 0 auto;
}

.emergency-care-page .hero-section {
    height: 450px !important;
    background-size: cover;
    background-position: center 25%;
}

.appointment-section {
    background-color: #e5dfd3;
    padding: 60px 20px;
    font-family: sans-serif;
}

.form-container {
    max-width: 950px;
    margin: 0 auto;
}

.form-container h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.appointment-form input[type="text"],
.appointment-form input[type="email"],
.appointment-form input[type="tel"],
.appointment-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #bfae93;
    border-radius: 12px;
    background-color: #ffffff;
    font-size: 1rem;
    color: #333333;
    box-sizing: border-box;
    outline: none;
}

.appointment-form input[type="radio"] {
    accent-color: #000000;
}

.selection-group {
    margin: 25px 0;
}

.group-label {
    font-weight: 600;
    color: #555555;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.radio-label {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #000000;
    cursor: pointer;
}

.radio-label input {
    margin-right: 10px;
    transform: scale(1.1);
}

.form-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: flex-end;
    margin-top: 25px;
}

.submit-box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.captcha-text {
    font-size: 1.1rem;
    color: #444;
}

.captcha-input {
    width: 60px !important;
    height: 48px;
    text-align: center;
    border: 2px solid #bfae93;
    border-radius: 4px;
    background-color: #f0ede6;
}

.form-submit-btn {
    background-color: #c4b9a6; 
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 35px;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.form-submit-btn:hover {
    background-color: #b3a691;
}

@media (max-width: 768px) {
    .form-grid, .form-footer-grid {
        grid-template-columns: 1fr;
    }
    .submit-box {
        justify-content: flex-start;
        margin-top: 15px;
    }
}