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

/* =====================================================
   BASE
===================================================== */
body {
  background: #0b0b0b;
  color: #e9e2d6;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  padding-top: 90px;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(233,226,214,0.11) 0px,
      rgba(233,226,214,0.11) 82px,
      transparent 82px,
      transparent 170px
    );
  opacity: 0.2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(233,226,214,0.14), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(233,226,214,0.12), transparent 32%),
    radial-gradient(circle at 50% 120%, rgba(0,0,0,0.38), transparent 48%),
    radial-gradient(circle at 50% -22%, rgba(0,0,0,0.3), transparent 42%);
  opacity: 0.34;
}

body > * {
  position: relative;
  z-index: 1;
}

.has-custom-cursor,
.has-custom-cursor a,
.has-custom-cursor button {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 3000;
  opacity: 1;
  transition: opacity 0.18s ease;
}

.custom-cursor-orb {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ece5d8;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 14px rgba(236,229,216,0.44),
    0 0 24px rgba(236,229,216,0.22);
}

.custom-cursor-halo {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(236,229,216,0.36);
  transform: translate(-50%, -50%);
  transition: width 0.16s ease, height 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

.custom-cursor-spark {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 0.62rem;
  color: rgba(236,229,216,0.78);
  line-height: 1;
  transition: transform 0.16s ease, opacity 0.16s ease;
  animation: cursorSparkle 2.8s linear infinite;
}

.has-custom-cursor.cursor-hover .custom-cursor-halo {
  width: 38px;
  height: 38px;
  border-color: rgba(236,229,216,0.7);
}

.has-custom-cursor.cursor-hover .custom-cursor-spark {
  transform: translate(-50%, -50%) scale(1.16);
}

@keyframes cursorSparkle {
  0% {
    opacity: 0.55;
    rotate: 0deg;
  }
  50% {
    opacity: 1;
    rotate: 180deg;
  }
  100% {
    opacity: 0.55;
    rotate: 360deg;
  }
}

.ambient-glow {
  position: fixed;
  inset: -25vh -20vw;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(233,226,214,0.13), transparent 36%),
    radial-gradient(circle at 82% 16%, rgba(233,226,214,0.1), transparent 33%),
    radial-gradient(circle at 65% 72%, rgba(233,226,214,0.09), transparent 38%);
  filter: blur(30px);
  animation: ambientShift 16s ease-in-out infinite alternate;
}

#cursor-trail-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

@keyframes ambientShift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(2.5vw, -2vh, 0) scale(1.05);
  }
}

/* líneas estratégicas para dar más carácter sin meter color */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  background: rgba(233,226,214,0.18);
  pointer-events: none;
}

.hero::before {
  top: 20%;
  left: 6%;
  width: 24%;
  height: 1px;
}

.hero::after {
  content: none;
}

.home-projects::before,
.home-process::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: rgba(233,226,214,0.3);
  margin-bottom: 1.6rem;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
h1,
h2,
h3,
.title,
.section-title,
.contact-headline {
  font-family: Anton, Impact, "Arial Black", sans-serif;
  font-weight: normal;
  letter-spacing: 0.02em;
}
.title span {
  font-family: Anton, Impact, "Arial Black", sans-serif;
}

p,
li,
span,
a,
small,
button {
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: #e9e2d6;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

a:hover {
  opacity: 0.8;
}

/* =====================================================
   HEADER / NAV
===================================================== */
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1380px, calc(100% - 22px));
  padding: 0.44rem 1.1rem 0.44rem 1.6rem;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(233,226,214,0.55);
  box-shadow:
    0 12px 26px rgba(0,0,0,0.25);
  color: #e9e2d6;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: transparent;
  border-color: rgba(233,226,214,0.68);
  box-shadow: 0 16px 30px rgba(0,0,0,0.3);
}

