/* ========================================
   A DESIGN STUDIO - Main Stylesheet
   Dark, Minimal, Luxury Aesthetic
   ======================================== */

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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);
  --accent: #c9a96e;
  --accent-hover: #dbbe85;
  --border: rgba(255, 255, 255, 0.08);
  --font: 'Montserrat', Arial, sans-serif;
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --ease-out-quart: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s ease;
  --header-height: 80px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 1px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 3px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 2px;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

p {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
  display: inline-block;
}

.section-title {
  margin-bottom: 24px;
}

.section-desc {
  max-width: 600px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

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

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 40px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-logo img {
  height: 44px;
  filter: invert(1);
  transition: opacity var(--transition);
}

.header-logo:hover img {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

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

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

.nav-cta {
  margin-left: 20px;
}

.nav-cta .btn {
  padding: 10px 28px;
  font-size: 0.7rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition);
  transform-origin: center;
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--accent);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: var(--header-height);
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0) 70%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 40px;
}

.hero-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}

.hero h1 {
  margin-bottom: 20px;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 0.95rem;
  max-width: 520px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.hero .btn-group {
  margin-top: 8px;
}

.hero .btn-outline {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.hero .btn-outline:hover {
  background: rgba(201, 169, 110, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  animation: pulse 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-primary), transparent);
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* --- Sections --- */
.section {
  padding: 120px 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-desc {
  margin: 0 auto;
}

/* --- Studio Intro (Home) --- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.intro-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.intro-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
  z-index: 1;
  opacity: 0.4;
}

.intro-text h2 {
  margin-bottom: 24px;
}

.intro-text p {
  margin-bottom: 16px;
}

.intro-text .btn {
  margin-top: 24px;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--border);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* --- Service Category Cards (Home) --- */
.service-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-category-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/5;
  display: block;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.service-category-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.service-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-category-card:hover .service-category-img img {
  transform: scale(1.08);
}

.service-category-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  z-index: 1;
}

.service-category-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.service-category-info h3 {
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.service-category-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition);
}

.service-category-card:hover .service-category-arrow {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg-primary);
  transform: translateX(4px);
}

/* --- Services Snapshot (legacy, still used) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  padding: 48px 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

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

.service-icon {
  font-size: 2rem;
  margin-bottom: 24px;
  display: block;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.service-card p {
  font-size: 0.85rem;
  line-height: 1.7;
}

/* --- Featured Projects (Home) --- */
.projects-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  border-radius: 12px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background var(--transition);
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%);
}

.project-category {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
}

.project-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* --- Why Choose Us --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.feature-item {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color var(--transition);
}

