/* ==========================================================================
   Dr. Thennarasu Multispeciality Clinic — Stylesheet
   ========================================================================== */

:root {
  --primary: #001f5d;
  --primary-dark: #00133b;
  --accent: #f28500;
  --accent-dark: #a85900;
  --soft-bg: #fdf4e8;
  --white: #ffffff;
  --body-text: #35404d;
  --border: #ead9c2;
  --muted: #677485;

  --font-heading: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(0, 31, 93, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 31, 93, 0.12);

  --container-w: 1200px;
  --header-h: 68px;
}

@media (min-width: 1024px) {
  :root {
    --header-h: 96px;
  }
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

section {
  scroll-margin-top: calc(var(--header-h) + 14px);
}

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

@media (max-width: 599px) {
  .container {
    padding: 0 18px;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--primary);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

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

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 2px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.section-head {
  max-width: 720px;
  margin: 0 0 44px;
}

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

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

/* Wide heading kept on one line once the screen has room for it */
.section-head-wide {
  max-width: none;
}

@media (min-width: 768px) {
  .section-head-wide h2 {
    font-size: clamp(1.4rem, 2.9vw, 2.1rem);
    white-space: nowrap;
  }
}

.section-pad {
  padding: 72px 0;
}

.bg-soft {
  background: var(--soft-bg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

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

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

.btn-white:hover {
  background: var(--soft-bg);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand {
  flex-shrink: 0;
}

.brand img {
  height: 58px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .brand img {
    height: 80px;
    max-width: 320px;
  }
}

.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 30px);
}

.nav-list a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--primary);
  padding: 8px 2px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-list a:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn {
  padding: 11px 18px;
  font-size: 0.88rem;
}

.btn-whatsapp {
  gap: 9px;
  border-radius: 999px;
  line-height: 1;
}

.header-actions .btn-whatsapp {
  padding: 10px 20px 10px 16px;
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: var(--primary);
  color: var(--white);
}

@media (max-width: 479px) {
  .header-actions .btn-whatsapp {
    width: 42px;
    height: 42px;
    padding: 0;
  }
  .btn-whatsapp-label {
    display: none;
  }
}

.hide-mobile {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 480;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

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

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.mobile-nav a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  padding: 14px 6px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
  .hide-mobile {
    display: inline-flex;
  }
  .nav-toggle,
  .mobile-nav {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--soft-bg) 0%, #ffffff 100%);
  padding: 40px 0 28px;
}

/* Centered stack: headline, banner slider, then copy and actions */
.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stack h1 {
  font-size: clamp(1.75rem, 4.4vw, 2.9rem);
  line-height: 1.18;
  margin-bottom: 28px;
  text-wrap: balance;
}

.hero-subhead {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 1.08rem;
  margin: 28px 0 10px;
}

.hero-stack > p.hero-desc {
  font-size: 1.04rem;
  color: var(--body-text);
  max-width: 72ch;
  margin: 0 auto;
}

.hero-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.hero-hours {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.hero-hours svg {
  width: 20px;
  height: 20px;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.hero-hours .hours-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-hours .hours-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.98rem;
}

/* Full-width banner slider; banners are 1200x400 (3:1) */
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--soft-bg);
  box-shadow: 0 18px 40px rgba(0, 31, 93, 0.12);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

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

.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(0, 31, 93, 0.25);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.hero-dot.is-active {
  width: 24px;
  background: var(--accent);
}

@media (max-width: 599px) {
  .hero-slider {
    border-radius: var(--radius-sm);
  }
  .hero-slider-dots {
    bottom: 6px;
  }
  .hero-dot {
    width: 7px;
    height: 7px;
  }
  .hero-dot.is-active {
    width: 18px;
  }
  /* Stack the hours card and buttons at one consistent width */
  .hero-action-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    gap: 12px;
  }
  .hero-action-row > * {
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 56px 0 42px;
  }
  .hero-stack h1 {
    font-size: min(2.5rem, 3.3vw);
  }
}

/* ---------- About ---------- */
/* Half the usual section gap below the hero */
#about.section-pad {
  padding-top: 36px;
}

.about-intro {
  margin-bottom: 32px;
  text-align: center;
}

.about-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.about-intro p {
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.04rem;
  margin-bottom: 12px;
}

/* Phones: long intro paragraphs read better left-aligned; heading stays centred */
@media (max-width: 599px) {
  .about-intro p {
    text-align: left;
  }
}

.about-intro p:last-child {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about-copy .tagline-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  background: var(--soft-bg);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.mv-list {
  display: grid;
  gap: 18px;
}

.mv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
}

.mv-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mv-head .icon-badge {
  flex-shrink: 0;
}

