:root {
  --background: #fdfbf9;
  --foreground: #2c2c2c;
  --primary: #5a6b5d;
  --primary-foreground: #ffffff;
  --secondary: #f6f3ee;
  --secondary-foreground: #2c2c2c;
  --muted: #e8e6e1;
  --muted-foreground: #6b6b6b;
  --accent: #5a6b5d;
  --accent-foreground: #ffffff;
  --border: #dedcd6;
  --input: #ffffff;
  --card: #ffffff;
  --card-foreground: #2c2c2c;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 0px;
  --radius-xl: 0px;
  --font-family-body: "DM Sans", system-ui, sans-serif;
  --font-family-heading: "Space Grotesk", "DM Sans", sans-serif;
}

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

body {
  font-family: var(--font-family-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 812px;
  position: relative;
  background-color: var(--background);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  
}

.section {
  padding: 70px 100px;
  margin: 0 auto;
}

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

.section-living {
  background-color: var(--background);
}

.section-gallery {
  background-color: var(--secondary) !important;
}

.section-contact {
  background-color: var(--background);
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-actions .btn {
  height: 56px;
  border: 1px solid var(--primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-sound {
  width: 56px;
  padding: 16px 0;
  aspect-ratio: 1 / 1;
  background-color: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-actions .btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-sound:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-sound svg {
  width: 24px;
  height: 24px;
}

.living-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}

.carousel-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  scroll-snap-align: start;
  display: flex;
  flex: 0 0 calc((100% - 64px) / 3);
}

.carousel-arrow {
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--foreground);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  z-index: 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel-arrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.carousel-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.projecte-page .projecte-grid-wide .grid-2 {
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.projecte-page .projecte-grid-wide .projecte-grid-text {
  margin-top: 16px;
}

.projecte-page .projecte-grid-wide.projecte-grid-inverted .grid-2 {
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
}

.projecte-page .projecte-grid-wide.projecte-grid-inverted .projecte-grid-text {
 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.projecte-page .projecte-grid-wide.projecte-grid-inverted .image-offset {
  top: 0;
}

@media (max-width: 1100px) {
  .projecte-page .projecte-grid-wide .projecte-grid-text {
    margin-top: 0;
  }
}

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

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-family: var(--font-family-heading);
}

h1 {
  font-size: 56px;
  color: var(--foreground);
}

h2 {
  font-size: 42px;
  margin-bottom: 24px;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--primary);
}

p {
  margin: 0 0 24px 0;
  color: var(--muted-foreground);
  font-size: 16px;
}

.label {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 16px;
  display: block;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  letter-spacing: 0.02em;
}

.btn:hover {
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--foreground);
  color: var(--foreground);
  padding: 12px 24px;
}

.btn-full {
  width: 100%;
}

.nav {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 48px;
}

.home-body .nav {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-body .nav-link {
  transition: color 220ms ease, opacity 220ms ease;
}

.home-body .nav.is-scrolled {
  position: fixed;
  top: 0;
  background: var(--background);
  z-index: 100;
  border-bottom: 1px solid rgba(90, 107, 93, 0.10);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.home-body .nav.is-scrolled .nav-link {
  color: var(--foreground);
}

.home-body .nav.is-scrolled .nav-toggle {
  border: 1px solid rgba(90, 107, 93, 0.22);
  background: var(--secondary);
  color: var(--foreground);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  margin: 0;
}

.maintenance-page {
  font-family: 'DM Sans', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #0e0e0e;
  color: #f8f5f0;
}

.maintenance-page .hero-backdrop {
  position: fixed;
  inset: 0;
  background: url('../images/casa_hero2.png') center/cover no-repeat;
  filter: brightness(0.35);
  z-index: -1;
}

.maintenance-page .card {
  background: rgba(19, 19, 19, 0.8);
  padding: 3rem 3.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  max-width: 560px;
  text-align: center;
  backdrop-filter: blur(14px);
}

.maintenance-page .card h1 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
  color: inherit;
}

.maintenance-page .card p {
  margin-bottom: 0;
  line-height: 1.7;
  color: #e8e0d4;
}

.maintenance-page .logo {
  position: absolute;
  top: 2rem;
  left: 2rem;
}

.maintenance-page .logo img {
  height: 48px;
  width: auto;
}

.projecte-page {
  background: var(--background);
  color: var(--foreground);
}

.projecte-hero {
  background: var(--background);
}

.projecte-page .section.section-secondary {
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 -1px 0 rgba(0, 0, 0, 0.03);
}

.projecte-hero-container {
  padding-top: 60px;
  padding-bottom: 32px;
}

.projecte-criteris {
  background: var(--secondary);
}

.projecte-criteris-container {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.projecte-criteris-header {
  max-width: 600px;
}

.projecte-criteris-title {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--foreground);
  border-bottom: 1px solid rgba(90, 107, 93, 0.35);
  padding-bottom: 24px;
  display: inline-block;
}

.projecte-criteris-subtitle {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-foreground);
  max-width: 100%;
}

.projecte-criteris-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.projecte-criteris-card {
  background-color: var(--background);
  padding: 0;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(90, 107, 93, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.projecte-criteris-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
  z-index: 2;
}

.projecte-criteris-card::before {
  content: none;
}

.projecte-criteris-visual {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: var(--muted);
  margin: 0;
  position: relative;
  border-radius: 0;
}

.projecte-criteris-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  mix-blend-mode: multiply;
  filter: grayscale(20%) sepia(10%);
}

.projecte-criteris-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.projecte-criteris-card-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: -0.01em;
}

.projecte-criteris-card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-foreground);
  font-weight: 400;
}

