:root {
  --sage: #81977c;
  --sage-dark: #50644c;
  --cream: #f7f1e7;
  --white: #fffdf8;
  --blush: #e8c8c4;
  --beige: #d8c6ad;
  --brown: #8b6a4f;
  --gold: #c7a86b;
  --ink: #342d27;
  --muted: #756d63;
  --line: rgba(80, 70, 60, 0.18);
  --shadow: 0 18px 44px rgba(61, 50, 37, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.graduation-photo {
  object-position: center;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--sage-dark);
  border: 1px solid rgba(199, 168, 107, 0.65);
  border-radius: 50%;
  font-size: 1.35rem;
  font-style: italic;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.1;
}

.brand small {
  color: var(--brown);
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--sage-dark);
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--brown);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--sage-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/fiori-site/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(39, 47, 34, 0.74), rgba(39, 47, 34, 0.18) 58%, rgba(39, 47, 34, 0.08)),
    linear-gradient(0deg, rgba(35, 31, 26, 0.42), rgba(35, 31, 26, 0));
}

.hero-content {
  position: relative;
  width: min(870px, calc(100% - 36px));
  margin: 0 auto 20px;
  padding: 18vh 0 13vh;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-weight: 500;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 7vw, 5.9rem);
}

.hero h1 {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.hero-content > .eyebrow {
  color: #fff3d6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.hero-name,
.hero-title-line {
  display: block;
}

.hero-name {
  color: #f1d58f;
  font-size: clamp(3.2rem, 9vw, 7.4rem);
  line-height: 0.95;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.hero-title-line {
  margin-top: 14px;
  color: var(--white);
  font-size: clamp(1.75rem, 4.3vw, 3.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

p {
  margin: 0;
}

.hero-subtitle {
  max-width: 610px;
  margin-top: 22px;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
}

.hero-actions,
.center-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

.button.soft {
  color: var(--sage-dark);
  background: #efe4d6;
  border-color: rgba(80, 100, 76, 0.16);
}

.button.outline-light {
  color: var(--white);
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(255, 253, 248, 0.65);
}

.section-pad {
  padding: clamp(62px, 9vw, 122px) clamp(18px, 4vw, 54px);
}

.section-heading {
  width: min(880px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 16px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.muted-band {
  background:
    radial-gradient(circle at top left, rgba(232, 200, 196, 0.24), transparent 34%),
    linear-gradient(180deg, var(--cream), #fbf7ef);
}

.intro-grid,
.order-layout,
.contact-layout,
.split-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  gap: 36px;
  align-items: start;
  font-size: 1.08rem;
}

.intro-grid p + p {
  margin-top: 18px;
}

.quick-card,
.order-note,
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-card {
  padding: 28px;
}

.quick-card p {
  margin-top: 12px;
  color: var(--muted);
}

.text-link,
.service-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--sage-dark);
  font-family: Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.preview-grid,
.reviews-grid,
.services-grid,
.mini-gallery,
.craft-gallery {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.preview-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.preview-grid img {
  height: 290px;
}

.preview-grid h3,
.preview-grid p {
  padding-inline: 22px;
}

.preview-grid h3 {
  padding-top: 22px;
}

.preview-grid p {
  padding-bottom: 24px;
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.split-images {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 16px;
  align-items: end;
}

.split-images img,
.feature-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-images img {
  height: 340px;
}

.split-images .tall-img {
  height: 520px;
}

.split-images .story-photo-full {
  height: auto;
}

.story-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.story-copy .button {
  margin-top: 28px;
}

.craft-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.craft-gallery img {
  height: 250px;
  border-radius: var(--radius);
}

.craft-gallery .story-portrait {
  object-position: center top;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 205px;
  padding: 28px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card div {
  max-width: 38rem;
}

.service-card p {
  margin-top: 10px;
  color: var(--muted);
}

.feature-photo img {
  height: 560px;
}

.feature-photo picture {
  display: block;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.mini-gallery img {
  height: 210px;
  border-radius: var(--radius);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(18px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--sage-dark);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

label.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(80, 100, 76, 0.24);
  border-radius: var(--radius);
  padding: 12px 12px;
  color: var(--ink);
  background: #fffefb;
  font: 1rem Arial, sans-serif;
}

textarea {
  resize: vertical;
}

.order-form .button {
  align-self: end;
}

.order-form .whatsapp-mobile-submit {
  display: none;
}

.order-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.field-error,
.form-status {
  color: #8b2f2f;
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

.form-status {
  margin: 0;
  padding: 10px 12px;
  background: #fff4f1;
  border: 1px solid rgba(139, 47, 47, 0.24);
  border-radius: var(--radius);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #a84242;
  box-shadow: 0 0 0 2px rgba(168, 66, 66, 0.12);
}

.order-note {
  padding: 28px;
}

.order-note h3 + p,
.order-note p + h3,
.order-note p + p {
  margin-top: 14px;
}

.order-note p {
  color: var(--muted);
}




.real-gallery {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}

.real-gallery img {
  height: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.real-gallery .gallery-tall {
  grid-row: span 2;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.rating-score {
  margin: -12px auto 32px;
  text-align: center;
}

.rating-score strong {
  display: block;
  color: var(--gold);
  font-size: clamp(4rem, 10vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.review-card {
  padding: 22px;
}

.stars {
  color: var(--gold);
  font-family: Arial, sans-serif;
  letter-spacing: 0.08em;
}

.review-card h3 {
  margin-top: 14px;
  font-size: 1.2rem;
}

.review-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
}

.center-actions {
  justify-content: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
}

.contact-details,
.map-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-details {
  padding: 30px;
}

dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

dt {
  color: var(--sage-dark);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  color: var(--muted);
}

dd a {
  color: var(--sage-dark);
  text-decoration: none;
}

.hours-list {
  display: grid;
  gap: 4px;
}

.hours-list span,
.hours-list em {
  display: block;
}

.hours-list em {
  margin-top: 8px;
  color: var(--brown);
  font-size: 0.92rem;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: var(--sage-dark);
}

.site-footer p {
  margin-top: 6px;
  color: rgba(255, 253, 248, 0.78);
}

.site-footer .footer-legal {
  margin-top: 14px;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.6;
}

.site-footer a {
  color: var(--white);
  font-family: Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--white);
  background: #4f7f56;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(35, 60, 36, 0.25);
  font: 700 0.92rem Arial, sans-serif;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 900px) {
  .order-form .whatsapp-desktop-submit {
    display: none;
  }

  .order-form .whatsapp-mobile-submit {
    display: inline-flex;
  }

  #storia {
    display: none;
  }

  #storia:target {
    display: block;
  }

  #storia .split-images {
    display: none;
  }

  .reviews-grid .review-card:nth-child(n + 4) {
    display: none;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 40;
  }

  .main-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px 6px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 74px;
  }

  .intro-grid,
  .order-layout,
  .contact-layout,
  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
  }

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

  .feature-photo img {
    height: 420px;
  }

  .map-box iframe {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 72px;
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .main-nav {
    inset: 72px 0 auto 0;
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    width: min(100% - 28px, 870px);
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .preview-grid,
  .reviews-grid,
  .craft-gallery,
  .mini-gallery,
  .order-form {
    grid-template-columns: 1fr;
  }

  .real-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .real-gallery .gallery-large,
  .real-gallery .gallery-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .split-images {
    grid-template-columns: 1fr;
  }

  .split-images img,
  .split-images .tall-img,
  .feature-photo img,
  .preview-grid img,
  .craft-gallery img,
  .mini-gallery img {
    height: 260px;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 86px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
}
