/* ============================================
   PABLO TRICARICO - Arte Visual
   Muse Hero + Solviera Portfolio
   ============================================ */

/* CSS Variables */
:root {
  --dark: #121211;
  --paragraphs: rgba(229, 223, 213, 0.6);
  --light: #e5dfd5;
  --border: rgba(229, 223, 213, 0.15);
  --accent: #c9b896;
  --light-50: rgba(229, 223, 213, 0.5);

  /* Solviera spacing */
  --spacing-4: 0.278vw;
  --spacing-8: 0.556vw;
  --spacing-12: 0.833vw;
  --spacing-16: 1.111vw;
  --spacing-20: 1.389vw;
  --spacing-24: 1.667vw;
  --spacing-32: 2.222vw;
  --spacing-40: 2.778vw;
  --spacing-48: 3.333vw;
  --spacing-64: 4.444vw;
  --spacing-80: 5.556vw;
  --radius-small: 0.694vw;
  --radius-main: 1.389vw;
}

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

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

body {
  margin: 0;
  background-color: var(--dark);
  color: var(--paragraphs);
  letter-spacing: 0.35px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 170%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
}

/* ============================================
   Typography
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--light);
  margin-top: 0;
  font-weight: 500;
}

h1 {
  margin-bottom: 26px;
  font-size: 75px;
  line-height: 107%;
}

h2 {
  margin-bottom: 24px;
  font-size: 56px;
  line-height: 114%;
}

h3 {
  margin-bottom: 22px;
  font-size: 42px;
  line-height: 120%;
}

h4 {
  margin-bottom: 20px;
  font-size: 32px;
  line-height: 127%;
}

h5 {
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 132%;
}

h6 {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 137%;
}

p {
  margin-top: 0;
  margin-bottom: 30px;
}

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

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
  border: 0;
}

/* Text Classes */
.text-accent {
  font-family: 'Taviraj', serif;
  font-style: italic;
  font-weight: 200;
}

.text-h5 {
  font-size: 2.222vw;
  line-height: 100%;
  font-weight: 400;
}

.text-h6 {
  font-size: 0.972vw;
  line-height: 120%;
  font-weight: 400;
}

.text-h7 {
  font-size: 0.833vw;
  line-height: 120%;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--light-50);
  margin-top: var(--spacing-12);
}

