/**
 * AdMagic Theme - Main Stylesheet
 *
 * @package AdMagic
 * @since 1.0.0
 */

/* ===== CSS Custom Properties ===== */
:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F4F4F5;
  --gray-200: #E4E4E7;
  --gray-400: #A1A1AA;
  --gray-600: #52525B;
  --accent: #FF2D55;
  --accent-orange: #FF9500;
  --accent-purple: #AF52DE;
  --gradient: linear-gradient(135deg, #FF2D55 0%, #FF9500 50%, #AF52DE 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(255,45,85,0.1) 0%, rgba(175,82,222,0.1) 100%);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.headline-hero {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
}

.headline-section {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.headline-card {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ===== Layout ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

section {
  padding: clamp(3rem, 8vh, 6rem) 0;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease);
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.logo-image {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-logo {
  color: var(--white);
}

.footer-logo .logo-image {
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer-logo .logo-icon {
  background: var(--white);
  color: var(--accent);
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover {
  color: var(--black);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

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

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255,45,85,0.3);
}

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

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

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  position: relative;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero > .container {
  width: 100%;
}

.hero-content {
  max-width: 55%;
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.25rem;
  background: var(--gradient-subtle);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-label-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-text {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--gray-600);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

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

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Hero visual */
.hero-visual {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 45%;
  aspect-ratio: 9/16;
  max-width: 400px;
  border-radius: 24px;
  background: var(--gradient);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6) 100%);
  z-index: 2;
  pointer-events: none;
}

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

.hero-visual.has-video {
  background: var(--black);
}

.hero-visual-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: white;
  z-index: 3;
}

.hero-visual-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.visual-stat {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-visual-bar {
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}

.hero-visual-progress {
  height: 100%;
  width: 65%;
  background: white;
  border-radius: 2px;
  animation: progressGrow 3s ease-out infinite;
}

@keyframes progressGrow {
  0% { width: 0; }
  50% { width: 65%; }
  100% { width: 65%; }
}

/* ===== Live Ticker ===== */
.ticker-section {
  background: var(--black);
  padding: 1rem 0;
  overflow: hidden;
}

.ticker {
  display: flex;
  animation: ticker 40s linear infinite;
}

.ticker-content {
  display: flex;
  gap: 3rem;
  flex-shrink: 0;
  padding-right: 3rem;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Services ===== */
.services {
  background: var(--gray-50);
}

.section-header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}

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

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-subtle);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Results ===== */
.results {
  background: var(--white);
}

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

.result-card {
  text-align: center;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: 20px;
  transition: all 0.3s var(--ease);
}

.result-card:hover {
  background: var(--gradient-subtle);
}

.result-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.result-label {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Case Studies */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.case-card {
  background: var(--gray-50);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: all 0.4s var(--ease);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.case-image {
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  mix-blend-mode: overlay;
}

.case-metrics {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.case-metric-value {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
}

.case-metric-label {
  font-size: 1rem;
  opacity: 0.9;
}

.case-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-client {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.case-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.case-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-name {
  font-weight: 600;
}

.case-industry {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.case-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.case-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.case-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.case-tag {
  padding: 0.375rem 0.75rem;
  background: var(--white);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* ===== Pricing ===== */
.pricing {
  background: var(--gray-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 24px;
  border: 2px solid var(--gray-200);
  transition: all 0.4s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: var(--white);
}

.pricing-card.featured::before {
  content: 'Populiariausias';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card.featured .pricing-name {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-description {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-600);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
}

.pricing-card.featured .pricing-amount {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-card.featured .btn-primary {
  background: var(--gradient);
}

.pricing-card.featured .btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ===== Process ===== */
.process {
  background: var(--black);
  color: var(--white);
}

.process .section-label {
  color: var(--accent-orange);
}

.process .headline-section {
  color: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: calc(2rem + 38px);
  left: calc(50% + 45px);
  right: -45px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-purple) 100%);
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(255,45,85,0.2) 0%, rgba(175,82,222,0.2) 100%);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  transition: all 0.3s var(--ease);
}

.process-step:hover .step-number {
  background: var(--gradient);
  border-color: transparent;
  transform: scale(1.1);
}

.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--gray-50);
}

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

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s var(--ease);
}

.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(255,45,85,0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  color: var(--accent-orange);
  font-size: 1rem;
}

.testimonial-rating .star-icon {
  width: 16px;
  height: 16px;
}

/* ===== CTA ===== */
.cta {
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: var(--gradient-subtle);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--gray-400);
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-column h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--gray-400);
}

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

.footer-link {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

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

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 1.125rem;
  transition: all 0.3s var(--ease);
}

.social-link:hover {
  background: var(--gradient);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== Responsive ===== */
/* =============================================
   RESPONSIVE - TABLET (1024px)
   ============================================= */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 100%;
  }

  .hero-visual {
    display: none;
  }

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

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

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

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-image {
    min-height: 200px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

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

  .process-step::after {
    display: none;
  }

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

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

  .footer-brand {
    grid-column: span 2;
  }
}

/* =============================================
   RESPONSIVE - MOBILE (768px)
   ============================================= */
@media (max-width: 768px) {
  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s var(--ease) 0.1s;
  }

  .nav.is-open .nav-links {
    opacity: 1;
    transform: translateY(0);
  }

  .nav .nav-link {
    font-size: 1.25rem;
  }

  .nav .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s var(--ease) 0.2s;
  }

  .nav.is-open .btn {
    opacity: 1;
    transform: translateY(0);
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 3rem;
  }

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

  .hero-text {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-stat {
    flex: 1 1 45%;
    min-width: 120px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  /* Results */
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .result-card {
    padding: 1.5rem;
  }

  .result-value {
    font-size: 2rem;
  }

  /* Cases */
  .case-content {
    padding: 1.5rem;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-card.featured {
    order: -1;
  }

  .pricing-card {
    padding: 2rem;
  }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    margin: 0;
    flex-shrink: 0;
    font-size: 1rem;
  }

  .process-step h4 {
    margin-bottom: 0.25rem;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  /* CTA */
  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-links {
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 2rem;
  }

  .headline-section {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
}

/* =============================================
   RESPONSIVE - SMALL MOBILE (480px)
   ============================================= */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-stat {
    flex: 1 1 100%;
    text-align: center;
  }

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

  .btn-large {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* =============================================
   PORTFOLIO STYLES
   ============================================= */

/* Portfolio Archive Hero */
.portfolio-hero {
  padding: clamp(6rem, 12vh, 8rem) 0 clamp(2rem, 4vh, 3rem);
  text-align: center;
}

.portfolio-hero .section-header {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.portfolio-hero .headline-hero {
  margin-bottom: 1.5rem;
}

.portfolio-hero-text {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* Portfolio Archive Grid */
.portfolio-archive {
  padding: clamp(2rem, 5vh, 4rem) 0 clamp(5rem, 10vh, 8rem);
}

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

/* Portfolio Card */
.portfolio-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.portfolio-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.portfolio-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
}

/* Gradient fallback when no featured image */
.portfolio-card-image.no-thumb {
  background: linear-gradient(135deg, var(--card-gradient, var(--accent)) 0%, var(--accent-purple) 100%);
}

.portfolio-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s var(--ease);
}

.portfolio-card:hover .portfolio-card-thumb {
  transform: scale(1.05);
  opacity: 0.75;
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.portfolio-card-metric {
  text-align: center;
  color: white;
}

.portfolio-card-metric .metric-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.portfolio-card-metric .metric-label {
  font-size: 0.875rem;
  opacity: 0.9;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.portfolio-card-hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.portfolio-card:hover .portfolio-card-hover {
  opacity: 1;
}

.view-project {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

.portfolio-card-content {
  padding: 1.5rem;
}

.portfolio-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.portfolio-card-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--gray-50);
  padding: 0.25rem;
}

.portfolio-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.portfolio-card-industry {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.portfolio-card-excerpt {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-tag {
  padding: 0.375rem 0.75rem;
  background: var(--gray-100);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* Portfolio Pagination */
.portfolio-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.portfolio-pagination a,
.portfolio-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.portfolio-pagination a {
  background: var(--white);
  border: 2px solid var(--gray-200);
  color: var(--gray-600);
}

.portfolio-pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.portfolio-pagination .current {
  background: var(--black);
  border: 2px solid var(--black);
  color: var(--white);
}

/* No Results */
.no-results {
  text-align: center;
  padding: 5rem 0;
}

.no-results h2 {
  font-family: var(--font-display);
  margin-bottom: 1rem;
}

.no-results p {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

/* =============================================
   PORTFOLIO SINGLE PAGE
   ============================================= */

/* Single Hero */
.portfolio-hero-single {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.portfolio-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.portfolio-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.portfolio-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.5) 50%,
    var(--black) 100%
  );
  z-index: 1;
}

.portfolio-hero-single::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--hero-gradient, var(--accent)) 0%, var(--accent-purple) 100%);
  opacity: 0.15;
  z-index: 1;
}

/* Light style when no featured image is set */
.portfolio-hero-single.no-image {
  background: var(--black);
  min-height: 60vh;
}

.portfolio-hero-single.no-image .portfolio-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.9) 0%,
    var(--black) 100%
  );
}

.portfolio-hero-single.no-image::before {
  opacity: 0.3;
}

.portfolio-hero-single.no-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--hero-gradient, var(--accent)) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

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

.portfolio-hero-content {
  text-align: center;
  color: white;
}

.portfolio-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.3s var(--ease);
}

.portfolio-back-link:hover {
  color: white;
}

.portfolio-hero-logo {
  margin-bottom: 2rem;
}

.portfolio-hero-logo img {
  max-height: 80px;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.portfolio-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.portfolio-hero-industry {
  font-size: 1.25rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.portfolio-hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.hero-tag {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.portfolio-hero-metrics {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-metric {
  text-align: center;
}

.hero-metric-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-metric-label {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.portfolio-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Overview Section */
.portfolio-overview {
  padding: clamp(3rem, 6vh, 5rem) 0;
  background: var(--gray-50);
}

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

.overview-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--gray-200);
}

.overview-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.overview-icon svg {
  width: 32px;
  height: 32px;
}

.overview-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.overview-card p {
  color: var(--gray-600);
  line-height: 1.7;
}

.overview-meta {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-200);
}

.overview-meta-item {
  text-align: center;
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.meta-tag {
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
}

.meta-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Stats Section */
.portfolio-stats {
  padding: clamp(3rem, 6vh, 5rem) 0;
}

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

.stat-card {
  text-align: center;
  padding: 2.5rem;
  background: var(--gray-50);
  border-radius: 24px;
  transition: all 0.3s var(--ease);
}

.stat-card:hover {
  background: var(--white);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.stat-description {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

/* Gallery Section */
.portfolio-gallery {
  padding: clamp(3rem, 6vh, 5rem) 0;
  background: var(--gray-50);
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}

.gallery-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.gallery-tab:hover {
  border-color: var(--accent);
}

.gallery-tab.active {
  background: var(--black);
  border-color: var(--black);
  color: white;
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 0.5rem;
  background: var(--gray-100);
  border-radius: 100px;
  font-size: 0.75rem;
}

.gallery-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.2);
}

.gallery-tab svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.gallery-content {
  display: none;
}

.gallery-content.active {
  display: block;
}

/* Photos Grid */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.photo-item:hover img {
  transform: scale(1.1);
}

.photo-zoom {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.photo-item:hover .photo-zoom {
  opacity: 1;
}

/* Videos Grid */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-item {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.video-link {
  display: block;
  position: relative;
  aspect-ratio: 9/16;
  background: var(--gradient);
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-100) 100%);
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s var(--ease);
}

.video-link:hover .video-play {
  background: rgba(0, 0, 0, 0.5);
}

.play-icon {
  font-size: 3rem;
}

.play-platform {
  font-size: 0.875rem;
  font-weight: 600;
}

/* Social Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.social-post-item {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.post-header {
  padding: 0.75rem 1rem;
  background: var(--platform-color, var(--gray-600));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
}

.post-image-link {
  display: block;
}

.post-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.post-caption {
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--gray-600);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Content Blocks */
.portfolio-content {
  padding: clamp(3rem, 6vh, 5rem) 0;
}

.content-block {
  margin-bottom: 4rem;
}

.content-block:last-child {
  margin-bottom: 0;
}

.text-block-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-600);
}

.text-block-content h2,
.text-block-content h3,
.text-block-content h4 {
  font-family: var(--font-display);
  color: var(--black);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.text-block-content p {
  margin-bottom: 1.5rem;
}

.image-text-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.image-text-block[data-position="right"] {
  direction: rtl;
}

.image-text-block[data-position="right"] > * {
  direction: ltr;
}

.image-text-image img {
  width: 100%;
  border-radius: 24px;
}

.image-text-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-600);
}

.image-text-content h2,
.image-text-content h3 {
  font-family: var(--font-display);
  color: var(--black);
  margin-bottom: 1rem;
}

.quote-block {
  max-width: 900px;
  margin: 4rem auto;
  text-align: center;
}

.content-quote {
  position: relative;
  padding: 3rem;
  background: var(--gradient-subtle);
  border-radius: 24px;
  margin: 0;
}

.content-quote::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
}

