/* =========================================================
   GLOWORA Dental Clinics — starter site stylesheet
   Design tokens
   ========================================================= */
:root {
  --cream: #F6F1E7;
  --sand: #E9DFC8;
  --teal-deep:#532d24;
  --teal-mid: #3E7C74;
  --coral: #E2694B;
  --ink: #22201B;
  --ink-soft: #5B564B;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, Segoe UI, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px -14px rgba(27, 63, 58, 0.25);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
  cursor: pointer;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  fill: none;
  stroke: currentColor;
  vertical-align: -0.15em;
}

.icon.filled {
  fill: currentColor;
  stroke: none;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--teal-deep);
  margin: 0 0 .5em;
  font-weight: 600;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}
p {
  font-size: 1rem;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--coral);
}

.smile-divider {
  width: 120px;
  height: 24px;
  color: var(--coral);
  margin: .6em 0 1.2em;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.6rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .smile-divider {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .9em 1.6em;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(226, 105, 75, .55);
}

.btn-outline {
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}

.btn-outline:hover {
  background: var(--teal-deep);
  color: var(--white);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .15);
}

.btn .icon {
  width: 1.05em;
  height: 1.05em;
}

/* =========================================================
   Header / Nav
   ========================================================= */
.topbar {
  background: var(--teal-deep);
  color: var(--sand);
  font-size: 1rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-links .icon {
  color: var(--coral);
}

.site-header {
  background:white;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(27, 63, 58, .1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--teal-deep);
  font-weight: 600;
}

.brand .icon {
  width: 38px;
  height: 38px;
  color: var(--coral);
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width .2s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-links a[aria-current="page"] {
  color: var(--teal-deep);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--teal-deep);
  padding: 6px;
}

.nav-toggle .icon {
  width: 26px;
  height: 26px;
}

@media (max-width:900px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86%);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 28px;
    gap: 22px;
    box-shadow: -14px 0 40px -20px rgba(0, 0, 0, .3);
    transform: translateX(100%);
    transition: transform .3s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta .btn-outline {
    display: none;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 80px 0;
  background: #fff;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-copy {
  flex: 1;
  max-width: 55%;
}

.hero-visual {
  flex: 1;
  max-width: 45%;
  display: flex;
  justify-content: center;
}

.hero-video {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 30px;
  color: #0a8f83;
}

/* Responsive */
@media (max-width:991px) {

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-copy,
  .hero-visual {
    max-width: 100%;
  }

  .hero-video {
    height: 350px;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Feature strip */
.feature-strip {
  background: var(--teal-deep);
  color: var(--white);
  padding: 34px 0;
}

.feature-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-strip .feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-strip .icon {
  width: 30px;
  height: 30px;
  color: var(--coral);
  flex: none;
  margin-top: 2px;
}

.feature-strip h4 {
  color: var(--white);
  margin-bottom: .2em;
  font-size: 1.05rem;
}

.feature-strip p {
  color: #CFE0DB;
  margin: 0;
  font-size: 1rem;
}

@media (max-width:900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .feature-strip .container {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Sections / generic blocks
   ========================================================= */
.section {
  padding: 96px 0;
}

.section.tight {
  padding: 72px 0;
}

.section.alt {
  background: var(--sand);
}

/* Services grid */
.services-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.service-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.service-card:hover{
    transform:translateY(-8px);
}

.service-image img{
    width:100%;
    height:250px;
    object-fit:cover;
    display:block;
}

.service-card h3{
    padding:20px 20px 10px;
}

.service-card p{
    padding:0 20px;
}

.service-card a{
    display:inline-block;
    margin:20px;
    color:#0AA79D;
    font-weight:600;
    text-decoration:none;
}

@media(max-width:768px){
    .services-grid{
        grid-template-columns:1fr;
    }
}
/* About / split content */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.checklist li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.checklist .icon {
  width: 22px;
  height: 22px;
  color: var(--coral);
  flex: none;
  margin-top: 2px;
}

@media (max-width:900px) {

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }
}

/* Doctor / team */
.doctor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.doctor-card img {
  aspect-ratio: 5/6;
  object-fit: cover;
}

.doctor-card .body {
  padding: 22px 24px 26px;
}

.doctor-card h3 {
  margin-bottom: .15em;
}

.doctor-card .role {
  color: var(--coral);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .8em;
  display: block;
}

.doctor-card ul {
  margin-top: .8em;
}

.doctor-card ul li {
  display: flex;
  gap: 8px;
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.doctor-card ul .icon {
  width: 16px;
  height: 16px;
  color: var(--teal-mid);
  margin-top: 4px;
  flex: none;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width:900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-grid img {
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

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

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.testimonial-card .icon-quote {
  width: 34px;
  height: 26px;
  color: var(--sand);
  margin-bottom: 10px;
}

.testimonial-card .stars {
  color: var(--coral);
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.testimonial-card .stars .icon {
  width: 15px;
  height: 15px;
}

.testimonial-card footer {
  margin-top: 14px;
  font-weight: 600;
  color: var(--teal-deep);
  font-size: 1rem;
}

.testimonial-card footer span {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 1rem;
}

@media (max-width:760px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* Mission / values */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.value-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.value-card .icon {
  width: 34px;
  height: 34px;
  color: var(--coral);
  margin-bottom: 14px;
}

@media (max-width:900px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.post-card .thumb {
  aspect-ratio: 16/10;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-mid);
}

.post-card .thumb .icon {
  width: 34px;
  height: 34px;
}

.post-card .body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.post-date {
  font-size: 1rem;
  color: var(--coral);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.post-card h3 {
  font-size: 1.05rem;
}

.post-card p {
  font-size: 1rem;
  flex: 1;
}

.post-card .read-more {
  font-weight: 600;
  font-size: 1rem;
  color: var(--teal-deep);
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

@media (max-width:900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA band */
.cta-band {
  background: var(--teal-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 52px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: .25em;
}

.cta-band p {
  color: #CFE0DB;
  margin: 0;
}

@media (max-width:760px) {
  .cta-band {
    flex-direction: column;
    text-align: center;
    padding: 40px 26px;
  }
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.contact-card .icon {
  width: 26px;
  height: 26px;
  color: var(--coral);
  flex: none;
}

.contact-card h4 {
  margin-bottom: .2em;
  font-size: 1rem;
}

.contact-card p {
  margin: 0;
  font-size: 1rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85em 1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid #DCD3BE;
  font: inherit;
  background: var(--cream);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal-mid);
  outline: none;
}

.form-note {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 26px;
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

@media (max-width:900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--sand);
  padding: 56px 0;
  text-align: center;
}

.page-hero .eyebrow {
  margin-bottom: .5em;
}

.breadcrumb {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-top: .6em;
}

.breadcrumb a {
  color: var(--teal-mid);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--teal-deep);
  color: #CFE0DB;
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand p {
  color: #B9CDC7;
  font-size: 1rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

.footer-social a:hover {
  background: var(--coral);
}

.footer-social .icon {
  width: 17px;
  height: 17px;
  color: var(--white);
}

.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.1em;
}

.site-footer ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.site-footer ul li a:hover {
  color: var(--white);
}

.footer-address li {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: #B9CDC7;
}

.footer-address .icon {
  width: 18px;
  height: 18px;
  color: var(--coral);
  flex: none;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #9FB6AF;
}

.footer-bottom a {
  color: #CFE0DB;
  font-weight: 600;
}

@media (max-width:900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Whatsapp float button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4);
}

.whatsapp-float .icon {
  width: 28px;
  height: 28px;
  color: var(--white);
}

/* Utility */
.mt-0 {
  margin-top: 0;
}

.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}