.text-light-30 {
  color: var(--light-50);
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
  z-index: 500;
  background-color: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  display: flex;
  position: fixed;
  inset: 0 0 auto;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.block-navbar {
  z-index: 100;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
  opacity: 1;
}

.nav {
  z-index: 150;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.brand {
  padding: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  font-family: 'Taviraj', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--light);
  text-transform: uppercase;
}

.logo {
  height: 22px;
  width: auto;
  color: var(--light);
}

.menu-button {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: none;
}

.menu-icon {
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 37px;
  padding: 14px;
  transition: height 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
}

.menu-icon:hover {
  height: 45px;
}

.menu-icon-line {
  background-color: var(--light);
  width: 23px;
  height: 1px;
}

/* Nav Menu (fullscreen overlay) */
.nav-menu {
  z-index: 50;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  background-color: rgba(15, 15, 14, 0.9);
  width: 100%;
  height: 100vh;
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.nav-links {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  display: flex;
}

.nav-overflow {
  overflow: hidden;
}

.nav-link {
  color: var(--light);
  text-align: center;
  text-transform: uppercase;
  margin-left: 0;
  margin-right: 0;
  padding: 10px 0;
  font-size: 80px;
  font-weight: 400;
  line-height: 100%;
  text-decoration: none;
  display: block;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
}

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

.nav-menu.is-open .nav-overflow:nth-child(1) .nav-link {
  transition-delay: 0.1s;
}

.nav-menu.is-open .nav-overflow:nth-child(2) .nav-link {
  transition-delay: 0.15s;
}

.nav-menu.is-open .nav-overflow:nth-child(3) .nav-link {
  transition-delay: 0.2s;
}

.nav-menu.is-open .nav-overflow:nth-child(4) .nav-link {
  transition-delay: 0.25s;
}

.nav-link:hover {
  opacity: 0.6;
}

.nav-background-gradient {
  z-index: 0;
  background-image: linear-gradient(180deg, var(--dark), rgba(18, 18, 17, 0));
  pointer-events: none;
  position: absolute;
  inset: 0 0 -50%;
}

/* ============================================
   Hero Section (Muse Style)
   ============================================ */

.section-hero {
  height: 250vh;
  position: relative;
}

.hero-sticky {
  perspective: 1000px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  display: flex;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.block-hero {
  z-index: 200;
  text-align: center;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  position: relative;
}

.hero-overflow-a,
.hero-overflow-b,
.hero-overflow-c {
  overflow: hidden;
}

.hero-overflow-c {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.heading-hero {
  text-transform: uppercase;
  margin-bottom: 0;
  font-size: 195px;
  font-weight: 400;
  line-height: 92%;
  letter-spacing: 0.02em;
}

.heading-hero-accent {
  text-transform: uppercase;
  margin-bottom: 0;
  padding-left: 20px;
  padding-right: 20px;
  font-family: 'Taviraj', serif;
  font-size: 195px;
  font-style: italic;
  font-weight: 200;
  line-height: 92%;
}

.line-hero {
  background-color: var(--border);
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 1px;
  margin-top: 18px;
  margin-bottom: 38px;
  display: flex;
}

.line-light {
  background-color: var(--light);
  width: 12px;
  height: 1px;
}

.paragraph-hero {
  text-transform: uppercase;
  max-width: 490px;
  margin-bottom: 36px;
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* Hero Images Grid */
.block-img-hero {
  z-index: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  inset: 0;
  will-change: opacity, filter, transform;
  transition: opacity 0.1s ease, filter 0.1s ease;
}

.grid-img-hero {
  grid-column-gap: 10vw;
  grid-row-gap: 10vw;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  place-items: center stretch;
  display: grid;
  position: absolute;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.grid-img-hero img {
  width: 20vw;
  max-width: none;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.4s ease, z-index 0s;
}

/* Individual image positions (scattered effect - Muse original) */
.img-hero-1 {
  position: relative;
  top: -5.4vw;
  left: -7.6vw;
}

.img-hero-2 {
  position: relative;
  top: 7.1vw;
  left: -6.8vw;
}

.img-hero-3 {
  position: relative;
  top: -7vw;
  left: 2vw;
}

.img-hero-4 {
  position: relative;
  top: 4.2vw;
  left: -2.1vw;
}

.img-hero-5 {
  position: relative;
  top: -8.7vw;
  left: -2.1vw;
}

.img-hero-6 {
  position: relative;
  top: 9.2vw;
  left: -4.3vw;
}

.img-hero-7 {
  position: relative;
  top: -11.1vw;
  left: 10.4vw;
}

.img-hero-8 {
  position: relative;
  top: -3.7vw;
  left: 13.2vw;
}

.img-hero-9 {
  position: relative;
  top: -9vw;
  left: -10.6vw;
}

.img-hero-10 {
  position: relative;
  top: 7.1vw;
  left: 1.8vw;
}

.img-hero-11 {
  position: relative;
  top: -8.2vw;
  left: 0.7vw;
}

.img-hero-12 {
  position: relative;
  top: 5.4vw;
  left: 3.3vw;
}

/* Scroll Indicator */
.scroll {
  z-index: 50;
  mix-blend-mode: difference;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  display: flex;
  position: absolute;
  bottom: 30px;
  overflow: hidden;
}

.scroll-line {
  background-color: var(--border);
  width: 1px;
  height: 26px;
  overflow: hidden;
}

.scroll-line-light {
  background-color: var(--light);
  width: 1px;
  height: 26px;
  animation: scrollPulse 1.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    transform: translateY(-100%);
  }

  50% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(100%);
  }
}

.text-scroll {
  color: rgba(229, 223, 213, 0.41);
  letter-spacing: 1.85px;
  text-transform: uppercase;
  margin-top: 12px;
  font-size: 13px;
  line-height: 120%;
}

/* ============================================
   Button
   ============================================ */

.button {
  box-shadow: inset 0 0 0 2px var(--light);
  color: var(--light);
  letter-spacing: 1.85px;
  text-transform: uppercase;
  background-color: transparent;
  border: none;
  border-radius: 50px;
  padding: 20px 40px;
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.button:hover {
  box-shadow: inset 0 0 0 40px var(--light);
  color: var(--dark);
}

/* ============================================
   Projects Section (Solviera Style)
   ============================================ */

.projects-section {
  padding-top: var(--spacing-80);
  padding-bottom: var(--spacing-80);
  overflow: clip;
}

.master-projects {
  padding-left: var(--spacing-64);
  width: 100%;
  margin-left: 50%;
  margin-right: 50%;
  transform: translate(-50%);
}

.projects-column {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-80);
  width: 100%;
}

/* Section Category Wrapper */
.section-category-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-32);
}

.section-category-title {
  font-size: 3.333vw;
  line-height: 100%;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--light);
  margin: 0;
  padding-left: var(--spacing-20);
}

/* Projects Row */
.projects {
  width: 100%;
}

.project-row {
  display: flex;
  gap: 6.944vw;
  width: 100%;
  will-change: transform;
  transition: transform 0.3s ease-out;
}

.project-item {
  flex: none;
}

.outer-project-card {
  color: var(--light);
  flex: none;
  width: 100%;
  display: block;
  position: relative;
  text-decoration: none;
}

/* Card Project */
.card-project {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
  flex: none;
  width: 100%;
  min-width: 17vw;
  max-width: 17vw;
  transform: skew(-9deg, 0deg);
  will-change: transform;
  transition: transform 0.3s ease-out;
}

.image-wrap-project-card {
  border-radius: var(--spacing-4);
  width: 100%;
  height: 23vw;
  overflow: hidden;
}

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

.outer-project-card:hover .image-cover {
  transform: scale(1.05);
}

/* Cursor "View" Effect */
.cursor-master {
  pointer-events: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.cursor {
  color: var(--dark);
  text-align: center;
  background-color: var(--light);
  border-radius: 100vw;
  justify-content: center;
  align-items: center;
  width: 4.444vw;
  height: 4.444vw;
  display: flex;
  overflow: hidden;
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.outer-project-card:hover .cursor {
  transform: scale(1);
}

.cursor .text-h6 {
  color: var(--dark);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   Internal Page Styles (Solviera)
   ============================================ */

.section {
  padding-top: var(--spacing-80);
  padding-bottom: var(--spacing-80);
  position: relative;
}

.main-container {
  max-width: 125vw;
  padding-left: 2.778vw;
  padding-right: 2.778vw;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Project (Internal Pages) */
.hero-project-section {
  padding-top: 10.069vw;
  padding-bottom: var(--spacing-64);
}

.headline-project {
  margin-bottom: var(--spacing-48);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: var(--spacing-48);
  align-items: end;
  width: 100%;
}

.text-h3 {
  font-size: 4.444vw;
  line-height: 100%;
  font-weight: 400;
}

.project-info-halves {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--spacing-24);
}

.project-info-tile {
  display: flex;
  gap: var(--spacing-4);
}

.image-wrap-project-thumbnail {
  border-radius: var(--radius-small);
  width: 100%;
  height: 34.722vw;
  overflow: hidden;
}

/* Project Description */
.project-description-section {
  padding-bottom: var(--spacing-20);
}

.text-wrap-project {
  text-align: center;
  max-width: 45.139vw;
  margin-left: auto;
  margin-right: auto;
}

/* Project Images Grid */
.project-images-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-20);
  width: 100%;
}

.project-images-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.image-wrap-project-middle {
  border-radius: var(--radius-small);
  width: 100%;
  height: 100%;
  max-height: 55.556vw;
  overflow: hidden;
}

.image-wrap-project-middle.small {
  height: 27.083vw;
}

/* Project Gallery - Flexible Grid */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-20);
}

