:root {
  --sage:#52665f;
  --sage-pale:#e7ece8;
  --clay:#9a6b5a;
  --clay-pale:#f2e8e2;
  --cream:#f8f4ed
}
.brand {
  display:flex;
  align-items:center;
  gap:.7rem;
  line-height:1.1
}
.brand span {
  display:block
}
.hero-aside {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1.4rem;
  align-self:start;
  margin-top:3.5rem
}
.hero-logo {
  width:min(240px,75%);
  height:auto;
  object-fit:contain
}
.hero-aside .hero-note {
  width:100%;
  background:var(--clay-pale);
  border-top:3px solid var(--clay);
  min-height:310px;
  padding:2.5rem 2.25rem
}

/* Testo grigio scuro leggibile sullo sfondo rosa chiaro (--clay-pale),
   sovrascrive il bianco impostato in app.css (.hero-note p / .quote). */
.hero-aside .hero-note .eyebrow,
.hero-aside .hero-note .quote,
.hero-aside .hero-note p {
  color:#333;
}

/* Lineetta divisoria coerente col testo scuro (sostituisce il bianco di app.css). */
.hero-aside .hero-note .note-line {
  background:rgba(51,51,51,.35);
}

.hero-note::before {
  content: none;
}

.section.hero-note {
    background: #fff;
    color: #000;
}

.section.hero-note p,
.section.hero-note .quote {
    color: #000;
}

.section.hero-note .note-line {
    background: rgba(0, 0, 0, .28);
}

.hero.offer-house-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(3rem, 5vw, 6rem) max(5vw, 1.25rem);
}

.offer-house-hero h1 {
    font-size: clamp(3rem, 5.2vw, 5.6rem);
}

.offer-house-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 660px;
    object-fit: cover;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .hero.offer-house-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .offer-house-image {
        max-height: 480px;
    }
}

.offer-logo {
  display: block;
  width: auto;
  height: 58px;
  max-width: 220px;
  margin: 0 0 1.5rem;
  object-fit: contain;
  object-position: left center;
}

.offer-story,
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 7vw, 8rem);
}

.offer-story {
  background: var(--cream);
  max-width: none;
  padding-left: max(5vw, 1.25rem);
  padding-right: max(5vw, 1.25rem);
}

.offer-story div > p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.not-for-list {
  list-style: none;
  padding: 0;
}

.not-for-list li {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.not-for-list li::before {
  content: "— ";
  color: var(--clay);
}

.offer-method {
  background: var(--sage-pale);
  max-width: none;
  padding-left: max(5vw, 1.25rem);
  padding-right: max(5vw, 1.25rem);
}

.offer-method ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem 3rem;
  padding-left: 1.4rem;
}

