@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap");

/* 1. Design tokens */
:root {
  --gold: #c7ae24;
  --gold-dark: #9f8816;
  --ink: #171714;
  --muted: #6f6f69;
  --soft: #f0f0f0;
  --white: #ffffff;
  --line: #deddd6;
  --dark: #11110f;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;
}

/* 2. Reset and shared elements */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.container {
  width: min(1380px, calc(100% - 80px));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #eadf99;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}

.section-intro {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--muted);
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  transition: 0.25s ease;
}

.button-gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.button-gold:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.button-outline {
  border-color: var(--ink);
  background: transparent;
}

.button-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.text-link {
  min-height: auto;
  padding: 0 0 7px;
  border-bottom-color: currentColor;
}

.text-link:hover {
  color: var(--gold-dark);
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* 3. Header and navigation */
.site-header {
  position: relative;
  z-index: 50;
  width: 100%;
}

.site-header-overlay {
  position: absolute;
  inset: 0 0 auto;
  color: var(--white);
  transition: background 0.45s ease, box-shadow 0.45s ease, backdrop-filter 0.45s ease;
}

.contact-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  height: 32px;
  padding: 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(12, 12, 9, 0.14);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: height 0.4s ease, opacity 0.3s ease, border-color 0.4s ease;
}

.header-main {
  display: grid;
  grid-template-columns: 260px 1fr 180px;
  align-items: center;
  min-height: 92px;
  padding: 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: min-height 0.4s ease, border-color 0.4s ease;
}

