/* =========================================
   SMILECARE ORTHODONTICS
   Concept Website by Arovique Digital
   ========================================= */


/* =========================================
   RESET
   ========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;

  background: #f8fcfd;
  color: #17343a;
  line-height: 1.6;
  overflow-x: hidden;
}


a {
  color: inherit;
  text-decoration: none;
}


button,
input,
select,
textarea {
  font: inherit;
}


button {
  cursor: pointer;
}


img {
  max-width: 100%;
  display: block;
}


/* =========================================
   VARIABLES
   ========================================= */

:root {

  --navy: #17343a;

  --navy-soft: #244b52;

  --teal: #247b83;

  --teal-dark: #17656d;

  --aqua: #9ddfe2;

  --aqua-light: #dff5f6;

  --aqua-soft: #eefafb;

  --white: #ffffff;

  --off-white: #f8fcfd;

  --gray: #667d82;

  --line: #d9eaec;

  --shadow:
    0 24px 65px
    rgba(29, 79, 86, 0.12);

}


/* =========================================
   DEMO BAR
   ========================================= */

.demo-bar {
  background: #102d33;
  color: #dceff1;
  font-size: 0.78rem;
}


.demo-bar-inner {
  max-width: 1200px;
  margin: auto;

  padding: 9px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}


.demo-bar strong {
  color: #ffffff;
}


.demo-bar a {
  color: #9ddfe2;
  font-weight: 700;
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background:
    rgba(248, 252, 253, 0.92);

  border-bottom:
    1px solid
    rgba(217, 234, 236, 0.8);

  backdrop-filter:
    blur(18px);
}


.nav-container {
  max-width: 1200px;
  margin: auto;

  min-height: 78px;

  padding:
    0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;

  color: var(--navy);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}


.brand-icon {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      var(--teal),
      #66cbd0
    );

  color: white;
  font-size: 1.1rem;

  box-shadow:
    0 10px 25px
    rgba(36, 123, 131, 0.22);
}


.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1;
}


.brand small {
  margin-top: 5px;

  font-size: 0.48rem;
  letter-spacing: 0.24em;

  color: var(--teal);
}


.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}


.nav > a {
  color: #48666c;
  font-size: 0.88rem;
  font-weight: 600;

  transition:
    color 0.2s ease;
}


.nav > a:hover {
  color: var(--teal);
}


.nav .nav-button {
  padding:
    12px 19px;

  border-radius: 10px;

  color: #ffffff;

  background:
    var(--teal);
}


.nav .nav-button:hover {
  color: white;
  background:
    var(--teal-dark);
}


.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  border: 0;
  background: transparent;
}


.menu-toggle span {
  display: block;

  width: 24px;
  height: 2px;

  margin: 6px auto;

  background:
    var(--navy);

  transition:
    0.25s;
}


/* =========================================
   SHARED
   ========================================= */

.section {
  padding:
    110px 24px;
}


.section-heading,
.section-top,
.intro-grid,
.hero-container,
.about-grid,
.faq-grid,
.contact-grid,
.appointment-wrapper,
.experience-card,
.final-cta-inner {
  max-width: 1200px;
  margin:
    0 auto;
}


.section-label,
.eyebrow {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--teal);

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.18em;
}


.section-label.light {
  color: #9be3e6;
}


h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.045em;
}


h2 {
  font-size:
    clamp(
      2.3rem,
      4.3vw,
      4.5rem
    );

  color: var(--navy);
}


h2 span {
  color: var(--teal);
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 51px;

  padding:
    0 23px;

  border-radius: 11px;

  font-size: 0.88rem;
  font-weight: 750;

  border:
    1px solid transparent;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}


.button:hover {
  transform:
    translateY(-2px);
}


.button-primary {
  color: white;
  background:
    var(--teal);

  box-shadow:
    0 15px 35px
    rgba(36, 123, 131, 0.22);
}


