/* ============================================
   Scala Staffing — High-Converting Website
   Fast, accessible, mobile-first, SEO-ready
   ============================================ */

:root {
  /* Matched to original Scala Staffing palette */
  --color-primary: #0d9488;
  --color-primary-dark: #0a7c74;
  --color-primary-light: #14b8a6;
  --color-teal-alt: #008080;
  --color-navy: #0f0f0f;
  --color-slate: #1e293b;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f7;
  --color-bg-dark: #0f0f0f;
  --color-success: #10b981;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --max-width: 1120px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--color-primary-dark); }

ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }

.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;
}

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 1000;
  background: var(--color-primary); color: white; padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.95rem; border-radius: 9999px;
  padding: 0.75rem 1.5rem; border: 2px solid transparent;
  cursor: pointer; transition: all 0.2s; text-align: center;
  line-height: 1.25; white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary); color: white; border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: white;
}
.btn-secondary {
  background: transparent; color: var(--color-navy); border-color: var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-primary); color: var(--color-primary);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.875rem; }

/* Header — dark like original site */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: var(--header-h);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 1.5rem;
}
.logo {
  display: flex; align-items: center; gap: 0.5rem; color: #fff;
  flex-shrink: 0;
}
.logo img { height: 48px; width: auto; }
.logo:hover { color: #fff; opacity: 0.95; }
.logo-text { display: none; } /* using full logo image */

.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  display: block; padding: 0.5rem 0.85rem; font-weight: 500; font-size: 0.9rem;
  color: rgba(255,255,255,0.85); border-radius: var(--radius-sm);
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(13,148,136,0.25); }

.nav-item-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: white; border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 0.5rem; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all 0.2s;
}
.nav-item-dropdown:hover .dropdown,
.nav-item-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 0.6rem 0.85rem; color: var(--color-slate);
  border-radius: var(--radius-sm); font-size: 0.9rem;
}
.dropdown a:hover { background: var(--color-bg-alt); color: var(--color-primary); }

.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle {
  display: flex; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 0.5rem;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: #fff;
  transition: all 0.2s;
}

/* Dual CTA group (Hire Talent / Looking for Work) */
.cta-group {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
}
.btn-outline-light {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1); border-color: #fff; color: #fff;
}

/* Mobile nav */
@media (min-width: 900px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(160deg, #f0fdfa 0%, #ffffff 50%, #f8fafc 100%);
}
.hero-inner {
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
}
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.15rem); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.15rem; color: var(--color-muted); max-width: 36rem;
  margin-bottom: 1.75rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
}
.trust-item { display: flex; flex-direction: column; gap: 0.15rem; }
.trust-item strong { font-size: 0.9rem; color: var(--color-navy); }
.trust-item span { font-size: 0.8rem; color: var(--color-muted); }

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border); overflow: hidden; max-width: 340px; width: 100%;
}
.hero-card-header {
  background: var(--color-slate); padding: 0.65rem 1rem; display: flex; gap: 6px;
}
.hero-card-header .dot {
  width: 10px; height: 10px; border-radius: 50%; background: #64748b;
}
.hero-card-body { padding: 1.5rem; }
.hero-card-title { font-weight: 700; margin-bottom: 1rem; font-size: 1.05rem; }
.hero-card-list { margin-bottom: 1.25rem; }
.hero-card-list li {
  padding: 0.35rem 0; font-size: 0.95rem; color: var(--color-slate);
}
.hero-card-badge {
  display: inline-block; background: #ccfbf1; color: #0f766e;
  font-size: 0.8rem; font-weight: 600; padding: 0.4rem 0.85rem;
  border-radius: 9999px;
}