.brand img {
  width: 225px;
  max-height: 74px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.site-header-overlay.is-scrolled {
  position: fixed;
  background: rgba(17, 17, 15, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.17);
  backdrop-filter: blur(12px);
  animation: header-enter 0.48s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.site-header-overlay.is-scrolled .contact-bar {
  height: 0;
  overflow: hidden;
  border: 0;
  opacity: 0;
}

.site-header-overlay.is-scrolled .header-main {
  min-height: 76px;
  border-color: rgba(255, 255, 255, 0.15);
}

@keyframes header-enter {
  from { opacity: 0.72; }
  to { opacity: 1; }
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.desktop-nav a,
.header-phone {
  position: relative;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  position: absolute;
  right: 100%;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transition: right 0.25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-current::after {
  right: 0;
}

.header-phone {
  justify-self: end;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

.mobile-nav {
  display: none;
}

/* 4. Homepage hero and search */
.hero-home {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  color: var(--white);
}

.hero-slider,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slider {
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  z-index: 0;
  background: #171714;
}

.hero-slide {
  position: absolute;
  inset: -18px;
  margin: 0;
  opacity: 0;
  transform: translate3d(var(--hero-shift-x), var(--hero-shift-y), 0);
  transition: opacity 1.15s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03) brightness(1.04);
}

.hero-slide.is-active img {
  animation: hero-zoom 7.2s ease-out both;
}

.hero-overlay {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 4, 0.26) 0%, rgba(5, 5, 4, 0.06) 32%, rgba(5, 5, 4, 0.14) 100%),
    linear-gradient(90deg, rgba(7, 8, 6, 0.42) 0%, rgba(7, 8, 6, 0.17) 43%, rgba(7, 8, 6, 0.02) 76%);
}

@keyframes hero-zoom {
  from { transform: scale(1.075); }
  to { transform: scale(1.015); }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 220px;
  padding-bottom: 80px;
}

.hero-content h1 {
  margin-bottom: 20px;
  font-size: clamp(4rem, 6.5vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  animation: intro-rise 1s 0.14s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-subtitle {
  margin-bottom: 48px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  animation: intro-rise 1s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-content > .eyebrow {
  animation: intro-rise 0.85s 0.05s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-content > .property-search {
  animation: intro-rise 1s 0.38s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes intro-rise {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-slider-controls {
  position: absolute;
  right: 48px;
  bottom: 26px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-slider-controls > button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(14, 14, 12, 0.35);
  color: #fff;
  font-size: 1.05rem;
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hero-slider-controls > button:hover {
  border-color: var(--gold);
  background: var(--gold);
  transform: scale(1.06);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-autoplay-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero-play-icon,
[data-hero-autoplay][data-paused="true"] .hero-pause-icon {
  display: none;
}

[data-hero-autoplay][data-paused="true"] .hero-play-icon {
  display: block;
}

.hero-dots button {
  width: 24px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.48);
  transition: width 0.35s ease, background 0.35s ease;
}

.hero-dots button.is-active {
  width: 42px;
  background: var(--gold);
}

.property-search {
  display: grid;
  grid-template-columns: 1.25fr 1.7fr repeat(7, minmax(88px, 1fr)) 122px;
  align-items: stretch;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.search-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.search-heading strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

.search-heading span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}

.property-search label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  padding: 14px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.property-search input,
.property-search select {
  width: 100%;
  height: 40px;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
}

.property-search input:focus,
.property-search select:focus {
  border-bottom-color: var(--gold);
}

.property-search label:focus-within {
  background: var(--ink);
  color: var(--white);
}

.property-search label:focus-within input,
.property-search label:focus-within select {
  border-bottom-color: var(--gold);
  color: var(--white);
}

.property-search label:focus-within input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.property-search select option {
  background: var(--white);
  color: var(--ink);
}

.search-button,
.reset-button {
  min-height: 72px;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-button:hover {
  background: var(--gold-dark);
}

.reset-button {
  min-height: 52px;
  background: var(--ink);
}

.filters-toggle {
  display: none;
}

/* 5. Property cards */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 28px;
}

.property-card {
  position: relative;
  min-width: 0;
}

.property-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--soft);
}

.property-image::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(180deg, transparent 52%, rgba(10, 10, 8, 0.28));
  content: "";
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.05s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.8s ease;
}

.property-card:hover .property-image img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.085);
}

.property-card:hover .property-image::after {
  opacity: 1;
  transform: scale(0.96);
}

.property-contract,
.property-photos {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-contract {
  left: 16px;
  color: var(--gold-dark);
}

.property-photos {
  right: 16px;
}

.property-content {
  padding-top: 22px;
}

.property-location {
  margin-bottom: 10px;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-content h3 {
  min-height: 62px;
  margin-bottom: 13px;
  font-size: 1.55rem;
  line-height: 1.25;
}

.property-price,
.detail-price {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.property-meta span:last-child {
  margin-left: auto;
}

/* Studio photographs */
.studio-inline-photo {
  margin: 32px 0;
  overflow: hidden;
}
.studio-inline-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.15s ease;
}
.studio-inline-photo-wide img {
  aspect-ratio: 3 / 2;
}
.studio-inline-photo:hover img {
  transform: scale(1.035);
}

/* 6. Home content sections */
.about-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 720px;
  background: var(--soft);
}

.about-image {
  position: relative;
  min-height: 650px;
  margin: 70px 0 70px 70px;
}

.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.15s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.8s ease;
}

.about-image {
  overflow: hidden;
}

.about-image:hover img {
  filter: saturate(1.04);
  transform: scale(1.055);
}

.about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 9vw;
}

.about-copy h2 {
  margin-bottom: 30px;
}

.about-copy > p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
}

.about-copy .button-row {
  margin-top: 22px;
}

.location-section {
  display: grid;
  grid-template-columns: 0.78fr 1.05fr 1.17fr;
  gap: 28px;
  padding-top: 120px;
  padding-bottom: 120px;
}

.location-copy {
  padding: 34px 18px 34px 0;
}

.location-copy h2 {
  margin-bottom: 28px;
}

.location-copy > p:not(.eyebrow) {
  margin-bottom: 28px;
  color: var(--muted);
}

.first-floor-note {
  display: flex;
  flex-direction: column;
  margin-top: 42px;
  padding: 20px;
  border: 1px solid var(--gold);
}

.first-floor-note strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.first-floor-note span {
  color: var(--muted);
  font-size: 0.75rem;
}

.location-photo,
.map-frame {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--soft);
}

.location-photo img,
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.location-photo img {
  transition: transform 1.15s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.8s ease;
}

.location-photo:hover img {
  filter: saturate(1.04);
  transform: scale(1.06);
}

.location-photo > span {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 14px 18px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-frame iframe,
.full-map iframe {
  filter: grayscale(1) contrast(0.95);
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.zone-grid a {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: 0.3s ease;
}

.zone-grid span {
  color: var(--gold-dark);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.zone-grid h3 {
  margin: 58px 0 0;
  font-size: 1.8rem;
}

.zone-grid a:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(18, 18, 15, 0.16);
}

.valuation-banner {
  padding: 95px 0;
  background: var(--soft);
}

.valuation-banner > div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.valuation-banner h2 {
  margin-bottom: 24px;
}

.valuation-banner p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

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

.social-card {
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.4s ease;
}

.social-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}

.social-card iframe {
  width: 100%;
  height: 590px;
  border: 0;
  background: var(--soft);
}

.social-card h3 {
  margin: 22px 0 12px;
  font-size: 1.65rem;
}

.social-card > a {
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonials {
  padding: 115px 0;
  background: #1a1a17;
  color: var(--white);
}

.testimonials h2 {
  margin-bottom: 58px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-grid blockquote {
  margin: 0;
  padding: 40px 40px 10px 0;
}

.testimonial-grid blockquote + blockquote {
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-grid blockquote > div,
.testimonial-grid cite {
  color: #eadf99;
}

.testimonial-grid blockquote > div {
  letter-spacing: 0.2em;
}

.testimonial-grid blockquote p {
  min-height: 115px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.5;
}

.testimonial-grid cite {
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 80px max(40px, calc((100vw - 1380px) / 2));
  background: #f7f6f2;
}

.contact-banner h2 {
  max-width: 850px;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
}

/* 7. Internal pages */
.internal-hero {
  padding: 215px 0 105px;
  background: var(--soft);
}

.internal-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(3.8rem, 7vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.internal-hero p:last-child {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
}

.internal-hero-image {
  position: relative;
  display: flex;
  min-height: 620px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #24231f;
}

.internal-hero-bg,
.internal-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.internal-hero-bg {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 1s ease;
}

.internal-hero-overlay {
  background:
    linear-gradient(180deg, rgba(8, 8, 6, 0.62) 0%, rgba(8, 8, 6, 0.1) 43%),
    linear-gradient(90deg, rgba(15, 14, 12, 0.77) 0%, rgba(15, 14, 12, 0.46) 46%, rgba(15, 14, 12, 0.08) 100%);
}

.internal-hero-image:hover .internal-hero-bg {
  filter: saturate(1.04);
  transform: scale(1.065);
}

.internal-hero-content {
  position: relative;
  z-index: 1;
}

.internal-hero-image .eyebrow {
  color: #eadf99;
}

.internal-hero-image p:last-child {
  color: rgba(255, 255, 255, 0.88);
}

.catalog-section {
  padding-top: 70px;
  padding-bottom: 120px;
}

.catalog-filter {
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 38px;
  border: 1px solid var(--line);
  box-shadow: none;
}

.catalog-filter .search-heading {
  grid-column: span 2;
}

.catalog-filter .search-location {
  grid-column: span 3;
}

.catalog-filter .reset-button {
  grid-column: span 2;
}

.results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 45px;
  color: var(--muted);
  font-size: 0.8rem;
}

.results-heading p {
  margin: 0;
}

.results-heading strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
}

.empty-results {
  grid-column: 1 / -1;
  padding: 90px 25px;
  background: var(--soft);
  text-align: center;
}

.detail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 310px 310px;
  gap: 5px;
}

.property-gallery::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 185px;
  background: linear-gradient(180deg, rgba(6, 6, 5, 0.64), transparent);
  content: "";
  pointer-events: none;
}

.gallery-image {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--soft);
}

.gallery-main {
  grid-row: 1 / 3;
}

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

.gallery-image:hover img {
  filter: saturate(1.05);
  transform: scale(1.075);
}

.property-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 90px;
  padding-top: 85px;
  padding-bottom: 115px;
}