.button-primary:hover {
  background:
    var(--teal-dark);
}


.button-secondary {
  color: var(--navy);

  border-color:
    #c9e2e5;

  background:
    rgba(255,255,255,0.62);
}


.text-link {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 750;
}


/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;

  min-height: 720px;

  display: flex;
  align-items: center;

  padding:
    88px 24px
    110px;

  overflow: hidden;

  background:

    radial-gradient(
      circle at 85% 20%,
      rgba(157, 223, 226, 0.4),
      transparent 31%
    ),

    linear-gradient(
      180deg,
      #f8fcfd,
      #f2fbfc
    );
}


.hero::after {
  content: "";

  position: absolute;

  width: 430px;
  height: 430px;

  left: -220px;
  bottom: -180px;

  border:
    80px solid
    rgba(157, 223, 226, 0.12);

  border-radius: 50%;
}


.hero-container {
  width: 100%;

  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns:
    1.02fr 0.98fr;

  align-items: center;
  gap: 70px;
}


.hero h1 {
  max-width: 650px;

  font-size:
    clamp(
      3.7rem,
      7vw,
      6.8rem
    );

  color:
    var(--navy);
}


.hero h1 span {
  display: block;

  color:
    var(--teal);
}


.hero-text {
  max-width: 590px;

  margin-top: 27px;

  color: var(--gray);

  font-size: 1.06rem;
  line-height: 1.8;
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 35px;
}


.hero-trust {
  margin-top: 55px;

  display: flex;
  gap: 38px;
}


.hero-trust div {
  display: flex;
  flex-direction: column;
}


.hero-trust strong {
  color: var(--navy);

  font-size: 0.9rem;
}


.hero-trust span {
  color: #7a9095;

  font-size: 0.72rem;
}


.hero-visual {
  position: relative;

  min-height: 540px;

  display: grid;
  place-items: center;
}


.hero-glow {
  position: absolute;

  width: 440px;
  height: 440px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(119, 211, 215, 0.55),
      rgba(119, 211, 215, 0.12) 55%,
      transparent 70%
    );

  filter:
    blur(5px);
}


.hero-image-card {
  position: relative;

  width: min(
    100%,
    510px
  );

  height: 520px;

  border:
    8px solid
    rgba(255,255,255,0.65);

  border-radius: 42px;

  background:
    linear-gradient(
      145deg,
      #c5ecee,
      #87cfd3
    );

  box-shadow:
    var(--shadow);

  overflow: visible;
}


.image-pattern {
  width: 100%;
  height: 100%;

  position: relative;

  overflow: hidden;

  border-radius: 34px;
}


.image-pattern::before,
.image-pattern::after {
  content: "";

  position: absolute;

  border-radius: 50%;
}


.image-pattern::before {
  width: 380px;
  height: 380px;

  right: -100px;
  top: -80px;

  background:
    rgba(255,255,255,0.27);
}


.image-pattern::after {
  width: 270px;
  height: 270px;

  left: -90px;
  bottom: -80px;

  border:
    54px solid
    rgba(255,255,255,0.18);
}


.smile-shape {
  position: absolute;

  width: 280px;
  height: 235px;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%)
    rotate(-7deg);

  display: grid;
  place-items: center;

  border-radius:
    48% 52% 43% 57% /
    52% 46% 54% 48%;

  background:
    rgba(255,255,255,0.78);

  box-shadow:
    0 30px 60px
    rgba(30, 90, 96, 0.12);
}


.tooth-icon {
  width: 108px;
  height: 120px;

  display: grid;
  place-items: center;

  border-radius:
    40% 40% 52% 52%;

  background:
    white;

  color:
    var(--teal);

  font-size:
    2.2rem;

  box-shadow:
    0 20px 40px
    rgba(36,123,131,0.16);
}


