/* =====================================================================
   JAWS PODIATRY — Editorial Luxury Medical-Aesthetic Design System
   Replaces the original WP theme look with a premium static replica.
   Tokens follow the ui-ux-pro-max recommendation (Accessible & Ethical
   healthcare style) tuned for a high-end cosmetic foot surgery brand.
   ===================================================================== */

:root {
  /* Brand palette */
  --c-primary:      #0E5959;        /* deep medical teal */
  --c-primary-700:  #0A4141;
  --c-primary-200:  #C9DEDC;
  --c-primary-050:  #F2F7F6;

  --c-accent:       #B8956A;        /* warm champagne gold */
  --c-accent-700:   #8E6E48;
  --c-accent-100:   #F4ECE0;

  --c-bg:           #FAFAF6;        /* warm ivory */
  --c-bg-alt:       #F3EFE6;        /* cream */
  --c-bg-dark:      #0E1E1D;        /* near-black teal */

  --c-fg:           #18211F;        /* rich dark for body */
  --c-fg-muted:     #586461;
  --c-fg-soft:      #7E8987;

  --c-border:       #E5DFD2;
  --c-divider:      rgba(24,33,31,0.08);

  --c-success:      #2C7A55;
  --c-destructive:  #B0463A;

  /* Typography */
  --f-serif: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --f-sans:  'Inter', 'Helvetica Neue', system-ui, -apple-system, sans-serif;

  /* Type scale (16px base) */
  --t-xs:   12px;
  --t-sm:   14px;
  --t-base: 16px;
  --t-md:   18px;
  --t-lg:   22px;
  --t-xl:   28px;
  --t-2xl:  36px;
  --t-3xl:  46px;
  --t-4xl:  60px;
  --t-5xl:  82px;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(14,30,29,0.04);
  --sh-md: 0 6px 18px rgba(14,30,29,0.06);
  --sh-lg: 0 20px 50px rgba(14,30,29,0.08);
  --sh-xl: 0 40px 80px rgba(14,30,29,0.12);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --d-fast: 180ms;
  --d-base: 280ms;
  --d-slow: 420ms;

  /* Layout */
  --container: 1200px;
}

/* =================================================================== */
/* Reset & globals                                                     */
/* =================================================================== */
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--c-fg);
  background: var(--c-bg);
  margin: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--d-fast) var(--ease-out); }
a:hover { color: var(--c-primary-700); }
::selection { background: var(--c-accent); color: #fff; }

.container, .row, .col-12, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-9,
.col-lg-3, .col-lg-4, .col-lg-6, .col-sm-6, .col-sm-3 { box-sizing: border-box; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.row { display: flex; flex-wrap: wrap; gap: 32px; margin: 0; }
.row > [class*="col-"] { padding: 0; flex: 1 1 0; min-width: 0; }
.col-lg-3 { flex: 0 0 calc(25% - 24px); }
.col-lg-4 { flex: 0 0 calc(33.333% - 22px); }
.col-lg-6 { flex: 0 0 calc(50% - 16px); }
.col-md-3 { flex: 0 0 calc(25% - 24px); }
.col-md-4 { flex: 0 0 calc(33.333% - 22px); }
.col-md-5 { flex: 0 0 calc(41.666% - 20px); }
.col-md-6 { flex: 0 0 calc(50% - 16px); }
.col-md-9 { flex: 0 0 calc(75% - 8px); }
.col-sm-6 { flex: 0 0 calc(50% - 16px); }
.col-sm-3 { flex: 0 0 calc(25% - 24px); }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.text-center { text-align: center; }
.img-fluid { max-width: 100%; height: auto; }

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 500;
  color: var(--c-fg);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--s-4);
  text-transform: none;
}
h1 { font-size: var(--t-4xl); font-weight: 400; letter-spacing: -0.03em; }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-2xl); }
h4 { font-size: var(--t-xl); }
h5, h6 { font-family: var(--f-sans); font-weight: 600; }
h5 { font-size: var(--t-md); letter-spacing: 0.08em; text-transform: uppercase; }
h6 { font-size: var(--t-sm); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-fg-muted); }

p { margin: 0 0 var(--s-5); }

.eyebrow {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent-700);
  padding: 6px 12px;
  background: var(--c-accent-100);
  border-radius: var(--r-full);
  margin-bottom: 18px;
}

