/* ========================================
   Components - BLANQ Digital Design System
   ======================================== */

/* ========================================
   Navigation
   ======================================== */
.nav-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  padding: 1.5rem 0;
  background-color: transparent;
  transition: background-color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav-main.scrolled {
  background-color: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
  gap: 2rem;
}

.nav-logo-wrapper {
  display: flex;
  flex-direction: column;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-logo-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.nav-link-numbered {
  font-family: var(--font-display);
  font-size: var(--fs-nav);
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.5em;
  line-height: 1.5em;
}

.nav-link-text {
  display: block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-text-duplicate {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-numbered:hover .nav-link-text {
  transform: translateY(-100%);
}

.nav-link-numbered:hover .nav-link-text-duplicate {
  transform: translateY(0);
}

.nav-number {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-left: 0.25rem;
  font-family: 'Courier New', monospace;
  font-weight: 400;
}

.nav-cta {
  padding: 0.75rem 1.5rem;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border: none;
  min-height: 44px;
  border-radius: var(--radius-button);
  font-family: var(--font-display);
  font-size: var(--fs-nav);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.nav-cta .star-icon {
  font-size: 0.75rem;
  display: inline-block;
}

.nav-cta:hover {
  transform: translateY(-2px);
}

.nav-cta .star-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.nav-cta:hover .star-icon {
  transform: rotate(180deg);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-primary);
  z-index: 400;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-menu-link:hover {
  color: var(--accent);
}

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   Navigation Dropdown
   ======================================== */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(-5px);
  z-index: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: var(--fs-nav);
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

/* Mobile Menu Dropdown */
.mobile-menu-dropdown {
  width: 100%;
  text-align: center;
}

.mobile-menu-dropdown-content {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding-left: 2rem;
}

.mobile-menu-dropdown.active .mobile-menu-dropdown-content {
  display: flex;
}

.mobile-menu-dropdown .mobile-menu-link {
  font-size: clamp(1.5rem, 5vw, 2rem);
}

.mobile-menu-dropdown-content .mobile-menu-link {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  color: var(--text-secondary);
}

.mobile-menu-dropdown-content .mobile-menu-link:hover {
  color: var(--accent);
}

@media (max-width: 1199px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav-container {
    grid-template-columns: auto 1fr auto;
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  min-height: 44px;
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.05em;
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

.btn .star-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* ========================================
   Stats Blocks
   ======================================== */
.stats-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  text-align: center;
}

.stat-block {
  max-width: 260px;
}

.stat-number {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.stat-label {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.stat-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.stat-separator {
  align-self: center;
  font-size: 1.5rem;
  color: var(--text-secondary);
}

@media (max-width: 767px) {
  .stats-section {
    flex-direction: column;
    align-items: center;
  }
}

/* ========================================
   How We Work Section
   ======================================== */
.how-we-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.how-we-work-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-we-work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1199px) {
  .how-we-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .how-we-work-grid {
    grid-template-columns: 1fr;
  }
}

/* Accent text utility */
.text-accent {
  color: var(--accent);
}

/* ========================================
   Pricing Cards
   ======================================== */
.pricing-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2.5rem;
}

.pricing-card-title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.pricing-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pricing-card-price-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card-price {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
}

@media (max-width: 1199px) {
  .pricing-card {
    padding: 2.25rem;
  }
}

@media (max-width: 767px) {
  .pricing-card {
    padding: 2rem;
  }
  
  .pricing-card-title {
    font-size: 1.35rem;
  }
  
  .pricing-card-list {
    font-size: 1.05rem;
  }
  
  .pricing-card-price {
    font-size: 1.5rem;
  }
}

/* ========================================
   Testimonials - Compact Grid
   ======================================== */
.testimonials-compact {
  background-color: var(--bg-secondary);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

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

.testimonial-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.testimonial-rating-number {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-name {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.testimonial-cta {
  text-align: center;
  margin-top: 3rem;
}

.testimonial-cta p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

@media (max-width: 1199px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Creative Solutions Cards
   ======================================== */
.creative-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.creative-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.creative-number {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.creative-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.creative-description {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.creative-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.creative-link:hover {
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .creative-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .creative-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing highlights */
.price-highlight {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.btn:hover .star-icon {
  transform: rotate(180deg);
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: var(--section-padding-y) var(--section-padding-x);
  position: relative;
}

@media (max-width: 767px) {
  .section {
    padding: var(--section-padding-y-mobile) var(--section-padding-x);
  }
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max-width);
  padding: 0 var(--section-padding-x);
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
}

.hero-headline {
  font-family: var(--font-headline);
  font-size: var(--fs-display);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.hero-headline-line {
  display: block;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.service-pill {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.rotating-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.rotating-text {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: rotate-text 20s linear infinite;
}

@keyframes rotate-text {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================
   Image Mosaic
   ======================================== */
.image-mosaic {
  display: flex;
  width: 100%;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

.mosaic-image {
  flex-shrink: 0;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.mosaic-image:hover {
  transform: scale(1.03);
}

/* ========================================
   Logo Ticker
   ======================================== */
.logo-ticker {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-secondary);
}

.logo-ticker-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  padding: 0 var(--section-padding-x);
}

.logo-ticker-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  overflow: hidden;
}

.logo-item {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  filter: brightness(0) invert(1);
}

.logo-item:hover {
  opacity: 1;
}

/* ========================================
   Project Cards
   ======================================== */
.project-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease;
  cursor: pointer;
  position: relative;
}

.project-row:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.project-row .project-image-wrapper {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 250px;
  overflow: hidden;
  border-radius: var(--radius-image);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.project-row:hover .project-image-wrapper {
  opacity: 1;
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-name {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.project-category {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-image-wrapper {
  position: relative;
  width: 400px;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.project-row:hover .project-image {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.project-logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-row:hover .project-logo-overlay {
  opacity: 1;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-block {
  text-align: center;
}

.stat-number {
  font-family: var(--font-headline);
  font-size: 6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.stat-label {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.stat-body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.625;
}

.stat-separator {
  font-size: 3rem;
  color: var(--text-secondary);
  opacity: 0.3;
  margin: 2rem 0;
}

/* ========================================
   Accordion
   ======================================== */
.accordion-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.accordion-trigger {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.accordion-trigger:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.accordion-number {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.accordion-title {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.accordion-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.accordion-item.active .accordion-image {
  opacity: 1;
  transform: translateX(0);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content-inner {
  padding: 0 0 2rem 0;
}

.accordion-description {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.625;
  margin-top: 1rem;
}

/* ========================================
   Testimonial Carousel
   ======================================== */
.testimonial-carousel {
  position: relative;
  min-height: 500px;
}

.testimonial-slide {
  display: none;
  padding: 4rem 0;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-name {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.testimonial-rating-number {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-quote-icon {
  width: 60px;
  height: 60px;
  margin: 2rem 0;
  opacity: 0.3;
}

.testimonial-quote-headline {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.testimonial-quote-body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.625;
  max-width: 800px;
}

.testimonial-client-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 2rem;
}

.carousel-controls {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.carousel-prev,
.carousel-next {
  width: 50px;
  height: 50px;
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--text-primary);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

/* ========================================
   Pricing Card
   ======================================== */
.pricing-card {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.pricing-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.pricing-title {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-price {
  font-family: var(--font-headline);
  font-size: 5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pricing-subtext {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-address,
.footer-phone,
.footer-email {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-decoration: none;
  display: block;
}

.footer-phone:hover,
.footer-email:hover {
  color: var(--text-primary);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-padding-x);
  padding-right: var(--section-padding-x);
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-legal-link:hover {
  color: var(--text-primary);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1199px) {
  .stats-section {
    grid-template-columns: 1fr;
  }
  
  .pricing-card {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .project-row {
    grid-template-columns: 1fr;
  }
  
  .project-image-wrapper {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-headline {
    font-size: clamp(3rem, 10vw, 6rem);
  }
  
  .project-name {
    font-size: 2rem;
  }
  
  .accordion-title {
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 4rem;
  }
  
  .hero-fullscreen {
    min-height: 60vh;
  }
  
  .rotating-badge {
    width: 100px;
    height: 100px;
    bottom: 1rem;
    right: 1rem;
  }
  
  .rotating-text {
    font-size: 0.55rem;
  }
  
  .service-pills {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .image-mosaic {
    flex-direction: column;
  }
  
  .mosaic-image {
    width: 100% !important;
    height: 300px;
  }
  
  .pricing-card {
    padding: 2rem !important;
  }
  
  .pricing-price {
    font-size: 3rem !important;
  }

  /* Project rows: keep hover image inline on mobile to avoid overflow */
  .project-row .project-image-wrapper {
    position: static;
    transform: none;
    width: 100% !important;
    height: auto;
    margin-top: 1.5rem;
    opacity: 1;
  }

  /* Hide all hero images on mobile for cleaner, shorter section */
  .hero-image-grid {
    display: none !important;
  }

  /* Reduce image heights on mobile */
  img[style*="height: 600px"] {
    height: 350px !important;
    max-height: 350px !important;
  }

  img[style*="height: 400px"] {
    height: 250px !important;
    max-height: 250px !important;
  }

  /* Reduce large CTA sizes on mobile */
  .btn-primary[style*="font-size: 1.125rem"] {
    font-size: 0.95rem !important;
  }

  .btn-primary[style*="padding: 1.5rem 3rem"] {
    padding: 1rem 2rem !important;
  }

  .btn-primary[style*="padding: 1.25rem 2.5rem"] {
    padding: 0.95rem 1.8rem !important;
  }
}

/* Extra-small mobile refinements */
@media (max-width: 480px) {
  /* Navigation */
  .nav-container {
    padding: 0 1.25rem;
    gap: 1rem;
  }

  .nav-logo {
    font-size: 1.1rem;
  }

  .nav-cta {
    padding: 0.55rem 1.1rem;
    font-size: 0.75rem;
  }

  .mobile-menu-link {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  /* Sections & containers */
  .section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Reduce image heights on small phones */
  img[style*="height: 600px"] {
    height: 300px !important;
    max-height: 300px !important;
  }

  img[style*="height: 400px"] {
    height: 240px !important;
    max-height: 240px !important;
  }

  /* Smaller CTAs on small phones */
  .btn-primary[style*="font-size: 1.125rem"] {
    font-size: 0.9rem !important;
  }

  .btn-primary[style*="padding: 1.5rem 3rem"] {
    padding: 0.9rem 1.6rem !important;
  }

  .btn-primary[style*="padding: 1.25rem 2.5rem"] {
    padding: 0.9rem 1.5rem !important;
  }

  /* Hero & key imagery */
  .hero-fullscreen > .container {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }

  .hero-headline {
    font-size: clamp(2.4rem, 8vw, 3rem);
  }

  /* Hide all hero images on mobile for cleaner, shorter section */
  .hero-image-grid {
    display: none !important;
  }

  /* Reduce heights for images with inline styles */
  img[style*="height: 600px"],
  img[style*="height: 400px"] {
    height: 280px !important;
    max-height: 280px !important;
  }

  img[style*="height: 300px"] {
    height: 200px !important;
    max-height: 200px !important;
  }

  /* Cards & stats */
  .testimonial-card,
  .creative-card,
  .pricing-card,
  .stat-card {
    padding: 1.75rem !important;
  }

  .stat-number {
    font-size: 3rem;
  }

  .pricing-price {
    font-size: 2.5rem !important;
  }

  /* Accordion layout */
  .accordion-trigger {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .accordion-title {
    font-size: 1.25rem;
  }

  /* Contact form card padding (contact.html) */
  form[style*="padding: 3rem"] {
    padding: 2rem !important;
  }

  /* Reduce large CTA button sizes on mobile */
  .btn-primary[style*="font-size: 1.125rem"],
  .btn-primary[style*="padding: 1.25rem"],
  .btn-primary[style*="padding: 1.5rem"] {
    font-size: 0.9rem !important;
    padding: 0.9rem 1.5rem !important;
  }
}

@media (max-width: 375px) {
  .nav-container {
    padding: 0 1rem;
    gap: 0.75rem;
  }

  .nav-cta {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
  }

  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-headline {
    font-size: clamp(2.1rem, 7vw, 2.6rem);
  }

  .btn {
    padding: 0.85rem 1.4rem;
    font-size: 0.8rem;
  }

  .stat-number {
    font-size: 2.4rem;
  }

  .pricing-price {
    font-size: 2.2rem !important;
  }

  /* Contact form a bit tighter on very small devices */
  form[style*="padding: 3rem"] {
    padding: 1.5rem !important;
  }

  /* Hide all hero images on very small screens too */
  .hero-image-grid {
    display: none !important;
  }

  img[style*="height: 600px"],
  img[style*="height: 400px"] {
    height: 220px !important;
    max-height: 220px !important;
  }

  img[style*="height: 300px"] {
    height: 180px !important;
    max-height: 180px !important;
  }

  /* Smaller CTAs on very small screens */
  .btn-primary[style*="font-size: 1.125rem"],
  .btn-primary[style*="padding: 1.25rem"],
  .btn-primary[style*="padding: 1.5rem"] {
    font-size: 0.85rem !important;
    padding: 0.85rem 1.3rem !important;
  }
}