.floating-card {
  position: absolute;

  display: flex;
  align-items: center;
  gap: 12px;

  padding:
    16px 18px;

  border:
    1px solid
    rgba(216,235,237,0.9);

  border-radius: 16px;

  background:
    rgba(255,255,255,0.93);

  backdrop-filter:
    blur(15px);

  box-shadow:
    0 20px 50px
    rgba(35,86,92,0.16);
}


.appointment-card {
  left: -50px;
  bottom: 72px;
}


.floating-icon {
  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background:
    var(--aqua-light);

  color:
    var(--teal);

  font-weight: bold;
}


.floating-card div {
  display: flex;
  flex-direction: column;
}


.floating-card strong {
  color: var(--navy);

  font-size: 0.82rem;
}


.floating-card small {
  color: var(--gray);

  font-size: 0.66rem;
}


.rating-card {
  right: -35px;
  top: 80px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 3px;
}


.rating-card span {
  color: #efb949;
  letter-spacing: 0.1em;

  font-size: 0.72rem;
}


/* =========================================
   TRUST BAR
   ========================================= */

.trust-bar {
  border-top:
    1px solid
    var(--line);

  border-bottom:
    1px solid
    var(--line);

  background:
    #ffffff;
}


.trust-container {
  max-width: 1200px;
  margin: auto;

  min-height: 74px;

  padding:
    0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  color: #668287;

  font-size: 0.78rem;
  font-weight: 700;
}


.trust-container i {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background:
    var(--aqua);
}


/* =========================================
   INTRO
   ========================================= */

.intro-section {
  background:
    white;
}


.intro-grid {
  display: grid;

  grid-template-columns:
    1.05fr 0.95fr;

  gap: 100px;

  align-items: start;
}


.intro-copy {
  padding-top: 48px;
}


.intro-copy p {
  margin-bottom: 20px;

  color:
    var(--gray);

  line-height: 1.9;
}


/* =========================================
   TREATMENTS
   ========================================= */

.treatments {
  background:
    #f1fafb;
}


.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;

  margin-bottom: 55px;
}


.section-top > p {
  max-width: 450px;

  color:
    var(--gray);

  line-height: 1.8;
}


.treatment-grid {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns:
    repeat(4, 1fr);

  gap: 16px;
}


.treatment-card {
  position: relative;

  min-height: 385px;

  padding:
    30px;

  display: flex;
  flex-direction: column;

  border:
    1px solid
    #d5e9eb;

  border-radius:
    22px;

  background:
    rgba(255,255,255,0.8);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}


.treatment-card:hover {
  transform:
    translateY(-7px);

  border-color:
    #addbde;

  box-shadow:
    0 25px 55px
    rgba(42,103,110,0.1);
}


.treatment-card.featured {
  background:
    var(--navy);

  border-color:
    var(--navy);

  color:
    white;

  transform:
    translateY(-10px);
}


.treatment-card.featured:hover {
  transform:
    translateY(-16px);
}


.treatment-number {
  position: absolute;

  right: 24px;
  top: 24px;

  color:
    #93b5b9;

  font-size:
    0.7rem;
}


.treatment-icon {
  width: 52px;
  height: 52px;

  margin-bottom: 44px;

  display: grid;
  place-items: center;

  border-radius: 15px;

  background:
    var(--aqua-light);

  color:
    var(--teal);

  font-size:
    1.4rem;
}


.featured .treatment-icon {
  background:
    rgba(157,223,226,0.14);

  color:
    #9ddfe2;
}


.treatment-card h3 {
  margin-bottom: 16px;

  color:
    var(--navy);

  font-size: 1.35rem;
}


.featured h3 {
  color: white;
}


.treatment-card p {
  margin-bottom: 25px;

  color:
    var(--gray);

  font-size:
    0.86rem;

  line-height: 1.8;
}


.featured p {
  color:
    #b5ced2;
}


.treatment-card a {
  margin-top: auto;

  color:
    var(--teal);

  font-size:
    0.82rem;
  font-weight: 700;
}


.featured a {
  color:
    #9ddfe2;
}


