/* Font Declarations */
@font-face {
    font-family: 'Prata';
    src: url('fonts/Prata-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/Raleway-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/Raleway-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/Raleway-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/Raleway-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Animations and Transitions */
@media (prefers-reduced-motion: no-preference) {
    .btn {
        transition: background 0.2s, transform 0.2s;
    }

    .btn:hover {
        transform: translateY(-2px) scale(1.04);
    }

    nav a {
        transition: color 0.2s;
    }

    #header {
        transition: box-shadow 0.3s ease;
    }

    img {
        transition: opacity 0.3s ease;
    }

    .hamburger span {
        transition: transform .2s;
    }

    nav {
        transition: transform .3s ease;
    }

    .fade {
        transition: opacity .3s ease;
    }
}

:root {
    /* Brand Colors */
    --cream: #EFE7DD;
    --gold: #AD842A;
    --black: #262626;
    --footer-bg: #524037;
    
    /* Typography */
    --heading-font: 'Prata', serif;
    --body-font: 'Raleway', sans-serif;
    
    /* Spacing */
    --container-padding: 1rem;
    --section-spacing: 4rem;
    --header-height: 72px;
}

/* Scroll margin for sections */
section[id] {
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: #222;
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3 {
    font-family: var(--heading-font);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--gold);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(173, 132, 42, 0.08);
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.btn:hover {
    background: #bfa14a;
    transform: translateY(-2px) scale(1.04);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--gold);
    color: white;
    padding: 8px;
    z-index: 100;
    text-decoration: none;
}

.skip-link:focus {
    top: 8px;
    left: 8px;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

#header.header--open {
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

#header.scrolled {
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--black);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--gold);
}

.logo-img {
    display: block;
    height: 48px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-img {
        height: 36px;
        max-width: 120px;
    }
}

/* Hero */
#hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: calc(var(--header-height) + 2rem) 0 2rem;
    overflow: hidden;
    background-color: var(--black);
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

/* About */
#about {
    padding: var(--section-spacing) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Treatments */
#treatments {
    padding: var(--section-spacing) 0;
    background-color: white;
}

/* Why Us */
#why-us {
    padding: var(--section-spacing) 0;
}

.features-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.features-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* Team */
#team {
    position: relative;
    padding: 4rem 0;
    text-align: center;
    background-color: white;
}

.team-track-wrapper {
    overflow: hidden;
    margin: 0 -1rem;
    padding: 0 1rem;
    position: relative;
}

.team-track {
    display: flex;
    gap: 2rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.team-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.team-card {
    flex: 0 0 calc(100% - 2rem);
    scroll-snap-align: center;
    list-style: none;
    padding: 0 0.5rem;
}

.team-card figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.team-card img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--cream);
    border: 6px solid var(--cream);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.team-card figcaption {
    text-align: center;
}

.team-card h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.team-card p {
    color: var(--black);
    margin: 0;
}

.team-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid var(--gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: grid;
    place-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    color: var(--gold);
    transition: all 0.2s ease;
}

.team-nav:hover {
    background: var(--gold);
    color: white;
}

.team-nav:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.team-nav.prev {
    left: 1rem;
}

.team-nav.next {
    right: 1rem;
}

@media (max-width: 768px) {
    .team-card {
        flex: 0 0 calc(50% - 2rem);
    }
    
    .team-nav {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

@media (min-width: 769px) {
    .team-card {
        flex: 0 0 calc(33.333% - 2rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-track {
        scroll-behavior: auto;
    }
}

/* Testimonials */
#testimonials {
    padding: var(--section-spacing) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

blockquote {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

blockquote p {
    font-style: italic;
    margin: 0;
}

/* Contact */
#contact {
    padding: var(--section-spacing) 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--cream);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    height: 100%;
    min-height: 300px;
}

/* Contact Icons */
.contact-icon {
    color: var(--gold);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: block;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item img {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

.contact-item address,
.contact-item a {
    color: var(--black);
    text-decoration: none;
    font-style: normal;
    font-size: 1rem;
    transition: color 0.2s;
    line-height: 1.4;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-info .btn {
    margin-top: auto;
    align-self: center;
    min-width: 200px;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        padding: 2.5rem;
    }
    
    .contact-info .btn {
        align-self: flex-start;
    }
}

@media (max-width: 767px) {
    .contact-info {
        padding: 1.5rem;
    }

    .contact-item address,
    .contact-item a {
        font-size: 0.95rem;
    }

    .contact-icon {
        width: 20px;
        height: 20px;
    }
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 2rem 0;
}

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

.social-links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 1;
}

footer .social-links a img {
    color: white;
    filter: brightness(0) invert(1);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    background: 0;
    border: 0;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--black);
    transition: transform .2s;
}

@media (max-width: 768px) {
    #header .container {
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        inset: 0 0 0 auto;
        background: #fff;
        flex-direction: column;
        padding: 6rem 2rem;
        transform: translateX(100%);
        transition: transform .3s;
    }
    
    nav.open {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Accessibility */
:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Loading States */
.fade {
    opacity: 0;
    transition: opacity .3s ease;
}

.fade.loaded {
    opacity: 1;
}

/* === Signature Treatments — Brand Redesign ================ */
.section-title{
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
  text-align: center;
  color: var(--black);
}

.treatment-grid{
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.treatment-card{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  box-shadow:0 4px 14px rgba(0,0,0,.05);
  background:var(--cream);
  isolation:isolate;          /* keeps pseudo on top of img */
}

.treatment-card figure{
  margin:0;
  position:relative;
  width:100%;
  aspect-ratio:16/10; /* keep consistent crop without stretching */
}

.treatment-card img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;object-position:center;
  display:block;
  transition:transform .5s ease;
}

.treatment-card figcaption{
  position:absolute;
  inset:auto 0 0 0;
  background:linear-gradient(0deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.15) 70%,transparent);
  color:#fff;
  padding:1rem;
  font-family:var(--font-title);
  display:flex;
  justify-content:center;
  align-items:end;
  min-height:60px;
  text-shadow:0 2px 4px rgba(0,0,0,.4);
}

/* Hover / focus effect — subtle zoom + gold wash */
@media(prefers-reduced-motion:no-preference){
  .treatment-card:hover img,
  .treatment-card:focus-within img{transform:scale(1.07);}
  .treatment-card::after{
    content:"";
    position:absolute;inset:0;
    background:rgba(173,132,42,.15);   /* var(--gold) @15 % */
    opacity:0;transition:opacity .3s;
  }
  .treatment-card:hover::after,
  .treatment-card:focus-within::after{opacity:1;}
}

.treatment-card:focus-within{
  outline:3px solid var(--gold);
  outline-offset:2px;
}

@media(max-width:480px){
  /* Smaller screens = bigger tap targets */
  .treatment-card figcaption{font-size:1.05rem;padding:.75rem;}
}

/* End Treatments redesign */
/* Uniform media frame for images (prevents layout deformation) */
.media-frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:8px;background:#F2F2F2;}
.media-frame>img{width:100%;height:100%;object-fit:cover;display:block;}

/* Clinic gallery */
#clinic-gallery{padding:var(--section-spacing) 0;background:white;}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem;max-width:1200px;margin:0 auto;padding:0 var(--container-padding);} 