/* Buttons */
.pink-btn,
.btn-primary,
.btn-ghost {
  display: inline-block;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: var(--t-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--d-base) var(--ease-out);
  text-decoration: none;
  line-height: 1;
}
.pink-btn,
.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(14,30,29,0.10), inset 0 0 0 1px rgba(255,255,255,0.05);
}
.pink-btn:hover, .btn-primary:hover {
  background: var(--c-primary-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.btn-ghost {
  background: transparent;
  color: var(--c-fg);
  border-color: var(--c-fg);
}
.btn-ghost:hover {
  background: var(--c-fg);
  color: #fff;
}
.btn-gold {
  background: var(--c-accent);
  color: #fff;
}
.btn-gold:hover {
  background: var(--c-accent-700);
}

/* =================================================================== */
/* TOP BAR                                                              */
/* =================================================================== */
.top-bar {
  background: var(--c-bg-dark);
  color: rgba(255,255,255,0.85);
}
.top-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
}
.top-bar a { color: rgba(255,255,255,0.85); text-decoration: none; }
.top-bar a:hover { color: #fff; }
.top-bar .top-phone i { margin-right: 8px; color: var(--c-accent); }
.top-bar .top-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-weight: 600;
  letter-spacing: 0.16em;
  transition: all var(--d-fast) var(--ease-out);
}
.top-bar .top-cta:hover { background: var(--c-accent-700); color: #fff; }

/* =================================================================== */
/* HEADER                                                               */
/* =================================================================== */
header.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,246,0.92);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--c-divider);
  transition: padding var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out);
}
header.header.sticky { box-shadow: var(--sh-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.header .logo img { max-height: 56px; width: auto; }
.header-right { display: flex; align-items: center; gap: 16px; }

.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--c-fg);
  margin: 0 2px;
  text-decoration: none;
  transition: all var(--d-fast) var(--ease-out);
  border: 1px solid var(--c-divider);
}
.social-icons a:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  transform: translateY(-2px);
}

/* Primary nav */
.main-nav { flex: 1; }
.main-nav ul.menu {
  display: flex; list-style: none; margin: 0; padding: 0;
  justify-content: center; flex-wrap: wrap;
}
.main-nav li.menu-item { position: relative; }
.main-nav li.menu-item > a {
  display: block;
  padding: 14px 18px;
  color: var(--c-fg);
  font-family: var(--f-sans);
  font-size: var(--t-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  transition: color var(--d-fast) var(--ease-out);
  position: relative;
}
.main-nav li.menu-item > a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--d-base) var(--ease-out);
}
.main-nav li.menu-item > a:hover { color: var(--c-primary); }
.main-nav li.menu-item > a:hover::after { transform: scaleX(1); }
.main-nav li.menu-item-has-children > a::before {
  content: ""; display: inline-block; width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--c-fg-muted);
  margin-right: 6px;
  vertical-align: middle;
  transform: translateY(-2px);
}
.main-nav ul.sub-menu {
  position: absolute; top: 100%; left: 0;
  background: #fff;
  list-style: none; margin: 0;
  padding: 12px 0;
  min-width: 300px;
  box-shadow: var(--sh-lg);
  border-top: 2px solid var(--c-accent);
  border-radius: 0 0 var(--r-md) var(--r-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--d-base) var(--ease-out), transform var(--d-base) var(--ease-out), visibility 0s var(--d-base);
  z-index: 50;
}
.main-nav li.menu-item:hover > ul.sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s;
}
.main-nav ul.sub-menu li.menu-item > a {
  padding: 10px 22px;
  font-size: var(--t-sm);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--c-fg);
}
.main-nav ul.sub-menu li.menu-item > a::after { display: none; }
.main-nav ul.sub-menu li.menu-item > a:hover { color: var(--c-primary); background: var(--c-primary-050); }