/* =========================================
   ABOUT
   ========================================= */

.about {
  background:
    white;
}


.about-grid {
  display: grid;

  grid-template-columns:
    0.9fr 1.1fr;

  gap: 90px;
  align-items: center;
}


.doctor-visual {
  position: relative;

  min-height: 540px;
}


.doctor-card {
  height: 520px;

  display: grid;
  place-items: end center;

  border-radius:
    30px;

  background:

    radial-gradient(
      circle at 50% 25%,
      rgba(255,255,255,0.8),
      transparent 32%
    ),

    linear-gradient(
      145deg,
      #dff5f6,
      #a9dfe2
    );

  overflow: hidden;
}


.doctor-avatar {
  position: relative;

  width: 290px;
  height: 420px;
}


.avatar-head {
  position: absolute;

  top: 40px;
  left: 50%;

  width: 120px;
  height: 140px;

  transform:
    translateX(-50%);

  border-radius:
    48% 48% 45% 45%;

  background:
    #e5bfa7;
}


.avatar-head::before {
  content: "";

  position: absolute;

  width: 132px;
  height: 76px;

  left: -6px;
  top: -15px;

  border-radius:
    60px 60px 20px 20px;

  background:
    #5c4742;
}


.avatar-body {
  position: absolute;

  bottom: -20px;
  left: 50%;

  width: 270px;
  height: 270px;

  transform:
    translateX(-50%);

  border-radius:
    130px 130px 0 0;

  background:
    #ffffff;
}


.avatar-body::before {
  content: "";

  position: absolute;

  width: 45px;
  height: 190px;

  left: 50%;
  top: 55px;

  transform:
    translateX(-50%);

  border-radius: 22px;

  background:
    #247b83;
}


.doctor-avatar > span {
  position: absolute;

  right: 28px;
  top: 210px;

  width: 55px;
  height: 55px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background:
    var(--teal);

  color: white;

  z-index: 3;
}


.doctor-badge {
  position: absolute;

  right: -35px;
  bottom: 45px;

  width: 190px;

  padding:
    20px;

  display: flex;
  flex-direction: column;

  border-radius:
    17px;

  background:
    white;

  box-shadow:
    var(--shadow);
}


.doctor-badge strong {
  color:
    var(--navy);
}


.doctor-badge span {
  color:
    var(--gray);

  font-size:
    0.75rem;
}


.about-copy .lead {
  margin:
    31px 0 22px;

  color:
    var(--navy);

  font-size:
    1.2rem;

  font-weight:
    750;
}


.about-copy .lead small {
  display: block;

  margin-top: 5px;

  color:
    var(--gray);

  font-size:
    0.67rem;

  font-weight: 500;
}


.about-copy > p:not(.lead) {
  max-width: 590px;

  margin-bottom:
    18px;

  color:
    var(--gray);

  line-height:
    1.85;
}


.doctor-details {
  display: grid;

  grid-template-columns:
    repeat(3,1fr);

  gap: 12px;

  margin:
    35px 0;
}


.doctor-details div {
  padding:
    16px 12px;

  border-top:
    1px solid
    var(--line);
}


.doctor-details strong {
  display: block;

  color:
    var(--teal);

  font-size:
    0.72rem;
}


.doctor-details span {
  color:
    var(--navy);

  font-size:
    0.77rem;

  font-weight:
    650;
}


/* =========================================
   EXPERIENCE
   ========================================= */

.experience {
  background:
    #f6fbfc;
}


.experience-card {
  padding:
    70px;

  border-radius:
    28px;

  background:

    radial-gradient(
      circle at 90% 10%,
      rgba(80,173,181,0.2),
      transparent 28%
    ),

    var(--navy);

  color:
    white;
}


.experience-card > div:first-child {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 50px;

  margin-bottom:
    60px;
}


.experience-card h2 {
  color:
    white;
}