.brand {
  all: unset;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand:hover {
  opacity: 0.7;
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  gap: 0.3rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

.nav-link {
  all: unset;
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.95rem;
  border-radius: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  background: transparent;
}

/* =====================================================
   SECTIONS (GLOBAL)
===================================================== */
section {
  padding: 8rem 6vw;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  display: inline-block;
  position: relative;
  padding-right: 1.9rem;
}

.section-intro {
  max-width: 640px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #cfc8bc;
  margin-top: -1.1rem;
  margin-bottom: 2.2rem;
}

.section-title::after {
  content: "✶";
  position: absolute;
  right: 0;
  top: 0.05em;
  font-size: 0.48em;
  opacity: 0.75;
  color: rgba(233,226,214,0.88);
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.7rem;
  width: 130px;
  height: 1px;
  background: rgba(233,226,214,0.32);
}

.intro,
.home-services,
.home-projects,
.home-process,
.home-cta,
.projects,
.services,
.contact {
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.home-projects .project-image,
.project-media,
.intro-photo img,
.contact-photo img {
  position: relative;
  border: none;
  box-shadow: 0 12px 24px rgba(0,0,0,0.28);
}

.home-projects .project-image::before,
.home-projects .project-image::after,
.project-media::before,
.project-media::after {
  content: none;
}

/* =====================================================
   EDITORIAL LINES
===================================================== */
.editorial-line {
  width: 100%;
  height: 1px;
  background: rgba(233,226,214,0.25);
  margin: 6rem 0;
  transform-origin: left center;
}

/* =====================================================
   HERO
===================================================== */
.hero {
  height: calc(100vh - 90px);
  width: 100%;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-3vh);
}

.hero-sub {
  position: absolute;
  bottom: 16%;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  opacity: 0.6;
}

.hero-star {
  position: absolute;
  z-index: 6;
  color: rgba(233,226,214,0.82);
  line-height: 1;
  pointer-events: none;
  animation: starPulse 3.2s ease-in-out infinite;
}

.hero-star-a {
  top: 18%;
  left: 14%;
  font-size: clamp(1rem, 2.1vw, 1.8rem);
}

.hero-star-b {
  top: 31%;
  right: 12%;
  font-size: clamp(0.9rem, 1.8vw, 1.5rem);
  animation-delay: 0.8s;
}

@keyframes starPulse {
  0% {
    opacity: 0.45;
    transform: scale(0.95) rotate(0deg);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.08) rotate(8deg);
  }
  100% {
    opacity: 0.45;
    transform: scale(0.95) rotate(0deg);
  }
}

.title {
  font-size: clamp(4rem, 18vw, 16rem);
  line-height: 0.9;
  text-align: center;
  z-index: 1;
  pointer-events: none;
}

.photo {
  position: absolute;
  left: 50%;
  top: 44%;
  max-height: 80vh;
  opacity: 0.9;
  pointer-events: none;
  z-index: 3;
}

/* =====================================================
   HOME – HIGHLIGHTS
===================================================== */
.home-highlights {
  max-width: 1200px;
  margin: 0 auto;
}

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

.highlight-card {
  padding: 1.5rem 1.35rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  border: 1px solid rgba(233,226,214,0.11);
  border-radius: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.highlight-card span {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.55;
}

.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.highlight-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #d6d0c6;
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233,226,214,0.24);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.018));
}

/* =====================================================
   INTRO
===================================================== */
.intro {
  max-width: 1200px;
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.intro-text small {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1rem;
  display: block;
}

.intro h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

.intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d6d0c6;
  margin-bottom: 1.2rem;
}

.intro-photo img {
  max-width: 280px;
  border-radius: 12px;
  display: block;
}

/* =====================================================
   HOME – SERVICES
===================================================== */
.home-services {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 6rem;
}

.home-services .section-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 2rem;
}

.home-services-text {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.home-services-list {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bdb6aa;
}

/* =====================================================
   HOME – PROJECTS
===================================================== */
.home-projects {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center; /* clave para el inline-block */
}

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

.home-projects .project {
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(233,226,214,0.15);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.home-projects .project:last-child {
  border-bottom: none;
}

.home-projects .project-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(233,226,214,0.16);
}

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

.home-projects .project-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.28));
  pointer-events: none;
  z-index: 1;
}

.home-projects .project-image::after {
  content: "✶";
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.85rem;
  color: rgba(233,226,214,0.88);
  z-index: 2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.project-meta {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9a394;
}

.home-projects .project:hover {
  transform: translateY(-6px);
  border-color: rgba(233,226,214,0.35);
}

.home-projects .project:hover .project-image {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.35);
}

