/*
Theme Name: Tampa Active Health
Theme URI: https://tampaactivehealth.com/
Author: Tampa Active Health
Description: Custom WordPress theme for Tampa Active Health.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: tampa-active-health
*/
:root {
  --color-navy: #768660;
  --color-navy-dark: #5c6a4c;
  --color-sky: #768660;
  --color-charcoal: #262a1f;
  --color-charcoal-dark: #181b15;
  --color-text: #555555;
  --color-muted: #8a9199;
  --color-bg-alt: #f5f8fb;
  --color-border: #e7ebee;
  --color-footer-bg: #6b727a;
  --color-footer-bg-dark: #5c636b;
  --color-footer-text: #c1c7ce;
  --font-heading: 'Cabin', sans-serif;
  --font-body: 'Arvo', serif;
  --container-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background: #fff;
  font-size: 14px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .reveal:nth-child(2) {
  transition-delay: .1s;
}

.services-grid .reveal:nth-child(3) {
  transition-delay: .2s;
}

.services-grid .reveal:nth-child(4) {
  transition-delay: .3s;
}

.services-grid .reveal:nth-child(5) {
  transition-delay: .4s;
}

.services-grid .reveal:nth-child(6) {
  transition-delay: .5s;
}

.services-grid .reveal:nth-child(7) {
  transition-delay: .6s;
}

.services-cards .reveal:nth-child(2),
.rating-grid .reveal:nth-child(2) {
  transition-delay: .2s;
}

.services-cards .reveal:nth-child(3),
.rating-grid .reveal:nth-child(3) {
  transition-delay: .4s;
}

.services-cards .reveal:nth-child(4) {
  transition-delay: .6s;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-weight: 700;
  margin: 0 0 .5em;
  line-height: 1.25;
}

h1 .light, h2 .light, h3 .light {
  font-weight: 400;
}

/* Icons are CSS-masked external SVGs (not inline <svg>) so dev servers that rewrite inline SVG markup can't corrupt page content */
.icon-svg {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  flex-shrink: 0;
}

.icon-location { -webkit-mask-image: url('icons/location-pin.svg'); mask-image: url('icons/location-pin.svg'); }
.icon-phone { -webkit-mask-image: url('icons/phone.svg'); mask-image: url('icons/phone.svg'); }
.icon-envelope { -webkit-mask-image: url('icons/envelope.svg'); mask-image: url('icons/envelope.svg'); }
.icon-clock { -webkit-mask-image: url('icons/clock.svg'); mask-image: url('icons/clock.svg'); }
.icon-activity { -webkit-mask-image: url('icons/activity.svg'); mask-image: url('icons/activity.svg'); }
.icon-hand { -webkit-mask-image: url('icons/hand.svg'); mask-image: url('icons/hand.svg'); }
.icon-dumbbell { -webkit-mask-image: url('icons/dumbbell.svg'); mask-image: url('icons/dumbbell.svg'); }
.icon-move { -webkit-mask-image: url('icons/move.svg'); mask-image: url('icons/move.svg'); }
.icon-scan { -webkit-mask-image: url('icons/scan.svg'); mask-image: url('icons/scan.svg'); }
.icon-zap { -webkit-mask-image: url('icons/zap.svg'); mask-image: url('icons/zap.svg'); }
.icon-traction { -webkit-mask-image: url('icons/traction.svg'); mask-image: url('icons/traction.svg'); }
.icon-disc { -webkit-mask-image: url('icons/disc.svg'); mask-image: url('icons/disc.svg'); }
.icon-care { -webkit-mask-image: url('icons/care.svg'); mask-image: url('icons/care.svg'); }
.icon-car { -webkit-mask-image: url('icons/car.svg'); mask-image: url('icons/car.svg'); }
.icon-check { -webkit-mask-image: url('icons/check.svg'); mask-image: url('icons/check.svg'); }
.icon-facebook { -webkit-mask-image: url('icons/facebook.svg'); mask-image: url('icons/facebook.svg'); }
.icon-linkedin { -webkit-mask-image: url('icons/linkedin.svg'); mask-image: url('icons/linkedin.svg'); }
.icon-instagram { -webkit-mask-image: url('icons/instagram.svg'); mask-image: url('icons/instagram.svg'); }
.icon-youtube { -webkit-mask-image: url('icons/youtube.svg'); mask-image: url('icons/youtube.svg'); }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  transition: all .25s ease;
  cursor: pointer;
}