.experience-steps {
  display: grid;

  grid-template-columns:
    repeat(4,1fr);

  gap: 18px;
}


.experience-steps article {
  min-height:
    230px;

  padding:
    25px;

  border:
    1px solid
    rgba(255,255,255,0.12);

  border-radius:
    16px;

  background:
    rgba(255,255,255,0.04);
}


.experience-steps article > span {
  display: inline-block;

  margin-bottom:
    55px;

  color:
    #87d6da;

  font-size:
    0.75rem;
}


.experience-steps h3 {
  margin-bottom:
    12px;

  color:
    white;

  font-size:
    1.1rem;
}


.experience-steps p {
  color:
    #aac5c9;

  font-size:
    0.8rem;

  line-height:
    1.7;
}


/* =========================================
   REVIEWS
   ========================================= */

.reviews {
  background:
    white;
}


.sample-notice {
  padding:
    16px;

  border:
    1px solid
    #d7e9eb;

  border-radius:
    12px;

  background:
    #f5fbfc;

  font-size:
    0.78rem;
}


.review-grid {
  max-width:
    1200px;

  margin:
    auto;

  display: grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:
    16px;
}


.review-card {
  padding:
    32px;

  border:
    1px solid
    var(--line);

  border-radius:
    20px;

  background:
    #fbfefe;
}


.stars {
  margin-bottom:
    25px;

  color:
    #e6b34c;

  letter-spacing:
    0.14em;

  font-size:
    0.74rem;
}


.review-card > p {
  min-height:
    150px;

  color:
    #536d72;

  line-height:
    1.9;
}


.review-person {
  display:
    flex;

  align-items:
    center;

  gap:
    13px;

  margin-top:
    25px;
}


.review-person > span {
  width:
    42px;

  height:
    42px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    50%;

  background:
    var(--aqua-light);

  color:
    var(--teal);

  font-size:
    0.7rem;

  font-weight:
    800;
}


.review-person div {
  display:
    flex;

  flex-direction:
    column;
}


.review-person strong {
  color:
    var(--navy);

  font-size:
    0.8rem;
}


.review-person small {
  color:
    var(--gray);

  font-size:
    0.67rem;
}


/* =========================================
   FAQ
   ========================================= */

.faq {
  background:
    #f2fafb;
}


.faq-grid {
  display:
    grid;

  grid-template-columns:
    0.75fr 1.25fr;

  gap:
    90px;
}


.faq-heading > p {
  max-width:
    420px;

  margin:
    25px 0;

  color:
    var(--gray);

  line-height:
    1.8;
}


.faq-list details {
  border-bottom:
    1px solid
    #cfe4e6;

  padding:
    26px 0;
}


.faq-list details:first-child {
  border-top:
    1px solid
    #cfe4e6;
}


.faq-list summary {
  list-style:
    none;

  position:
    relative;

  padding-right:
    40px;

  color:
    var(--navy);

  font-weight:
    700;

  cursor:
    pointer;
}


.faq-list summary::-webkit-details-marker {
  display:
    none;
}


.faq-list summary::after {
  content:
    "+";

  position:
    absolute;

  right:
    0;

  top:
    -3px;

  color:
    var(--teal);

  font-size:
    1.4rem;
}


.faq-list details[open]
summary::after {
  content:
    "−";
}


.faq-list details p {
  max-width:
    650px;

  margin-top:
    18px;

  color:
    var(--gray);

  font-size:
    0.88rem;

  line-height:
    1.8;
}


/* =========================================
   APPOINTMENT
   ========================================= */

.appointment {
  background:
    white;
}


.appointment-wrapper {
  padding:
    65px;

  display:
    grid;

  grid-template-columns:
    0.9fr 1.1fr;

  gap:
    65px;

  border-radius:
    28px;

  background:
    var(--navy);
}


.appointment-copy h2 {
  color:
    white;
}


.appointment-copy > p {
  margin-top:
    25px;

  color:
    #adc8cc;

  line-height:
    1.8;
}