.home-projects .project:hover .project-image img {
  transform: scale(1.03);
}

.home-projects-link {
  display: inline-block;          /* solo ocupa el texto */
  margin: 4rem auto 0;            /* lo centra */
  padding: 0.9rem 2.5rem;
  border: 1px solid rgba(233,226,214,0.4);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.home-projects-link:hover {
  background: rgba(233,226,214,0.08);
  border-color: rgba(233,226,214,0.7);
  transform: translateY(-2px);
}

/* =====================================================
   HOME – PROCESS
===================================================== */
.home-process {
  max-width: 1200px;
  margin: 0 auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}
.process-step {
  position: relative;
  padding-top: 2.5rem;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: rgba(233,226,214,0.4);
}
.process-step span {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  opacity: 0.6;
  margin-bottom: 0.8rem;
}

.process-step h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.process-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d6d0c6;
  max-width: 280px;
}

.process-step small {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a9a394;
}
/* =====================================================
   HOME – CTA
===================================================== */
.home-cta {
  text-align: center;
  padding: 14rem 6vw;
  position: relative;
}
.home-cta h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 3rem;
}

.home-cta-note {
  max-width: 700px;
  margin: -1.4rem auto 2.2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #d6d0c6;
}

.home-cta .contact-cta {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1.1rem 3rem;
  border: 1px solid rgba(233,226,214,0.4);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.home-cta .contact-cta:hover {
  background: rgba(233,226,214,0.08);
  border-color: rgba(233,226,214,0.7);
  transform: translateY(-2px);
}
.home-cta::before {
  content: "";
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: rgba(233,226,214,0.3);
}

.home-cta::after {
  content: "";
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: rgba(233,226,214,0.15);
}

/* =====================================================
   PROJECTS – EDITORIAL (projects.html)
===================================================== */
.projects {
  max-width: 1200px;
  margin: 0 auto;
}

.projects-intro {
  max-width: 520px;
  margin-bottom: 4rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d6d0c6;
}

.projects-list {
  display: flex;
  flex-direction: column;
}

.project-row {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 4rem;
  align-items: start;
  padding: 5rem 0;
  position: relative;
}

.project-row.reverse {
  grid-template-columns: 1fr 520px;
}



.project-text {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra el bloque respecto a la imagen */
}

.project-number {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  opacity: 0.55;
  margin-bottom: 1.2rem;
  line-height: 1;
}

.project-text-content h3 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  margin: 0;
}

.project-text-content p {
  margin-top: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #bdb6aa;
}

.project-media {
  width: 520px;
  height: 520px;
  background: #111;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-media img {
  width: auto !important;
  height: auto !important;
  max-width: 85% !important;
  max-height: 85% !important;
  object-fit: contain;
  cursor: zoom-in;
}

.project-text h3 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.project-text p {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #bdb6aa;
}

.project-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(233,226,214,0.12);
}

.project-row:last-child::after {
  display: none;
}
.project-row {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 4rem;
  align-items: start;
  padding: 5rem 0;
  position: relative;
}

.project-row.reverse {
  grid-template-columns: 1fr 520px;
}

.project-row.reverse .project-media {
  order: 2;
}

.project-row.reverse .project-text {
  order: 1;
}

/* =====================================================
   LIGHTBOX
===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

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

/* =====================================================
   SERVICES
===================================================== */
.services {
  max-width: 1200px;
  margin: 0 auto;
}

.services-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem;
  margin-top: 4rem;
}

.service-block {
  padding-top: 1rem;
  padding-left: 0.2rem;
}

.service-block h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

.service-block p {
  font-size: 1rem;
  line-height: 1.7;
  color: #d6d0c6;
  margin-bottom: 2rem;  /* antes 1.4rem */
  max-width: 280px;
}

.service-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-block li {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #bdb6aa;
  margin-bottom: 0.7rem;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.service-block li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(233,226,214,0.5);
  display: inline-block;
  opacity: 0.9;
}