.btn-pill {
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 13.5px;
  background: var(--color-navy);
  color: #fff;
  border: 2px solid var(--color-navy);
}

.btn-pill:hover {
  background: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
}

.btn-pill-outline {
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 13.5px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .8);
}

.btn-pill-outline:hover {
  background: #fff;
  color: var(--color-navy);
}

.btn-block {
  padding: 14px 20px;
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: var(--color-sky);
  color: #fff;
  border: none;
  width: 100%;
  text-align: center;
}

.btn-block:hover {
  background: var(--color-navy);
}

.eyebrow {
  display: block;
  color: #fff;
  font-weight: 700;
  letter-spacing: 6px;
  font-size: 15px;
  margin-bottom: 14px;
}

.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

#services,
#treatments {
  color: #fff;
}

#services {
  position: relative;
  z-index: 2;
  background: var(--color-navy-dark);
  padding-top: 130px;
  padding-bottom: 110px;
}

#services::before {
  content: "";
  position: absolute;
  top: -80px;
  right: 0;
  width: 50%;
  height: 160px;
  background: var(--color-navy-dark);
  clip-path: polygon(30% 100%, 100% 0, 100% 100%);
}

#services::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: var(--color-navy);
  clip-path: polygon(0 100%, 100% 45%, 100% 100%);
}

#treatments {
  background: var(--color-navy);
}

#services .section-head h2,
#treatments .section-head h2 {
  color: #fff;
}

#services .section-head h2 .light,
#treatments .section-head h2 .light {
  color: rgba(255, 255, 255, .75);
}

#services .section-head p,
#treatments .section-head p {
  color: rgba(255, 255, 255, .9);
}

.section-head {
  max-width: 700px;
  margin: 0 0 40px;
}

.section-head h2 {
  font-size: 38px;
}

.section-head p {
  color: var(--color-text);
}

.section-head .btn {
  margin-top: 20px;
}

.link-arrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-navy);
  margin-top: 6px;
  transition: color .2s ease, transform .2s ease;
}

.link-arrow:hover {
  color: var(--color-navy-dark);
  transform: translateX(4px);
}

/* ===== Top info bar ===== */
.info-bar {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.info-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.info-item .icon .icon-svg {
  width: 19px;
  height: 19px;
}

.info-item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #333;
  font-size: 15px;
}

.info-item span,
.info-item a {
  color: var(--color-muted);
  font-size: 13.5px;
}

