/*
Theme Name: Orlando Senior Safety
Theme URI: https://orlandoseniorsafety.com
Description: White-label lead-gen theme for Orlando Senior Safety.
Version: 1.0.0
*/

:root {
  --orange: #0F2E2A;
  --orange-dark: #143B36;
  --accent: #D9F25C;
  --dark: #1a1a1a;
  --gray: #4a4a4a;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --border: #e0e0e0;

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-size-base: 1rem;
  --line-height: 1.65;

  --max-width: 1100px;
  --section-pad: clamp(3rem, 6vw, 5rem);
  --radius: 6px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.5rem; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--dark); }
h1, h2, h3 { font-family: 'Barlow Condensed', var(--font-sans); }

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--light-gray); }
.section--orange { background: var(--orange); color: var(--white); }
.section--orange h2, .section--orange p { color: var(--white); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 16px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border: none;
}
.btn--primary { background: var(--accent); color: var(--orange); }
.btn--primary:hover { background: #C8E04F; text-decoration: none; color: var(--orange); }
.btn--primary:active { transform: scale(0.98); }
.btn--large { padding: 1.1rem 1.75rem; font-size: 1.15rem; }
.btn--white { background: var(--white); color: var(--orange); }
.btn--white:hover { background: #f0f0f0; text-decoration: none; color: var(--orange); }
.btn--outline { background: transparent; border: 2px solid var(--accent); color: var(--orange); }
.btn--outline:hover { background: var(--accent); border-color: var(--accent); color: var(--orange); text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.site-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; font-weight: 700; color: var(--orange); text-decoration: none; flex-shrink: 0; }
.site-logo:hover { text-decoration: none; color: var(--orange); }
.site-logo img { height: 60px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 0; list-style: none; padding: 0; margin: 0; }
.primary-nav a { display: block; padding: 0.5rem 0.9rem; font-size: 0.9rem; font-weight: 600; color: var(--dark); text-decoration: none; border-radius: var(--radius); transition: background 0.15s; }
.primary-nav a:hover { background: var(--light-gray); }

.header-cta { flex-shrink: 0; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); transition: transform 0.2s, opacity 0.2s; }

.site-footer { background: var(--orange); color: rgba(255,255,255,0.85); padding: 3rem 0 0; padding-bottom: calc(1rem + 60px); }
@media (min-width: 768px) { .site-footer { padding-bottom: 0; } }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-logo { display: block; font-size: 1.05rem; font-weight: 700; color: var(--white); text-decoration: none; margin-bottom: 0.75rem; }
.footer-logo:hover { color: var(--accent); text-decoration: none; }
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.65; }
.footer-col__heading { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 1rem; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav li, .footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); text-decoration: none; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: rgba(255,255,255,0.85); }
.footer-contact a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-contact a:hover { color: var(--accent); text-decoration: none; }
.footer-contact__icon { flex-shrink: 0; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.55); padding: 1.5rem 0 calc(1.5rem + 60px); border-top: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 768px) { .footer-copy { padding-bottom: 1.5rem; } }
.footer-copy a { color: rgba(255,255,255,0.7); }
.footer-copy a:hover { color: var(--accent); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer-col--brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.mobile-sticky-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: var(--accent); color: var(--orange); text-align: center; padding: 0.75rem 1rem; font-weight: 700; font-size: 1rem; text-decoration: none; justify-content: center; align-items: center; gap: 0.5rem; box-shadow: 0 -2px 12px rgba(0,0,0,0.15); }
.mobile-sticky-bar:hover { background: #C8E04F; text-decoration: none; color: var(--orange); }
@media (max-width: 767px) {
  .mobile-sticky-bar { display: flex; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .header-inner { height: auto; padding: 24px 0; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); flex-direction: column; padding: 0.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 0.75rem 1rem; }
}

.hero { position: relative; overflow: hidden; color: var(--white); padding: 0; text-align: left; background: var(--orange); }
.hero__video-bg { position: absolute; inset: 0; z-index: 0; }
.hero__video-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero__video-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,46,42,0.95) 0%, rgba(15,46,42,0.85) 45%, rgba(15,46,42,0.5) 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(480px, 55vw, 640px); }
.hero__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 5rem) 2rem clamp(3rem, 6vw, 5rem) 0; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero .subheadline { font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,0.92); max-width: 520px; margin-inline: 0; margin-bottom: 2rem; }
.hero .trust-strip { margin-top: 2rem; justify-content: flex-start; }
.hero .trust-strip__item { color: rgba(255,255,255,0.95); }
@media (max-width: 767px) {
  .hero { text-align: center; }
  .hero__video-bg::after { background: rgba(15,46,42,0.92); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { padding: clamp(3rem, 8vw, 5rem) 0; }
  .hero .subheadline { margin-inline: auto; }
  .hero .trust-strip { justify-content: center; }
}

.trust-strip { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.trust-strip__item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 600; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.card__name { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.3rem; }
.card__desc { font-size: 0.875rem; color: var(--gray); margin-bottom: 1rem; }
.card__link { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--orange); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.service-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #F7F6F1; }
.service-card__name { font-size: 1.1rem; font-weight: 700; padding: 1rem 1rem 0.5rem; }
.service-card__name a { color: var(--orange); }
.service-card__desc { font-size: 0.9rem; color: var(--gray); padding: 0 1rem 1rem; flex: 1; }

.section--how-it-works { background: #F7F6F1; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 2rem; }
.step { text-align: center; }
.step__number { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--accent); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.step__icon { width: 44px; height: 44px; margin: 0 auto 0.75rem; }

.faq-list { margin-top: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 1rem 0; font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--orange); }
.faq-question::after { content: '+'; font-size: 1.4rem; font-weight: 400; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.is-open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 1rem; color: var(--gray); font-size: 0.95rem; }
.faq-item.is-open .faq-answer { display: block; }

.cta-inline { background: var(--orange); color: var(--white); border-radius: 16px; padding: 1.5rem 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 2rem 0; }
.cta-inline__left { display: flex; align-items: center; gap: 1.25rem; }
.cta-inline__icon { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.cta-inline__text { color: var(--white); font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; margin-bottom: 0.25rem; }
.cta-inline__sub { color: rgba(255,255,255,0.9); font-size: clamp(1rem, 2vw, 1.15rem); margin-top: 0; }
@media (max-width: 767px) { .cta-inline { text-align: center; justify-content: center; } .cta-inline__icon { display: none; } .cta-inline__left { justify-content: center; width: 100%; } }

.cta-bottom { background: var(--orange); padding: var(--section-pad) 0; text-align: center; }
.cta-bottom h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-bottom p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }

.breadcrumb { font-size: 0.825rem; color: var(--gray); padding-block: 0.75rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb__sep { color: var(--border); }

.page-hero { --oss-page-hero-bg: none; background: var(--orange) var(--oss-page-hero-bg) center/cover no-repeat; padding: clamp(3rem, 6vw, 5rem) 1rem; text-align: center; position: relative; color: var(--white); }
.page-hero--has-bg::before { content: ''; position: absolute; inset: 0; background: rgba(15,46,42,0.78); }
.page-hero__inner { position: relative; max-width: 800px; margin: 0 auto; color: var(--white); }
.page-hero__title { color: var(--white); }
.page-hero__subtitle, .page-hero__sub { color: rgba(255,255,255,0.9); }
.page-hero__eyebrow { color: var(--accent); }
.page-hero__breadcrumb a, .page-hero__breadcrumb { color: rgba(255,255,255,0.85); }

.species-hero { --oss-hero-bg: none; background: #F7F6F1 var(--oss-hero-bg) center/cover no-repeat; padding: clamp(2rem, 5vw, 4rem) 0; position: relative; }
.species-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.species-hero__sub { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--gray); margin-bottom: 1.5rem; }
@media (max-width: 767px) { .species-hero__grid { grid-template-columns: 1fr; } }

.identifier-block { background: #F7F6F1; border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; }
.identifier-block h3 { margin-bottom: 1rem; }
.identifier-list { list-style: none; padding: 0; }
.identifier-list li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); display: flex; gap: 0.5rem; }
.identifier-list li::before { content: '>'; color: var(--orange); flex-shrink: 0; font-weight: 700; }
.identifier-list li:last-child { border-bottom: none; }

.service-link-block { border: 2px solid var(--orange); border-radius: var(--radius); padding: 1.25rem; margin: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

.process-steps { counter-reset: step-counter; margin-top: 1.5rem; }
.process-step { display: flex; gap: 1rem; margin-bottom: 1.5rem; counter-increment: step-counter; }
.process-step::before { content: counter(step-counter); display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--accent); font-weight: 700; flex-shrink: 0; }

.guarantee-block { background: #F7F6F1; border-left: 4px solid var(--accent); padding: 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.blog-card__img { width: 100%; height: 200px; object-fit: cover; background: #F7F6F1; }
.blog-card__body { padding: 1.25rem; }
.blog-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.blog-card__excerpt { font-size: 0.875rem; color: var(--gray); margin-bottom: 1rem; }

.post-content h2 { margin-top: 2rem; }
.post-content h3 { margin-top: 1.5rem; }
.post-content ul, .post-content ol { margin-bottom: 1rem; }
.post-content li { margin-bottom: 0.35rem; }

.service-area-block { background: #F7F6F1; border-radius: var(--radius); padding: 1.5rem; margin: 2rem 0; }
.service-area-cities { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.service-area-cities span { background: var(--white); border: 1px solid var(--border); border-radius: 50px; padding: 0.2rem 0.75rem; font-size: 0.85rem; }

.cities-detail { display: flex; flex-direction: column; gap: 3rem; margin-top: 2rem; }
.city-detail__name { font-size: 1.5rem; margin-bottom: 0.75rem; }
.city-detail__short { font-size: 1.05rem; color: var(--gray); margin-bottom: 1rem; }
.city-detail__long p { margin-bottom: 1rem; }
.city-detail__map { margin-top: 1rem; }

.neighborhoods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.neighborhood-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.neighborhood-card__name { font-size: 1.15rem; margin-bottom: 0.5rem; }
.neighborhood-card__name a { color: var(--orange); }
.neighborhood-card__map { margin-top: 1rem; }

.contact-phone-block { text-align: center; padding: 3rem 0; }
.contact-phone-number { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--orange); text-decoration: none; display: block; }
.contact-phone-number:hover { color: var(--orange-dark); text-decoration: none; }

.split-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 767px) { .split-layout { grid-template-columns: 1fr; } }
.split-layout__image img { border-radius: var(--radius); }

.lead-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.lead-form h3 { margin-bottom: 0.25rem; }
.lead-form__sub { color: var(--gray); margin-bottom: 1rem; }
.lead-form input, .lead-form select { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; margin-bottom: 0.75rem; font-family: inherit; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.lead-form__submit { width: 100%; background: var(--accent); color: var(--orange); border: none; padding: 0.95rem; font-weight: 700; font-size: 1rem; border-radius: var(--radius); cursor: pointer; }
.lead-form__submit:hover { background: #C8E04F; }
.lead-form__reassurance { font-size: 0.8rem; color: var(--gray); text-align: center; margin-top: 0.75rem; margin-bottom: 0; }
.lead-form__notice { padding: 0.75rem; border-radius: var(--radius); margin-bottom: 0.75rem; font-size: 0.9rem; }
.lead-form__notice--ok { background: #e7f7ec; color: #1a6e2e; }
.lead-form__notice--err { background: #fdecea; color: #b3261e; }

.section-subhead { font-size: 1.05rem; color: var(--gray); max-width: 620px; margin-inline: auto; margin-bottom: 0; }

.species-showcase { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 1.5rem; margin-top: 2.5rem; }
.species-card { flex: 0 0 210px; text-align: center; text-decoration: none; color: inherit; transition: transform 0.2s; }
.species-card:hover { transform: translateY(-4px); text-decoration: none; }
.species-card img { width: 100%; height: 130px; object-fit: contain; margin-bottom: 0.75rem; }
.species-card__name { font-weight: 700; font-size: 1rem; color: var(--orange); margin-bottom: 0.35rem; }
.species-card__desc { font-size: 0.875rem; color: var(--gray); line-height: 1.5; }
@media (max-width: 520px) { .species-card { flex: 0 0 calc(50% - 0.75rem); } .species-card img { height: 100px; } }

.eyebrow { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.5rem; }

.services-intro { text-align: center; margin-bottom: 2rem; }
.services-intro p { max-width: 720px; margin: 0.5rem auto 0; color: var(--gray); }

.service-area-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 767px) { .service-area-layout { grid-template-columns: 1fr; } }
.service-area-layout__video video { width: 100%; border-radius: var(--radius); }

.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