/* =================================================================== */
/* BANNER / HERO                                                        */
/* =================================================================== */
.banner-area {
  background-size: cover;
  background-position: center;
  min-height: 480px;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.banner-area::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(14,30,29,0.78) 0%, rgba(14,30,29,0.42) 65%, rgba(14,30,29,0.20) 100%);
}
.banner-caption {
  position: relative; width: 100%;
  padding: 80px 0;
  max-width: var(--container);
  margin: 0 auto;
}
.banner-caption .container { padding: 0 24px; }
.banner-area h1 {
  color: #fff;
  max-width: 920px;
  font-family: var(--f-serif);
  font-size: var(--t-5xl);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-transform: none;
  margin-bottom: 24px;
}
.banner-area h1 span {
  display: block;
  font-family: var(--f-sans);
  font-size: var(--t-md);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-top: 28px;
}
.banner-area .pink-btn {
  margin-top: 12px;
  background: var(--c-accent);
}
.banner-area .pink-btn:hover { background: #fff; color: var(--c-fg); }

.banner-area.home-banner { min-height: 720px; }
.banner-area.home-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--c-bg));
  pointer-events: none;
}
.banner-area.home-banner h1 { font-size: var(--t-5xl); }

.inner-banner { min-height: 380px; }
.inner-banner h1 { font-size: var(--t-3xl); }
.inner-banner h1 span { font-size: var(--t-sm); letter-spacing: 0.2em; }

.post-meta { color: rgba(255,255,255,0.75); font-size: var(--t-sm); letter-spacing: 0.12em; text-transform: uppercase; }

/* =================================================================== */
/* CONTENT TYPOGRAPHY                                                   */
/* =================================================================== */
.content-div {
  padding: var(--s-9) 0;
  background: var(--c-bg);
}
.content-div .container { max-width: 880px; }
.content-div p {
  font-size: var(--t-md);
  line-height: 1.75;
  color: var(--c-fg);
  font-weight: 400;
}
.content-div h2 { font-size: var(--t-2xl); margin: 56px 0 16px; }
.content-div h3 { font-size: var(--t-xl); margin: 48px 0 14px; color: var(--c-primary); }
.content-div h4 { font-size: var(--t-lg); margin: 40px 0 12px; }
.content-div ul, .content-div ol { padding-left: 22px; margin-bottom: 24px; }
.content-div li { margin-bottom: 8px; font-size: var(--t-md); }
.content-div img { margin: 32px 0; border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.content-div a { color: var(--c-primary); border-bottom: 1px solid var(--c-primary-200); }
.content-div a:hover { color: var(--c-primary-700); border-bottom-color: var(--c-primary); }

/* =================================================================== */
/* HOMEPAGE SECTIONS                                                    */
/* =================================================================== */
.content-area { background: var(--c-bg); }

/* Press logos — auto-scrolling marquee in full color */
.logo-area {
  padding: var(--s-7) 0 var(--s-7);
  border-top: 1px solid var(--c-divider);
  border-bottom: 1px solid var(--c-divider);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--c-bg-alt) 100%);
  overflow: hidden;
  position: relative;
}
.logo-area::before { display: none; }                /* legacy "AS FEATURED IN" text -- the new pill badge in build.py replaces it */
.logo-area .container { position: relative; z-index: 2; }
/* Edge fade so logos appear/disappear smoothly at the gutters */
.logo-area::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right,
      var(--c-bg-alt) 0%,
      rgba(243,239,230,0) 6%,
      rgba(243,239,230,0) 94%,
      var(--c-bg-alt) 100%);
  z-index: 3;
}
.logo-row {
  display: flex;
  gap: 70px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  width: max-content;
  animation: jaws-marquee 38s linear infinite;
  will-change: transform;
  padding: 8px 0;
}
.logo-row:hover { animation-play-state: paused; }
.logo-row .logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  padding: 6px 18px;
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--c-divider);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 12px rgba(14,30,29,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out), border-color var(--d-base) var(--ease-out);
}
.logo-row .logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(14,30,29,0.10);
  border-color: var(--c-accent);
}
.logo-row .logo-item img {
  max-height: 70px;
  max-width: 180px;
  width: auto;
  height: auto;
  opacity: 1;
  filter: none;          /* full color */
  display: block;
}

@keyframes jaws-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }   /* exact half because logos are duplicated 2x */
}