.offer-method li {
  color: var(--muted);
  line-height: 1.65;
  padding-left: 0.4rem;
}
.hero-aside .eyebrow {
  color:var(--clay)
}
.hero-aside .note-line {
  background:var(--clay)
}
.proof-band {
  background:var(--sage)
}
.proof-band p {
  color:#e8ece8
}
.manifesto {
  background:var(--cream);
  max-width:none;
  padding-left:max(5vw,1.25rem);
  padding-right:max(5vw,1.25rem)
}
.manifesto .eyebrow {
  color:var(--clay)
}
.offers-section {
  border-top:0
}
.offer-card {
  position:relative
}
.offer-card:before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:var(--stone)
}
.offer-card:nth-child(3n+1):before {
  background:var(--sage)
}
.offer-card:nth-child(3n+2):before {
  background:var(--clay)
}
.offer-card:nth-child(3n+3):before {
  background:var(--stone)
}
.offer-card:hover {
  background:var(--sage-pale)
}
.offer-card:nth-child(3n+2):hover {
  background:var(--clay-pale)
}
.card-index {
  color:var(--sage)
}
.process {
  background:var(--sage-pale)
}
.process .eyebrow,.process-grid span {
  color:var(--sage)
}
.process-grid {
  border-color:var(--sage)
}
.contact {
  max-width:1020px;
  background:var(--cream);
  margin-top:4rem;
  margin-bottom:4rem
}
.contact-intro {
  display:grid;
  grid-template-columns:190px 1fr;
  gap:clamp(2rem,6vw,6rem);
  align-items:end;
  margin-bottom:2.5rem
}
.contact-intro h2 {
  max-width:690px
}
.contact-intro>div:last-child>p:last-child {
  color:var(--muted);
  font-size:1.08rem;
  line-height:1.65;
  max-width:570px
}
.contact-portrait {
  position:relative
}
.contact-portrait img {
  width:170px;
  aspect-ratio:1/1.16;
  object-fit:cover;
  object-position:center 20%;
  filter:grayscale(100%);
  display:block;
  border-bottom:5px solid var(--clay)
}
.contact-portrait span {
  display:block;
  font-size:.7rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--clay);
  margin-top:.65rem
}
footer {
  background:var(--sage)
}
footer p,footer span {
  color:#e3ebe5
}
.hero-actions .mud-button-filled {
  background:var(--sage)!important
}
.hero-actions .mud-button-filled:hover {
  background:#3e504a!important
}
@media(max-width:760px) {
  .hero-logo {
    width:150px
  }
  .hero-aside {
    margin-top:0
  }
  .hero-aside .hero-note {
    min-height:0
  }
  .contact {
    margin:0
  }
  .contact-intro {
    grid-template-columns:100px 1fr;
    gap:1.4rem
  }
  .contact-portrait img {
    width:100px
  }
  .contact-intro h2 {
    font-size:2.15rem
  }
  .manifesto {
    padding-left:1.25rem;
    padding-right:1.25rem
  }
}

.about-hero,
.reviews-hero {
  max-width: 1300px;
  margin: auto;
  padding: clamp(4.5rem, 9vw, 9rem) max(5vw, 1.25rem);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: clamp(3rem, 10vw, 12rem);
  align-items: center;
  padding-top: clamp(2rem, 4vw, 4rem);
}

.about-hero h1,
.reviews-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0.4rem 0 1.6rem;
}

.about-lead,
.reviews-hero > p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.75;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  display: block;
  width: 100%;
  max-width: 390px;
  aspect-ratio: 0.78;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(100%);
  border-bottom: 7px solid var(--clay);
}

.about-photo figcaption {
  margin-top: 0.8rem;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.about-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.linkedin-link img {
  width: 32px;
  height: 32px;
  border-radius: 3px;
}

.linkedin-link span {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.2rem;
}

.cv-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: fit-content;
  min-height: 76px;
  margin-top: 1.25rem;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  background: var(--clay);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.cv-link:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.cv-link-icon {
  display: block;
  width: 44px;
  height: 54px;
  object-fit: contain;
  border-radius: 3px;
  background: #fff;
}

.about-statement {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 9vw, 10rem);
  background: var(--cream);
  max-width: none;
  padding-left: max(5vw, 1.25rem);
  padding-right: max(5vw, 1.25rem);
}

.about-statement > div:last-child p,
.reviews-note p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--sage);
}

.about-grid article {
  border-right: 1px solid var(--line);
  padding: 1.5rem 2rem 1.5rem 0;
  margin-right: 2rem;
}

.about-grid article:last-child {
  border-right: 0;
}

.about-grid span {
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 700;
}

.about-grid h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin: 2.5rem 0 0.8rem;
}

.about-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.reviews-hero {
  background: var(--sage-pale);
  max-width: none;
  padding-left: max(5vw, 1.25rem);
  padding-right: max(5vw, 1.25rem);
}

.reviews-hero .mud-button-root {
  margin-top: 1.5rem;
}

.reviews-note {
  max-width: 900px;
}

