/* ============================================================
   MR PT FITNESS - @mr.pt.fitness
   Dark athletic theme with red pulse motif
   ============================================================ */

/* ---------------------------------------------------------
   1. RESET & GLOBALS
   --------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--off-white);
  background-color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Noise / grain texture overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ---------------------------------------------------------
   2. CSS VARIABLES
   --------------------------------------------------------- */
:root {
  /* Colors */
  --black: #000000;
  --dark-gray: #1A1A1A;
  --mid-gray: #2A2A2A;
  --white: #FFFFFF;
  --off-white: #E0E0E0;
  --text-muted: #888888;
  --red: #E31B23;
  --red-hover: #C41019;
  --red-light: rgba(227, 27, 35, 0.1);
  --red-glow: rgba(227, 27, 35, 0.15);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --gradient-red: linear-gradient(135deg, #E31B23, #FF4444);
  --gradient-dark: linear-gradient(135deg, #000000, #1A1A1A);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  /* Layout */
  --max-width: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 100px;

  /* Shadows - red-tinted for dark theme */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-red: 0 8px 30px rgba(227, 27, 35, 0.2);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.2s;
}

/* ---------------------------------------------------------
   3. TYPOGRAPHY
   --------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  color: var(--white);
  text-transform: uppercase;
  font-weight: 600;
}

h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
}

h4 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
}

p {
  color: var(--off-white);
  margin-bottom: var(--space-md);
}

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

strong {
  font-weight: 600;
  color: var(--white);
}

.text-red {
  color: var(--red);
}

.text-muted {
  color: var(--text-muted);
}

/* ---------------------------------------------------------
   4. LAYOUT
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section-dark {
  background-color: var(--black);
}

.section-darker {
  background-color: var(--dark-gray);
}

/* ---------------------------------------------------------
   5. SECTION LABELS
   --------------------------------------------------------- */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  margin-top: var(--space-sm);
}

.section-header p {
  max-width: 600px;
  margin: var(--space-md) auto 0;
  color: var(--text-muted);
}

/* ---------------------------------------------------------
   6. BUTTONS
   --------------------------------------------------------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  position: relative;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Pulse animation for primary CTA */
.btn-pulse {
  animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(227, 27, 35, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px 6px rgba(227, 27, 35, 0.15);
    transform: scale(1.02);
  }
}

.btn-pulse:hover {
  animation: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ---------------------------------------------------------
   7. CARDS
   --------------------------------------------------------- */
.card {
  background: var(--dark-gray);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: var(--space-lg);
  transition: all 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-red);
  border-color: var(--border-light);
}

.card-red-top {
  border-top: 3px solid var(--red);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------------------------------------------------------
   8. NAVIGATION
   --------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all 0.3s var(--ease);
  background: transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(227, 27, 35, 0.15);
  padding: var(--space-sm) 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.nav-logo img {
  height: 64px;
  width: auto;
}

.nav-logo span {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.03em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--off-white);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--duration) var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

/* Nav CTA - red button, no underline */
.nav-links .nav-cta {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}

.nav-links .nav-cta::after {
  display: none !important;
}

.nav-links .nav-cta:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

.nav-links .nav-cta:hover::after {
  width: 0 !important;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------
   9. MOBILE NAV
   --------------------------------------------------------- */
.nav-mobile {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--dark-gray);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  border-bottom: 1px solid var(--border-dark);
}

.nav-mobile.open {
  max-height: 400px;
}

.nav-mobile a {
  display: block;
  padding: var(--space-md) var(--space-lg);
  font-size: 15px;
  font-weight: 500;
  color: var(--off-white);
  border-bottom: 1px solid var(--border-dark);
  transition: all var(--duration) var(--ease);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile a:hover,
.nav-mobile a:active {
  color: var(--red);
  background: var(--red-light);
  padding-left: var(--space-xl);
}

.nav-mobile a.active {
  color: var(--red);
}

/* ---------------------------------------------------------
   10. HERO SECTION
   --------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0 var(--space-2xl);
}

/* Atmospheric red orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(227, 27, 35, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(227, 27, 35, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.hero-logo {
  max-width: 340px;
  margin: 0 auto var(--space-xl);
}

img.hero-logo {
  width: 300px;
  height: auto;
  margin: 0 auto var(--space-xl);
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero h1 .highlight {
  color: var(--red);
  display: inline;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-group {
  justify-content: center;
}

/* Angled bottom edge */
.hero-angle {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-angle svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* EKG decorative line */
.hero-ekg {
  position: absolute;
  bottom: 15%;
  left: 0;
  right: 0;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-ekg svg {
  width: 100%;
  height: 40px;
}

.hero-ekg path {
  stroke: var(--red);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: ekgDraw 3s linear infinite;
}

@keyframes ekgDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------------------------------------------------------
   11. ABOUT SECTION
   --------------------------------------------------------- */
.about {
  background-color: var(--dark-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--mid-gray);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Photo carousel with crossfade */
.about-photo-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.about-photo.active {
  opacity: 1;
}

/* Red accent line on the image */
.about-image::after {
  content: '';
  position: absolute;
  top: var(--space-md);
  left: 0;
  width: 4px;
  height: 60px;
  background: var(--red);
  border-radius: 0 2px 2px 0;
}

.about-text .section-label {
  margin-bottom: var(--space-md);
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-dark);
}

.about-stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.about-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------------------------------------------------------
   12. SERVICES SECTION
   --------------------------------------------------------- */
.services {
  background-color: var(--black);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.service-card {
  background: var(--dark-gray);
  border: 1px solid var(--border-dark);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: var(--space-lg);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-red);
  border-color: var(--border-light);
  border-top-color: var(--red);
}

.service-card .card-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.service-card .card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
}

.service-card h3 {
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}

.service-card .price {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

.service-card .price span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

/* ---------------------------------------------------------
   13. TRANSFORMATIONS SECTION
   --------------------------------------------------------- */
.transformations {
  background-color: var(--dark-gray);
  position: relative;
  overflow: hidden;
}

/* Angled top using clip-path */
.transformations::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--black);
  clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
  z-index: 1;
}

.transformations .container {
  position: relative;
  z-index: 2;
}

/* Before / After component */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.ba-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--mid-gray);
  aspect-ratio: 3 / 4;
}

