/* ============================================================= */
/* RESET + BASE                                                   */
/* ============================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  color: #000;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* ---------- Typography (first theme) ---------- */
/* Body text, paragraphs, lists, links, buttons -> Inter */
p,
span,
a,
li,
ul,
ol,
button,
input,
textarea,
select,
label,
blockquote,
figcaption,
small,
strong,
em {
  font-family: "Inter", sans-serif;
}

/* Headings h1-h6 -> Podium display font, with size hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "FSP DEMO - PODIUM Sharp 4.11", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}
h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}
h4 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}
h5 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}
h6 {
  font-size: clamp(1rem, 2vw, 1.15rem);
}

button {
  font-family: "Inter", sans-serif;
  cursor: pointer;
}

.font-podium {
  font-family: "FSP DEMO - PODIUM Sharp 4.11", "Inter", sans-serif;
}

.font-inter {
  font-family: "Inter", sans-serif;
}

.icon {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
}

/* ============================================================= */
/* HEADER: VANGUARD HERO                                          */
/* ============================================================= */
.hero {
  position: relative;
  width: 100%;
  height: 115vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.45) 60%,
    rgba(0, 0, 0, 0.3)
  );
  z-index: 1;
}

/* ---------- Navbar (kept) ---------- */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

.brand {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.nav-links {
  display: none;
  gap: 2.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

.btn-outline {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

/* Hamburger (VANGUARD menu) */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.hamburger .bar {
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.hamburger .bar-1 {
  width: 1.5rem;
}
.hamburger .bar-2 {
  width: 1.5rem;
}
.hamburger .bar-3 {
  width: 1rem;
}

/* ---------- Mobile Menu (VANGUARD, kept) ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.25rem;
}

.close-btn .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
}

.mobile-link {
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 2.25rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: calc(var(--i) * 80ms + 100ms);
}

.mobile-cta {
  display: inline-flex;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease,
    border-color 0.3s ease, background-color 0.3s ease;
  transition-delay: calc(var(--i) * 80ms + 100ms);
}

.mobile-menu.open .mobile-link,
.mobile-menu.open .mobile-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Hero Content ---------- */
.hero-content {
  position: relative;
  z-index: 20;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 0 1.5rem;
}

.tagline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.tagline .crown {
  width: 1rem;
  height: 1rem;
}

.heading {
  color: #fff;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.heading span {
  display: block;
  font-size: clamp(1.8em, 8vw, 7rem);
  font-family: "FSP DEMO - PODIUM Sharp 4.11", "Inter", sans-serif;
}

.subtext {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.625;
  max-width: 28rem;
  margin-top: 1.5rem;
}

.subtext strong {
  color: #fff;
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-black {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #000;
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-black:hover {
  background: #171717;
}

.btn-black .arrow {
  transition: transform 0.3s ease;
}

.btn-black:hover .arrow {
  transform: translate(2px, -2px);
}

.badge {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.badge .award {
  width: 2rem;
  height: 2rem;
  color: rgba(255, 255, 255, 0.5);
}

.badge-text {
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ---------- VANGUARD Animations ---------- */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-up,
.animate-fade-up-delay-1,
.animate-fade-up-delay-2,
.animate-fade-up-delay-3,
.animate-fade-up-delay-4 {
  opacity: 0;
  animation: fade-up 0.8s ease-out forwards;
}

.animate-fade-up {
  animation-delay: 0s;
}
.animate-fade-up-delay-1 {
  animation-delay: 0.2s;
}
.animate-fade-up-delay-2 {
  animation-delay: 0.4s;
}
.animate-fade-up-delay-3 {
  animation-delay: 0.6s;
}
.animate-fade-up-delay-4 {
  animation-delay: 0.8s;
}

.animate-fade-in {
  opacity: 0;
  animation: fade-in 0.8s ease-out forwards;
}
.animate-fade-in-delay {
  opacity: 0;
  animation: fade-in 0.8s ease-out 0.3s forwards;
}

/* ---------- VANGUARD Responsive ---------- */
@media (min-width: 640px) {
  .navbar {
    padding: 1.25rem 2.5rem;
  }
  .brand {
    font-size: 1.875rem;
  }
  .tagline {
    font-size: 0.875rem;
  }
  .subtext {
    font-size: 1rem;
  }
  .btn-black {
    padding: 1rem 1.75rem;
    font-size: 0.75rem;
  }
  .badge {
    display: flex;
  }
  .cta-row {
    gap: 1.5rem;
  }
  .stats-row {
    gap: 3rem;
    margin-top: 2.5rem;
  }
  .stat-value {
    font-size: 2.25rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  .mobile-link {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .hamburger {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
}

@media (min-width: 1024px) {
  .navbar {
    padding: 1.75rem 4rem;
  }
  .hero-content {
    padding: 0 4rem;
  }
  .tagline {
    margin-bottom: 2rem;
  }
  .subtext {
    margin-top: 2rem;
  }
  .cta-row {
    margin-top: 2.5rem;
  }
  .stats-row {
    gap: 4rem;
    margin-top: 3.5rem;
  }
  .stat-value {
    font-size: 3rem;
  }
}

/* ============================================================= */
/* BODY: DENTAL PROJECT (navbar / burger removed)                */
/* ============================================================= */
.app {
  background: #1e1e1e;
}

/* ---------- SPLASH ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  transition: opacity 0.7s ease;
}

.splash.exiting {
  opacity: 0;
}

.splash.gone {
  display: none;
}

.splash-counter {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 1.5rem;
  line-height: 1;
  color: #000;
  font-size: 4.5rem;
}

@media (min-width: 768px) {
  .splash-counter {
    font-size: 8rem;
    padding: 2.5rem;
  }
}

/* ---------- SECTIONS SHARED ---------- */
.section {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

@media (min-width: 768px) {
  .section {
    gap: 0.5rem;
  }
}

.section1 {
  min-height: 85vh;
  padding: 1rem 0.75rem 0.375rem;
}

.section2,
.section3 {
  min-height: 100vh;
  padding: 0.375rem 0.75rem;
}

@media (min-width: 768px) {
  .section1 {
    min-height: 100vh;
    height: auto;
    padding: 2rem 1.25rem 0.5rem;
  }
  .section2,
  .section3 {
    height: 100%;
    min-height: auto;
    padding: 0.5rem 1.25rem;
  }
}

/* Masked card base */
.masked-card {
  background-repeat: no-repeat;
  background-image: url(./../images/hero2.webp);
  background-size: auto 56vw;
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.color-orange {
  color: #ffa600;
  font-weight: 900;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .masked-card {
    border-radius: 1rem;
  }
}

/* Reveal animation */
[data-reveal-item] {
  opacity: 0;
  transform: translateY(24px);
}

[data-reveal-item].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- DENTAL SECTION 1 ---------- */
.feature-bar {
  width: 100%;
  height: 3.5rem;
  background-image: url(./../images/hero2.webp);
  background-size: auto 56vw;
  flex-shrink: 0;
  height: 80px
}

@media (min-width: 768px) {
  .feature-bar {
    height: 5rem;
  }
}

.feature-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .feature-text {
    font-size: 1.875rem;
  }
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  font-size: 1.8em;
}

.social-link {
  display: inline-flex;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: scale(1.25);
}

.hero-main {
  width: 100%;
  flex: 1;
  min-height: 480px;
}

.hero-topleft {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  max-width: 200px;
  z-index: 10;
}

.hero-bottomleft {
  position: absolute;
  bottom: 1.25rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  pointer-events: none;
}

.hero-bottomleft > * {
  pointer-events: auto;
}

.hero-label {
  display: block;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.hero-heading {
  color: #ffffff;
  font-size: clamp(3rem, 11vw, 11rem);
  font-weight: 700;
  line-height: 0.79;
  letter-spacing: -0.025em;
}

.hero-bottomright {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  max-width: 285px;
  z-index: 10;
}

@media (min-width: 768px) {
  .hero-topleft {
    top: 1.75rem;
    left: 1.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    max-width: 300px;
  }
  .hero-bottomleft {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    bottom: 2rem;
    left: 1rem;
    right: 2rem;
  }
  .hero-label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  .hero-bottomright {
    max-width: 335px;
    text-align: right;
    font-size: 0.875rem;
  }
}

/* ---------- LEAD FORM (multi-step) ---------- */
.lead-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  padding: 4.5rem 1rem 3.5rem;
  z-index: 20;
}

.hero-form-title {
  width: 100%;
  max-width: 420px;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  margin-top: 1em;
}

@media (min-width: 768px) {
  .hero-form-title {
    font-size: 1.375rem;
  }
}

.lead-form {
  width: 100%;
  max-width: 620px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  margin-top: 2em;
}

.lead-progress {
  margin-bottom: 1.25rem;
}

.lead-progress-count {
  display: block;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.lead-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.lead-progress-fill {
  display: block;
  height: 100%;
  width: 9.09%;
  background: #e8212e;
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lead-steps {
  position: relative;
}

.form-step {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  animation: leadFade 0.4s ease;
}

.form-step.is-active {
  display: flex;
}

@keyframes leadFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead-label {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.lead-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lead-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.625rem;
  font-size: 1rem;
  color: #000;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}

.lead-input:focus {
  border-color: #000;
}

.lead-input-secondary {
  margin-top: 0.5rem;
}

.form-step.has-error .lead-input {
  border-color: #d33;
}

.step-next,
.step-submit {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  background: #000;
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.step-next {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-submit {
  padding: 0.75rem 1.5rem;
  border-radius: 0.625rem;
  font-size: 1rem;
}

.step-next:hover,
.step-submit:hover {
  transform: scale(1.05);
  background: #222;
}

.lead-error {
  min-height: 1rem;
  color: #d33;
  font-size: 0.75rem;
  font-weight: 600;
}

.form-done {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1rem 0;
}

.form-done.is-active {
  display: flex;
}

.form-done i {
  color: #1a9d54;
  font-size: 3rem;
}

.form-done p {
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ---------- DENTAL SECTION 2 ---------- */
.s2-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 0.375rem;
}

@media (min-width: 768px) {
  .s2-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 0.8fr;
    gap: 0.5rem;
  }
}

.s2-card0,
.s2-card1,
.s2-card2 {
  min-height: 160px;
}

.s2-card0 {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.s2-card1 {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.s2-video-wrap {
  width: 80%;
}

.s2-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  z-index: 10;
}

.s2-card3 {
  min-height: 270px;
}

/*
.s2-card1,
.s2-card2,
.s2-card3 {
  transition: transform 0.3s ease;
}

.s2-card1:hover,
.s2-card2:hover,
.s2-card3:hover {
  transform: scale(1.03);
}
*/

.hero-heading,
.heading span,
.s2-c2-title,
.s3-heading {
  display: inline-block;
  transition: transform 0.3s ease;
  padding-bottom: 0.2em;
}

.hero-heading:hover,
.heading span:hover,
.s2-c2-title:hover,
.s3-heading:hover {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .s2-card0,
  .s2-card1,
  .s2-card2,
  .s2-card3 {
    min-height: 0;
  }
  .s2-card1 {
    grid-row: span 2;
  }
  .s2-card3 {
    grid-column: span 2;
  }
}

.s2-c0-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  z-index: 10;
  margin: 0 0 0.5rem;
}

.s2-c0-sub {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
  margin-top: auto;
  padding-top: 0.75rem;
}

.s2-c0-desc {
  position: relative;
  z-index: 10;
  color: #fff;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  padding: 0 0.5rem;
}

.s2-c0-form {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding: 0 0.5rem;
}

.s2-form-label {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.s2-form-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.8125rem;
  appearance: none;
  cursor: pointer;
}

.s2-form-select option {
  color: #000;
  background: #fff;
}

.s2-form-dates {
  display: flex;
  gap: 0.5rem;
}

.s2-date-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.s2-form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.8125rem;
  cursor: pointer;
}

.s2-form-input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.s2-form-btn {
  width: 100%;
  padding: 0.625rem 1rem;
  background: #25D366;
  border: none;
  border-radius: 9999px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.s2-form-btn:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

@media (min-width: 768px) {
  .s2-c0-desc {
    font-size: 0.875rem;
    padding: 0;
  }

  .s2-c0-form {
    gap: 0.625rem;
    padding: 0;
    margin-top: 2em;
    max-width: 91%;
  }

  .s2-form-label {
    font-size: 0.8125rem;
  }

  .s2-form-select,
  .s2-form-input {
    font-size: 0.875rem;
    padding: 0.625rem 0.875rem;
  }

  .s2-form-btn {
    font-size: 0.875rem;
  }
}

.s2-c1-footer {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  z-index: 10;
}

.s2-c1-text {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-align: right;
  margin: 0;
}

.s2-callus {
  flex-shrink: 0;
  padding: 0.75rem 1.25rem;
  background: #fff;
  border: none;
  border-radius: 9999px;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s;
}

.s2-callus:hover {
  transform: scale(1.05);
}

@media (min-width: 1200px) {
  .s2-c1-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .s2-c1-text {
    text-align: left;
  }
}

.s2-c2-title {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  z-index: 10;
}

@media (min-width: 768px) {
  .s2-c0-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  .s2-c0-sub {
    font-size: 0.875rem;
    padding-top: 1rem;
  }
  .s2-c1-text {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .s2-callus {
    padding: 1.25rem 2rem;
    font-size: 1.25rem;
  }
  .s2-c2-title {
    top: 1.5rem;
    left: 1.75rem;
    color: #ffffff;
  }
}

.services-inner {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.375rem;
  padding: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.services-inner::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .services-inner {
    gap: 0.5rem;
    padding: 0.75rem;
  }
}

.service-card {
  flex: 0 0 auto;
  width: var(--sc-w, calc((100% - 0.75rem) / 2.3));
  border-radius: 0.75rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px);
}

.service-card.active {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
  .service-card {
    width: var(--sc-w, calc((100% - 1.5rem) / 3.5));
    border-radius: 1rem;
    padding: 1.25rem;
  }
}

.service-name {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.05;
  white-space: pre-line;
  color: #fff;
}

.service-name .s-flag {
  display: block;
}

@media (min-width: 1024px) {
  .service-name .s-flag {
    display: inline;
    margin-right: 0.25em;
  }
}

.service-card.active .service-name {
  color: #000;
}

@media (min-width: 768px) {
  .service-name {
    font-size: 2.25rem;
  }
}

.service-num {
  align-self: flex-end;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.service-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 1.3;
}

.s-label {
  font-weight: 700;
  color: #fff;
}

.s-capital,
.s-area,
.s-population,
.s-currency {
  font-size: 1.5em;
}

.service-card.shrunk .service-info {
  display: none;
}

.service-card.zoomed .service-info {
  font-size: 0.75rem;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .service-info {
    font-size: 0.75rem;
    gap: 0.25rem;
  }

  .service-card.zoomed .service-info {
    font-size: 0.875rem;
    gap: 0.375rem;
  }
}

.service-card.active .service-num {
  border-color: #000;
  color: #000;
}

@media (min-width: 768px) {
  .service-num {
    width: 3rem;
    height: 3rem;
    font-size: 0.875rem;
  }
}

.service-card.zoomed {
  width: calc((100% - 0.75rem) / 1.5);
  background: rgba(255, 255, 255, 0.4);
}

.service-card.shrunk {
  width: calc((100% - 0.75rem) / 6.6);
  overflow: hidden;
}

.service-card.shrunk .service-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  white-space: normal;
  flex: 1;
  overflow: hidden;
}

.service-card.shrunk .s-country {
  display: block;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  max-height: 6.25rem;
  overflow: hidden;
  white-space: normal;
  word-break: break-word;
}

.service-card.shrunk .s-flag {
  font-size: 2em;
}

.service-card.shrunk .service-num {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.5rem;
}

@media (min-width: 768px) {
  .service-card.zoomed {
    width: calc((600px - 1.5rem) / 1.5);
  }

  .service-card.shrunk {
    width: calc((100% - 1.5rem) / 9);
    overflow: hidden;
  }

  .service-card.shrunk .service-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.35rem;
    white-space: normal;
    flex: 1;
    overflow: hidden;
  }

  .service-card.shrunk .s-country {
    display: block;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    max-height: 9rem;
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
    margin-top: 0.5em;
  }

  .service-card.shrunk .s-flag {
    font-size: 2em;
  }
}

/* ---------- DENTAL SECTION 3 ---------- */
.s3-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.375rem;
}

@media (min-width: 768px) {
  .s3-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

.s3-left {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

@media (min-width: 768px) {
  .s3-left {
    gap: 0.5rem;
  }
}

.s3-heading-card {
  border-radius: 0.75rem;
  background: #fafaf9;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1.2;
  min-height: 180px;
}

.s3-heading {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  color: #000;
}

.s3-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: #000;
}

.s3-images {
  display: grid;
  gap: 0.375rem;
  flex: 1;
  grid-template-columns: 0.5fr 1fr;
  min-height: 140px;
}

@media (max-width: 1024px) {
  .s3-images {
    grid-template-columns: 1fr;
  }
}

.s3-img-wrap {
  flex: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s3-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.s3-img-wrap iframe {
  border: 0;
}

.s3-consult-card {
  border-radius: 0.75rem;
  background: #e4e4e7;
  padding: 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  /* flex: 1; */
  /* min-height: 160px; */
  /* height: 500px; */
}

.s3-consult-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.5rem;
}

.s3-consult-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
  line-height: 1.5rem;
}

.s3-book {
  padding: 0.75rem 1.25rem;
  background: #fff;
  border: none;
  border-radius: 9999px;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s;
}

.s3-book:hover {
  transform: scale(1.05);
}

.s3-right {
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  display: grid;
}

.s3-bg {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.s3-right-stack {
  grid-area: 1 / 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
}

.s3-video-top {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 1em;
  overflow: hidden;
}

.s3-video-top .tiktok-embed,
.s3-video-top iframe {
  max-width: 100%;
  /* max-height: 100%; */
  margin: 0 !important;
}

.s3-overlay {
  display: flex;
  gap: 0.375rem;
  flex-shrink: 0;
}

.s3-overlay-card {
  flex: 1;
  border-radius: 0.75rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.s3-overlay-white {
  background: #fff;
}

.s3-overlay-glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px);
}

.s3-overlay-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #000;
  line-height: 1.25rem;
}

.s3-overlay-title-white {
  color: #fff;
}

.s3-arrow {
  align-self: flex-end;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.s3-arrow-white {
  border-color: #fff;
  color: #fff;
}

.arrow-svg {
  transform: rotate(-45deg);
}

.s3-trabajos-internacionales {
  margin-left: 1em;
  padding-top: 1em;
}

.s3-trabajos-internacionales-white {
  color: #fff;
}

@media (min-width: 768px) {
  .s3-heading-card,
  .s3-images,
  .s3-consult-card,
  .s3-right {
    min-height: 0;
  }
  .s3-heading-card {
    border-radius: 1rem;
    padding: 1.75rem;
    flex: 0.6;
  }
  .s3-images {
    gap: 0.5rem;
  }
  .s3-img-wrap {
    border-radius: 1rem;
  }
  .s3-consult-card {
    border-radius: 1rem;
    padding: 1.75rem;
  }
  .s3-consult-label {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
  .s3-consult-heading {
    font-size: 1.875rem;
    line-height: 2rem;
  }
  .s3-book {
    padding: 1.25rem 2rem;
    font-size: 1.25rem;
  }
  .s3-right {
    border-radius: 1rem;
  }
  .s3-right-stack {
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .s3-overlay {
    display: flex;
  }
  .s3-overlay-card {
    border-radius: 1rem;
    padding: 1.25rem;
    height: 100%;
  }
  .s3-overlay-title {
    font-size: 1.5rem;
    line-height: 1.75rem;
  }
  .s3-arrow {
    width: 3rem;
    height: 3rem;
  }
}

@media (min-width: 767px) {
    .s3-overlay {
        display: contents;
    }
    .s3-overlay-card {
        max-width: auto;
    }
}

@media (min-width: 1024px) {
    .s3-overlay {
        display: flex;
    }
}

/* ============================================================= */
/* FOOTER (Furni style, full width)                              */
/* ============================================================= */
.footer {
  background: #000;
}

.footer-section {
  width: 100%;
  background: #252525;
  color: rgba(34, 34, 34, 0.75);
  padding: 5rem 0 2rem;
  font-family: "Inter", sans-serif;
}

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

.footer-section .subscription-form {
  margin-bottom: 4rem;
}

.footer-section .subscription-form h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: normal;
  text-transform: none;
}

.footer-section .sub-icon {
  display: inline-flex;
  color: #f9bf29;
  font-size: 1.5rem;
}

.footer-section .sub-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-section .form-control {
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  min-width: 220px;
  flex: 1;
  background: #fff;
  color: #000;
}

.footer-section .form-control::placeholder {
  color: #6b7280;
}

.footer-section .btn-sub {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 10px;
  background: #f9bf29;
  color: #000;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.footer-section .btn-sub:hover {
  background: #e0a800;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin: 1.25rem 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #e4e4e7;
}

.footer-logo {
  font-family: "Inter", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.footer-logo span {
  color: #f9bf29;
}

.custom-social {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.custom-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.custom-social a:hover {
  background: #f9bf29;
  color: #000;
}

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

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #f9bf29;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
}

.footer-legal {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-legal a:hover {
  color: #f9bf29;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 3fr;
  }
  .footer-links {
    grid-template-columns: 3fr 1fr;
  }
  .footer-copyright {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