.projecte-final-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.projecte-final.section {
  padding-left: 48px;
  padding-right: 48px;
}

.projecte-final .container {
  max-width: 1400px;
}

.projecte-final-title {
  font-family: var(--font-family-heading);
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 100%;
}

.projecte-final-text {
  max-width: 92ch;
}

.projecte-final-text p {
  margin: 0;
  color: var(--muted-foreground);
}

.projecte-final-text p + p {
  margin-top: 16px;
}

.projecte-final-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.projecte-final-image-img {
  width: 92%;
  max-width: 1200px;
  height: auto;
  display: block;
}

.projecte-materials {
  background: var(--background);
}

.projecte-materials-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.projecte-materials-grid--secondary {
  margin-top: 90px;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
}

.projecte-materials-grid--secondary.projecte-materials-grid--jardi {
  grid-template-columns: 1.2fr 1fr;
}

.projecte-materials-grid--secondary.projecte-materials-grid--casa {
  margin-top: 90px;
  grid-template-columns: 1fr 1.2fr;
}

.projecte-materials-intro {
  text-align: center;
  max-width: none;
  margin: 0 auto 56px auto;
}

.projecte-materials-intro .projecte-materials-text p {
  color: var(--muted-foreground);
}

.projecte-materials-content {
  max-width: 560px;
}

.projecte-materials-title {
  font-family: var(--font-family-heading);
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 5px 0;
}

.projecte-materials-subtitle {
  font-size: 18px;
  color: var(--muted-foreground);
  margin: 0 0 25px 0;
  letter-spacing: 0.06em;
}

.projecte-materials-text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.projecte-materials-text p + p {
  margin-top: 18px;
}

.projecte-materials-divider {
  height: 1px;
  width: 100%;
  background: rgba(90, 107, 93, 0.18);
  margin: 34px 0;
}

.projecte-materials-feature-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 14px;
}

.projecte-materials-feature-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.projecte-materials-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--foreground);
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 107, 93, 0.35);
  padding-bottom: 2px;
}

.projecte-materials-link:hover {
  border-bottom-color: rgba(90, 107, 93, 0.65);
}

.projecte-materials-image {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.projecte-materials-image--stoneo {
  justify-content: flex-start;
}

.projecte-materials-image--jardi {
  justify-content: flex-end;
}

.projecte-materials-image--stoneo .projecte-materials-image-img {
  max-width: 460px;
  height: auto;
  object-fit: contain;
}

.projecte-assessorament {
  width: 70%;
  margin: 90px auto 0;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.projecte-assessorament:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .projecte-assessorament {
    transition: none;
  }

  .projecte-assessorament:hover {
    transform: none;
  }
}

.projecte-assessorament-title {
  margin: 0 0 10px 0;
  font-family: var(--font-family-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--foreground);
}

.projecte-assessorament-text {
  margin: 0 0 18px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.projecte-assessorament-phone {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}


.projecte-newbuild {
  max-width: 620px;
}

.projecte-newbuild-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--muted);
  display: inline-block;
}