.feature-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-num {
  font-size: 2rem;
  font-weight: 200;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.feature-content h3 {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.feature-content p {
  font-size: 0.85rem;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- About Page --- */
.page-hero {
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: var(--bg-secondary);
  padding-top: var(--header-height);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1rem;
  max-width: 500px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 20px;
}

.expertise-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.expertise-item {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.expertise-item h3 {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.expertise-item p {
  font-size: 0.8rem;
}

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

.vision-section h2 {
  margin-bottom: 24px;
}

.vision-section .divider {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 32px;
}

/* --- Services Page --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-img {
  overflow: hidden;
  border-radius: 12px;
}

.service-detail-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-detail-img:hover img {
  transform: scale(1.03);
}

.service-detail-text .section-label {
  margin-bottom: 16px;
}

.service-detail-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 20px;
}

.service-detail-text p {
  margin-bottom: 16px;
}

.service-features {
  margin-top: 24px;
}

.service-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-features li::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* --- Projects / Portfolio Page --- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 28px;
  font-family: var(--font);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--text-primary);
  border-color: var(--accent);
  background: rgba(201, 169, 110, 0.08);
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/5;
  border-radius: 12px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-item:hover .portfolio-info {
  opacity: 1;
}

.portfolio-info .project-category {
  margin-bottom: 6px;
}

.portfolio-info .project-title {
  font-size: 1rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  font-weight: 300;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
}

.lightbox-close:hover {
  opacity: 0.6;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info-item {
  margin-bottom: 40px;
}

.contact-info-item h3 {
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.contact-info-item p {
  font-size: 0.95rem;
}

.contact-info-item a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.contact-info-item a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--accent);
}

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

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

.contact-form .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* WhatsApp Button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border-radius: 6px;
  background: #25d366;
  color: #fff;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}

.whatsapp-btn:hover {
  background: #1fb855;
  color: #fff;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background: #1fb855;
  color: #fff;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.4);
  animation: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* --- Footer --- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

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

.footer-brand img {
  height: 36px;
  filter: invert(1);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.85rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 0;
  font-weight: 300;
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* --- 3D Tilt Cards --- */
.tilt-3d {
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}

.card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

.tilt-3d .service-icon,
.tilt-3d h3,
.tilt-3d p {
  transform: translateZ(30px);
}

/* --- Image reveal animation --- */
.img-reveal {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 2;
  border-radius: inherit;
}

.img-reveal.revealed::after {
  transform: scaleY(0);
}

.img-reveal img {
  transform: scale(1.15);
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

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

/* --- Floating animation --- */
@keyframes floatAnimation {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-element {
  will-change: transform;
}

/* --- Glow effect on accent elements --- */
.glow-accent {
  position: relative;
}

.glow-accent::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 20px;
  background: var(--accent);
  filter: blur(20px);
  opacity: 0.15;
  border-radius: 50%;
}

/* --- 3D Hero enhancements --- */
.hero-bg img {
  transform: scale(1.1);
  will-change: transform;
}

/* --- Animated gradient border --- */
.gradient-border {
  position: relative;
  background: var(--bg-card);
  overflow: hidden;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(
    from 0deg,
    transparent,
    var(--accent),
    transparent,
    transparent,
    var(--accent),
    transparent
  );
  animation: rotateBorder 4s linear infinite;
  z-index: -1;
}

.gradient-border::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--bg-card);
  border-radius: inherit;
  z-index: -1;
}

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

/* --- Enhanced service cards with 3D --- */
.service-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 169, 110, 0.05);
}

/* --- Enhanced project cards with 3D --- */
.project-card {
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.project-card:hover {
  transform: scale(1.03) translateZ(20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.project-card:hover img {
  transform: scale(1.1);
}

.portfolio-item {
  transform-style: preserve-3d;
  transition: opacity 0.4s ease, transform 0.5s ease, box-shadow 0.5s ease;
}

.portfolio-item:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* --- Enhanced feature items --- */
.feature-item {
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-item:hover {
  border-color: rgba(201, 169, 110, 0.3);
  transform: translateX(8px);
  box-shadow: -4px 0 20px rgba(201, 169, 110, 0.08);
}

/* --- Enhanced buttons --- */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.4);
  transform: translateY(-2px);
}

.btn-magnetic {
  transition: transform 0.2s ease-out;
}

/* --- Stats 3D effect --- */
.stat-item {
  transition: transform var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-number {
  text-shadow: 0 0 40px rgba(201, 169, 110, 0.2);
}

/* --- Section divider lines --- */
.section-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  margin: 0 auto 32px;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

/* --- Scroll reveal animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Text reveal */
.text-reveal {
  overflow: hidden;
  display: inline-block;
}

.text-reveal-inner {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible .text-reveal-inner,
.text-reveal.visible .text-reveal-inner {
  transform: translateY(0);
}

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

/* --- Ambient glow on CTA --- */
.cta-banner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Page hero enhanced --- */
.page-hero {
  overflow: hidden;
}

.page-hero .section-label {
  animation: fadeInDown 0.8s 0.3s both;
}

.page-hero h1 {
  animation: fadeInDown 0.8s 0.5s both;
}

.page-hero p {
  animation: fadeInDown 0.8s 0.7s both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Expertise item hover --- */
.expertise-item {
  transition: all var(--transition);
}

.expertise-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .header {
    padding: 0 32px;
  }

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

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

  .service-categories > a[style*="span 2"] {
    grid-column: span 2 !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

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

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .container {
    padding: 0 20px;
  }

  .header {
    padding: 0 20px;
  }

  .section {
    padding: 80px 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    height: 100vh;
    min-height: 560px;
    align-items: flex-end;
    padding-bottom: 80px;
  }

  .hero-content {
    padding: 0 24px;
    max-width: 100%;
  }

  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none !important;
  }

  .hero-bg::after {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.45) 35%,
      rgba(0, 0, 0, 0) 65%,
      rgba(0, 0, 0, 0.2) 100%
    );
  }

  .hero h1 {
    font-size: 1.9rem;
    letter-spacing: 1.5px;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .hero .btn-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero .btn {
    text-align: center;
    width: 100%;
  }

  .scroll-indicator {
    display: none;
  }

  .intro-grid,
  .about-content,
  .contact-grid,
  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .service-detail.reverse > * {
    direction: ltr;
  }

  .projects-showcase,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .service-categories {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-categories > a[style*="span 2"] {
    grid-column: auto !important;
  }

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

  .service-card {
    padding: 32px 24px;
  }

  .expertise-list {
    grid-template-columns: 1fr;
  }

  .intro-image img {
    height: 350px;
  }

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

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .page-hero {
    height: 40vh;
    min-height: 300px;
  }

  .portfolio-info {
    opacity: 1;
  }

  .filter-bar {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.65rem;
  }

  .tilt-3d {
    transform: none !important;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  h2 {
    font-size: 1.4rem;
  }

  .projects-showcase,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

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

  .btn {
    padding: 12px 28px;
    font-size: 0.75rem;
  }
}

/* ==================================================
   EDITORIAL DESIGN SYSTEM
   Premium studio identity — typography, motion, layout
   ================================================== */

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-hover));
  z-index: 1100;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* --- Display typography --- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: none;
}

.display em,
.display .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 9.5rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: none;
}

.display-l {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: none;
}

.display-m {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: none;
}

.eyebrow {
  font-family: var(--font);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-out-expo) 0.2s;
}

.visible .eyebrow::before,
.fade-in.visible .eyebrow::before,
.eyebrow.in-view::before {
  transform: scaleX(1);
}

/* --- Split text: word-by-word line reveal --- */
.split-lines {
  display: block;
}

.split-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.split-word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 1s var(--ease-out-expo),
    opacity 0.7s var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
}

.split-lines.revealed .split-word {
  transform: translateY(0);
  opacity: 1;
}

/* --- Hero V2: Editorial composition --- */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 140px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.hero-v2 .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.hero-v2 .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.2) 30%, rgba(10, 10, 10, 0.15) 65%, rgba(10, 10, 10, 0.85) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0) 55%);
}