@media (prefers-reduced-motion: reduce) {
  .logo-row {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .logo-area { padding: 40px 0; }
  .logo-row { gap: 36px; animation-duration: 24s; }
  .logo-row .logo-item { height: 70px; padding: 6px 14px; }
  .logo-row .logo-item img { max-height: 50px; max-width: 140px; }
}

/* Section: services */
.working-area { padding: var(--s-9) 0; background: var(--c-bg); }
.work-text-tab { text-align: center; max-width: 720px; margin: 0 auto var(--s-7); }
.work-text-tab h2 { font-size: var(--t-3xl); }
.work-text-tab h2 span,
.work-text-tab h4 span {
  display: block;
  font-family: var(--f-sans);
  font-size: var(--t-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent-700);
  margin-top: 14px;
  font-weight: 500;
}
.work-text-tab h4 { font-size: var(--t-xl); margin-top: var(--s-7); }
.work-text-tab p { font-size: var(--t-md); color: var(--c-fg-muted); }

.working-tab-area { margin-top: var(--s-7); }
.service-card {
  flex: 0 0 calc(50% - 16px);
  text-align: center;
  margin-bottom: 24px;
}
.service-card a {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-divider);
  transition: all var(--d-base) var(--ease-out);
}
.service-card a:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
  border-color: var(--c-primary-200);
}
.service-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform var(--d-slow) var(--ease-out);
}
.service-card a:hover img { transform: scale(1.04); }
.service-card-title {
  padding: 28px 24px 32px;
  font-family: var(--f-serif);
  font-size: var(--t-xl);
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-fg);
}
.service-card-title::after {
  content: " →";
  color: var(--c-accent);
  font-family: var(--f-sans);
  margin-left: 6px;
  transition: margin var(--d-fast) var(--ease-out);
  display: inline-block;
}
.service-card a:hover .service-card-title::after { margin-left: 14px; }

/* Section: testimonial */
.testimonial-area {
  padding: var(--s-9) 0;
  background: var(--c-bg-alt);
  position: relative;
}
.testimonial-area::before {
  content: "“";
  position: absolute;
  top: 24px;
  left: 6%;
  font-family: var(--f-serif);
  font-size: 220px;
  line-height: 1;
  color: var(--c-accent);
  opacity: 0.18;
}
.testimonial-text {
  font-family: var(--f-serif);
  font-size: var(--t-xl);
  line-height: 1.5;
  font-style: italic;
  color: var(--c-fg);
  font-weight: 400;
}
.testimonial-text p:first-child::before {
  content: "“";
  font-size: 1.4em;
  color: var(--c-accent);
  margin-right: 4px;
}
.testimonial-text .attribution {
  font-family: var(--f-sans);
  font-style: normal;
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-top: 24px;
}
.testimonial-image img {
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-xl);
}

/* Section: counts / experience */
.experience-area { padding: var(--s-9) 0; background: var(--c-bg); }
.experience-tab {
  display: flex; gap: 32px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-divider);
}
.experience-tab:last-child { border-bottom: none; }
.experience-left { min-width: 200px; }
.experience-left .count {
  font-family: var(--f-serif);
  font-size: 72px;
  font-weight: 400;
  color: var(--c-primary);
  line-height: 1;
  letter-spacing: -0.04em;
}
.experience-left span {
  display: block;
  margin-top: 10px;
  text-transform: uppercase;
  font-size: var(--t-xs);
  color: var(--c-fg-muted);
  letter-spacing: 0.22em;
  font-weight: 500;
}
.experience-right p { font-size: var(--t-md); color: var(--c-fg-muted); margin: 0; }
.experience-img img { border-radius: var(--r-2xl); box-shadow: var(--sh-lg); }
.experience-text > .pink-btn { margin-top: 36px; }

/* Section: featured procedures */
.simple-tab-area { background: var(--c-bg); padding: var(--s-9) 0 var(--s-8); }
.simple-tab-area .heading-div { text-align: center; padding: 0 0 var(--s-7); }
.simple-tab-area .heading-div h2 { font-size: var(--t-3xl); }
.simple-tab-area .heading-div h2 span {
  display: block;
  font-family: var(--f-sans);
  font-size: var(--t-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent-700);
  margin-top: 14px;
  font-weight: 500;
}
.simple-tab {
  padding: var(--s-8) 0;
  background: var(--c-bg);
}
.simple-tab:nth-child(even) { background: var(--c-bg-alt); }
.simple-tab .row { gap: 64px; }
.simple-tab-right .row { flex-direction: row-reverse; }
.simple-tab-text h3 {
  font-family: var(--f-serif);
  font-size: var(--t-2xl);
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--c-fg);
}
.simple-tab-text p {
  font-size: var(--t-md);
  color: var(--c-fg-muted);
  line-height: 1.75;
}
.simple-tab-img img {
  border-radius: var(--r-2xl);
  width: 100%;
  height: 460px;
  object-fit: cover;
  box-shadow: var(--sh-lg);
}