.appointment-features {
  margin-top:
    35px;

  display:
    grid;

  gap:
    13px;
}


.appointment-features div {
  display:
    flex;

  gap:
    10px;

  color:
    #c8dde0;

  font-size:
    0.84rem;
}


.appointment-features span {
  color:
    #86d8dc;
}


.appointment-form {
  padding:
    32px;

  border-radius:
    20px;

  background:
    white;

  box-shadow:
    0 25px 60px
    rgba(0,0,0,0.15);
}


.form-row {
  display:
    grid;

  grid-template-columns:
    1fr 1fr;

  gap:
    12px;
}


.appointment-form label {
  display:
    flex;

  flex-direction:
    column;

  gap:
    7px;

  margin-bottom:
    15px;

  color:
    var(--navy);

  font-size:
    0.72rem;

  font-weight:
    700;
}


.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width:
    100%;

  padding:
    13px 14px;

  border:
    1px solid
    #d7e6e8;

  border-radius:
    9px;

  outline:
    none;

  background:
    #fbfefe;

  color:
    var(--navy);

  transition:
    border 0.2s ease,
    box-shadow 0.2s ease;
}


.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color:
    var(--teal);

  box-shadow:
    0 0 0 3px
    rgba(36,123,131,0.1);
}


.appointment-form textarea {
  resize:
    vertical;
}


.appointment-button {
  width:
    100%;

  margin-top:
    5px;

  border:
    0;

  color:
    white;

  background:
    var(--teal);
}


.demo-form-note {
  display:
    block;

  margin-top:
    12px;

  text-align:
    center;

  color:
    #86989c;

  font-size:
    0.66rem;
}


.form-success {
  display:
    none;

  margin-top:
    14px;

  padding:
    12px;

  border-radius:
    9px;

  background:
    #e8f7f2;

  color:
    #26725c;

  font-size:
    0.78rem;

  text-align:
    center;
}


/* =========================================
   CONTACT
   ========================================= */

.contact {
  background:
    #f5fbfc;
}


.centered {
  max-width:
    820px;

  margin-bottom:
    55px;

  text-align:
    center;
}


.contact-grid {
  display:
    grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:
    16px;
}


.contact-card {
  padding:
    30px;

  border:
    1px solid
    var(--line);

  border-radius:
    18px;

  background:
    white;
}


.contact-icon {
  width:
    44px;

  height:
    44px;

  display:
    grid;

  place-items:
    center;

  margin-bottom:
    28px;

  border-radius:
    12px;

  background:
    var(--aqua-light);

  color:
    var(--teal);
}


.contact-card h3 {
  margin-bottom:
    10px;

  color:
    var(--navy);
}


.contact-card p {
  color:
    var(--gray);

  font-size:
    0.86rem;

  line-height:
    1.7;
}


.contact-card small {
  display:
    block;

  margin-top:
    12px;

  color:
    #9aabad;

  font-size:
    0.66rem;
}


.map-placeholder {
  position:
    relative;

  max-width:
    1200px;

  height:
    350px;

  margin:
    22px auto 0;

  overflow:
    hidden;

  border:
    1px solid
    var(--line);

  border-radius:
    20px;

  background:
    #e5f2f3;
}


.map-lines {
  position:
    absolute;

  inset:
    -20%;

  opacity:
    0.45;

  background:

    linear-gradient(
      35deg,
      transparent 47%,
      #b2d5d8 48%,
      #b2d5d8 50%,
      transparent 51%
    ),

    linear-gradient(
      -40deg,
      transparent 47%,
      #bddcde 48%,
      #bddcde 50%,
      transparent 51%
    );

  background-size:
    140px 100px;
}