/* ===== Header ===== */
.site-header {
  background: #fff;
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  font-family: var(--font-heading);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo img {
  height: 72px;
  width: auto;
}

.logo-text {
  margin-top: 2px;
  padding-left: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .5px;
  color: var(--color-navy);
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14.5px;
  color: #333;
}

.main-nav a:hover {
  color: var(--color-navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 0;
  color: #fff;
  overflow: hidden;
}

.hero-visual {
  position: relative;
  min-height: 85vh;
}

.hero-slides {
  position: relative;
  min-height: 85vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: 44px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .8);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.hero-dot.is-active {
  background: #fff;
}

.hero-rating {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 10px 16px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 13px;
}

.hero-rating-stars {
  color: #f5c518;
  letter-spacing: 1px;
}

.hero-slant {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(120deg, var(--color-navy), var(--color-navy-dark));
  clip-path: polygon(0 81%, 100% 90%, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero-footnote {
  position: absolute;
  left: 24px;
  bottom: 5px;
  z-index: 3;
  max-width: 360px;
  padding-left: 14px;
  border-left: 2px solid var(--color-navy);
}

.hero-footnote strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  margin-bottom: 6px;
}

.hero-footnote p {
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  margin: 0;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  margin-top: 6px;
}

.rating-badge-stars {
  color: #f5c518;
  letter-spacing: 1px;
}

.testimonials-section {
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.testimonials-heading {
  text-align: center;
  color: var(--color-text);
  font-size: 28px;
  margin-bottom: 36px;
}

.rating-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.rating-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: none;
  border-top: 4px solid var(--color-navy);
  border-radius: 14px;
  padding: 36px 26px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(38, 42, 31, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.rating-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(38, 42, 31, .14);
}

.rating-card--google {
  border-top-color: #4285f4;
}

.rating-card--yelp {
  border-top-color: #d32323;
}

.rating-card--chamber {
  border-top-color: var(--color-navy);
}

.brand-mark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 14px;
}

.brand-google span:nth-child(1) { color: #4285f4; }
.brand-google span:nth-child(2) { color: #ea4335; }
.brand-google span:nth-child(3) { color: #fbbc05; }
.brand-google span:nth-child(4) { color: #4285f4; }
.brand-google span:nth-child(5) { color: #34a853; }
.brand-google span:nth-child(6) { color: #ea4335; }

.brand-yelp {
  color: #d32323;
  font-style: italic;
  text-transform: lowercase;
  font-size: 24px;
}

.brand-chamber {
  color: var(--color-navy);
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.rating-card-stars {
  display: block;
  color: #f5c518;
  font-size: 24px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.rating-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-charcoal);
  margin-bottom: 6px;
}

.rating-card-label {
  font-size: 13px;
  color: var(--color-text);
}

/* ===== Insurance flywheel ===== */
.insurance-flywheel-section {
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 50px 0;
}

.flywheel-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 30px;
}

.flywheel {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.flywheel-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 60px;
  animation: flywheel-scroll 28s linear infinite;
}

.flywheel:hover .flywheel-track {
  animation-play-state: paused;
}

.flywheel-item {
  flex-shrink: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flywheel-item img {
  max-height: 100%;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes flywheel-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flywheel-track {
    animation: none;
  }
}

/* ===== Intro / About split ===== */
.about-section {
  position: relative;
  background: var(--color-sky);
  z-index: 1;
}

.about-section .container {
  position: relative;
  z-index: 2;
}

.about-section h1 {
  color: #fff;
}

.about-section h1 .light {
  color: rgba(255, 255, 255, .75);
}

.about-section p {
  color: rgba(255, 255, 255, .9);
}

.about-section p strong {
  color: #fff;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-split img {
  border-radius: 6px;
}

.bio-photo {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

.bio-photo img {
  width: 100%;
  border-radius: 6px;
}

.bio-banner {
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-charcoal), var(--color-charcoal-dark));
  border-top: 3px solid #fff;
  color: #fff;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  padding: 12px 24px 14px;
  white-space: nowrap;
  border-radius: 0 6px 0 6px;
}

.bio-banner-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #d9e0cf;
  margin-bottom: 2px;
}

.about-split h1,
.about-split h2 {
  font-size: 36px;
}

.about-split p {
  margin-bottom: 20px;
}

/* ===== Partnership ===== */
.partnership-section {
  background: var(--color-navy-dark);
}

.partnership-section h2 {
  color: #fff;
}

.partnership-section h2 .light {
  color: rgba(255, 255, 255, .75);
}

.partnership-section p {
  color: rgba(255, 255, 255, .9);
}

.partnership-eyebrow {
  display: block;
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}

.partnership-photo {
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(38, 42, 31, .15);
}

.partnership-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===== Services ===== */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card {
  background: var(--color-navy-dark);
  border: 1px solid rgba(255, 255, 255, .15);
  text-align: left;
  width: 100%;
}

.service-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  cursor: pointer;
  list-style: none;
}

.service-summary::-webkit-details-marker {
  display: none;
}

.service-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-navy);
  font-size: 24px;
}

.service-icon .icon-svg {
  width: 22px;
  height: 22px;
}

.service-card .service-icon {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.service-summary h4 {
  flex: 1;
  font-size: 18px;
  margin-bottom: 0;
  color: #fff;
}

.service-toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.service-toggle-icon::before,
.service-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.service-toggle-icon::before {
  width: 14px;
  height: 2px;
}

.service-toggle-icon::after {
  width: 2px;
  height: 14px;
  transition: transform .2s ease;
}

.service-card[open] .service-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.service-body {
  padding: 0 26px 30px;
}

.service-body p {
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 14px;
}

.service-body p:last-child {
  margin-bottom: 0;
}

/* ===== Services cards (contrasts with the stacked Treatments bars) ===== */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.service-card-item {
  position: relative;
  background-color: var(--color-muted);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--color-border);
  padding: 32px 26px;
  text-align: left;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.service-card-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(90, 90, 90, .72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.service-card-item .service-icon,
.service-card-item h4,
.service-card-item p {
  position: relative;
  z-index: 1;
}

.service-card-item .service-icon {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.service-card-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.service-card-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 0;
}

/* ===== Ask a question ===== */
.ask-question {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 36px;
}

.ask-question h3 {
  font-size: 22px;
}

.ask-question form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.ask-question input,
.ask-question textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 14px;
}

/* ===== Advantages ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
}

.advantage-item {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 26px;
}

.advantage-icon {
  flex-shrink: 0;
  width: 60px;
  height: 80px;
  border-radius: 50px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.advantage-icon .icon-svg {
  width: 22px;
  height: 22px;
}

.advantage-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.advantage-item p {
  font-size: 13.5px;
  color: var(--color-text);
  margin: 0;
}

/* ===== Testimonials ===== */
.testimonials {
  position: relative;
  background: linear-gradient(rgba(31, 41, 23, .78), rgba(31, 41, 23, .78)),
    url('https://images.unsplash.com/photo-1519824145371-296894a0daa9?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 90px 0;
}

.testimonials h2 {
  color: #fff;
  font-size: 28px;
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

/* ===== Contact ===== */
.contact-info-shared {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 36px;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.location-card .contact-info-list {
  margin-top: 20px;
}

.location-card .map-embed {
  margin-top: 24px;
}

.location-card .map-embed iframe {
  height: 300px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 30px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  border: 1px solid var(--color-border);
}

.contact-info-item .icon .icon-svg {
  width: 20px;
  height: 20px;
}

.contact-info-item h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 13.5px;
  color: var(--color-muted);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 40px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 16px;
}

.contact-form button {
  width: 100%;
}

.map-embed {
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-embed iframe {
  width: 100%;
  height: 460px;
  border: 0;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-top: 50px;
}

.footer-social {
  display: flex;
  gap: 12px;
  padding-bottom: 40px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--color-footer-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.footer-social a .icon-svg {
  width: 17px;
  height: 17px;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.footer-contact-row .info-item .icon {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
}

.footer-contact-row .info-item strong {
  color: #fff;
}

.footer-contact-row .info-item span,
.footer-contact-row .info-item a {
  color: var(--color-footer-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
  max-width: 900px;
}

.footer-grid h5 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 22px;
}

.footer-about p {
  font-size: 14px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 64px;
  width: auto;
  background: #f5f8fb;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-hours li.is-open {
  font-weight: 700;
  color: #fff;
}

.footer-bottom {
  background: var(--color-footer-bg-dark);
  font-size: 13px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px 24px;
}

.footer-bottom-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 700;
}

.footer-bottom-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-split,
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-footnote {
    max-width: 230px;
    padding-left: 12px;
  }

  .hero-footnote strong {
    font-size: 13px;
  }

  .hero-footnote p {
    font-size: 11.5px;
  }

  .hero-dots {
    bottom: 20px;
  }
}

.info-item--lab-hours {
  display: none;
}

@media (max-width: 760px) {


  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 12px 20px rgba(0, 0, 0, .08);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
  }

  .hero,
  .hero-slides {
    min-height: 85vh;
  }

  .hero-slide {
    text-align: center;
    padding: 100px 0 140px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-content p {
    margin-bottom: 28px;
  }

  .hero-actions {
    justify-content: center;
    gap: 20px;
    row-gap: 16px;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}


/* =========================================
   TAMPA ACTIVE HEALTH — BENEFITS SECTION
   ========================================= */

#services.tah-benefits-section {
  background-color: #5c6a4c;
  color: #ffffff;
  padding: 100px 0;
  width: 100%;
}

/* CONTAINER */
#services .tah-benefits-container {
  width: min(100% - 48px, 1440px);
  margin: 0 auto;
}

/* TWO COLUMN LAYOUT */
#services .tah-benefits-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
}

/* LEFT CONTENT */
#services .tah-benefits-intro {
  min-width: 0;
}

#services .tah-benefits-heading {
  font-family: 'Cabin', sans-serif;
  font-size: clamp(36px, 3.4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: #ffffff;
  margin: 0 0 30px;
}

#services .tah-benefits-heading-light {
  color: #d5ddcb;
  font-weight: 400;
}

#services .tah-benefits-description {
  font-family: 'Arvo', serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  color: #f1f3ed;
  margin: 0 0 20px;
  max-width: 590px;
}

#services .tah-benefits-description:last-child {
  margin-bottom: 0;
}

/* RIGHT LIST */
#services .tah-benefits-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* INDIVIDUAL ITEM */
#services .tah-benefits-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 27px 0;
  border-bottom: 1px solid rgba(255,255,255,0.22);
}

#services .tah-benefits-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.22);
}