.hero-watermark {
  position: absolute;
  right: -3vw;
  bottom: -12vw;
  font-family: var(--font-display);
  font-size: 42vw;
  line-height: 0.8;
  font-weight: 300;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  z-index: 1;
  user-select: none;
  font-style: italic;
}

.hero-v2-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 60px;
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  justify-content: center;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 40px;
}

.hero-meta-item {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-meta-item .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
  animation: heroDotPulse 2.4s ease-in-out infinite;
}

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

.hero-v2 .hero-title {
  max-width: 1100px;
  color: var(--text-primary);
}

.hero-v2 .hero-title .line-1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: none;
}

.hero-v2 .hero-title .line-2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--accent);
  text-transform: none;
}

.hero-v2 .hero-title .line-3 {
  font-family: var(--font);
  font-weight: 200;
  font-size: clamp(2rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-v2 .hero-sub {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-v2 .hero-sub-text {
  max-width: 420px;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.hero-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition);
}

.hero-cta-link .arrow {
  width: 40px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s ease;
}

.hero-cta-link .arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.hero-cta-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero-cta-link:hover .arrow {
  width: 56px;
}

.hero-v2 .hero-footer {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.hero-v2 .hero-footer .scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-v2 .hero-footer .scroll-hint::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
  animation: scrollHint 2s ease-in-out infinite;
  transform-origin: left;
}

@keyframes scrollHint {
  0%, 100% { transform: scaleX(0.3); }
  50% { transform: scaleX(1); }
}

/* --- Marquee / Ticker --- */
.marquee {
  padding: 32px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: marqueeScroll 40s linear infinite;
  padding-right: 60px;
  will-change: transform;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 60px;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.marquee-item .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.marquee-item.outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
  font-style: normal;
  font-weight: 300;
  text-transform: uppercase;
  font-family: var(--font);
  letter-spacing: -0.01em;
}

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

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* --- Editorial section header --- */
.section-header-v2 {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 80px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.section-index {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 8px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-index::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 900px;
  color: var(--text-primary);
  text-transform: none;
}

.section-heading em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.section-header-v2 .section-desc {
  grid-column: 2;
  margin-top: 24px;
  max-width: 640px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* --- Service category cards (premium upgrade) --- */
.service-categories.editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  row-gap: 48px;
}

.service-categories.editorial .service-category-card {
  aspect-ratio: auto;
  border-radius: 0;
  background: transparent;
  position: relative;
  display: block;
  overflow: visible;
  transition: transform 0.6s var(--ease-out-expo);
}

.service-categories.editorial .service-category-card .service-category-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.5s var(--ease-out-expo);
}

.service-categories.editorial .service-category-card .service-category-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

.service-categories.editorial .service-category-card:hover .service-category-img::after {
  opacity: 1;
}

.service-categories.editorial .service-category-card .service-category-img img {
  transition: transform 1s var(--ease-out-expo), filter 0.5s ease;
  filter: grayscale(15%);
}

.service-categories.editorial .service-category-card:hover .service-category-img img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.service-categories.editorial .service-category-info {
  position: static;
  padding: 20px 0 0;
  background: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.service-categories.editorial .service-category-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.service-categories.editorial .service-category-tag {
  font-family: var(--font);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.service-categories.editorial .service-category-info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-transform: none;
  margin: 0;
}

.service-categories.editorial .service-category-card:hover .service-category-info h3 {
  color: var(--accent);
}

.service-categories.editorial .service-category-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.service-categories.editorial .service-category-card:hover .service-category-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-primary);
  transform: translate(4px, -4px);
}

/* --- Asymmetric editorial grid spans --- */
.service-categories.editorial .svc-1 { grid-column: span 8; }  /* wide feature */
.service-categories.editorial .svc-2 { grid-column: span 4; }  /* portrait */
.service-categories.editorial .svc-3 { grid-column: span 4; }  /* portrait */
.service-categories.editorial .svc-4 { grid-column: span 8; }  /* wide */
.service-categories.editorial .svc-5 { grid-column: span 6; }  /* medium */
.service-categories.editorial .svc-6 { grid-column: span 6; }  /* medium */
.service-categories.editorial .svc-7 { grid-column: span 12; } /* full-width finale */

/* Aspect ratios for varied visual rhythm */
.service-categories.editorial .svc-1 .service-category-img,
.service-categories.editorial .svc-4 .service-category-img {
  aspect-ratio: 16 / 10;
}

.service-categories.editorial .svc-2 .service-category-img,
.service-categories.editorial .svc-3 .service-category-img {
  aspect-ratio: 4 / 5;
}

.service-categories.editorial .svc-5 .service-category-img,
.service-categories.editorial .svc-6 .service-category-img {
  aspect-ratio: 4 / 3;
}

.service-categories.editorial .svc-7 .service-category-img {
  aspect-ratio: 21 / 9;
}

/* Subtle vertical offsets create editorial rhythm */
.service-categories.editorial .svc-2 { margin-top: 60px; }
.service-categories.editorial .svc-3 { margin-top: 0; }
.service-categories.editorial .svc-5 { margin-top: 40px; }
.service-categories.editorial .svc-6 { margin-top: 0; }

/* Premium hover: reveal label from bottom-left */
.service-categories.editorial .service-category-card {
  position: relative;
}

.service-categories.editorial .service-category-info {
  padding: 20px 4px 0;
}

.service-categories.editorial .service-category-card .service-category-img {
  position: relative;
}

/* Overlay label that slides up on hover (on top of image) */
.service-categories.editorial .service-category-card .hover-label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
  pointer-events: none;
}