.image-wrap-project-gallery {
  border-radius: var(--radius-small);
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/9;
}

/* Vertical images (9:16 portrait) */
.image-wrap-project-gallery.vertical {
  aspect-ratio: 9/16;
  grid-row: span 2;
}

/* Full width images */
.image-wrap-project-gallery.full-width {
  grid-column: span 3;
  aspect-ratio: 21/9;
}

/* Two column span */
.image-wrap-project-gallery.wide {
  grid-column: span 2;
  aspect-ratio: 21/9;
}

/* ============================================
   Gallery Vertical Row (3 vertical images)
   ============================================ */

.gallery-vertical-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-20);
}

.image-wrap-vertical {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-small);
  aspect-ratio: 3/4;
}

.image-wrap-vertical img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.image-wrap-vertical:hover img {
  transform: scale(1.02);
}

.image-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-16) var(--spacing-20);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--light);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.image-wrap-vertical:hover .image-title {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery Mixed Row (horizontal + verticals) */
.gallery-mixed-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-20);
}

.gallery-mixed-row .image-wrap-horizontal {
  aspect-ratio: 16/9;
  grid-column: span 2;
}

.gallery-mixed-row .image-wrap-vertical {
  aspect-ratio: 3/4;
}

/* ============================================
   Contact Section (Black Background)
   ============================================ */

