/* ========================================
   Farran Media - Main Stylesheet
   ======================================== */

/* --- Font Import (ensures new fonts load on all pages) --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Urbanist:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --primary-blue: #00509b;
  --primary-blue-dark: #003d75;
  --navy-deep: #091b30;
  --accent-orange: #f9491d;
  --accent-orange-light: #ff6b47;
  --accent-glow: rgba(249, 73, 29, 0.35);
  --dark-text: #151929;
  --body-text: #505068;
  --light-gray-bg: #f5f6fa;
  --footer-dark: #0d1520;
  --white: #ffffff;
  --shadow-sm: 0 2px 12px rgba(10, 22, 40, 0.05);
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-hover: 0 16px 48px rgba(10, 22, 40, 0.14);
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', 'Inter', sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  background: var(--white);
}

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

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

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Urbanist', 'Inter', sans-serif;
  line-height: 1.15;
  font-weight: 700;
  color: var(--dark-text);
}

h1 { font-size: 2.8rem; letter-spacing: -0.02em; }
h2 { font-size: 2.1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--body-text);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--body-text);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================
   Animation Keyframes
   ======================================== */

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

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.08); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(25px, 15px) scale(1.04); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-35px, 25px) scale(1.06); }
  66% { transform: translate(20px, -30px) scale(0.94); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  20% { transform: translate(15px, 20px) scale(1.03); }
  50% { transform: translate(-25px, -15px) scale(0.97); }
  80% { transform: translate(20px, -25px) scale(1.05); }
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(12deg); }
  100% { transform: translateX(200%) rotate(12deg); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 12px rgba(249, 73, 29, 0); }
}

/* ========================================
   Scroll Reveal System
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

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

/* ========================================
   Header / Navigation
   ======================================== */

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  transition: padding 0.4s ease;
}

.logo img {
  height: 76px;
  width: auto;
  transition: height 0.4s ease;
}

/* Header shrink on scroll (toggled via JS) */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.site-header.scrolled .container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.site-header.scrolled .logo img {
  height: 52px;
}

/* Navigation */
.main-nav ul {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.main-nav a {
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-text);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--accent-orange);
  border-radius: 2px;
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-blue);
}

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

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-text);
  cursor: pointer;
}

/* ========================================
   Hero Sections (base - applies to all pages)
   ======================================== */

.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--primary-blue) 45%, var(--primary-blue-dark) 100%);
  background-size: 200% 200%;
  animation: heroGradient 14s ease infinite;
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle radial light overlay on all heroes */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(249, 73, 29, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  color: var(--white);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
}

.hero .btn {
  position: relative;
}

/* ========================================
   Hero - Home Page Enhanced
   ======================================== */

.hero-home {
  min-height: max(82vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 6rem;
}

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

/* Floating light orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero-orb-1 {
  width: 450px;
  height: 450px;
  background: rgba(249, 73, 29, 0.14);
  top: -10%;
  right: -5%;
  animation: orbFloat1 22s ease-in-out infinite;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(0, 100, 200, 0.15);
  bottom: -10%;
  left: -8%;
  animation: orbFloat2 26s ease-in-out infinite;
  animation-delay: -8s;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(249, 73, 29, 0.08);
  top: 50%;
  left: 55%;
  animation: orbFloat3 20s ease-in-out infinite;
  animation-delay: -14s;
}

/* Staggered hero entrance */
.hero-home .hero-title {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.hero-line {
  display: block;
  opacity: 0;
  animation: heroSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-line:nth-child(1) {
  animation-delay: 0.15s;
}

.hero-line:nth-child(2) {
  animation-delay: 0.3s;
}

.hero-line-accent {
  color: var(--accent-orange);
  font-size: 4.8rem;
  position: relative;
}

/* Warm glow behind accent word */
.hero-line-accent::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(249, 73, 29, 0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Decorative accent line */
.hero-accent-line {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
  margin: 1.5rem auto;
  border-radius: 3px;
  transform-origin: center;
  opacity: 0;
  animation: lineGrow 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-subtitle {
  opacity: 0;
  animation: heroSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
  font-size: 1.18rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  opacity: 0;
  animation: heroSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-sm);
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-orange-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(249, 73, 29, 0.35);
}

/* Shimmer effect on primary buttons */
.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: rotate(12deg);
  animation: shimmer 3.5s ease-in-out infinite;
  animation-delay: 1.5s;
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.15);
}

/* ========================================
   Section Spacing
   ======================================== */

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: linear-gradient(175deg, #eef0f7 0%, var(--light-gray-bg) 50%, #eef0f7 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 0.85rem;
  color: var(--dark-text);
}

.section-header h2 span {
  color: var(--accent-orange);
  position: relative;
  display: inline-block;
}

/* Animated underline on section accent words */
.section-header h2 span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.section-header.revealed h2 span::after {
  transform: scaleX(1);
}

/* ========================================
   Service Cards (Homepage)
   ======================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.8rem 2.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(249, 73, 29, 0.12);
}

.service-card .icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary-blue), #0068c9);
  color: var(--white);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  transition: all var(--transition);
}

.service-card:hover .icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 8px 28px rgba(0, 80, 155, 0.3);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-text);
}

.service-card p {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--primary-blue);
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.service-card .card-link:hover {
  color: var(--accent-orange);
}

.service-card .card-link i {
  transition: transform var(--transition);
}

.service-card:hover .card-link i,
.service-card .card-link:hover i {
  transform: translateX(5px);
}

.service-card.coming-soon {
  opacity: 0.85;
}

.badge-coming-soon {
  display: inline-block;
  background: var(--accent-orange);
  color: var(--white);
  font-family: 'Urbanist', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* ========================================
   Capabilities / Features Grid
   ======================================== */

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.capability-item {
  background: var(--white);
  border-radius: var(--radius);
  text-align: center;
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all var(--transition);
}

.capability-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.capability-item .icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-blue), #0068c9);
  color: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.25rem;
  transition: all var(--transition);
}