@media(max-width:760px) {
  .about-hero,
  .about-statement {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 280px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    margin: 0;
    padding: 1.5rem 0;
  }

  .about-statement,
  .reviews-hero {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.real-estate-content p,
.real-estate-content li {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* Marketing immobiliare: visual identity from the printed service brochure. */
.real-estate-content {
    --re-orange: #f57c00;
    --re-red: #e01812;
    --re-ink: #26324d;
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px clamp(20px, 4vw, 56px) 56px;
    background: #fffefa;
    color: var(--re-ink);
    font-size: 18px;
    line-height: 1.65;
}
.real-estate-content h1,
.real-estate-content h2,
.real-estate-content h3 { font-family: Georgia, 'Times New Roman', serif; line-height: 1.15; margin: 0 0 16px; }
.real-estate-content p { margin: 0 0 12px; }
.real-estate-content p:last-child { margin-bottom: 0; }
.real-estate-content h2 { font-size: clamp(25px, 3vw, 36px); color: var(--re-red); }
.real-estate-content h3 { font-size: clamp(23px, 2.6vw, 30px); color: var(--re-red); }
.real-estate-content .re-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 28px; margin-bottom: 32px; }
.real-estate-content .re-hero img { display: block; width: 100%; height: 580px; object-fit: cover; border-radius: 8px; }
.real-estate-content h1 { color: #111; font-size: clamp(38px, 4.5vw, 64px); }
.real-estate-content .re-eyebrow { color: var(--re-red); font-weight: 700; font-size: 16px; margin-bottom: 28px; }
.real-estate-content .re-lead { color: var(--re-red); font-family: Georgia, serif; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; }
.real-estate-content .re-box { border: 1.5px solid var(--re-orange); border-radius: 6px; padding: clamp(20px, 3vw, 32px); background: #fff; }
.real-estate-content .re-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.real-estate-content .re-intro { margin-bottom: 36px; }
.real-estate-content .re-proof { text-align: center; padding: 24px 0 36px; border-bottom: 1px solid var(--re-orange); }
.real-estate-content .re-proof p { font-family: Georgia, serif; font-style: italic; font-size: 24px; }
.real-estate-content .re-plan { padding: 40px 0 16px; }
.real-estate-content .re-plan > h2 { color: #111; text-align: center; margin-bottom: 28px; }
.real-estate-content .re-steps { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; }
.real-estate-content .re-steps li { display: grid; grid-template-columns: 42px 92px minmax(0, 1fr); gap: 20px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--re-orange); }
.real-estate-content .re-steps li:last-child { border-bottom: 0; }
.real-estate-content .re-step-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--re-orange); color: #fff; font-size: 26px; font-weight: 700; line-height: 1; }
.real-estate-content .re-step-icon { width: 92px; height: 92px; display: grid; place-items: center; border: 1.5px solid var(--re-orange); border-radius: 50%; color: var(--re-orange); }
.real-estate-content .re-step-icon svg { width: 55px; height: 55px; }
.real-estate-content .re-step-subtitle { font-family: Georgia, serif; font-size: 21px; color: #111; }
.real-estate-content .re-attention { background: #fff7eb; margin: 16px 0 24px; border-width: 2px; }
.real-estate-content .re-attention h2,
.real-estate-content .re-attention p { color: #b95100; font-weight: 800; }
.offer-houzz-link { display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.offer-houzz-link img { height: 24px; width: auto; }
.real-estate-content .re-included { margin-bottom: 24px; }
.real-estate-content .re-included ul { list-style: none; padding: 0; margin: 0; }
.real-estate-content .re-included li { position: relative; padding-left: 32px; margin: 10px 0; }
.real-estate-content .re-included li::before { content: '✓'; position: absolute; left: 0; color: var(--re-orange); font-weight: 800; }
.real-estate-content .re-reassurance { display: block; text-align: center; }
.real-estate-content .re-reassurance > div { border: 0; padding: 0; }
.real-estate-content blockquote { margin: 12px 0; font-family: Georgia, serif; font-style: italic; }
@media (max-width: 680px) {
    .real-estate-content .re-hero,
    .real-estate-content .re-highlights,
    .real-estate-content .re-reassurance { grid-template-columns: 1fr; }
    .real-estate-content .re-hero img { height: 350px; }
    .real-estate-content .re-steps li { grid-template-columns: 32px 56px minmax(0, 1fr); gap: 10px; }
    .real-estate-content .re-step-number { width: 32px; height: 32px; font-size: 21px; }
    .real-estate-content .re-step-icon { width: 56px; height: 56px; }
    .real-estate-content .re-step-icon svg { width: 34px; height: 34px; }
    .real-estate-content .re-reassurance > div { border: 0; padding: 0; }
}

/* Private-owner services and project photographs. */
.property-hero-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.5rem 2.5rem; max-width: 1240px; margin-inline: auto; align-items: start; }
.property-hero-layout > .eyebrow, .property-hero-layout > h1 { grid-column: 1; }
.hero .property-hero-layout > h1 { max-width: none; font-size: clamp(2.5rem, 4vw, 4rem); margin: 0; }
.property-hero-layout > p:not(.eyebrow) { grid-column: 1; white-space: pre-line; font-size: 1.15rem; line-height: 1.7; margin: 0; }
.property-hero-layout > .hero-actions { grid-column: 1; grid-row: 4; }
.property-hero-photo { grid-column: 2; grid-row: 1 / 5; margin: 0; min-width: 0; }
@media (max-width: 768px) {
  .property-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .property-hero-layout > .property-hero-photo, .property-hero-layout > .hero-actions { grid-column: 1; grid-row: auto; }
}
.property-hero-photo img { display: block; width: 100%; height: 580px; object-fit: cover; border-radius: 12px; }
@media (max-width: 768px) { .property-hero-photo img { height: 350px; } }
.property-hero-photo figcaption { margin-top: .4rem; color: #68747d; font-size: .75rem; }
.re-gallery { margin-block: 3rem; }
.re-gallery > p { max-width: 75ch; }
.re-gallery-project { margin-block: 1.5rem; padding: 1rem; border: 1px solid #dfd6cc; border-radius: 10px; background: #fff; }
.re-gallery-project > summary { cursor: pointer; font-size: 1.2rem; font-weight: 700; padding: .5rem; }
.re-gallery-phases { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.re-gallery-phase:only-child { grid-column: 1 / -1; }
.re-gallery-phase h3 { margin: 1.2rem 0 .75rem; color: #88501b; text-align: center; text-transform: uppercase; }
.re-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.re-gallery-grid figure { margin: 0; min-width: 0; }
.re-gallery-grid a { display: block; border-radius: 6px; overflow: hidden; background: #f5f2ed; }
.re-gallery-grid a:focus-visible { outline: 3px solid #B66A21; outline-offset: 3px; }
.re-gallery-grid img { display: block; width: 100%; height: 220px; object-fit: contain; }
.re-gallery-grid figcaption { font-size: .8rem; padding-top: .4rem; overflow-wrap: anywhere; }
@media (max-width: 768px) { .re-gallery-phases { grid-template-columns: 1fr; } .re-gallery-grid img { height: 170px; } }
@media (max-width: 400px) { .re-gallery-grid { grid-template-columns: 1fr; } }

.real-estate-content .re-box { text-align: center; }
.real-estate-content .re-included li { padding-left: 0; }
.real-estate-content .re-included li::before { position: static; margin-right: .5rem; }

.re-gallery-phase { padding: 1rem; border: 2px solid; border-radius: 8px; }
.re-gallery-before { border-color: #808080; background: #f1f1f1; }
.re-gallery-after { border-color: #d71920; background: #fff1f1; }
.real-estate-content .re-gallery-before h3 { color: #555; }
.real-estate-content .re-gallery-after h3 { color: #bd1118; }

/* Sezioni di compatibilità condivise dalle pagine offerta. */
.section.fit-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; text-align: left; }
.section.fit-grid::before { content: none; display: none; }
.section.fit-grid > div { width: 100%; min-width: 0; box-sizing: border-box; text-align: left; }
.fit-grid > .offer-fit-positive > .eyebrow { color: #23733e; font-size: 1.15rem; font-weight: 700; }
.fit-grid > .offer-fit-negative > .eyebrow { color: #bd1118; font-size: 1.15rem; font-weight: 700; }