.section-contact {
  background-color: #000;
  padding: var(--spacing-80) 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.contact-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-48);
}

.heading-contact {
  font-size: 4vw;
  line-height: 120%;
  font-weight: 400;
  text-transform: uppercase;
  max-width: 900px;
  margin: 0;
}

/* ============================================
   About Section
   ============================================ */

.section-about {
  background-color: #000;
  padding: var(--spacing-80) 0;
}

.about-content {
  max-width: 800px;
}

.about-title {
  text-transform: uppercase;
  margin-bottom: 30px;
  font-size: 2.5vw;
}

.about-text {
  font-size: 18px;
  line-height: 180%;
  margin-bottom: 20px;
}

/* ============================================
   Footer (Solviera Style)
   ============================================ */

.footer-solviera {
  background-color: #000;
  padding: var(--spacing-64) 0 var(--spacing-48);
}

.bottom-tile-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  gap: var(--spacing-32);
}

.left-footer {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-8);
}

.left-footer .text-h2 {
  font-size: 9.028vw;
  line-height: 80%;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--light);
}

.left-footer .text-h3 {
  font-size: 1.5vw;
  margin: 0;
}

.right-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--spacing-16);
}

.right-footer .text-h6 {
  color: var(--light-50);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Old footer (for backwards compat) */
.section-footer {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding: var(--spacing-64) var(--spacing-40);
  display: flex;
  border-top: 1px solid var(--border);
}

.footer {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: var(--spacing-20);
}

.link-footer {
  color: rgba(229, 223, 213, 0.54);
  text-align: center;
  letter-spacing: 1.85px;
  text-transform: uppercase;
  padding: 15px 20px;
  font-size: 13px;
  line-height: 120%;
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-block;
}

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

/* Footer Bottom (Internal Pages) */
.bottom-tile-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  gap: var(--spacing-32);
}

.left-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-24);
}

.right-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--spacing-40);
}