.service-categories.editorial .service-category-card:hover .hover-label {
  opacity: 1;
  transform: translateY(0);
}

.service-categories.editorial .service-category-card .hover-label .label-tag {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 500;
}

.service-categories.editorial .service-category-card .hover-label .label-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Index number on each card */
.service-categories.editorial .service-category-card .card-index {
  position: absolute;
  top: 16px;
  left: 20px;
  z-index: 2;
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.7);
  mix-blend-mode: difference;
}

/* --- About split layout --- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
}

.about-split .about-text .eyebrow {
  margin-bottom: 32px;
}

.about-split .about-text h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.about-split .about-text h2 em {
  font-style: italic;
  color: var(--accent);
}

.about-split .about-text p {
  margin-bottom: 16px;
}

/* --- Why Us Editorial --- */
.why-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
}

.why-editorial .feature-item {
  padding: 40px 0;
  background: none;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  gap: 32px;
  transition: padding-left 0.4s var(--ease-out-expo);
}

.why-editorial .feature-item:hover {
  transform: none;
  box-shadow: none;
  padding-left: 12px;
}

.why-editorial .feature-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 2.4rem;
  color: var(--accent);
}

.why-editorial .feature-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 12px;
}

/* --- CTA Editorial --- */
.cta-editorial {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}