.capability-item:hover .icon {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 6px 20px rgba(0, 80, 155, 0.25);
}

.capability-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.capability-item p {
  color: var(--body-text);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ========================================
   Communities Page
   ======================================== */

.communities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.community-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
  text-align: center;
  display: block;
  cursor: pointer;
}

.community-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(249, 73, 29, 0.1);
}

.community-logo {
  max-width: 220px;
  height: auto;
  margin: 0 auto 1.5rem;
}

.community-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-text);
  font-size: 1.4rem;
}

.community-card p {
  color: var(--body-text);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.community-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-blue);
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.community-link i {
  transition: transform var(--transition);
}

.community-card:hover .community-link {
  color: var(--accent-orange);
}

.community-card:hover .community-link i {
  transform: translateX(5px);
}

/* ========================================
   Magazines Section
   ======================================== */

.magazines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.magazine-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
  text-align: center;
  display: block;
  cursor: pointer;
}

.magazine-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.magazine-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.magazine-logo {
  max-width: 180px;
  height: auto;
}

.magazine-badge {
  background: var(--accent-orange);
  color: var(--white);
  font-family: 'Urbanist', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  white-space: nowrap;
}

.magazine-badge i {
  margin-right: 0.25rem;
}

.magazine-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-text);
}

.magazine-card p {
  color: var(--body-text);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ========================================
   Recording Studio Page (legacy)
   ======================================== */

.studio-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.studio-description h2 {
  margin-bottom: 1rem;
  color: var(--dark-text);
}

.studio-description p {
  color: var(--body-text);
}

.studio-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sidebar-section {
  padding: 2rem;
  border-bottom: 1px solid #eee;
}

.sidebar-section:last-child {
  border-bottom: none;
}

.sidebar-section h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-section ul {
  list-style: none;
}

.sidebar-section ul li {
  padding: 0.4rem 0;
  color: var(--body-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-section ul li i {
  color: var(--accent-orange);
  font-size: 0.8rem;
}

.price-highlight {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.price-highlight .price {
  font-size: 2.5rem;
  font-weight: 700;
}

.price-highlight .price span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.8;
}

.price-highlight p {
  opacity: 0.9;
  margin-bottom: 0;
}

/* ========================================
   About Page
   ======================================== */

.about-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-intro p {
  font-size: 1.05rem;
  color: var(--body-text);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.team-card .photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--light-gray-bg);
  transition: border-color var(--transition);
}

.team-card:hover .photo {
  border-color: rgba(0, 80, 155, 0.2);
}

.team-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.team-card .role {
  color: var(--primary-blue);
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.team-card p {
  color: var(--body-text);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ========================================
   Contact Page
   ======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}

.contact-item:hover .icon {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 80, 155, 0.25);
}

.contact-item h4 {
  margin-bottom: 0.25rem;
  color: var(--dark-text);
}

.contact-item p {
  color: var(--body-text);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  width: 48px;
  height: 48px;
  background: var(--light-gray-bg);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 80, 155, 0.25);
}

.contact-map {
  background: var(--light-gray-bg);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* ========================================
   CTA Banner (Homepage bottom CTA)
   ======================================== */

.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--primary-blue) 45%, var(--primary-blue-dark) 100%);
  background-size: 200% 200%;
  animation: heroGradient 14s ease infinite;
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 73, 29, 0.1) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  color: var(--white);
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 550px;
  margin: 0 auto 2rem;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner .btn {
  position: relative;
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
  background: var(--footer-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3.5rem 0 1.5rem;
  position: relative;
}

/* Gradient accent line at top of footer */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange), var(--primary-blue));
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-family: 'Urbanist', sans-serif;
  color: var(--white);
  margin-bottom: 1.15rem;
  font-size: 1.05rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col p i {
  color: rgba(255, 255, 255, 0.35);
  margin-right: 0.5rem;
  width: 16px;
  text-align: center;
}

.footer-col .footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-col .footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-col .footer-social a:hover {
  background: var(--accent-orange);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(249, 73, 29, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 968px) {
  .studio-content {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col .footer-social {
    justify-content: center;
  }

  .footer-col ul li a:hover {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .logo img {
    height: 60px;
  }

  .site-header.scrolled .logo img {
    height: 46px;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-home {
    min-height: max(70vh, 480px);
    padding: 6rem 0 4rem;
  }

  .hero-home .hero-title {
    font-size: 2.8rem;
  }

  .hero-line-accent {
    font-size: 3.2rem;
  }

  .hero-orb-1 {
    width: 280px;
    height: 280px;
  }

  .hero-orb-2 {
    width: 220px;
    height: 220px;
  }

  .hero-orb-3 {
    width: 160px;
    height: 160px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cta-banner {
    padding: 3.5rem 0;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }

  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 0.75rem;
    gap: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .main-nav ul.active {
    display: flex;
  }

  .main-nav ul li a {
    display: block;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
  }

  .main-nav ul li a:hover {
    background: var(--light-gray-bg);
  }

  .main-nav a::after {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-home .hero-title {
    font-size: 2.2rem;
  }

  .hero-line-accent {
    font-size: 2.6rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Accessibility: Reduced Motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-line,
  .hero-accent-line,
  .hero-subtitle,
  .hero-cta {
    opacity: 1;
  }

  .hero {
    background-size: 100% 100%;
  }
}