.text-h2 {
  font-size: 9.028vw;
  line-height: 88%;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Link with Arrow */
.link-underline-animated {
  color: var(--light);
  position: relative;
}

.link-with-arrow {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: var(--spacing-4);
}

.icon-link {
  color: var(--light-50);
  flex: none;
  justify-content: center;
  align-items: center;
  width: 1.2vw;
  height: 1.2vw;
  display: flex;
}

.link-underline {
  background-color: var(--light);
  width: 0;
  height: 1px;
  position: absolute;
  bottom: -2px;
  left: 0;
  transition: width 0.3s ease;
}

.link-underline-animated:hover .link-underline {
  width: 100%;
}

/* ============================================
   Lightbox
   ============================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

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

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-image {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--light);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

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

.lightbox-close::before,
.lightbox-close::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 1px;
  background: currentColor;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

/* Gallery images clickable */
.project-gallery .image-wrap-project-gallery,
.project-images-grid .image-wrap-project-middle {
  cursor: zoom-in;
}

/* ============================================
   Social Icons (Minimal Line Style)
   ============================================ */

.social-links {
  display: flex;
  gap: var(--spacing-24);
  align-items: center;
}

.social-link {
  color: var(--light-50);
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  color: var(--light);
  transform: translateY(-2px);
}

.social-link svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* ============================================
   Animations
   ============================================ */

/* Initial load animation */
.heading-hero,
.heading-hero-accent {
  opacity: 0;
  transform: translateY(100%);
  animation: slideUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.heading-hero {
  animation-delay: 0.2s;
}

.heading-hero-accent {
  animation-delay: 0.35s;
}

.line-hero,
.paragraph-hero,
.block-hero .button {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.line-hero {
  animation-delay: 0.5s;
}

.paragraph-hero {
  animation-delay: 0.6s;
}

.block-hero .button {
  animation-delay: 0.7s;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media screen and (max-width: 991px) {
  :root {
    --spacing-20: 16px;
    --spacing-24: 16px;
    --spacing-32: 24px;
    --spacing-40: 32px;
    --spacing-48: 32px;
    --spacing-64: 48px;
    --spacing-80: 64px;
    --radius-small: 8px;
    --radius-main: 16px;
  }

  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 46px;
  }

  h3 {
    font-size: 36px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 22px;
  }

  .heading-hero,
  .heading-hero-accent {
    font-size: 140px;
  }

  .grid-img-hero {
    grid-column-gap: 15vw;
    grid-row-gap: 15vw;
  }

  .grid-img-hero img {
    width: 30vw;
  }

  .nav-link {
    font-size: 70px;
  }

  .section-contact {
    min-height: auto;
    padding: 80px 0;
  }

  .heading-contact {
    font-size: 36px;
  }

  .about-title {
    font-size: 28px;
  }

  .left-footer .text-h2 {
    font-size: 80px;
  }

  .left-footer .text-h3 {
    font-size: 16px;
  }

  /* Solviera Portfolio - Tablet */
  .master-projects {
    padding-right: 20px;
    padding-left: 20px;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }

  .section-category-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .project-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    transform: none !important;
  }

  .card-project {
    min-width: auto;
    max-width: none;
    transform: none !important;
  }

  .image-wrap-project-card {
    height: 240px;
    border-radius: 8px;
  }

  .cursor-master {
    display: none;
  }

  .text-h6 {
    font-size: 14px;
  }

  .text-h7 {
    font-size: 11px;
    margin-top: 10px;
    text-align: center;
  }

  /* Internal Pages */
  .text-h3 {
    font-size: 56px;
  }

  .text-h5 {
    font-size: 28px;
  }

  .text-wrap-project {
    max-width: 560px;
  }

  .image-wrap-project-middle {
    max-height: 420px;
  }

  .image-wrap-project-middle.small {
    height: 200px;
  }

  .icon-link {
    width: 14px;
    height: 14px;
  }

  /* Gallery responsive */
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-wrap-project-gallery.full-width {
    grid-column: span 2;
  }

  .image-wrap-project-gallery.wide {
    grid-column: span 2;
  }

  /* Vertical gallery responsive */
  .gallery-vertical-row {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-16);
  }

  .image-wrap-vertical:last-child {
    grid-column: span 2;
  }

  .image-title {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 39px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 24px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 17px;
  }

  .heading-hero,
  .heading-hero-accent {
    font-size: 120px;
  }

  .line-hero {
    margin-bottom: 30px;
  }

  .paragraph-hero {
    max-width: 450px;
    margin-bottom: 30px;
  }

  .nav-link {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 50px;
  }

  .section-footer {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }

  .link-footer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .heading-contact {
    font-size: 32px;
  }

  .about-title {
    font-size: 24px;
  }

  .left-footer .text-h2 {
    font-size: 64px;
  }

  .bottom-tile-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .right-footer {
    align-items: flex-start;
  }

  /* Solviera Portfolio - Mobile */
  .section-category-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .project-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .image-wrap-project-card {
    height: 200px;
  }

  .text-h7 {
    font-size: 10px;
    margin-top: 8px;
  }

  /* Internal Pages */
  .headline-project {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
  }

  .text-h3 {
    font-size: 48px;
  }

  .bottom-tile-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 479px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 21px;
  }

  h5 {
    font-size: 19px;
  }

  h6 {
    font-size: 16px;
  }

  .heading-hero,
  .heading-hero-accent {
    font-size: 70px;
  }

  .block-hero {
    padding-left: 7%;
    padding-right: 7%;
  }

  .grid-img-hero {
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 3vw;
    grid-row-gap: 3vw;
  }

  .grid-img-hero img {
    width: 22vw;
    height: 16vw;
  }

  /* Gallery mobile */
  .project-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .image-wrap-project-gallery,
  .image-wrap-project-gallery.vertical,
  .image-wrap-project-gallery.full-width,
  .image-wrap-project-gallery.wide {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  /* Vertical gallery mobile */
  .gallery-vertical-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .image-wrap-vertical {
    aspect-ratio: 3/4;
  }

  .image-wrap-vertical:last-child {
    grid-column: span 1;
  }

  .image-title {
    font-size: 11px;
    padding: var(--spacing-8) var(--spacing-12);
  }

  .line-hero {
    margin-bottom: 26px;
  }

  .paragraph-hero {
    max-width: 390px;
    margin-bottom: 26px;
  }

  .button {
    padding: 18px 36px;
    font-size: 15px;
  }

  .navbar {
    padding: 10px;
  }

  .nav-link {
    font-size: 40px;
  }

  .link-heading-project {
    margin-top: 20px;
  }

  .footer {
    flex-direction: column;
  }

  .heading-contact {
    font-size: 26px;
    line-height: 130%;
  }

  .about-title {
    font-size: 22px;
  }

  .left-footer .text-h2 {
    font-size: 48px;
  }

  /* Solviera Portfolio - Small Mobile */
  .master-projects {
    padding-left: 12px;
    padding-right: 12px;
  }

  .projects-column {
    gap: 40px;
  }

  .section-category-wrapper {
    gap: 16px;
  }

  .section-category-title {
    font-size: 22px;
    padding-left: 4px;
    margin-bottom: 12px;
  }

  .project-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .project-item {
    overflow: hidden;
  }

  .image-wrap-project-card {
    height: 180px;
    border-radius: 6px;
  }

  .card-project {
    transform: none !important;
    gap: 6px;
  }

  .text-h7 {
    font-size: 9px;
    margin-top: 6px;
    line-height: 130%;
  }

  /* Internal Pages */
  .text-h3 {
    font-size: 40px;
  }

  .text-h5 {
    font-size: 24px;
  }

  .image-wrap-project-thumbnail {
    height: 45vw;
  }

  .image-wrap-project-middle {
    max-height: 300px;
  }

  .image-wrap-project-middle.small {
    height: 140px;
  }

  .image-wrap-project-gallery {
    height: 45vw;
  }

  .right-footer {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
  }
}

/* ============================================
   Cinematic Hero (Netflix-Style Slideshow)
   ============================================ */

.section-hero-cinematic {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  transform: scale(1.05);
  animation: heroSlideZoom 8s ease-in-out infinite alternate;
}

.hero-slide.active {
  opacity: 1;
}

@keyframes heroSlideZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
      rgba(18, 18, 17, 0.4) 0%,
      rgba(18, 18, 17, 0.2) 40%,
      rgba(18, 18, 17, 0.5) 70%,
      rgba(18, 18, 17, 0.95) 100%);
}