.ba-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-side {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.ba-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  bottom: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  background: rgba(10, 10, 10, 0.75);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  z-index: 3;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.testimonial-card {
  background: var(--mid-gray);
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: var(--space-lg);
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--off-white);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.testimonial-card blockquote::before {
  content: '\201C';
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  color: var(--red);
  line-height: 0;
  display: block;
  margin-bottom: var(--space-sm);
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author-avatar span {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: var(--red);
  font-size: 16px;
}

.testimonial-author-name {
  font-weight: 600;
  color: var(--white);
  font-size: 14px;
}

.testimonial-author-detail {
  font-size: 13px;
  color: var(--text-muted);
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  background: var(--black);
  border-radius: var(--radius);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

/* Angled accent on stats */
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-red);
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
}

.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: var(--space-xs);
  text-shadow: 0 0 30px rgba(227, 27, 35, 0.3);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ---------------------------------------------------------
   14. GIVEAWAYS SECTION
   --------------------------------------------------------- */
.giveaways {
  background-color: var(--black);
}

.giveaway-card {
  position: relative;
  background: var(--dark-gray);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  overflow: hidden;
}

/* Animated glow border */
.giveaway-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--red), transparent, var(--red));
  background-size: 300% 300%;
  animation: glowBorder 4s ease-in-out infinite;
  z-index: -1;
  opacity: 0.5;
}

@keyframes glowBorder {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Red orb decoration */
.giveaway-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(227, 27, 35, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.giveaway-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--red-light);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.giveaway-card h2 {
  margin-bottom: var(--space-md);
}

.giveaway-card > p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto var(--space-lg);
}