/* Section: gallery */
.gallary-area { padding: var(--s-9) 0; background: var(--c-bg); }
.gallary-inner { margin-bottom: var(--s-7); }
.gallery-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-lg);
}
.gallery-grid {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px;
}
.gallery-grid li img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: var(--r-md);
  transition: transform var(--d-base) var(--ease-out);
}
.gallery-grid li img:hover { transform: scale(1.06); }
.gallary-area .work-text-tab { max-width: 760px; }

/* Section: reviews */
.review-area { padding: var(--s-9) 0; background: var(--c-bg-alt); }
.review-area .heading-div { text-align: center; margin-bottom: var(--s-7); }
.review-area .heading-div h2 { font-size: var(--t-3xl); }
.review-area .heading-div h2 span {
  display: block;
  font-family: var(--f-sans);
  font-size: var(--t-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent-700);
  margin-top: 14px;
  font-weight: 500;
}
.review-inner { gap: 24px; }
.review-tab {
  background: #fff;
  padding: 36px 32px;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  height: 100%;
  margin-bottom: 24px;
  border: 1px solid var(--c-divider);
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out);
  position: relative;
}
.review-tab:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.review-tab .stars {
  color: var(--c-accent);
  font-size: var(--t-md);
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.review-tab p {
  font-family: var(--f-serif);
  font-size: var(--t-md);
  line-height: 1.65;
  font-style: italic;
  color: var(--c-fg);
}
.review-tab h6 {
  font-family: var(--f-sans);
  color: var(--c-primary);
  margin-top: 18px;
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
}

/* Section: news / blog */
.news-area { padding: var(--s-9) 0; background: var(--c-bg); }
.news-area > .container > h2 { text-align: center; }
.news-area > .container > h2 span {
  display: block;
  font-family: var(--f-sans);
  font-size: var(--t-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent-700);
  margin-top: 14px;
  font-weight: 500;
}
.news-tab {
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-divider);
  box-shadow: var(--sh-sm);
  height: 100%;
  margin-bottom: 28px;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out);
}
.news-tab:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.news-tab a { color: inherit; text-decoration: none; display: block; }
.news-tab img { width: 100%; height: 240px; object-fit: cover; }
.news-tab h6 {
  padding: 24px 26px 0;
  font-family: var(--f-serif);
  font-size: var(--t-lg);
  line-height: 1.3;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--c-fg);
}
.news-tab h6 span {
  display: block;
  font-family: var(--f-sans);
  font-size: var(--t-xs);
  color: var(--c-fg-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
}
.news-tab p { padding: 0 26px; color: var(--c-fg-muted); font-size: var(--t-sm); line-height: 1.65; }
.news-btn {
  display: inline-block;
  margin: 4px 26px 26px;
  color: var(--c-accent-700);
  font-family: var(--f-sans);
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
  font-weight: 600;
  border-bottom: 1px solid var(--c-accent);
  padding-bottom: 3px;
}

/* Video section */
.video-area {
  padding: var(--s-9) 0;
  background: var(--c-bg-dark);
  color: #fff;
}
.video-area h2 { color: #fff; font-size: var(--t-3xl); }
.video-area p { color: rgba(255,255,255,0.78); font-size: var(--t-md); }
.video-area .pink-btn { background: var(--c-accent); }
.video-area .pink-btn:hover { background: #fff; color: var(--c-fg); }
.video-frame iframe { border-radius: var(--r-xl); box-shadow: var(--sh-xl); width: 100%; height: 360px; }

/* Instagram */
.insta-area { padding: var(--s-7) 0 var(--s-9); background: var(--c-bg); text-align: center; }
.insta-area img { max-width: 100%; border-radius: var(--r-xl); display: inline-block; }

/* Final CTA */
.form-area {
  padding: var(--s-9) 0;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-700) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.form-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(184,149,106,0.18), transparent 40%),
    radial-gradient(circle at 88% 82%, rgba(184,149,106,0.14), transparent 38%);
  pointer-events: none;
}
.form-area .container { position: relative; }
.form-area .cta-heading {
  color: #fff;
  font-size: var(--t-3xl);
  margin-bottom: 8px;
}
.form-area .cta-heading span {
  display: block;
  font-family: var(--f-sans);
  font-size: var(--t-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-top: 14px;
  font-weight: 500;
}
.form-area .cta-body {
  max-width: 720px;
  margin: 0 auto 20px;
  color: rgba(255,255,255,0.86);
  font-size: var(--t-md);
}
.form-area .cta-quote {
  color: rgba(255,255,255,0.65);
  font-style: italic;
  margin-bottom: 32px;
  font-family: var(--f-serif);
}
.form-area .pink-btn { background: var(--c-accent); }
.form-area .pink-btn:hover { background: #fff; color: var(--c-primary); }

/* =================================================================== */
/* FOOTER                                                                */
/* =================================================================== */
footer.footer { background: #0A1716; color: rgba(255,255,255,0.74); }
footer.footer .footer-top { padding: var(--s-9) 0 var(--s-7); }
footer.footer h5 {
  color: #fff;
  font-family: var(--f-sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.24em;
  margin-bottom: 22px;
}
footer.footer .footer-logo { max-width: 180px; margin-bottom: 22px; filter: brightness(0) invert(1); opacity: .92; }
footer.footer p, footer.footer .addr {
  color: rgba(255,255,255,0.74);
  font-size: var(--t-sm);
  margin-bottom: 14px;
  line-height: 1.65;
}
footer.footer .addr strong { color: #fff; }
footer.footer a { color: var(--c-accent); text-decoration: none; }
footer.footer a:hover { color: #fff; }
footer.footer .social-icons { margin-top: 8px; }
footer.footer .social-icons a {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.10);
}
footer.footer .social-icons a:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  font-size: var(--t-sm);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li span { color: rgba(255,255,255,0.6); }
.hours-list li b { color: #fff; font-weight: 500; }

.footer-link-list { list-style: none; padding: 0; margin: 0; }
.footer-link-list li { margin-bottom: 10px; }
.footer-link-list li a {
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.74);
}
.footer-link-list li a:hover { color: var(--c-accent); }

.footer-map { width: 100%; height: 180px; border: 0; border-radius: var(--r-md); }

.copyright {
  background: #050D0C;
  padding: 22px 0;
  font-size: var(--t-xs);
  text-align: center;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
}
.copyright p { margin: 0; }

/* =================================================================== */
/* DIRECTIONS PAGE                                                       */
/* =================================================================== */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: var(--s-7);
}
.directions-grid h3 {
  font-family: var(--f-sans);
  font-size: var(--t-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-accent-700);
  margin-bottom: 18px;
}
.directions-grid > div {
  background: #fff;
  padding: 32px;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-divider);
}
.directions-grid .hours-list li { border-bottom: 1px dotted var(--c-border); padding: 8px 0; }
.directions-grid .hours-list li span { color: var(--c-fg-muted); }
.directions-grid .hours-list li b { color: var(--c-fg); }
.map-embed iframe {
  width: 100%; height: 420px; border: 0;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
}

/* =================================================================== */
/* POSTS                                                                 */
/* =================================================================== */
.post-single .container { max-width: 760px; }
.post-single h2 { font-size: var(--t-2xl); margin: 56px 0 16px; }
.post-single h3 { font-size: var(--t-xl); margin: 48px 0 14px; }
.post-single p { font-size: var(--t-md); line-height: 1.75; }
.post-single .post-meta {
  color: var(--c-fg-muted); font-size: var(--t-xs); margin-bottom: 30px;
  letter-spacing: 0.22em; text-transform: uppercase;
}

/* Link list helper */
.link-list { list-style: none; padding: 0; }
.link-list li { margin-bottom: 10px; }
.link-list li a {
  display: inline-block;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-divider);
  font-size: var(--t-md);
  color: var(--c-fg);
}
.link-list li a:hover { color: var(--c-primary); border-bottom-color: var(--c-primary); }

/* =================================================================== */
/* MOTION                                                                */
/* =================================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--d-slow) var(--ease-out), transform var(--d-slow) var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================================================================== */
/* RESPONSIVE                                                            */
/* =================================================================== */
@media (max-width: 1100px) {
  :root { --t-5xl: 64px; --t-4xl: 48px; --t-3xl: 38px; }
  .row { gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 900px) {
  .row { flex-direction: column; }
  .row > [class*="col-"] { flex: 1 1 100%; }
  .simple-tab-right .row { flex-direction: column; }
  .directions-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --t-5xl: 44px; --t-4xl: 36px; --t-3xl: 30px; --t-2xl: 26px; --s-9: 64px; --s-8: 48px; }
  .top-bar-inner { padding: 8px 16px; flex-direction: column; gap: 6px; font-size: 11px; }
  .header-inner { flex-wrap: wrap; padding: 14px 16px; gap: 10px; justify-content: space-between; }
  .header .logo { order: -1; flex-basis: auto; }
  .main-nav { display: none; flex-basis: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul.menu { flex-direction: column; }
  .main-nav ul.sub-menu {
    position: static; box-shadow: none; border: 0; padding-left: 16px;
    background: transparent; display: block; opacity: 1; visibility: visible; transform: none;
  }
  .nav-toggle {
    display: inline-block !important;
    background: var(--c-primary); color: #fff;
    border: 0; padding: 10px 16px;
    border-radius: var(--r-full);
    font-family: var(--f-sans); text-transform: uppercase; letter-spacing: 0.16em;
    font-size: var(--t-xs); cursor: pointer;
  }
  .header-right { gap: 8px; }
  .header-right .social-icons { display: none; }
  .banner-area.home-banner { min-height: 540px; }
  .service-card { flex: 0 0 100%; }
  .service-card img { height: 280px; }
  .simple-tab-img img { height: 280px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .experience-tab { flex-direction: column; gap: 12px; }
  .experience-left { min-width: 0; }
  .gallery-main img { height: 320px; }

  /* Tighten section spacing */
  .working-area, .testimonial-area, .experience-area,
  .gallary-area, .review-area, .news-area, .video-area,
  .form-area, .insta-area, .logo-area { padding: var(--s-8) 0; }
  .content-div { padding: var(--s-7) 0 var(--s-8); }

  /* Hero on phone */
  .banner-area h1 { font-size: 36px; letter-spacing: -0.015em; }
  .banner-area.home-banner h1 { font-size: 36px; }
  .banner-area h1 span { font-size: 14px; letter-spacing: 0.16em; margin-top: 18px; }
  .banner-caption { padding: 56px 0; }

  /* Section spacing scale collapses */
  .work-text-tab h2 { font-size: 28px; }
  .work-text-tab h4 { font-size: 22px; }

  /* Testimonial */
  .testimonial-area::before { font-size: 140px; left: 10px; top: 16px; }
  .testimonial-text { font-size: 18px; line-height: 1.55; }
  .testimonial-area .row { gap: 24px; }
  .testimonial-image img { max-width: 260px; margin: 0 auto; }

  /* Simple-tab procedures */
  .simple-tab { padding: 40px 0; }
  .simple-tab .row { gap: 28px; }
  .simple-tab-text h3 { font-size: 22px; }
  .simple-tab-text p { font-size: 15px; }

  /* Gallery */
  .gallery-grid { gap: 10px; }
  .gallery-grid li img { height: 100px; }
  .gallery-main img { height: 240px; }

  /* News tab */
  .news-tab img { height: 200px; }
  .news-tab h6 { font-size: 16px; padding: 16px 18px 0; }
  .news-tab p { padding: 0 18px; font-size: 14px; }
  .news-btn { margin: 0 18px 18px; }

  /* Reviews — collapse bento to single column on phone (already handled at 1000px) */

  /* Video section */
  .video-frame iframe { height: 220px; }
  .video-area .row { gap: 24px; }

  /* Final CTA */
  .form-area .cta-heading { font-size: 26px; }
  .form-area .cta-heading span { font-size: 16px; }
  .form-area .cta-body { font-size: 15px; }
  .form-area .pink-btn,
  .form-area .btn-primary { width: 100%; max-width: 320px; }

  /* Footer */
  footer.footer .footer-top { padding: 48px 0 32px; }
  footer.footer .row > [class*="col-"] { padding-bottom: 8px; }
  .footer-map { height: 160px; }

  /* Marquee press tiles already tuned (assets/css/site.css ~535) */
}

/* Phone — 480px and below */
@media (max-width: 480px) {
  :root {
    --t-5xl: 36px; --t-4xl: 30px; --t-3xl: 24px; --t-2xl: 22px; --t-xl: 19px;
    --s-9: 56px; --s-8: 40px; --s-7: 32px;
  }
  .container { padding: 0 18px; }

  /* Hero compact */
  .banner-area { min-height: 380px; }
  .banner-area.home-banner { min-height: 480px; }
  .banner-area.home-banner h1,
  .banner-area h1 { font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; }
  .banner-area h1 span { font-size: 12px; letter-spacing: 0.18em; margin-top: 14px; }
  .banner-caption { padding: 44px 0; }
  .post-meta { font-size: 11px; letter-spacing: 0.16em; }

  /* Buttons full-width and stack */
  .pink-btn, .btn-primary, .btn-outline, .btn-secondary, .btn-ghost {
    height: 44px; padding: 0 22px; font-size: 13px; letter-spacing: 0.12em;
    width: 100%; max-width: 320px; justify-content: center;
  }
  .pink-btn.btn-sm, .btn-primary.btn-sm, .btn-outline.btn-sm,
  .btn-ghost.btn-sm, .btn-secondary.btn-sm {
    height: 38px; padding: 0 16px; font-size: 12px; width: auto;
  }

  /* Content typography */
  .content-div p { font-size: 16px; }
  .content-div h2 { font-size: 22px; margin-top: 32px; }
  .content-div h3 { font-size: 19px; margin-top: 28px; }

  /* Work-text */
  .work-text-tab h2 { font-size: 24px; }
  .work-text-tab h2 span,
  .work-text-tab h4 span { font-size: 12px; letter-spacing: 0.18em; }
  .work-text-tab h4 { font-size: 18px; }

  /* Service cards stack */
  .service-card { flex: 0 0 100%; padding: 0; }
  .service-card img { height: 240px; }
  .service-card-title { font-size: 18px; padding: 20px 18px 22px; }

  /* Procedure tabs - tight */
  .simple-tab { padding: 32px 0; }
  .simple-tab .row { gap: 20px; }
  .simple-tab-text h3 { font-size: 20px; }
  .simple-tab-text p { font-size: 14px; }
  .simple-tab-img img { height: 220px; }

  /* Gallery - 2 cols on tiniest phone */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-grid li img { height: 110px; }
  .gallery-main img { height: 200px; }

  /* News cards smaller */
  .news-tab img { height: 180px; }
  .news-tab h6 { font-size: 15px; }
  .news-tab p { font-size: 13px; }

  /* Experience / stats */
  .experience-area .experience-tab { padding: 22px 20px; }
  .experience-area .experience-tab .count { font-size: 48px; }

  /* Video iframe smaller */
  .video-frame iframe { height: 200px; }

  /* Final CTA */
  .form-area { padding: 56px 0; }
  .form-area .cta-heading { font-size: 22px; }
  .form-area .cta-heading span { font-size: 14px; }

  /* Footer */
  footer.footer .footer-top { padding: 40px 0 24px; }
  footer.footer .footer-logo { max-width: 160px; }
  footer.footer h5 { font-size: 12px; letter-spacing: 0.22em; }
  .hours-list li { font-size: 13px; padding: 5px 0; }
  .footer-link-list li a { font-size: 12px; }
  .copyright { padding: 14px 0; font-size: 11px; }

  /* Banner inner pages */
  .inner-banner { min-height: 280px; }
  .inner-banner h1 { font-size: 24px; }
  .inner-banner h1 span { font-size: 12px; }

  /* Logos marquee — even tighter */
  .logo-area { padding: 32px 0; }
  .logo-row { gap: 24px; animation-duration: 22s; }
  .logo-row .logo-item { height: 60px; padding: 5px 12px; border-radius: 10px; }
  .logo-row .logo-item img { max-height: 42px; max-width: 110px; }

  /* Page bodies — extra padding shave */
  .post-single .container { padding: 0 18px; }
  .content-div img { margin: 20px 0; border-radius: 8px; }

  /* Floating CTA already responsive */
}

/* Phone landscape - avoid hero clipping */
@media (max-width: 900px) and (orientation: landscape) {
  .banner-area.home-banner { min-height: 420px; }
}

/* Ensure tap targets are 44px minimum */
@media (max-width: 768px) {
  a, button, [role="button"] { min-height: 24px; }
  .social-icons a, .nav-toggle, .dialog-close,
  .sf-nav-arrow, .sf-btn, .sf-start-btn { min-height: 44px; min-width: 44px; }
}

.nav-toggle { display: none; }