.hero-cinematic-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 20px;
}

.hero-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-studio-name {
  font-size: clamp(48px, 10vw, 140px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 92%;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--light);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.hero-studio-name .text-accent {
  display: block;
  font-size: clamp(52px, 11vw, 155px);
}

.hero-slogan {
  font-size: clamp(14px, 1.5vw, 20px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

.hero-artist-line {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
}

.hero-artist-label {
  font-size: clamp(12px, 1.2vw, 16px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paragraphs);
  font-weight: 300;
}

.hero-artist-label strong {
  color: var(--light);
  font-weight: 400;
}

/* Slide Indicators */
.hero-slide-indicators {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
}

.slide-indicator {
  width: 32px;
  height: 3px;
  background: rgba(229, 223, 213, 0.25);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.4s ease, width 0.4s ease;
  padding: 0;
}

.slide-indicator.active {
  background: var(--accent);
  width: 48px;
}

.slide-indicator:hover {
  background: rgba(229, 223, 213, 0.5);
}

/* ============================================
   Quiénes Somos (Estudio) — Premium
   ============================================ */

.section-estudio {
  background-color: #0a0a09;
  padding: clamp(60px, 8vw, 140px) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal accent glow */
.estudio-bg-accent {
  position: absolute;
  top: -30%;
  right: -15%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(201, 184, 150, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.estudio-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

/* Header */
.estudio-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.estudio-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  font-weight: 400;
}

.estudio-title {
  font-size: clamp(36px, 5vw, 72px);
  text-transform: uppercase;
  font-weight: 300;
  margin: 0;
  line-height: 110%;
  letter-spacing: -0.01em;
  color: var(--light);
}

.text-accent-italic {
  color: var(--accent);
  font-style: italic;
  font-family: 'Taviraj', serif;
  font-weight: 200;
}

.estudio-divider {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.estudio-divider span {
  width: 20px;
  height: 1px;
  background: var(--accent);
  display: block;
  animation: dividerPulse 3s ease-in-out infinite;
}

@keyframes dividerPulse {

  0%,
  100% {
    width: 20px;
    opacity: 1;
  }

  50% {
    width: 40px;
    opacity: 0.6;
  }
}

/* Grid */
.estudio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  max-width: 1000px;
  width: 100%;
}

/* Left: Text */
.estudio-text-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.estudio-lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 175%;
  color: var(--light);
  margin: 0;
  font-weight: 300;
}

.estudio-text {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 185%;
  margin: 0;
  color: var(--paragraphs);
}

/* Servicios — numbered items */
.estudio-servicios {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
}

.estudio-servicio {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.estudio-servicio:first-child {
  border-top: 1px solid var(--border);
}

.estudio-servicio:hover {
  border-color: rgba(201, 184, 150, 0.3);
}

.servicio-num {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  min-width: 28px;
  padding-top: 2px;
  font-family: 'Taviraj', serif;
}

.servicio-content {
  flex: 1;
}

.servicio-title {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--light);
  font-weight: 400;
  margin-bottom: 4px;
}

.servicio-desc {
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 170%;
  color: var(--paragraphs);
}

/* Right: Team */
.estudio-team {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start;
}

.estudio-role {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(229, 223, 213, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.3s ease;
}

.estudio-role:hover {
  border-color: rgba(201, 184, 150, 0.4);
  background: rgba(229, 223, 213, 0.04);
  transform: translateY(-2px);
}

.estudio-role-photo {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  transition: border-color 0.3s ease;
}

.estudio-role:hover .estudio-role-photo {
  border-color: var(--accent);
}

.estudio-role-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.estudio-role-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(201, 184, 150, 0.15) 0%, rgba(201, 184, 150, 0.05) 100%);
}

.estudio-role-initials span {
  font-size: 18px;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0.05em;
  font-family: 'Taviraj', serif;
}

.estudio-role-info {
  flex: 1;
}

.estudio-role-name {
  font-size: clamp(17px, 1.2vw, 20px);
  font-weight: 400;
  color: var(--light);
  margin-bottom: 4px;
}

.estudio-role-title {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  font-weight: 400;
}

.estudio-role-bio {
  font-size: clamp(13px, 0.9vw, 14px);
  line-height: 170%;
  color: var(--paragraphs);
}

/* Quote */
.estudio-quote {
  margin: 8px 0 0;
  padding: 20px 24px;
  border-left: 2px solid var(--accent);
  background: rgba(201, 184, 150, 0.03);
  border-radius: 0 8px 8px 0;
}

.estudio-quote p {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 180%;
  color: var(--light);
  font-style: italic;
  font-family: 'Taviraj', serif;
  font-weight: 300;
  margin: 0;
}

/* CTA */
.estudio-cta {
  margin-top: 16px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.estudio-cta:hover {
  background: var(--accent);
  color: #0a0a09;
  transform: translateY(-1px);
}

/* ============================================
   Contact Section (New)
   ============================================ */

.section-contact-new {
  background-color: var(--dark);
  padding: var(--spacing-80) 0;
  border-top: 1px solid var(--border);
}

.contact-new-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-48);
}

.contact-new-title {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
}

.contact-tagline {
  font-size: 18px;
  line-height: 170%;
  max-width: 650px;
  color: var(--paragraphs);
  margin: 0;
  font-style: italic;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-32);
  width: 100%;
  max-width: 1000px;
}

.contact-card {
  padding: var(--spacing-32);
  border: 1px solid var(--border);
  border-radius: var(--radius-main);
  text-align: left;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.contact-card-name {
  font-size: 20px;
  font-weight: 400;
  color: var(--light);
  margin-bottom: 4px;
}

.contact-card-role {
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-24);
}

.contact-card-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--paragraphs);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* ============================================
   Video Cards
   ============================================ */