.projecte-newbuild-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.projecte-newbuild-subtitle {
  margin-top: 4px;
  display: block;
  font-size: 14px;
  color: var(--muted-foreground);
}

.projecte-newbuild-spec-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.projecte-newbuild-spec-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.projecte-newbuild-spec-item:last-child {
  border-bottom: none;
}

.projecte-newbuild-spec-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.projecte-newbuild-spec-value {
  font-size: 14px;
  line-height: 1.8;
  color: var(--foreground);
}

.projecte-newbuild-section {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.projecte-newbuild-section-header {
  margin-bottom: 12px;
}

.projecte-newbuild-section-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.projecte-newbuild-section-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.projecte-newbuild-section-link {
  display: inline-flex;
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.projecte-newbuild-spec-value .projecte-newbuild-section-link {
  display: inline-block;
  margin-left: 0;
}

.projecte-newbuild-section-link:hover {
  text-decoration-color: rgba(90, 107, 93, 0.65);
}

.projecte-newbuild-section-link strong {
  font-weight: 700;
}

.projecte-newbuild-santos {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.projecte-newbuild-santos-link {
  display: inline-flex;
  margin-left: 6px;
  color: var(--foreground);
  border-bottom: 1px solid rgba(90, 107, 93, 0.35);
  padding-bottom: 2px;
}

.projecte-newbuild-santos-link:hover {
  border-bottom-color: rgba(90, 107, 93, 0.65);
}

.projecte-materials-image-img {
  width: 100%;
  max-width: 560px;
  height: 460px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.arquitecte-body .nav {
  position: sticky;
  top: 0;
  background: var(--background);
  z-index: 100;
  border-bottom: 1px solid rgba(90, 107, 93, 0.10);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.arquitecte-body .nav-link {
  color: var(--foreground);
}

.casa-body .nav {
  position: sticky;
  top: 0;
  background: var(--background);
  z-index: 100;
  border-bottom: 1px solid rgba(90, 107, 93, 0.10);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.casa-body .nav-link {
  color: var(--foreground);
}

.arquitecte-page {
  background: var(--background);
  color: var(--foreground);
}

.arquitecte-container {
  max-width: 1440px;
  padding: 0 80px;
}

.arquitecte-opening {
  padding: 90px 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  align-items: start;
  min-height: 600px;
}

.arquitecte-opening-content {
  padding-right: 40px;
}

.arquitecte-opening-title {
  font-family: var(--font-family-heading);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
  color: var(--foreground);
}

.arquitecte-opening-subtitle {
  margin: 0;
  font-size: 20px;
  color: var(--muted-foreground);
  font-weight: 400;
  max-width: 400px;
  border-left: 1px solid var(--border);
  padding-left: 24px;
}

.arquitecte-opening-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
}

.arquitecte-opening-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%) sepia(5%);
}

.arquitecte-divider {
  height: 0;
  width: 100vw;
  background: none;
  border-top: 1px solid var(--border);
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.arquitecte-bio {
  padding: 90px 0;
  border-top: 0;
}

.arquitecte-bio-grid {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 80px;
  align-items: center;
}

.arquitecte-bio-title {
  font-family: var(--font-family-heading);
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 32px 0;
  line-height: 1.3;
}

.arquitecte-bio-paragraph {
  font-size: 16px;
  color: var(--foreground);
  margin: 0 0 24px 0;
  max-width: 480px;
}

.arquitecte-bio-paragraph:last-child {
  margin-bottom: 0;
}

.arquitecte-bio-image {
  height: 600px;
  width: 100%;
  position: relative;
}

.arquitecte-bio-image img:not(.arquitecte-bio-image-figure) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arquitecte-bio-image-figure {
  position: absolute;
  width: 62%;
  height: 62%;
  object-fit: cover;
  z-index: 1;
}

.arquitecte-bio-image-figure--bottom-left {
  left: 0;
  bottom: 0;
}

.arquitecte-bio-image-figure--top-right {
  right: 0;
  top: 0;
  z-index: 2;
  transform: translateX(18px);
}

.arquitecte-highlight {
  padding: 90px 0 220px 0;
  position: relative;
  background-color: var(--secondary);
  overflow: hidden;
}

.arquitecte-highlight-container {
  position: relative;
  height: 700px;
  width: 100%;
}

.arquitecte-highlight-image {
  width: 85%;
  height: 100%;
  margin-left: auto;
  overflow: hidden;
}

.arquitecte-highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arquitecte-highlight-year {
  position: absolute;
  top: 40px;
  left: -24px;
  font-family: var(--font-family-heading);
  font-size: 84px;
  line-height: 1;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.9;
  mix-blend-mode: multiply;
  z-index: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.arquitecte-highlight-overlay {
  position: absolute;
  bottom: 80px;
  left: 80px;
  max-width: 400px;
  background: var(--background);
  border: 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
  padding: 40px;
  z-index: 20;
}

.arquitecte-highlight-overlay--right {
  left: auto;
  right: -50px;
  bottom: -94px;
  max-width: 420px;
}

.arquitecte-highlight-title {
  font-family: var(--font-family-heading);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 16px 0;
  color: var(--accent);
}

.arquitecte-highlight-text {
  margin: 0;
  font-size: 15px;
  color: var(--foreground);
  line-height: 1.6;
}

.casa-page {
  background: var(--background);
}

.casa-intro {
  padding: 90px 0 50px;
}

.casa-title {
  font-family: var(--font-family-heading);
  font-size: 48px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 400;
  margin: 0;
  max-width: 90%;
}

.casa-subtitle {
  margin: 24px 0 0 0;
  font-size: 20px;
  color: var(--muted-foreground);
  font-weight: 400;
  max-width: 760px;
}

.casa-section-title {
  font-family: var(--font-family-heading);
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 32px 0;
  line-height: 1.3;
  color: var(--foreground);
}

.casa-divider {
  height: 0;
  width: 100vw;
  border-top: 1px solid var(--border);
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.casa-divider--after-intro {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}

.casa-section {
  padding: 0 0 120px;
}

.casa-section--heritage {
  padding-top: 90px;
}

.casa-section--heritage .casa-paragraph {
  max-width: none;
}

.casa-section--spaced {
  background: var(--secondary);
  padding: 100px 0;
}

.casa-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.casa-text {
  padding-right: 40px;
}

.casa-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 24px 0;
}

.casa-kicker--center {
  justify-content: center;
  display: flex;
}

.casa-paragraph {
  font-size: 18px;
  color: var(--foreground);
  opacity: 0.9;
  max-width: 540px;
  margin: 0 0 24px 0;
}

.casa-paragraph--lead {
  font-size: 20px;
  line-height: 1.6;
}

.casa-paragraph--center {
  margin-left: auto;
  margin-right: auto;
}

.casa-paragraph:last-child {
  margin-bottom: 0;
}

.casa-image {
  position: relative;
  width: 100%;
}

.casa-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  filter: grayscale(10%) contrast(95%);
}

.casa-image--offset {
  transform: translateY(40px);
}

.casa-caption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 8px;
}

.casa-caption-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
}

.casa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
  margin-top: 16px;
}

.casa-link-arrow {
  display: inline-block;
}

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

.casa-banner {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  margin-top: 50px;
}

.casa-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arquitecte-tradition {
  padding: 120px 0;
}

.arquitecte-section-header {
  margin-bottom: 80px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.arquitecte-section-title {
  font-family: var(--font-family-heading);
  font-size: 32px;
  font-weight: 400;
  margin: 0;
}

.arquitecte-section-kicker {
  font-size: 14px;
  color: var(--muted-foreground);
}

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

.arquitecte-grid-item {
  display: flex;
  flex-direction: column;
}

.arquitecte-grid-image {
  height: 320px;
  width: 100%;
  margin-bottom: 24px;
  background: var(--muted);
}

.arquitecte-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arquitecte-grid-caption {
  font-size: 14px;
  color: var(--foreground);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 12px;
}

.arquitecte-legacy {
  padding: 140px 0;
}

.arquitecte-legacy-flex {
  display: flex;
  gap: 80px;
  align-items: center;
}

.arquitecte-comparison {
  flex: 1;
  display: flex;
  gap: 16px;
}

.arquitecte-comp-img {
  flex: 1;
  height: 450px;
  background: var(--muted);
}

.arquitecte-comp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arquitecte-legacy-text {
  flex: 0 0 350px;
}

.arquitecte-legacy-title {
  font-family: var(--font-family-heading);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 24px 0;
  color: var(--accent);
}

.arquitecte-legacy-paragraph {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--foreground);
}

.arquitecte-quote {
  padding: 60px 0 60px;
  background: var(--secondary);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 80px;
  padding-right: 80px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arquitecte-quote-content {
  width: 100%;
  max-width: 980px;
  position: relative;
}

.arquitecte-quote-text {
  margin: 0;
  font-size: 24px;
  font-style: italic;
  line-height: 1.4;
  font-weight: 300;
  color: var(--foreground);
}

.arquitecte-quote-author {
  margin-top: 32px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

.projecte-hero-title {
  font-family: var(--font-family-heading);
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--foreground);
  margin: 0 0 12px 0;
}

.projecte-hero-subtitle {
  font-size: 18px;
  color: var(--muted-foreground);
  margin: 0;
}

.projecte-hero-image {
  width: 100%;
}

.projecte-hero-image-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}

.projecte-body .nav {
  position: sticky;
  top: 0;
  background: var(--background);
  border-bottom: 1px solid rgba(90, 107, 93, 0.35);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.projecte-body .nav-link {
  color: var(--foreground);
}

.legal-body .nav {
  position: sticky;
  top: 0;
  background: var(--background);
  z-index: 100;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.legal-body .nav-link {
  color: var(--primary);
}

.logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.logo-img {
  display: block;
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  font-weight: 600;
}

.hero {
  height: 90vh;
  min-height: 700px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  background-color: #000;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-carousel-track {
  height: 100%;
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: transform 900ms ease;
  will-change: transform;
}

.hero-carousel-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}

.hero-carousel .hero-img {
  position: absolute;
  inset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-track {
    transition: none;
  }
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding-left: 40px;
}

.hero-title {
  font-size: 72px;
  margin-bottom: 16px;
  color: #fff;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  font-weight: 400;
}

.card {
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--muted);
}

.card-body {
  padding: 32px;
}

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

.card-meta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted-foreground);
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  padding-left: 32px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  background-color: var(--background);
  border: 1px solid var(--primary);
  border-radius: 50%;
  transition: background-color 200ms ease;
}

