/* Swobsu6m — Creative Movement Studio | 2026 */
/* Core Web Vitals: LCP, CLS, FID-friendly */

:root {
  --color-navy: #0d1b2a;
  --color-navy-light: #1b263b;
  --color-blue: #415a77;
  --color-electric: #00b4d8;
  --color-electric-soft: rgba(0, 180, 216, 0.15);
  --color-white: #f8f9fa;
  --color-muted: #6c757d;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --space-unit: 1rem;
  --container: min(90vw, 1140px);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-navy);
  background: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent CLS: reserve space for images that define dimensions */
img[width][height] {
  height: auto;
}

a {
  color: var(--color-electric);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-unit);
  padding: 0.75rem 1rem;
  background: var(--color-electric);
  color: var(--color-navy);
  font-weight: 600;
  z-index: 100;
  transition: top 0.2s;
}

.skip-link:focus {
  top: var(--space-unit);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-unit);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.logo img {
  width: 140px;
  height: 40px;
  object-fit: contain;
}

.nav-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.nav-main a {
  color: var(--color-white);
  font-weight: 500;
}

.nav-main a:hover {
  color: var(--color-electric);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--color-white);
  transition: transform 0.2s;
}

.nav-toggle::before { top: 14px; }
.nav-toggle::after { bottom: 14px; }

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-main ul {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-navy-light);
    padding: 1rem;
    flex-direction: column;
  }
  .nav-main.is-open ul { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem var(--space-unit);
  background: linear-gradient(180deg, rgba(13,27,42,0.6) 0%, rgba(13,27,42,0.85) 100%);
  color: var(--color-white);
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-tagline {
  margin: 0 0 2rem;
  font-size: 1.2rem;
  max-width: 36ch;
  margin-inline: auto;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-electric);
  color: var(--color-navy);
}

.btn-primary:hover {
  background: #0096b8;
  color: var(--color-navy);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-navy);
  text-decoration: none;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section:nth-child(even) {
  background: var(--color-electric-soft);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-navy);
}

.section .lead {
  font-size: 1.15rem;
  color: var(--color-navy-light);
  margin-bottom: 1rem;
}

.section p {
  margin: 0 0 1rem;
  max-width: 65ch;
}

.section p:last-child {
  margin-bottom: 0;
}

/* Testimonials */
.testimonials-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonials-list blockquote {
  margin: 0;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: 8px;
  border-left: 4px solid var(--color-electric);
}

.testimonials-list cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  font-style: normal;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--color-navy);
}

.faq-item p {
  margin: 0;
}

/* Contact CTA */
.section-contact-cta {
  text-align: center;
}

.section-contact-cta .btn {
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 2rem 0;
}

.footer-nav ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: var(--color-white);
}

.footer-nav a:hover {
  color: var(--color-electric);
}

.footer-legal {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Page banner (inner pages) */
.page-banner {
  position: relative;
  height: 40vh;
  min-height: 280px;
  overflow: hidden;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner h1 {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

/* Breadcrumb */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.breadcrumb a {
  color: var(--color-muted);
}

.breadcrumb a:hover {
  color: var(--color-electric);
}

/* Lazy load: reduce layout shift */
img[loading="lazy"] {
  min-height: 200px;
  background: var(--color-electric-soft);
}

/* Subpage content */
.page-content {
  padding: 2rem 0 4rem;
}

.page-content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  max-width: 65ch;
}