/* CHECK ICON */
#services .tah-benefits-check {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.13);
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}

/* ITEM CONTENT */
#services .tah-benefits-item-content {
  flex: 1;
  min-width: 0;
}

#services .tah-benefits-item-title {
  font-family: 'Cabin', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 8px;
}

#services .tah-benefits-item-text {
  font-family: 'Arvo', serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  color: #e4e9df;
  margin: 0;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {
  #services.tah-benefits-section {
    padding: 80px 0;
  }

  #services .tah-benefits-layout {
    gap: 45px;
  }

  #services .tah-benefits-heading {
    font-size: clamp(32px, 4vw, 44px);
  }

  #services .tah-benefits-item-title {
    font-size: 20px;
  }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 760px) {
  #services.tah-benefits-section {
    padding: 65px 0;
  }

  #services .tah-benefits-container {
    width: calc(100% - 40px);
  }

  #services .tah-benefits-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  #services .tah-benefits-heading {
    font-size: clamp(32px, 8vw, 40px);
    letter-spacing: -0.7px;
    margin-bottom: 22px;
  }

  #services .tah-benefits-description {
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 16px;
  }

  #services .tah-benefits-item {
    gap: 16px;
    padding: 22px 0;
  }

  #services .tah-benefits-check {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  #services .tah-benefits-item-title {
    font-size: 19px;
    margin-bottom: 6px;
  }

  #services .tah-benefits-item-text {
    font-size: 12px;
    line-height: 1.75;
  }
}