.timeline-item.is-active::before {
  background-color: var(--primary);
}

.timeline-year {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  min-width: 60px;
}

.timeline-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 14px;
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  grid-auto-rows: 280px;
  margin-bottom: 40px;
}

.gallery-grid .gallery-item {
  cursor: pointer;
}

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

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}

.gallery-lightbox.is-open {
  display: grid;
  place-items: center;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.gallery-lightbox-panel {
  position: relative;
  width: min(1100px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  background: var(--background);
  border: 1 px solid var(--primary);
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.gallery-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--foreground);
  cursor: pointer;
  line-height: 1;
  font-size: 24px;
}

.gallery-lightbox-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--foreground);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-lightbox-arrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-lightbox-body {
  display: grid;
  gap: 16px;
  align-items: start;
}

.gallery-lightbox-image {
  width: 100%;
  max-height: calc(100vh - 220px);
  object-fit: contain;
  background: #000;
}

.gallery-lightbox-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.gallery-lightbox-thumb {
  width: 84px;
  height: 60px;
  flex: 0 0 auto;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid transparent;
}

.gallery-lightbox-thumb.is-active {
  border-color: var(--primary);
}

.form-group {
  margin-bottom: 24px;
}

.input-field {
  width: 100%;
  padding: 16px;
  background: var(--input);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--foreground);
  font-family: inherit;
}