.map-pin {
  position:
    absolute;

  left:
    50%;

  top:
    45%;

  width:
    52px;

  height:
    52px;

  transform:
    translate(-50%,-50%);

  border-radius:
    50% 50% 50% 0;

  background:
    var(--teal);

  rotate:
    -45deg;

  box-shadow:
    0 15px 35px
    rgba(36,123,131,0.3);
}


.map-pin span {
  position:
    absolute;

  width:
    17px;

  height:
    17px;

  left:
    17px;

  top:
    17px;

  border-radius:
    50%;

  background:
    white;
}


.map-label {
  position:
    absolute;

  left:
    50%;

  top:
    64%;

  transform:
    translateX(-50%);

  padding:
    12px 17px;

  display:
    flex;

  flex-direction:
    column;

  border-radius:
    10px;

  background:
    white;

  box-shadow:
    0 15px 35px
    rgba(37,83,89,0.12);
}


.map-label strong {
  color:
    var(--navy);

  font-size:
    0.78rem;
}


.map-label span {
  color:
    var(--gray);

  font-size:
    0.65rem;
}


/* =========================================
   FINAL CTA
   ========================================= */

.final-cta {
  padding:
    70px 24px;

  background:
    var(--teal);
}


.final-cta-inner {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    40px;
}


.final-cta span {
  display:
    block;

  margin-bottom:
    12px;

  color:
    #c9f0f2;

  font-size:
    0.7rem;

  font-weight:
    800;

  letter-spacing:
    0.18em;
}


.final-cta h2 {
  max-width:
    700px;

  color:
    white;
}


.light-button {
  flex-shrink:
    0;

  color:
    var(--teal);

  background:
    white;
}


/* =========================================
   FOOTER
   ========================================= */

.footer {
  padding:
    70px 24px 25px;

  background:
    #102d33;

  color:
    white;
}


.footer-main,
.footer-bottom {
  max-width:
    1200px;

  margin:
    auto;
}


.footer-main {
  display:
    grid;

  grid-template-columns:
    1fr 1fr auto;

  gap:
    60px;

  align-items:
    start;

  padding-bottom:
    55px;
}


.footer-brand {
  color:
    white;
}


.footer-brand small {
  color:
    #86d8dc;
}


.footer-main > p {
  max-width:
    420px;

  color:
    #91b1b6;

  font-size:
    0.8rem;

  line-height:
    1.8;
}


.footer-links {
  display:
    grid;

  gap:
    10px;

  color:
    #b8d0d4;

  font-size:
    0.8rem;
}


.footer-bottom {
  padding-top:
    22px;

  display:
    flex;

  justify-content:
    space-between;

  gap:
    20px;

  border-top:
    1px solid
    rgba(255,255,255,0.1);

  color:
    #73959a;

  font-size:
    0.7rem;
}


.footer-bottom a {
  color:
    #8ddadd;
}


/* =========================================
   REVEAL ANIMATIONS
   ========================================= */

