/* ─────────────────────────────────────────────────────────────
   Alpha Training 760 — Main Stylesheet
   Fonts: Oswald (headings) + Open Sans (body) via Google Fonts
   Colors: --black #111 | --white #fff | --red #cc0000 | --gray #f4f4f4
   ───────────────────────────────────────────────────────────── */

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

:root {
  --black:    #111111;
  --black-2:  #0a0a0a;
  --white:    #ffffff;
  --red:      #cc0000;
  --red-dark: #aa0000;
  --gray:     #f4f4f4;
  --gray-2:   #dddddd;
  --text:     #222222;
  --text-mid: #555555;
  --nav-h:    72px;
  --transition: 0.25s ease;
  --radius:   3px;
  --container: 1200px;
  --diagonal: 72px;       /* height of diagonal section dividers */
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }

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

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--gray); color: var(--red); }

.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-full { width: 100%; text-align: center; }

/* ── Navigation ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: rgba(255,255,255,0.08);
}
/* Remove backdrop-filter when nav overlay is open — it creates a new containing block
   that prevents position:fixed children from covering the full viewport */
.site-header.nav-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  height: var(--nav-h);
  gap: 0;
}
.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.nav-links > li > a {
  display: block;
  padding: 8px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--white);
  background: none;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.nav-mobile-contact { display: none; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-contact {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-contact:hover, .nav-contact.active {
  color: var(--white);
  background: none;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.nav-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-social a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.nav-social a:hover { color: var(--white); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--black-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition), background var(--transition);
}
.dropdown li a:hover { color: var(--white); background: rgba(255,255,255,0.07); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.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); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.88) 25%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  padding-block: 80px;
}
.hero-heading {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  max-width: 760px;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ── Interior page hero (shorter) ─────────────────────────── */
.page-about .hero,
.page-services-index .hero,
.page-service .hero,
.page-gallery .hero,
.page-contact .hero {
  min-height: 50vh;
  background-attachment: scroll;
  background-position: center top;
}
/* Inner page images are portrait/square — darken right side so gym background is covered */
.page-about .hero-overlay,
.page-services-index .hero-overlay,
.page-service .hero-overlay,
.page-gallery .hero-overlay,
.page-contact .hero-overlay {
  background: linear-gradient(to right, rgba(0,0,0,0.88) 20%, rgba(0,0,0,0.70) 55%, rgba(0,0,0,0.75) 100%);
}

/* ── Section: shared ──────────────────────────────────────── */
section { position: relative; }
.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  color: inherit;
  display: inline-block;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--red);
}
.section-subheading {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 52px;
  margin-top: 4px;
  letter-spacing: 0.03em;
}
.section-intro {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 56px;
}
.section-intro p { font-size: 1.05rem; color: var(--text-mid); margin-top: 12px; }

/* Diagonal dividers via pseudo-elements */
.section-dark,
.services-section,
.video-section,
.testimonial-section { position: relative; }

/* ── Intro section ───────────────────────────────────────── */
.intro-section {
  background: var(--white);
  padding: 80px 0 0;
}
.intro-wrap {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.intro-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.05;
  color: var(--black);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.intro-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-mid);
}

/* ── Services section (home + index) ─────────────────────── */
.services-section {
  background: var(--black);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
}
.services-section .section-heading { color: var(--white); }
.services-section .section-subheading { color: rgba(255,255,255,0.6); }

.services-cta { margin-top: 48px; }

/* Service cards 3+2 grid */
.service-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 8px;
}
.service-cards .service-card:nth-child(1) { grid-column: 1 / 3; }
.service-cards .service-card:nth-child(2) { grid-column: 3 / 5; }
.service-cards .service-card:nth-child(3) { grid-column: 5 / 7; }
.service-cards .service-card:nth-child(4) { grid-column: 2 / 4; }
.service-cards .service-card:nth-child(5) { grid-column: 4 / 6; }

.service-card {
  position: relative;
  min-height: 340px;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-align: left;
  cursor: pointer;
}
.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-bg { transform: scale(1.05); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  transition: background var(--transition);
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(180,0,0,0.75) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
}
.service-card-content {
  position: relative;
  z-index: 1;
  padding: 24px;
  width: 100%;
}
.service-card-content h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 6px;
}
.service-card-content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 14px;
  line-height: 1.5;
}