.mv-head h3 {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.mv-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.mv-card .mv-quote {
  color: var(--accent-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.value-item .icon-badge {
  flex-shrink: 0;
}

.value-item strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.value-item span {
  color: var(--muted);
  font-size: 0.93rem;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.about-media .media-exterior {
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  filter: drop-shadow(0 24px 28px rgba(15, 23, 42, 0.18));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* Tablet: stack the about block — Vision & Mission side by side, photo centred below */
@media (min-width: 640px) and (max-width: 1023px) {
  .mv-list {
    grid-template-columns: 1fr 1fr;
  }
  .about-media {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .about-intro {
    margin-bottom: 40px;
  }
  .about-grid {
    grid-template-columns: 1fr 0.95fr;
    gap: 64px;
  }
}

/* ---------- Icon badges ---------- */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft-bg);
  color: var(--accent-dark);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.icon-badge.lg {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.icon-badge.lg svg {
  width: 27px;
  height: 27px;
}

/* ---------- Doctors ---------- */
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.doctor-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.doctor-photo {
  aspect-ratio: 4 / 3.1;
  overflow: hidden;
  background: var(--soft-bg);
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

/* Subtle scale-only emphasis; touch devices keep the photo static */
@media (hover: hover) {
  .doctor-card:hover .doctor-photo img {
    transform: scale(1.04);
  }
}

.doctor-body {
  padding: 26px 28px 28px;
}

.doctor-body h3 {
  font-size: 1.28rem;
  margin-bottom: 2px;
}

.doctor-qual {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.doctor-specialty {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.doctor-desc {
  font-size: 0.96rem;
  margin-bottom: 14px;
}

.doctor-availability {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--soft-bg);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--primary);
}

.doctor-availability svg {
  width: 18px;
  height: 18px;
  color: var(--accent-dark);
  flex-shrink: 0;
  margin-top: 1px;
}

@media (min-width: 720px) {
  .doctor-card {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .doctor-photo {
    aspect-ratio: auto;
  }
}

@media (min-width: 1024px) {
  .doctor-grid {
    grid-template-columns: 1fr 1fr;
  }
  .doctor-card {
    grid-template-columns: 1fr;
  }
  .doctor-photo {
    aspect-ratio: 4 / 3.1;
  }
}

/* ---------- Dental specialists (no photo) ---------- */
.specialist-block {
  margin-top: 48px;
}

.specialist-title {
  text-align: center;
  font-size: 1.35rem;
  margin-bottom: 24px;
}

.specialist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.specialist-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.specialist-card .icon-badge {
  flex-shrink: 0;
}

.specialist-card h4 {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  margin: 0 0 4px;
}

.specialist-card .doctor-specialty {
  margin-bottom: 0;
}

@media (hover: hover) {
  .specialist-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}

@media (min-width: 640px) {
  .specialist-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .specialist-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Services ---------- */
.service-category {
  margin-bottom: 44px;
}

.service-category:last-of-type {
  margin-bottom: 0;
}

.service-category-head {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--soft-bg);
}

.service-category-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 56px;
  height: 2px;
  background: var(--accent);
}

.service-category-head h3 {
  font-size: 1.3rem;
  margin: 0;
}

/* Flex grid: rows share one card width, aligned to the left */
.service-grid {
  --cols: 1;
  --gap: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--gap);
}

.service-grid > .service-card {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.service-card h4 {
  font-size: 1rem;
  margin: 0;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

@media (min-width: 560px) {
  .service-grid {
    --cols: 2;
  }
}

@media (min-width: 1024px) {
  .service-grid {
    --cols: 4;
  }
}

/* Detailed cards: fewer, wider columns so expanded lists stay readable */
@media (min-width: 1024px) {
  .service-grid.is-detailed {
    --cols: 3;
  }
}

.service-grid.is-detailed .service-card > p {
  font-size: 0.9rem;
}

.service-card.is-urgent {
  border-color: var(--accent);
}

/* Expandable details */
.service-more {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.service-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent-dark);
  border-radius: 6px;
}

.service-more summary::-webkit-details-marker {
  display: none;
}

.service-more summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.service-more[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.service-more summary:hover {
  color: var(--primary);
}

.service-more summary:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 2px;
}

.service-more .more-open,
.service-more[open] .more-closed {
  display: none;
}

.service-more[open] .more-open {
  display: inline;
}

.service-items {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.service-items li {
  position: relative;
  padding-left: 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.service-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.service-items strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--primary);
}

.service-detail {
  margin-top: 10px;
}

.service-detail p {
  margin: 0 0 10px;
  line-height: 1.6;
}

.service-detail p:last-child {
  margin-bottom: 0;
}

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.why-card .icon-badge {
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

@media (min-width: 600px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: stretch;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.contact-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:first-of-type {
  padding-top: 0;
}

.contact-row:last-of-type {
  border-bottom: none;
}

.contact-row svg {
  width: 22px;
  height: 22px;
  color: var(--accent-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.contact-row a,
.contact-row span {
  color: var(--body-text);
  font-size: 0.96rem;
}

.contact-row a:hover {
  color: var(--accent-dark);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  min-height: 320px;
  position: relative;
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

/* ---------- Final banner ---------- */
.final-banner {
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent-dark) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.final-banner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.3;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.final-banner p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin: 0 auto 26px;
  font-size: 1.02rem;
}

.final-banner-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

.final-banner-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.final-banner-meta svg {
  width: 18px;
  height: 18px;
}

.final-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.footer-brand .logo-plate {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.footer-brand .logo-plate {
  max-width: 100%;
}

/* 44px × 1.3 */
.footer-brand img {
  height: 57px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand .tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-brand .categories {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
}

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

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-col a:hover {
  color: var(--white);
}

.nowrap {
  white-space: nowrap;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
}

/* Phones & tablets: stack and centre the copyright line so nothing crowds the edges */
@media (max-width: 1023px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 24px;
  }
}

.footer-credit {
  color: var(--white);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-credit:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1.2fr;
    column-gap: 40px;
  }
}

/* Visit Us gets the widest column so the phone line fits on one line */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.25fr 1.5fr 0.8fr 1.15fr;
    column-gap: 44px;
  }
  .footer-visit {
    padding-right: 8px;
  }
}

/* ---------- Gallery carousel ---------- */
.gallery-carousel {
  --per-view: 2;
  --gap: 12px;
  position: relative;
}

@media (min-width: 600px) {
  .gallery-carousel {
    --per-view: 3;
    --gap: 16px;
  }
}

@media (min-width: 1024px) {
  .gallery-carousel {
    --per-view: 5;
    --gap: 18px;
  }
}

.gallery-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-track {
  display: flex;
  gap: var(--gap);
  will-change: transform;
}

.gallery-track.no-transition {
  transition: none;
}

.gallery-slide {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--soft-bg);
  box-shadow: var(--shadow-sm);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery-nav:hover {
  background: var(--primary);
  color: var(--white);
}

.gallery-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-prev {
  left: -10px;
}

.gallery-next {
  right: -10px;
}

@media (min-width: 1280px) {
  .gallery-prev {
    left: -22px;
  }
  .gallery-next {
    right: -22px;
  }
}

/* ---------- Utilities ---------- */
.no-scroll {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Floating call / WhatsApp buttons ---------- */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 470;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fab-float 3s ease-in-out infinite;
}

.fab svg {
  width: 26px;
  height: 26px;
}

.fab-call {
  background: var(--primary);
}

.fab-whatsapp {
  background: #25d366;
  animation-delay: 1.5s;
}

.fab-whatsapp svg {
  width: 30px;
  height: 30px;
}

.fab:hover,
.fab:focus-visible {
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  animation-play-state: paused;
}

@keyframes fab-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .fab {
    animation: none;
  }
}

@media (max-width: 479px) {
  .floating-contact {
    right: 16px;
    bottom: 16px;
  }
  .fab {
    width: 50px;
    height: 50px;
  }
}

/* ---------- Scroll progress bar (sits just below the sticky header) ---------- */
.scroll-progress {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 3px;
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- Google reviews carousel ---------- */
.reviews-carousel {
  --per-view: 1;
  --gap: 16px;
  position: relative;
}

@media (min-width: 700px) {
  .reviews-carousel {
    --per-view: 2;
    --gap: 20px;
  }
}

@media (min-width: 1024px) {
  .reviews-carousel {
    --per-view: 3;
    --gap: 24px;
  }
}

.reviews-viewport {
  overflow: hidden;
  margin: -12px 0;
  padding: 12px 0;
}

.reviews-track {
  display: flex;
  align-items: stretch;
  gap: var(--gap);
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
  touch-action: pan-y;
}

.review-card {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--avatar, var(--primary));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.review-author {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.review-author strong {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1rem;
}

.review-author span {
  color: var(--muted);
  font-size: 0.82rem;
}

.review-google {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-stars {
  display: inline-flex;
  gap: 2px;
  color: #fbbc04;
}

.review-stars svg {
  width: 18px;
  height: 18px;
}

.review-date {
  color: var(--muted);
  font-size: 0.85rem;
}

.review-card p {
  margin: 0;
  color: var(--body-text);
  line-height: 1.65;
}

.section-head .reviews-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.85rem;
}

.reviews-note svg {
  width: 16px;
  height: 16px;
}


.reviews-viewport {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.reviews-viewport.is-dragging {
  cursor: grabbing;
}

.reviews-viewport.is-dragging .review-card {
  transform: none;
}