.giveaway-card .btn {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------
   15. CONTACT SECTION
   --------------------------------------------------------- */
.contact {
  background-color: var(--dark-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.contact-socials {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--off-white);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}

.contact-social-link:hover {
  color: var(--red);
}

.contact-social-link svg {
  width: 20px;
  height: 20px;
}

.contact-form {
  background: var(--black);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--off-white);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px var(--space-md);
  background: var(--dark-gray);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 15px;
  transition: all var(--duration) var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
  outline: none;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  margin-top: var(--space-lg);
}

.form-submit .btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* ---------------------------------------------------------
   16. PARTNERS SECTION
   --------------------------------------------------------- */
.partners {
  background-color: var(--black);
  padding: var(--space-xl) 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  align-items: center;
  justify-items: center;
}

.partner-logo {
  padding: var(--space-md);
  opacity: 0.4;
  filter: grayscale(100%);
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.partner-logo img {
  max-height: 40px;
  width: auto;
}

/* ---------------------------------------------------------
   17. FOOTER
   --------------------------------------------------------- */
.footer {
  background: var(--black);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
}

/* Red gradient top border */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-red);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-logo img {
  height: 64px;
  width: auto;
}

.footer-logo span {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-lg);
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

.footer-nav a:hover {
  color: var(--red);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--dark-gray);
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  color: var(--off-white);
  transition: all var(--duration) var(--ease);
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-dark);
  text-align: center;
  width: 100%;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--red);
  transition: color var(--duration) var(--ease);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ---------------------------------------------------------
   18. SCROLL REVEAL ANIMATIONS
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* reveal-stagger: fade in the container AND stagger children */
.reveal-stagger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-stagger.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.3s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger,
  .reveal-scale,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-pulse {
    animation: none;
  }

  .hero-ekg path {
    animation: none;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }

  .giveaway-card::before {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------------------------------------------------------
   19. RESPONSIVE BREAKPOINTS
   --------------------------------------------------------- */

/* ---- 640px+ (Tablet) ---- */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-form {
    padding: var(--space-xl);
  }

  .giveaway-card {
    padding: var(--space-2xl) var(--space-xl);
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .about-stats {
    gap: var(--space-lg);
  }

  .about-stat-number {
    font-size: 38px;
  }
}

/* ---- 1024px+ (Desktop) ---- */
@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-xl);
  }

  section {
    padding: var(--space-3xl) 0;
  }

  /* Navigation - show full nav */
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none;
  }

  /* Hero */
  .hero-content {
    max-width: 800px;
  }

  .hero-logo {
    max-width: 380px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Transformations */
  .ba-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
  }

  /* Partners */
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom p {
    margin: 0;
  }
}

/* ---- 1280px+ (Wide) ---- */
@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .stat-number {
    font-size: 52px;
  }
}

/* ---------------------------------------------------------
   UTILITY CLASSES
   --------------------------------------------------------- */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden {
  display: none;
}

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

/* Red decorative divider */
.divider-red {
  width: 60px;
  height: 3px;
  background: var(--gradient-red);
  border-radius: 2px;
  margin: var(--space-md) 0;
}

.divider-red-center {
  width: 60px;
  height: 3px;
  background: var(--gradient-red);
  border-radius: 2px;
  margin: var(--space-md) auto;
}

/* Selection styling */
::selection {
  background: rgba(227, 27, 35, 0.3);
  color: var(--white);
}

::-moz-selection {
  background: rgba(227, 27, 35, 0.3);
  color: var(--white);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--mid-gray);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* CTA banner (reusable red-gradient section) */
.cta-banner {
  position: relative;
  background: var(--black);
  overflow: hidden;
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
  padding: var(--space-3xl) 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(227, 27, 35, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.cta-banner h2 {
  margin-bottom: var(--space-md);
}

.cta-banner p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* Form success message */
.form-success {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.form-success.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-success h3 {
  color: var(--red);
  margin-bottom: var(--space-md);
}

.form-success p {
  color: var(--text-muted);
}

/* BA card as simple image container (not split before/after) */
.ba-card img {
  border-radius: var(--radius);
}

/* Service card button spacing - push to bottom */
.service-card .btn-primary {
  margin-top: auto;
  align-self: flex-start;
}

/* Nav CTA in nav-links - spacing */
.nav-links .nav-cta.btn-primary.btn-sm {
  margin-left: var(--space-sm);
}

/* Image placeholder styling (for dev) */
.img-placeholder {
  background: var(--mid-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