/* ── Services index page ──────────────────────────────────── */
.services-index-section {
  background: var(--gray);
  padding: 80px 0;
}
.services-index-section .service-cards { gap: 24px; }
.services-index-section .service-card { min-height: 380px; }

/* ── Service detail page ──────────────────────────────────── */
.service-detail-section {
  background: var(--white);
  padding: 80px 0;
}
.service-detail {
  max-width: 820px;
}
.service-body { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.service-body p + p { margin-top: 1.2em; }
.service-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.service-nav-section { background: var(--gray); padding: 32px 0; }
.service-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.service-nav-prev, .service-nav-next {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color var(--transition);
}
.service-nav-prev:hover, .service-nav-next:hover { color: var(--red); }

/* ── Video section ────────────────────────────────────────── */
.video-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  padding: 96px 0;
}
.video-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.video-content {
  position: relative;
  z-index: 1;
}
.play-btn {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1.6rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.play-btn:hover {
  background: var(--red);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(204,0,0,0.5);
}
.play-icon { margin-left: 3px; display: block; }

/* Video lightbox */
.video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}
.video-lightbox[hidden] { display: none; }
.video-lightbox-inner { position: relative; width: min(90vw, 960px); }
.video-lightbox-inner iframe,
.video-lightbox-inner video {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
  border-radius: var(--radius);
}
.video-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.video-lightbox-close:hover { opacity: 1; }