.input-field::placeholder {
  color: #999;
}

.footer {
  background-color: #222;
  color: #fff;
  padding: 80px 0;
  font-size: 14px;
}

.footer-logo {
  display: block;
  width: 160px;
  height: auto;
  margin-bottom: 18px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 24px;
  color: #fff;
}

.footer-link {
  display: block;
  color: #999;
  margin-bottom: 12px;
  text-decoration: none;
}

.stats {
  display: flex;
  gap: 32px;
  margin-top: 60px;
  justify-content: space-between;
  text-align: center;
  width: 100%;
}

.stats-item {
  flex: 1;
  min-width: 140px;
}

.stats-value {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 8px;
  color: var(--foreground);
}

.stats-label {
  font-size: 12px;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.image-offset {
  position: relative;
  top: 40px;
}

.project-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.history-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: grayscale(20%);
  margin-top:40px;
}

.history-image + .history-image {
  margin-top: 60px;
}

.history-content {
  padding-left: 40px;
}

.history-timeline {
  margin-top: 48px;
  border-left: 1px solid var(--border);
  padding-left: 0;
}

.home-section-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.home-section-actions--architect {
  margin-bottom: 30px;
  justify-content: flex-start;
}

.home-section-actions.home-section-actions--projecte {
  justify-content: flex-start;
  margin-bottom: 20px;
}