/* Refine services section layout */

#services .tah-benefits-layout {
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: start;
}

#services .tah-benefits-heading {
  font-size: clamp(36px, 3vw, 46px);
  line-height: 1.18;
  margin-bottom: 26px;
}

#services .tah-benefits-item {
  padding: 22px 0;
  gap: 18px;
}

#services .tah-benefits-check {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  font-size: 20px;
}

#services .tah-benefits-item-title {
  font-size: 20px;
  margin-bottom: 6px;
}

/* Keep mobile layout stacked */
@media (max-width: 760px) {
  #services .tah-benefits-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  #services .tah-benefits-heading {
    font-size: 34px;
  }
}


/* Balance the two columns */
#services .tah-benefits-layout {
  align-items: center;
  gap: 80px;
}

/* More breathing room around content */
#services .tah-benefits-container {
  width: min(100% - 80px, 1440px);
}

/* Improve text hierarchy */
#services .tah-benefits-description {
  font-size: 14px;
  line-height: 1.85;
}

#services .tah-benefits-item-text {
  font-size: 12.5px;
  line-height: 1.7;
}

/* Mobile adjustments */
@media (max-width: 760px) {
  #services .tah-benefits-container {
    width: calc(100% - 40px);
  }

  #services .tah-benefits-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}


/* Remove slanted edges from Services section */
#services.tah-benefits-section {
  clip-path: none !important;
  transform: none;
  border-radius: 0;
}

#services.tah-benefits-section::before,
#services.tah-benefits-section::after {
  content: none !important;
  display: none !important;
}