.card-video {
  transform: none !important;
  cursor: pointer;
}

.video-wrap {
  position: relative;
}

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

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  color: var(--light);
  opacity: 1;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.video-play-overlay svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.video-wrap:hover .video-play-overlay {
  opacity: 0;
}

.project-item-video {
  cursor: pointer;
}

/* ============================================
   Responsive - New Sections
   ============================================ */

@media screen and (max-width: 991px) {
  .hero-studio-name {
    font-size: 80px;
  }

  .hero-studio-name .text-accent {
    font-size: 90px;
  }

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

  .estudio-role {
    padding: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .hero-slide-indicators {
    bottom: 70px;
  }
}

@media screen and (max-width: 767px) {
  .hero-studio-name {
    font-size: 60px;
  }

  .hero-studio-name .text-accent {
    font-size: 68px;
  }

  .hero-slogan {
    font-size: 13px;
    letter-spacing: 0.15em;
  }

  .estudio-title {
    font-size: 28px;
  }

  .contact-new-title {
    font-size: 28px;
  }

  .contact-tagline {
    font-size: 16px;
  }
}

@media screen and (max-width: 479px) {
  .hero-studio-name {
    font-size: 44px;
  }

  .hero-studio-name .text-accent {
    font-size: 50px;
  }

  .hero-slogan {
    font-size: 11px;
  }

  .hero-artist-label {
    font-size: 11px;
  }

  .hero-slide-indicators {
    bottom: 60px;
  }

  .slide-indicator {
    width: 24px;
  }

  .slide-indicator.active {
    width: 36px;
  }

  .contact-card {
    padding: 20px;
  }

  .estudio-role {
    padding: 16px;
  }
}