/* Trust Bar */
.trust-bar {
  background: var(--color-navy); color: white; padding: 2rem 0;
}
.trust-bar-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
@media (min-width: 700px) {
  .trust-bar-grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-bar-item { text-align: center; }
.trust-number {
  display: block; font-size: 1.75rem; font-weight: 800; color: var(--color-primary-light);
  line-height: 1.2;
}
.trust-label { font-size: 0.85rem; color: #94a3b8; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 0.85rem; line-height: 1.25;
}
.section-sub { color: var(--color-muted); font-size: 1.1rem; }

/* Problem / Solution */
.ps-grid {
  display: grid; gap: 1.5rem;
}
@media (min-width: 700px) {
  .ps-grid { grid-template-columns: 1fr 1fr; }
}
.ps-card {
  padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border);
}
.ps-card.problem { background: #fef2f2; border-color: #fecaca; }
.ps-card.solution { background: #f0fdfa; border-color: #99f6e4; }
.ps-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.ps-card ul li {
  position: relative; padding-left: 1.4rem; margin-bottom: 0.6rem;
  color: var(--color-slate);
}
.ps-card ul li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
.ps-card.problem ul li::before { background: #ef4444; }
.ps-card.solution ul li::before { background: var(--color-primary); }

/* Services */
.services { background: var(--color-bg-alt); }
.services-grid {
  display: grid; gap: 1.5rem;
}
@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}
.service-card {
  background: white; border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid var(--color-border); box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #ccfbf1; color: #0f766e; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; margin-bottom: 1.15rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 1.15rem; }
.service-link { font-weight: 600; font-size: 0.9rem; }

/* Process */
.process-steps {
  display: grid; gap: 1.5rem; counter-reset: step;
}
@media (min-width: 700px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}
.process-step {
  background: white; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.75rem; position: relative;
}
.step-num {
  display: block; font-size: 1.5rem; font-weight: 800;
  color: var(--color-primary); margin-bottom: 0.75rem; opacity: 0.85;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--color-muted); font-size: 0.95rem; }
.process-cta { text-align: center; margin-top: 2.5rem; }

/* Why Scala */
.why-scala { background: var(--color-bg-alt); }
.why-grid {
  display: grid; gap: 1.25rem;
}
@media (min-width: 600px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
.why-card {
  background: white; padding: 1.75rem; border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--color-primary-dark); }
.why-card p { color: var(--color-muted); font-size: 0.95rem; }

/* Testimonials */
.testimonial-grid {
  display: grid; gap: 1.5rem;
}
@media (min-width: 700px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  background: var(--color-bg-alt); border-radius: var(--radius);
  padding: 1.75rem; border: 1px solid var(--color-border);
}
.testimonial-card p {
  font-size: 1.05rem; font-style: italic; color: var(--color-slate);
  margin-bottom: 1.25rem; line-height: 1.55;
}
.testimonial-card cite {
  font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--color-navy);
}

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  margin-bottom: 0.75rem; overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.25rem; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.25rem; color: var(--color-primary); font-weight: 400;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 1.25rem 1.25rem; color: var(--color-muted); font-size: 0.95rem;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
  color: white; padding: 4rem 0;
}
.final-cta-inner {
  display: grid; gap: 2.5rem;
}
@media (min-width: 800px) {
  .final-cta-inner { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
}
.final-cta-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800;
  margin-bottom: 0.85rem;
}
.final-cta-content p { opacity: 0.95; margin-bottom: 1.5rem; max-width: 28rem; }
.final-cta .btn-primary {
  background: white; color: var(--color-primary-dark); border-color: white;
}
.final-cta .btn-primary:hover {
  background: #f0fdfa; color: var(--color-primary-dark);
}
.email-capture {
  background: rgba(255,255,255,0.12); border-radius: var(--radius);
  padding: 1.75rem; backdrop-filter: blur(8px);
}
.email-capture h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.email-capture p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 1rem; }
.capture-form { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.capture-form input {
  flex: 1; min-width: 180px; padding: 0.75rem 1rem;
  border: none; border-radius: 9999px; font-size: 0.95rem;
  font-family: inherit;
}
.capture-form .btn-secondary {
  background: transparent; color: white; border-color: rgba(255,255,255,0.5);
}
.capture-form .btn-secondary:hover {
  background: white; color: var(--color-primary-dark); border-color: white;
}
.form-note { font-size: 0.75rem; opacity: 0.7; margin-top: 0.6rem; }

/* Footer */
.footer {
  background: var(--color-navy); color: #94a3b8; padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; gap: 2rem; margin-bottom: 2.5rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.footer-brand .logo {
  color: white; margin-bottom: 0.85rem; gap: 0.5rem;
}
.footer-brand .logo span { font-weight: 700; font-size: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.5; }
.footer-links h4, .footer-contact h4 {
  color: white; font-size: 0.9rem; font-weight: 600;
  margin-bottom: 1rem; letter-spacing: 0.03em;
}
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links a, .footer-contact a {
  color: #94a3b8; font-size: 0.9rem;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--color-primary-light); }
.footer-contact p { margin-bottom: 0.5rem; font-size: 0.9rem; }
.social-links { display: flex; gap: 1rem; margin-top: 0.75rem; }
.footer-bottom {
  border-top: 1px solid #1e293b; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.85rem;
}
.footer-legal a { color: #64748b; }
.footer-legal a:hover { color: var(--color-primary-light); }

/* Page-specific */
.page-hero {
  padding: 3rem 0 2.5rem; background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 0.75rem;
}
.page-hero p { color: var(--color-muted); font-size: 1.1rem; max-width: 40rem; }

.content-section { padding: 3rem 0; }
.content-section h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.content-section p, .content-section ul { margin-bottom: 1rem; color: var(--color-slate); }
.content-section ul { padding-left: 1.25rem; list-style: disc; }
.content-section li { margin-bottom: 0.4rem; }

.contact-form-wrap {
  max-width: 520px; margin: 0 auto;
  background: white; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem;
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Mobile menu open state */
.nav.open {
  display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
  background: #0f0f0f; border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1rem; box-shadow: var(--shadow-lg);
}
.nav.open .nav-list { flex-direction: column; align-items: stretch; }
.nav.open .nav-link { color: rgba(255,255,255,0.9); }
.nav.open .dropdown {
  position: static; opacity: 1; visibility: visible; transform: none;
  box-shadow: none; border: none; padding-left: 1rem; background: transparent;
}
.nav.open .dropdown a { color: rgba(255,255,255,0.8); }

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ============================================
   Modern Scroll Animations & Transitions
   ============================================ */

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

/* Base reveal state — elements start hidden and animate in */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children for grids/lists */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.40s; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Fade from left / right variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

/* Scale-up for cards / badges */
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* Hero entrance (on load) */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content {
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.hero-visual {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

/* Subtle continuous float for hero card */
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero-card {
  animation: floatSoft 5s ease-in-out infinite;
}

/* Button hover lift */
.btn {
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(13, 148, 136, 0.35);
}
.btn:active { transform: translateY(0); }

/* Service / process / why cards — richer hover */
.service-card,
.process-step,
.why-card,
.testimonial-card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover,
.process-step:hover,
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.35);
}

/* Trust bar numbers pulse-in */
@keyframes countIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
.trust-bar.is-visible .trust-number {
  animation: countIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.trust-bar.is-visible .trust-bar-item:nth-child(1) .trust-number { animation-delay: 0.05s; }
.trust-bar.is-visible .trust-bar-item:nth-child(2) .trust-number { animation-delay: 0.15s; }
.trust-bar.is-visible .trust-bar-item:nth-child(3) .trust-number { animation-delay: 0.25s; }
.trust-bar.is-visible .trust-bar-item:nth-child(4) .trust-number { animation-delay: 0.35s; }

/* Header smooth transition */
.header {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

/* FAQ smooth open */
.faq-item {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[open] {
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 4px 16px -4px rgba(13, 148, 136, 0.12);
}
.faq-item p {
  animation: faqOpen 0.35s ease;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Final CTA subtle gradient shift */
.final-cta {
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================
   Stock photo sections
   ============================================ */

/* Horizontal photo strip */
.photo-strip {
  overflow: hidden;
  padding: 0;
  background: var(--color-bg-alt);
}
.photo-strip-track {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 0;
  width: max-content;
  animation: scrollStrip 40s linear infinite;
}
.photo-strip-track img {
  height: 160px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
@media (min-width: 700px) {
  .photo-strip-track img { height: 200px; }
}
@keyframes scrollStrip {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Duplicate images for seamless loop via JS or CSS — we rely on enough images */
.photo-strip:hover .photo-strip-track {
  animation-play-state: paused;
}

/* Service cards with images */
.service-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.service-img {
  height: 160px;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-img img {
  transform: scale(1.06);
}
.service-body {
  padding: 1.5rem 1.75rem 1.75rem;
}
.service-body .service-icon {
  margin-bottom: 0.85rem;
}

/* Team visual split section */
.team-visual {
  background: var(--color-bg);
  padding: 4rem 0;
}
.team-visual-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .team-visual-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
  }
}
.team-visual-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.team-visual-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 520px;
}
.team-visual-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.team-visual-content > p {
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}
.team-visual-list {
  margin-bottom: 1.75rem;
}
.team-visual-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  color: var(--color-slate);
}
.team-visual-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