.architect-section {
  background-color: var(--secondary);
}

.architect-container {
  max-width: 1440px;
  padding: 0 40px;
}

.architect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}

.architect-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.architect-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.architect-label::after {
  content: "";
  height: 1px;
  width: 40px;
  background-color: var(--primary);
}

.architect-title {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 40px 0;
  color: var(--foreground);
}

.architect-info {
  border-left: 2px solid var(--primary);
  padding-left: 24px;
  margin-bottom: 32px;
}

.architect-name {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.architect-years {
  font-size: 14px;
  color: var(--muted-foreground);
  letter-spacing: 0.5px;
}

.architect-text-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--foreground);
  max-width: 520px;
  margin-bottom: 24px;
}

.architect-meta {
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.architect-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.architect-meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.architect-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.architect-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3 / 4;
  background-color: #f0efec;
}

.architect-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  mix-blend-mode: multiply;
}

.architect-overlay {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 230px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
}

.architect-overlay img {
  width: 100%;
  height: auto;
  display: block;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-action {
  cursor: pointer;
}

.gallery-header {
  margin-bottom: 60px;
}

.contact-info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
}

.contact-icon iconify-icon {
  font-size: 20px;
}

.contact-icon .contact-icon-globe {
  font-size: 22px;
}

.contact-meta-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.contact-meta-value {
  font-weight: 500;
}

.contact-meta-value a {
  color: inherit;
  text-decoration: none;
}

.contact-meta-value a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--background);
  padding: 40px;
  border: 1px solid var(--border);
}

.contact-form-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.6;
}

.contact-form-notice--success {
  background: rgba(90, 107, 93, 0.12);
  border-color: rgba(90, 107, 93, 0.32);
  color: var(--foreground);
}

.contact-form-notice--error {
  background: rgba(188, 71, 73, 0.12);
  border-color: rgba(188, 71, 73, 0.32);
  color: var(--foreground);
}

.form-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group--checkbox {
  margin-top: 6px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-foreground);
  user-select: none;
}

.form-checkbox-input {
  margin-top: 3px;
}

.form-checkbox-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.footer-text {
  color: #666;
  font-size: 13px;
  max-width: 250px;
}

.footer-note {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #333;
  font-size: 12px;
  color: #555;
  text-align: center;
}