.detail-content > h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.detail-price {
  margin-bottom: 42px;
  font-size: 2.1rem;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-stats > div {
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}

.detail-stats > div:last-child {
  border-right: 0;
}

.detail-stats strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
}

.detail-stats span {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-description,
.detail-features {
  margin-top: 70px;
}

.detail-description h2,
.detail-features h2 {
  margin-bottom: 34px;
  font-size: 2.8rem;
}

.detail-description > p:not(.eyebrow) {
  max-width: 800px;
  color: #55554f;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-grid span {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-grid strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.feature-tags span {
  padding: 10px 14px;
  background: var(--soft);
  font-size: 0.78rem;
}

.inquiry-panel,
.form-panel {
  padding: 40px;
  background: var(--soft);
}

.inquiry-panel {
  position: sticky;
  top: 25px;
  align-self: start;
}

.inquiry-panel h2,
.form-panel h2 {
  margin-bottom: 18px;
  font-size: 2.25rem;
}

.inquiry-panel > p:not(.eyebrow) {
  color: var(--muted);
}

.phone-link {
  display: block;
  margin: 24px 0;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.gallery-modal {
  width: min(1200px, calc(100% - 40px));
  height: min(850px, calc(100% - 40px));
  padding: 0;
  border: 0;
  background: #111;
}

.gallery-modal::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.gallery-modal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-modal button {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  font-size: 1.5rem;
}

.valuation-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 90px;
  padding-top: 110px;
  padding-bottom: 120px;
}

.valuation-intro h2,
.contact-details h2 {
  margin-bottom: 30px;
}

.valuation-intro > p:not(.eyebrow) {
  color: var(--muted);
}

.valuation-steps {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.valuation-steps > div {
  display: flex;
  flex-direction: column;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s ease, border-color 0.4s ease;
}

.valuation-steps > div:hover {
  padding-left: 14px;
  border-color: var(--gold);
}

.valuation-steps > div:hover span {
  color: var(--muted);
}

.valuation-steps strong {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.valuation-steps span {
  color: var(--muted);
}

.form-panel h2 {
  margin-bottom: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.form-grid label,
.form-stack label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.form-grid input:not([type="checkbox"]),
.form-grid select,
.form-grid textarea,
.form-stack input:not([type="checkbox"]),
.form-stack select,
.form-stack textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.form-grid textarea,
.form-stack textarea {
  resize: vertical;
}

.form-wide {
  grid-column: 1 / -1;
}

.privacy {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 8px !important;
  color: var(--muted);
  font-size: 0.7rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.contact-section {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.contact-item > span,
.opening-hours > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.55;
}

.opening-hours {
  margin-top: 30px;
  padding: 28px;
  background: var(--soft);
  transition: box-shadow 0.45s ease, transform 0.45s ease;
}

.opening-hours:hover {
  box-shadow: 0 18px 38px rgba(18, 18, 15, 0.11);
  transform: translateY(-4px);
}

.opening-hours p {
  margin: 12px 0 0;
  color: #55554f;
  font-size: 0.85rem;
}

.full-map {
  height: 520px;
  background: var(--soft);
}

.full-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* 8. Footer and floating contact */
.site-footer {
  padding-top: 80px;
  background: var(--dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 70px;
  padding-bottom: 68px;
}

.footer-logo {
  width: 260px;
  margin-bottom: 22px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid h3 {
  margin-bottom: 10px;
  color: #eadf99;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
  margin-bottom: 0;
  color: #bbb;
  font-size: 0.78rem;
  line-height: 1.65;
}

.footer-grid > div:first-child p {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid #30302d;
  color: #85857e;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-legal {
  margin-right: 100px;
}

.whatsapp-button {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
  animation: whatsapp-pulse 1.8s ease-in-out infinite;
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-button:hover {
  transform: translateY(-2px) scale(1.04);
  background: #1fbd59;
}

.whatsapp-button svg {
  width: 34px;
  height: 34px;
  overflow: visible;
}

.wa-bubble {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.wa-phone {
  fill: currentColor;
}

.reveal-item {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.9s ease var(--reveal-delay, 0ms), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item.reveal-left {
  transform: translateX(-45px);
}

.reveal-item.reveal-right {
  transform: translateX(45px);
}

.reveal-item.reveal-scale {
  transform: scale(0.95);
}

.reveal-item.reveal-media {
  opacity: 1;
  transform: scale(1.025);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item.reveal-left.is-visible,
.reveal-item.reveal-right.is-visible {
  transform: translateX(0);
}

.reveal-item.reveal-scale.is-visible {
  transform: scale(1);
}

.reveal-item.reveal-media.is-visible {
  opacity: 1;
  transform: scale(1);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28), 0 0 0 13px rgba(37, 211, 102, 0); }
}

/* 9. Responsive */
@media (max-width: 1300px) {
  .header-main {
    grid-template-columns: 230px 1fr 155px;
    padding-inline: 28px;
  }

  .contact-bar {
    padding-inline: 28px;
  }

  .desktop-nav {
    gap: 17px;
  }

  .desktop-nav a {
    font-size: 0.6rem;
  }

  .brand img {
    width: 210px;
  }

  .hero-home {
    min-height: 860px;
  }

  .property-search {
    grid-template-columns: repeat(5, 1fr);
  }

  .property-search .search-heading {
    grid-column: span 2;
  }

  .property-search .search-location {
    grid-column: span 3;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 44px, 760px);
  }

  .section {
    padding: 85px 0;
  }

  .contact-bar {
    justify-content: center;
  }

  .contact-bar a:last-child {
    display: none;
  }

  .header-main {
    grid-template-columns: 1fr auto;
    min-height: 76px;
    padding-inline: 20px;
  }

  .desktop-nav,
  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* Keep the drawer fixed to the viewport, including on iOS after scrolling. */
  .site-header-overlay,
  .site-header-overlay.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    animation: none;
    transition: none;
    opacity: 1;
  }

  .site-header-overlay.is-scrolled,
  body.menu-open .site-header-overlay {
    position: fixed;
    background: #ffffff;
    color: var(--ink);
  }

  .site-header-overlay.is-scrolled .header-main {
    background: #ffffff;
    border-color: var(--line);
    color: var(--ink);
  }

  body.menu-open {
    overflow: hidden;
  }

  .mobile-nav {
    position: fixed;
    inset: 108px 0 auto;
    height: calc(100vh - 108px);
    height: calc(100dvh - 108px);
    z-index: 60;
    display: flex;
    flex-direction: column;
    padding: 28px 24px calc(28px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    isolation: isolate;
    background: #ffffff !important;
    background-image: none !important;
    color: var(--ink);
    opacity: 1;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
  }

  body.menu-open .site-header-overlay .header-main {
    border-color: var(--line);
    background: #ffffff;
    color: var(--ink);
  }

  body.menu-open .site-header-overlay .contact-bar {
    background: #171714;
    color: #ffffff;
  }

  .site-header-overlay.is-scrolled .mobile-nav {
    top: 76px;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
  }

  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.16);
    pointer-events: auto;
  }

  .mobile-nav a {
    flex-shrink: 0;
    color: var(--ink);
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.5rem;
  }

  .hero-home {
    min-height: 1180px;
  }

  .hero-content {
    padding-top: 190px;
  }

  .property-search,
  .catalog-filter {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-search .search-heading,
  .property-search .search-location,
  .catalog-filter .search-heading,
  .catalog-filter .search-location {
    grid-column: 1 / -1;
  }

  .property-search .search-button,
  .catalog-filter .search-button,
  .catalog-filter .reset-button {
    grid-column: span 1;
  }

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

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 500px;
    margin: 40px 40px 0;
  }

  .about-copy {
    padding: 75px 45px;
  }

  .location-section {
    grid-template-columns: 1fr 1fr;
    padding-top: 85px;
    padding-bottom: 85px;
  }

  .location-copy {
    grid-column: 1 / -1;
  }

  .location-photo,
  .map-frame {
    min-height: 460px;
  }

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

  .valuation-banner > div,
  .contact-banner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .social-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 14px);
  }

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

  .testimonial-grid blockquote,
  .testimonial-grid blockquote + blockquote {
    padding: 32px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .testimonial-grid blockquote p {
    min-height: auto;
  }

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

  .property-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 180px 180px;
  }

  .gallery-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .property-detail,
  .valuation-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .inquiry-panel {
    position: static;
    order: 1;
  }

  .property-detail {
    padding-top: 38px;
    gap: 36px;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 34px);
  }

  .contact-bar {
    gap: 12px;
    padding-inline: 8px;
    font-size: 0.56rem;
  }

  .brand img {
    width: 182px;
  }

  .hero-home {
    min-height: 1330px;
  }

  .hero-content {
    padding-top: 170px;
  }

  .hero-content h1 {
    font-size: 3.4rem;
    line-height: 1;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .property-search,
  .catalog-filter {
    grid-template-columns: 1fr;
  }

  .property-search .search-heading,
  .property-search .search-location,
  .property-search .search-button,
  .catalog-filter .search-heading,
  .catalog-filter .search-location,
  .catalog-filter .search-button,
  .catalog-filter .reset-button {
    grid-column: auto;
  }

  .property-search label {
    padding: 12px 18px;
  }

  .section-heading,
  .results-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .property-grid,
  .location-section,
  .zone-grid,
  .social-grid,
  .footer-grid,
  .feature-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .property-content h3 {
    min-height: auto;
  }

  .about-image {
    min-height: 330px;
    margin: 25px 25px 0;
  }

  .about-copy {
    padding: 60px 22px;
  }

  .location-copy {
    grid-column: auto;
  }

  .location-photo,
  .map-frame {
    min-height: 390px;
  }

  .valuation-banner {
    padding: 75px 0;
  }

  .social-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .social-card iframe {
    height: 600px;
  }

  .contact-banner {
    padding: 65px 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .footer-legal {
    margin-right: 0;
  }

  .internal-hero {
    padding: 168px 0 75px;
  }

  .internal-hero-image {
    min-height: 500px;
  }

  .internal-hero-overlay {
    background: linear-gradient(90deg, rgba(15, 14, 12, 0.8) 0%, rgba(15, 14, 12, 0.48) 72%, rgba(15, 14, 12, 0.28) 100%);
  }

  .internal-hero h1 {
    font-size: 3rem;
    line-height: 1.04;
  }

  .property-gallery {
    grid-template-rows: 280px 130px 130px;
  }

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

  .detail-stats > div:nth-child(2) {
    border-right: 0;
  }

  .inquiry-panel,
  .form-panel {
    padding: 28px 20px;
  }

  .form-wide {
    grid-column: auto;
  }

  .whatsapp-button {
    right: 16px;
    bottom: 88px;
    width: 60px;
    height: 60px;
    font-size: 0.55rem;
  }
}

/* Mobile compact property search */
@media (max-width: 700px) {
  .hero-home {
    min-height: 850px;
  }

  .hero-slider-controls {
    right: 17px;
    bottom: 18px;
  }

  .hero-slider-controls > button {
    width: 38px;
    height: 38px;
  }

  .hero-dots button {
    width: 17px;
  }

  .hero-dots button.is-active {
    width: 30px;
  }

  .hero-content {
    padding-bottom: 55px;
  }

  .property-search,
  .catalog-filter {
    grid-template-columns: 1fr 1fr;
  }

  .property-search .search-heading,
  .property-search .search-location,
  .catalog-filter .search-heading,
  .catalog-filter .search-location {
    grid-column: 1 / -1;
  }

  .property-search .advanced-field {
    display: none;
  }

  .property-search.filters-open .advanced-field {
    display: flex;
    grid-column: auto;
  }

  .filters-toggle {
    display: block;
    min-height: 58px;
    padding: 0 14px;
    border: 1px solid var(--gold);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .property-search .search-button,
  .catalog-filter .search-button {
    grid-column: auto;
    min-height: 58px;
  }

  .catalog-filter .reset-button {
    display: none;
  }

  .catalog-filter.filters-open .reset-button {
    display: block;
    grid-column: 1 / -1;
  }

  .catalog-section {
    padding-top: 45px;
  }
}

/* Compact, aligned desktop search */
@media (min-width: 981px) {
  .property-search,
  .catalog-filter {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 76px 66px;
  }

  .property-search .search-heading,
  .catalog-filter .search-heading {
    grid-column: 1 / 4;
    grid-row: 1;
    padding: 14px 20px;
  }

  .property-search .search-location,
  .catalog-filter .search-location {
    grid-column: 4 / 7;
    grid-row: 1;
  }

  .property-search .filter-category,
  .catalog-filter .filter-category {
    grid-column: 7 / 9;
    grid-row: 1;
  }

  .property-search .filter-rooms,
  .catalog-filter .filter-rooms {
    grid-column: 9 / 11;
    grid-row: 1;
  }

  .property-search .filter-condition,
  .catalog-filter .filter-condition {
    grid-column: 11 / 13;
    grid-row: 1;
  }

  .property-search .filter-min-price,
  .catalog-filter .filter-min-price {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .property-search .filter-max-price,
  .catalog-filter .filter-max-price {
    grid-column: 3 / 5;
    grid-row: 2;
  }

  .property-search .filter-min-size,
  .catalog-filter .filter-min-size {
    grid-column: 5 / 7;
    grid-row: 2;
  }

  .property-search .filter-max-size,
  .catalog-filter .filter-max-size {
    grid-column: 7 / 9;
    grid-row: 2;
  }

  .property-search label {
    justify-content: center;
    padding: 10px 16px;
    border-left: 1px solid var(--line);
  }

  .property-search .filter-min-price,
  .property-search .filter-max-price,
  .property-search .filter-min-size,
  .property-search .filter-max-size {
    border-top: 1px solid var(--line);
  }

  .property-search input,
  .property-search select {
    height: 30px;
  }

  .property-search .search-button {
    grid-column: 9 / 13;
    grid-row: 2;
    min-height: 66px;
  }

  .catalog-filter .search-button {
    grid-column: 9 / 11;
    grid-row: 2;
  }

  .catalog-filter .reset-button {
    display: block;
    grid-column: 11 / 13;
    grid-row: 2;
    min-height: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

/* Complete galleries for agency listings */
.property-full-gallery { margin: 36px 0; }
.property-full-gallery summary { cursor: pointer; padding: 18px 0; border-block: 1px solid var(--line); font-weight: 700; }
.property-thumbnails { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin: 22px 0; }
.property-thumbnails button { padding: 0; border: 0; background: var(--soft); text-align: left; overflow: hidden; }
.property-thumbnails img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.property-thumbnails span { display: block; padding: 8px; font-size: 14px; }
.property-video { margin: 36px 0; }
.property-video h2 { margin-bottom: 20px; }
.property-video video { display: block; width: 100%; max-height: 600px; background: #111; }
.gallery-modal img { height: calc(100% - 64px); }
.gallery-modal [data-gallery-prev], .gallery-modal [data-gallery-next] { top: 50%; transform: translateY(-50%); color: #111; }
.gallery-modal [data-gallery-prev] { left: 12px; right: auto; }
.gallery-modal [data-gallery-next] { right: 12px; }
.gallery-modal [data-gallery-caption] { margin: 0; padding: 16px 20px; text-align: center; color: #fff; font-size: 14px; }
[data-property-detail] > .empty-results { padding-top: 190px; background: #30302d; color: #fff; }

/* Anteprime locali del profilo ufficiale Instagram. */
.social-card .social-photo { display: block; overflow: hidden; }
.social-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s ease; }
.social-photo:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .social-photo img { transition: none; } }