/* ── Testimonial section ──────────────────────────────────── */
.testimonial-section {
  background: var(--black-2);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
}
.testimonial { max-width: 760px; margin-inline: auto; }
.testimonial-quote { display: none; }
.testimonial-eyebrow {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
}
.testimonial-text {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  color: rgba(255,255,255,0.88);
  line-height: 1.9;
  margin-bottom: 28px;
  position: relative;
}
.testimonial-text::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0;
  vertical-align: -0.5em;
  color: var(--red);
  opacity: 0.7;
  margin-right: 4px;
}
.testimonial-attribution {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

/* ── CTA banner ───────────────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 160px 0;
  min-height: 500px;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(150,0,0,0.75) 100%);
}
.cta-banner-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}
.cta-banner-content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 28px;
}

/* ── About page ───────────────────────────────────────────── */
.about-section { background: var(--white); padding: 80px 0; }
.about-content { max-width: 820px; }
.about-text p { font-size: 1.05rem; line-height: 1.85; color: var(--text); margin-bottom: 1.2em; }
.about-cta { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

/* ── Gallery ──────────────────────────────────────────────── */
.gallery-section { background: var(--gray); padding: 80px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  background: var(--black);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); opacity: 0.85; }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.gallery-item:hover .gallery-item-overlay { background: rgba(0,0,0,0.3); }
.gallery-zoom {
  font-size: 2.5rem;
  color: var(--white);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-item:hover .gallery-zoom { opacity: 1; transform: scale(1); }
.gallery-empty { text-align: center; color: var(--text-mid); padding: 60px 0; font-size: 1.1rem; }

/* Gallery lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}
.lightbox[hidden] { display: none; }
.lightbox-img-wrap {
  max-width: min(90vw, 1200px);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition), color var(--transition);
  padding: 12px;
  z-index: 10001;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; color: var(--red); }
.lightbox-close { top: 20px; right: 20px; font-size: 2.5rem; }
.lightbox-prev  { left: 16px;  top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox-next  { right: 16px; top: 50%; transform: translateY(-50%); font-size: 3rem; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-section { background: var(--white); padding: 80px 0; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--black);
  margin-bottom: 16px;
}
.contact-info p { font-size: 1rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 24px; }
.contact-details { margin-bottom: 24px; }
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 10px;
}
.contact-details a:hover { color: var(--red); }
.contact-icon { font-size: 1.1rem; }
.contact-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  border: 1px solid var(--gray-2);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.social-btn:hover { color: var(--white); background: var(--red); border-color: var(--red); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}
.form-group label span { color: var(--red); }
.form-group input,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-2);
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.12);
}
.form-group input.invalid,
.form-group textarea.invalid { border-color: var(--red); }
.field-error {
  font-size: 0.8rem;
  color: var(--red);
  min-height: 1.1em;
}
.form-status {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  display: none;
}
.form-status.success { display: block; background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-status.error   { display: block; background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.cf-turnstile { margin-top: 4px; }

/* ── 404 ──────────────────────────────────────────────────── */
.page-404 main { min-height: 60vh; display: flex; align-items: center; }
.error-section { background: var(--black); flex: 1; }
.error-content {
  text-align: center;
  padding: 100px 24px;
  color: var(--white);
}
.error-content h1 {
  font-size: clamp(5rem, 15vw, 10rem);
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}
.error-content h2 { font-size: 2rem; margin-bottom: 16px; }
.error-content p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1.1rem; }

/* ── Home services (dark card design) ─────────────────────── */
.home-services-section {
  background: var(--white);
  padding: 80px 0;
}
.home-service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.home-service-item {
  position: relative;
  background: var(--white);
  padding: 48px 36px 40px;
  overflow: hidden;
  border-top: 2px solid var(--gray-2);
  transition: border-color 0.25s;
}
.home-service-item:hover { border-top-color: var(--red); }

.service-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: rgba(0,0,0,0.05);
  pointer-events: none;
  user-select: none;
}
.service-icon {
  color: var(--red);
  margin-bottom: 24px;
}
.service-icon svg { display: block; }
.home-service-item h3 {
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.home-service-item p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 28px;
}
.discover-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
  transition: color 0.2s, letter-spacing 0.2s;
}
.discover-link:hover { color: var(--red-dark); letter-spacing: 0.14em; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--black); color: rgba(255,255,255,0.75); padding: 50px 0 0; }
.footer-simple {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
}
.footer-contact h4, .footer-social h4 {
  font-size: 0.8rem;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.footer-contact p { font-size: 0.95rem; margin-top: 8px; }
.footer-contact a { color: rgba(255,255,255,0.75); transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }
.social-links { display: flex; gap: 14px; margin-top: 8px; }
.social-links a {
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  transition: color var(--transition), transform var(--transition);
}
.social-links a:hover { color: var(--white); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); text-align: center; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .service-card:nth-child(n) { grid-column: auto !important; }
  .service-card:nth-child(5) { grid-column: 1 / -1 !important; max-width: 420px; margin-inline: auto; }

  .contact-layout { gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; --diagonal: 48px; }

  /* Logo fills space, toggle snaps to far right */
  .nav { grid-template-columns: 1fr auto; }

  .nav-right { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 1001; }
  .nav-mobile-contact { display: block; }

  /* Nav logo above overlay */
  .nav-logo { position: relative; z-index: 1001; }
  .nav-logo img { height: 28px; }

  /* Full-screen overlay — always rendered, hidden via opacity */
  .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #080808;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links > li > a {
    padding: 18px 48px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.04em;
    text-align: center;
    color: rgba(255,255,255,0.85);
    width: 100%;
    text-decoration: none !important;
    background: none !important;
  }
  .nav-links > li:last-child > a { border-bottom: none; }
  .nav-links > li > a:hover,
  .nav-links > li > a.active {
    color: var(--white);
    text-underline-offset: 0;
  }

  .hero { background-attachment: scroll; }
  .hero-content { text-align: left; }
  .hero-heading { font-size: clamp(2.4rem, 11.5vw, 4rem); line-height: 1.15; }

  .home-service-list {
    grid-template-columns: 1fr !important;
  }
  .home-service-item:nth-child(n) { grid-column: auto !important; }

  .service-cards {
    grid-template-columns: 1fr !important;
  }
  .service-card:nth-child(n) { grid-column: auto !important; max-width: 100% !important; }

  .contact-layout { grid-template-columns: 1fr; }

  .footer-simple { flex-direction: column; gap: 32px; }

  .lightbox-prev { left: 4px; font-size: 2rem; }
  .lightbox-next { right: 4px; font-size: 2rem; }

  /* Reduce section padding on mobile */
  .services-index-section,
  .service-detail-section,
  .home-services-section,
  .about-section,
  .gallery-section,
  .contact-section { padding: 56px 0; }
  /* Intro flows into home-services (both white) — only top padding, no stacking */
  .intro-section { padding: 56px 0 0; }

  .video-section,
  .testimonial-section,
  .services-section { padding: 60px 0; }

  .cta-banner { padding: 80px 0; min-height: 0; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 24px; font-size: 0.85rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .contact-layout { gap: 32px; }
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.hero-heading {
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-sub {
  animation: heroFadeUp 0.75s 0.14s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-actions {
  animation: heroFadeUp 0.75s 0.26s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.will-animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.will-animate.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-heading, .hero-sub, .hero-actions { animation: none; }
  .will-animate { opacity: 1; transform: none; transition: none; }
}