.legal-title {
  margin: 0 0 18px 0;
  font-family: var(--font-family-heading);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.legal-text {
  max-width: 860px;
}

.legal-text p {
  margin: 0 0 16px 0;
  color: var(--muted-foreground);
  line-height: 1.85;
}

.legal-text h2 {
  margin: 26px 0 10px 0;
  font-family: var(--font-family-heading);
  font-size: 18px;
  letter-spacing: 0.04em;
}

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

  .projecte-assessorament {
    width: 100%;
  }

  .casa-grid-2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .casa-text {
    padding-right: 0;
  }

  .casa-title {
    max-width: 100%;
  }

  .casa-banner {
    height: auto;
  }

  .arquitecte-container {
    padding: 0 40px;
  }

  .arquitecte-opening {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding: 96px 0 72px;
  }

  .arquitecte-opening-content {
    padding-right: 0;
  }

  .arquitecte-opening-image {
    height: 420px;
  }

  .arquitecte-bio-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .arquitecte-bio-image {
    height: 480px;
  }

  .arquitecte-bio-image-figure {
    width: 82%;
    height: 82%;
  }

  .arquitecte-highlight-container {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .arquitecte-highlight-year {
    left: -16px;
    font-size: 72px;
  }

  .arquitecte-highlight-image {
    width: 100%;
  }

  .arquitecte-highlight-overlay {
    position: static;
    max-width: 100%;
    margin-top: 16px;
  }

  .arquitecte-highlight-overlay--right {
    position: static;
    max-width: 100%;
    margin-top: 16px;
  }

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

  .arquitecte-legacy-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .arquitecte-legacy-text {
    flex: 0 0 auto;
  }

  .arquitecte-quote {
    padding-left: 40px;
    padding-right: 40px;
  }

  .projecte-materials-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .projecte-materials-grid--secondary {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .projecte-materials-grid--secondary .projecte-materials-image {
    order: 1;
  }

  .projecte-materials-grid--secondary .projecte-newbuild {
    order: 2;
  }

  .projecte-newbuild {
    max-width: none;
  }

  .projecte-materials-content {
    max-width: none;
  }

  .projecte-materials-image {
    justify-content: flex-start;
  }

  .projecte-materials-image-img {
    max-width: none;
    height: 440px;
  }

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

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

  .hero {
    min-height: 600px;
  }

  .hero-title {
    font-size: 56px;
  }

  .history-content {
    padding-left: 0;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

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

  .gallery-item-large {
    grid-column: span 2;
    grid-row: span 1;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .home-body .nav:not(.is-scrolled) .nav-toggle {
    background: transparent;
    border-color: transparent;
    color: #fff;
  }

  .home-body .nav.is-open {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
  }

  .home-body .nav.is-open .nav-toggle {
    background: var(--background);
    color: var(--foreground);
  }

  .casa-intro {
    padding: 60px 0 60px;
  }

  .casa-title {
    font-size: 36px;
  }

  .casa-subtitle {
    font-size: 16px;
  }

  .casa-divider {
    margin: 0;
  }

  .casa-divider--after-intro {
    margin-bottom: 56px;
  }

  .casa-section {
    padding-bottom: 88px;
  }

  .casa-section--heritage {
    padding-top: 56px;
  }

  .casa-section--spaced {
    padding: 72px 0;
  }

  .casa-paragraph {
    max-width: 100%;
  }

  .casa-image--offset {
    transform: none;
  }

  .casa-center {
    margin-bottom: 40px;
  }

  .casa-banner {
    height: auto;
  }

  .arquitecte-container {
    padding: 0 24px;
  }

  .arquitecte-opening {
    padding: 60px 0 64px;
    gap: 32px;
  }

  .arquitecte-opening-title {
    font-size: 36px;
  }

  .arquitecte-page h2 {
    font-size: 36px;
  }

  .arquitecte-opening-subtitle {
    font-size: 16px;
  }

  .arquitecte-opening-image {
    height: 360px;
  }

  .arquitecte-bio {
    padding: 72px 0;
  }

  .arquitecte-bio-title {
    font-size: 26px;
  }

  .arquitecte-bio-image {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .arquitecte-bio-image-figure {
    position: static;
    width: 100%;
    height: 320px;
    margin: 0 auto;
    max-width: 520px;
  }

  .arquitecte-bio-image-figure--top-right {
    transform: none;
  }

  .arquitecte-highlight {
    padding: 88px 0;
  }

  .arquitecte-highlight-container {
    height: auto;
  }

  .arquitecte-highlight-year {
    position: static;
    top: auto;
    left: auto;
    margin: 0 0 12px 0;
    font-size: 56px;
  }

  .arquitecte-highlight-overlay {
    padding: 24px;
  }

  .arquitecte-highlight-overlay--right {
    margin-top: 16px;
  }

  .arquitecte-tradition {
    padding: 88px 0;
  }

  .arquitecte-section-header {
    margin-bottom: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .arquitecte-legacy {
    padding: 96px 0;
  }

  .arquitecte-comp-img {
    height: 320px;
  }

  .arquitecte-quote {
    padding: 88px 0 120px;
  }

  .arquitecte-quote-text {
    font-size: 22px;
  }

  .arquitecte-quote-content {
    max-width: 100%;
  }

  .arquitecte-quote {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section {
    padding: 56px 24px;
  }

  .projecte-criteris-grid {
    grid-template-columns: 1fr;
  }

  .projecte-final-title {
    font-size: 32px;
  }

  .projecte-final-image-img {
    width: 100%;
  }

  .nav {
    position: relative;
    padding: 12px 24px;
    background: var(--background);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border-color: transparent;
    z-index: 11;
    color: var(--foreground);
  }

  .projecte-page h1,
  .projecte-page h2 {
    font-size: 36px;
  }

  .projecte-hero-title {
    margin: 30px 0 20px 0;
  }

  .projecte-hero-subtitle {
    margin: 0 0 30px 0;
  }

  .projecte-page .projecte-grid-wide .grid-2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .projecte-page .projecte-grid-wide.projecte-grid-inverted .projecte-grid-text {
    align-items: center;
    text-align: center;
  }

  .projecte-page .projecte-grid-wide.projecte-grid-inverted .grid-2 {
    display: flex;
    flex-direction: column;
  }

  .projecte-page .projecte-grid-wide.projecte-grid-inverted .projecte-grid-text {
    order: 1;
  }

  .projecte-page .projecte-grid-wide.projecte-grid-inverted .image-offset {
    order: 2;
  }

  .projecte-materials-left {
    gap: 28px;
  }

  .projecte-newbuild-header {
    margin-bottom: 24px;
  }

  .projecte-newbuild-spec-item {
    grid-template-columns: 1fr;
  }

  .projecte-newbuild-spec-label {
    margin-bottom: -6px;
  }

  .image-offset {
    top: 0;
  }

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

  .logo-img {
    height: 32px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 24px 20px;
    background: var(--background);
    border-bottom: 1px solid var(--border);
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .hero {
    height: auto;
    padding: 160px 0 80px;
  }

  .hero-content {
    padding-left: 24px;
  }

  .hero-title {
    font-size: 44px;
  }

  h2 {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 80%;
  }

  .btn-sound {
    width: 20%;
    aspect-ratio: auto;
    padding: 16px 0;
  }

  .living-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "prev next"
      "track track";
    align-items: center;
    gap: 1px;
  }

  .carousel-card {
    flex: 0 0 100%;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .carousel-arrow-left {
    grid-area: prev;
    justify-self: start;
  }

  .carousel-arrow-right {
    grid-area: next;
    justify-self: end;
  }

  .carousel-track {
    grid-area: track;
    padding: 8px 0;
  }

  .history-intro {
    margin-bottom: 0;
  }

  .section.section-secondary:first-of-type .grid-2 {
    gap: 0;
  }

  .stats {
    flex-direction: column;
  }

  .project-image,
  .history-image {
    height: 360px;
  }

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

  .gallery-item-large {
    grid-column: span 1;
    height: 300px;
  }

  .gallery-lightbox-panel {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .gallery-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .gallery-lightbox-prev {
    left: 10px;
  }

  .gallery-lightbox-next {
    right: 10px;
  }

  .gallery-lightbox-image {
    max-height: calc(100vh - 240px);
  }

  .gallery-lightbox-thumb {
    width: 64px;
    height: 48px;
  }

  .contact-info {
    gap: 16px;
  }

  .contact-item {
    align-items: flex-start;
  }

  .contact-form {
    padding: 32px;
  }

  .footer {
    padding: 56px 0;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .architect-container {
    padding: 0 24px;
  }

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

  .architect-title {
    font-size: 36px;
    margin-bottom: 24px;
  }

  .architect-text-body {
    max-width: none;
  }

  .architect-meta {
    flex-direction: column;
    gap: 16px;
  }

  .architect-image-wrapper {
    max-width: 100%;
    overflow: hidden;
  }

  .architect-overlay {
    left: 0;
    bottom: 0;
  }
}