.reveal {
  opacity:
    0;

  transform:
    translateY(24px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}


.reveal.visible {
  opacity:
    1;

  transform:
    translateY(0);
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1000px) {

  .nav {
    gap:
      17px;
  }


  .nav > a:not(.nav-button) {
    display:
      none;
  }


  .hero-container,
  .about-grid,
  .appointment-wrapper {
    grid-template-columns:
      1fr;
  }


  .hero-copy {
    max-width:
      760px;
  }


  .hero-visual {
    margin-top:
      20px;
  }


  .treatment-grid {
    grid-template-columns:
      repeat(2,1fr);
  }


  .treatment-card.featured {
    transform:
      none;
  }


  .experience-steps {
    grid-template-columns:
      repeat(2,1fr);
  }


  .review-grid {
    grid-template-columns:
      1fr;
  }


  .review-card > p {
    min-height:
      auto;
  }


  .faq-grid {
    grid-template-columns:
      1fr;

    gap:
      50px;
  }


  .footer-main {
    grid-template-columns:
      1fr 1fr;
  }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 720px) {

  .section {
    padding:
      78px 20px;
  }


  .demo-bar-inner {
    padding:
      8px 16px;

    font-size:
      0.68rem;
  }


  .demo-bar-inner > span {
    max-width:
      190px;
  }


  .nav-container {
    min-height:
      68px;

    padding:
      0 18px;
  }


  .menu-toggle {
    display:
      block;
  }


  .nav {
    position:
      absolute;

    left:
      14px;

    right:
      14px;

    top:
      calc(100% + 8px);

    padding:
      18px;

    display:
      none;

    flex-direction:
      column;

    align-items:
      stretch;

    gap:
      6px;

    border:
      1px solid
      var(--line);

    border-radius:
      15px;

    background:
      white;

    box-shadow:
      var(--shadow);
  }


  .nav.open {
    display:
      flex;
  }


  .nav > a,
  .nav > a:not(.nav-button) {
    display:
      block;

    padding:
      11px 10px;
  }


  .nav .nav-button {
    margin-top:
      5px;

    text-align:
      center;
  }


  .hero {
    min-height:
      auto;

    padding:
      70px 20px 85px;
  }


  .hero-container {
    gap:
      45px;
  }


  .hero h1 {
    font-size:
      clamp(
        3rem,
        14vw,
        4.5rem
      );
  }


  .hero-text {
    font-size:
      0.95rem;
  }


  .hero-actions {
    flex-direction:
      column;
  }


  .hero-actions .button {
    width:
      100%;
  }


  .hero-trust {
    display:
      grid;

    grid-template-columns:
      1fr 1fr;

    gap:
      18px;
  }


  .hero-visual {
    min-height:
      390px;
  }


  .hero-image-card {
    width:
      88%;

    height:
      380px;

    border-radius:
      30px;
  }


  .smile-shape {
    width:
      200px;

    height:
      170px;
  }


  .tooth-icon {
    width:
      80px;

    height:
      90px;
  }


  .appointment-card {
    left:
      -22px;

    bottom:
      34px;
  }


  .rating-card {
    right:
      -22px;

    top:
      35px;
  }


  .floating-card {
    padding:
      12px;

    max-width:
      185px;
  }


  .trust-container {
    overflow-x:
      auto;

    justify-content:
      flex-start;

    white-space:
      nowrap;
  }


  .intro-grid {
    grid-template-columns:
      1fr;

    gap:
      25px;
  }


  .intro-copy {
    padding-top:
      0;
  }


  .section-top {
    flex-direction:
      column;

    align-items:
      flex-start;

    gap:
      25px;
  }


  .treatment-grid {
    grid-template-columns:
      1fr;
  }


  .about-grid {
    gap:
      50px;
  }


  .doctor-visual {
    min-height:
      430px;
  }


  .doctor-card {
    height:
      420px;
  }


  .doctor-avatar {
    transform:
      scale(0.82);

    transform-origin:
      bottom center;
  }


  .doctor-badge {
    right:
      -5px;
  }


  .doctor-details {
    grid-template-columns:
      1fr;
  }


  .experience-card {
    padding:
      40px 22px;
  }


  .experience-card > div:first-child {
    grid-template-columns:
      1fr;
  }


  .experience-steps {
    grid-template-columns:
      1fr;
  }


  .experience-steps article {
    min-height:
      auto;
  }


  .experience-steps article > span {
    margin-bottom:
      25px;
  }


  .appointment-wrapper {
    padding:
      38px 20px;
  }


  .appointment-form {
    padding:
      22px 16px;
  }


  .form-row {
    grid-template-columns:
      1fr;
  }


  .contact-grid {
    grid-template-columns:
      1fr;
  }


  .map-placeholder {
    height:
      290px;
  }


  .final-cta-inner {
    flex-direction:
      column;

    align-items:
      flex-start;
  }


  .footer-main {
    grid-template-columns:
      1fr;

    gap:
      30px;
  }


  .footer-bottom {
    flex-direction:
      column;
  }

}