.cta-editorial::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.cta-editorial .eyebrow {
  justify-content: center;
  margin-bottom: 32px;
}

.cta-editorial h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-editorial h2 em {
  font-style: italic;
  color: var(--accent);
}

.cta-editorial p {
  max-width: 460px;
  margin: 0 auto 48px;
}

/* --- Magnetic cursor feedback --- */
.magnetic {
  display: inline-block;
  transition: transform 0.3s var(--ease-out-quart);
  will-change: transform;
}

/* --- Image hover cursor tag --- */
.cursor-tag {
  position: fixed;
  top: 0;
  left: 0;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  border-radius: 100px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.cursor-tag.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (hover: none) {
  .cursor-tag { display: none !important; }
}

/* --- Line reveal for text (simple, per line) --- */
.reveal-text {
  display: block;
  overflow: hidden;
}

.reveal-text > * {
  display: block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 1s var(--ease-out-expo), opacity 0.7s var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
}

.reveal-text.visible > * {
  transform: translateY(0);
  opacity: 1;
}

/* --- Responsive editorial tweaks --- */
@media (max-width: 1024px) {
  .service-categories.editorial {
    grid-template-columns: repeat(6, 1fr);
  }
  .service-categories.editorial .svc-1,
  .service-categories.editorial .svc-2,
  .service-categories.editorial .svc-3,
  .service-categories.editorial .svc-4,
  .service-categories.editorial .svc-5,
  .service-categories.editorial .svc-6,
  .service-categories.editorial .svc-7 {
    grid-column: span 3;
    margin-top: 0;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-editorial {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section-header-v2 {
    grid-template-columns: 100px 1fr;
    gap: 32px;
    margin-bottom: 56px;
  }
}

@media (max-width: 768px) {
  .hero-v2 {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 80px;
  }

  .hero-v2-inner {
    gap: 40px;
    padding: 0 20px;
  }

  .hero-v2 .hero-footer {
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-v2 .hero-sub {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-watermark {
    font-size: 60vw;
    right: -10vw;
    bottom: -8vw;
  }

  .service-categories.editorial {
    grid-template-columns: 1fr;
    row-gap: 32px;
    gap: 20px;
  }

  .service-categories.editorial .svc-1,
  .service-categories.editorial .svc-2,
  .service-categories.editorial .svc-3,
  .service-categories.editorial .svc-4,
  .service-categories.editorial .svc-5,
  .service-categories.editorial .svc-6,
  .service-categories.editorial .svc-7 {
    grid-column: auto;
    margin-top: 0;
  }

  .section-header-v2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-index::after {
    display: none;
  }

  .marquee-item {
    font-size: 1.6rem;
    gap: 32px;
  }

  .marquee-track {
    gap: 32px;
  }
}