.services-block::after {
  content: attr(data-number);
  position: absolute;
  top: -1rem;
  right: 0;
  font-size: 3rem;
  font-weight: 700;
  opacity: 0.05;
}
/* =====================================================
   CONTACT
===================================================== */
.contact-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8rem;
  align-items: center;
}
.contact-headline {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 3rem;
}
.contact-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d6d0c6;
  max-width: 420px;
  margin-bottom: 3.5rem;
}

.contact-cta {
  display: inline-block;
  color: #e9e2d6; 
  padding: 1rem 3rem;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: 1px solid rgba(233,226,214,0.4);
  background: transparent;
  cursor: pointer;
}

.contact-cta:hover {
  background: rgba(233,226,214,0.05);
}
.contact-photo img {
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  display: block;
  margin-bottom: 4rem;
}

.contact-block {
  margin-bottom: 2.5rem;
  position: relative;
  padding-left: 1.8rem;
}

.contact-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1px;
  height: 100%;
  background: rgba(233,226,214,0.15);
}
.contact-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.4rem;
}
.contact-block a,
.contact-block span {
  font-size: 0.95rem;
  color: #e9e2d6;
}
.contact::before {
  content: "";
  position: absolute;
  top: 6rem;
  left: 6vw;
  width: 120px;
  height: 1px;
  background: rgba(233,226,214,0.2);
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  border-top: 1px solid rgba(233,226,214,0.2);
  padding: 5rem 6vw 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 4rem;
}

.footer-brand h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 420px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #d6d0c6;
}

.footer-location {
  display: inline-block;
  margin-top: 1.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bdb6aa;
}

.footer-social {
  margin-top: 1.8rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-social a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  position: relative;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-social a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1px;
  background: rgba(233,226,214,0.7);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.footer-social a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-social a:hover::after {
  transform: scaleX(1);
}

.footer-links h4 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bdb6aa;
  margin-bottom: 1.2rem;
}

.footer-links a {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: #e9e2d6;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3.5rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(233,226,214,0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bdb6aa;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================
   MOBILE
===================================================== */
@media (max-width: 900px) {
  body::before,
  body::after {
    display: none;
  }

  .intro,
  .home-services,
  .home-projects,
  .home-process,
  .home-cta,
  .projects,
  .services,
  .contact {
    border-radius: 0;
    background: none;
  }

  .section-title {
    padding-right: 1.5rem;
  }

  .section-title::before {
    width: 90px;
  }

  .section-intro {
    font-size: 0.92rem;
    margin-top: -0.6rem;
    margin-bottom: 1.8rem;
  }

  .hero-sub {
    bottom: 15%;
  }

  .hero {
    height: 68vh;
    min-height: 520px;
    transform: none;
  }

  .photo {
    top: 46%;
    max-height: 56vh;
    width: auto;
    max-width: 78vw;
  }

  .hero::before,
  .hero::after {
    opacity: 0.35;
  }

  .home-projects::before,
  .home-process::before {
    width: 40px;
    margin-bottom: 1.1rem;
  }

  .hero-star-a {
    left: 7%;
    top: 20%;
  }

  .hero-star-b {
    right: 6%;
    top: 30%;
  }

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

  .site-header {
    top: 10px;
    width: calc(100% - 14px);
    padding: 0.4rem 0.72rem 0.4rem 0.95rem;
    gap: 0.6rem;
  }

  .brand {
    font-size: 0.72rem;
    letter-spacing: 0.09em;
  }

  .site-nav {
    padding: 0;
    gap: 0.1rem;
  }

  .nav-link {
    font-size: 0.64rem;
    padding: 0.25rem 0.55rem;
    letter-spacing: 0.08em;
  }

  .intro-grid,
  .services-blocks,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .intro-photo img {
    max-width: 220px;
  }

  .projects-list .project-row,
  .project-row.reverse {
    grid-template-columns: 1fr;
  }

  .project-media {
    width: min(100%, 420px);
    height: 300px;
    margin: 0 auto;
  }

  .project-media img {
    max-width: 78% !important;
    max-height: 78% !important;
  }

  .home-projects .project-image {
    aspect-ratio: 5 / 4;
  }

  .contact-photo img {
    max-width: 290px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .project-text {
    text-align: left;
  }

  .project-number {
    margin-bottom: 0.8rem;
  }
}