.content-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--black);
  margin: 0 0 1rem;
}

.content-quote cite {
  font-style: normal;
  font-size: 1rem;
  color: var(--gray-600);
}

/* Testimonial Section */
.portfolio-testimonial {
  padding: clamp(3rem, 6vh, 5rem) 0;
  background: var(--gray-50);
}

.testimonial-single {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border-radius: 32px;
  border: 1px solid var(--gray-200);
}

.testimonial-quote-icon {
  font-size: 4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

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

.testimonial-name {
  font-weight: 600;
  color: var(--black);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.testimonial-rating {
  font-size: 1.25rem;
}

/* Related Projects */
.portfolio-related {
  padding: clamp(3rem, 6vh, 5rem) 0;
}

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

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

.related-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Portfolio CTA */
.portfolio-cta {
  background: var(--black);
}

.portfolio-cta .cta-content {
  color: white;
}

.portfolio-cta .cta-content p {
  color: rgba(255, 255, 255, 0.7);
}

.portfolio-cta .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.portfolio-cta .btn-outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

/* =============================================
   PORTFOLIO RESPONSIVE
   ============================================= */

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

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

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

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

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

  .portfolio-hero-metrics {
    gap: 2rem;
  }

  .overview-meta {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .portfolio-hero {
    padding: 5rem 0 2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 1rem;
    margin: 0 -1rem;
    padding: 0 1rem 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    flex-shrink: 0;
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }

  .portfolio-hero-single {
    min-height: auto;
    padding: 5rem 0 2rem;
  }

  .portfolio-hero-single.no-image {
    min-height: auto;
  }

  .portfolio-hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .portfolio-hero-metrics {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-metric {
    flex: 1 1 45%;
    min-width: 120px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .overview-card {
    padding: 1.5rem;
  }

  .overview-meta {
    flex-direction: column;
    gap: 1.5rem;
  }

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

  .stat-card {
    padding: 1.5rem;
  }

  .stat-value {
    font-size: 2rem;
  }

  .gallery-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 1rem;
    margin: 2rem -1rem;
    padding: 0 1rem 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-tab {
    flex-shrink: 0;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .image-text-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .image-text-block[data-position="right"] {
    direction: ltr;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-single {
    padding: 1.5rem;
  }

  .testimonial-quote {
    font-size: 1.125rem;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .portfolio-cta .cta-buttons {
    flex-direction: column;
  }

  .portfolio-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .testimonial-info {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-metric {
    flex: 1 1 100%;
    text-align: center;
  }

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

  .photos-grid,
  .videos-grid,
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Lightbox Styles (Simple) */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* =============================================
   CONTACT PAGE STYLES
   ============================================= */

.contact-page {
  padding-top: 80px;
}

.contact-hero {
  padding: clamp(4rem, 8vh, 6rem) 0 clamp(2rem, 4vh, 3rem);
  text-align: center;
}

.contact-hero .section-header {
  max-width: 700px;
  margin: 0 auto;
}

.contact-hero-text {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 500px;
  margin: 1rem auto 0;
}

.contact-content {
  padding: clamp(2rem, 4vh, 3rem) 0 clamp(4rem, 8vh, 6rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

/* Contact Info */
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info-text {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease);
}

a.contact-detail:hover {
  background: var(--gray-100);
  transform: translateX(4px);
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-detail-content {
  display: flex;
  flex-direction: column;
}

.contact-detail-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-detail-value {
  font-weight: 600;
  color: var(--black);
}

.contact-social {
  margin-bottom: 2.5rem;
}

.contact-social h3,
.contact-hours h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--gray-600);
}

.contact-social .social-links {
  background: var(--gray-50);
  padding: 1rem;
  border-radius: 12px;
  justify-content: flex-start;
}

.contact-social .social-link {
  background: var(--white);
  color: var(--black);
}

.contact-social .social-link:hover {
  background: var(--gradient);
  color: var(--white);
}

.hours-list {
  background: var(--gray-50);
  border-radius: 12px;
  overflow: hidden;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item span:first-child {
  color: var(--gray-600);
}

.hours-item span:last-child {
  font-weight: 600;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
}

.form-group label .required {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
  background: var(--white);
  transition: all 0.3s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 45, 85, 0.1);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 400;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.form-checkbox a {
  color: var(--accent);
  text-decoration: none;
}

.form-checkbox a:hover {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.form-submit .btn-loading {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.form-submit.is-loading .btn-text {
  display: none;
}

.form-submit.is-loading .btn-loading {
  display: flex;
}

.form-submit .spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.form-message {
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  text-align: center;
  display: none;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    order: 2;
  }

  .contact-form-wrapper {
    order: 1;
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-form-wrapper {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .contact-detail {
    padding: 0.875rem;
  }

  .contact-detail-icon {
    width: 40px;
    height: 40px;
  }
}
