:root {
  --caldart-green: #006343;
  --caldart-sage: #a9c8aa;
  --caldart-dark: #282828;
  --caldart-ink: #524f4f;
  --caldart-cream: #f7f5f3;
  --caldart-line: #d8ddd8;
  --caldart-white: #fff;
  --caldart-shadow: 0 18px 55px rgba(23, 45, 35, .12);
  --header-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.caldart-site {
  margin: 0;
  color: var(--caldart-ink);
  background: var(--caldart-white);
  font-family: "Mulish", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.caldart-site img,
body.caldart-site video {
  display: block;
  max-width: 100%;
}

body.caldart-site a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--caldart-white);
  color: var(--caldart-green);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(0, 99, 67, .08);
  background: rgba(255, 255, 255, .98);
}

.site-header__inner {
  width: min(100% - 48px, 1500px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-brand {
  flex: 0 0 auto;
}

.site-brand img {
  width: 190px;
  height: 55px;
  object-fit: contain;
}

.site-header__actions,
.header-action,
.site-menu summary {
  display: flex;
  align-items: center;
}

.site-header__actions {
  gap: 24px;
  color: var(--caldart-green);
  font-size: 14px;
  font-weight: 700;
}

.header-action {
  gap: 9px;
  text-decoration: none;
  white-space: nowrap;
}

.header-action--cordoglio img {
  width: 36px;
}

.header-action--h24 img {
  width: 48px;
  height: 38px;
  object-fit: contain;
}

.header-phone {
  text-decoration: none;
  white-space: nowrap;
}

.site-menu {
  position: relative;
}

.site-menu summary {
  gap: 10px;
  padding: 10px 0;
  color: var(--caldart-ink);
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
}

.site-menu summary::-webkit-details-marker {
  display: none;
}

.site-menu__icon {
  width: 25px;
  display: grid;
  gap: 5px;
}

.site-menu__icon i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.site-menu[open] .site-menu__icon i:first-child {
  transform: translateY(6px) rotate(45deg);
}

.site-menu[open] .site-menu__icon i:nth-child(2) {
  opacity: 0;
}

.site-menu[open] .site-menu__icon i:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.site-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(380px, calc(100vw - 32px));
  padding: 22px 28px;
  border-top: 4px solid var(--caldart-sage);
  background: var(--caldart-white);
  box-shadow: var(--caldart-shadow);
}

.site-menu__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu__panel li + li {
  border-top: 1px solid var(--caldart-line);
}

.site-menu__panel a {
  display: block;
  padding: 11px 2px;
  color: var(--caldart-ink);
  text-decoration: none;
  font-family: "Philosopher", Georgia, serif;
  font-size: 19px;
  font-weight: 400;
}

.site-menu__panel .active > a,
.site-menu__panel a:hover,
.site-menu__panel a:focus-visible {
  color: var(--caldart-green);
}

.site-main {
  min-height: 60vh;
  overflow: hidden;
}

.site-main .com-content-article,
.site-main .item-page {
  margin: 0;
}

.site-main .page-header,
.site-main .icons,
.site-main .article-info,
.site-main .pagination {
  display: none;
}

.container,
.section__inner {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

.narrow {
  width: min(100% - 48px, 900px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--caldart-green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.display-title,
.section-title,
.page-title,
.card-title,
.site-footer h2,
.error-card h1 {
  font-family: "Philosopher", Georgia, serif;
  font-weight: 400;
}

.display-title,
.section-title,
.page-title {
  margin: 0;
  color: var(--caldart-green);
  line-height: 1.12;
}

.display-title {
  font-size: clamp(38px, 5vw, 68px);
}

.section-title {
  font-size: clamp(34px, 4vw, 52px);
}

.page-title {
  font-size: clamp(38px, 5vw, 62px);
}

.lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid currentColor;
  color: var(--caldart-green);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--solid {
  border-color: var(--caldart-green);
  background: var(--caldart-green);
  color: var(--caldart-white);
}

.button--light {
  border-color: rgba(255, 255, 255, .8);
  color: var(--caldart-white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #53653c;
  color: var(--caldart-white);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 43, 27, .08), rgba(25, 43, 27, .28));
}

.home-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1100px);
  text-align: center;
}

.home-hero__symbol {
  width: clamp(110px, 12vw, 170px);
  margin: 0 auto 34px;
}

.home-hero h1 {
  margin: 0;
  color: var(--caldart-white);
  font-family: "Philosopher", Georgia, serif;
  font-size: clamp(39px, 5.2vw, 76px);
  font-weight: 400;
  letter-spacing: .075em;
  line-height: 1.18;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}

.home-intro {
  padding: clamp(70px, 9vw, 130px) 0;
  background: var(--caldart-sage);
  text-align: center;
}

.home-intro p {
  max-width: 850px;
  margin: 28px auto 0;
}

.image-break {
  height: clamp(360px, 52vw, 690px);
  background: center / cover no-repeat;
}

.image-break--casa {
  background-image: url('/images/caldart/home-casa.jpg');
}

.services-section {
  padding: clamp(80px, 9vw, 130px) 0;
  background: var(--caldart-dark);
  color: rgba(255, 255, 255, .9);
  text-align: center;
}

.services-section .section-title,
.services-section .eyebrow {
  color: var(--caldart-white);
}

.services-section__intro {
  max-width: 900px;
  margin: 24px auto 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 64px 36px;
  margin-top: 72px;
}

.service-card {
  min-width: 0;
}

.service-card img {
  width: 92px;
  height: 82px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.service-card h3 {
  margin: 0;
  color: var(--caldart-white);
  font-family: "Philosopher", Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.25;
}

.locations-section {
  padding: clamp(80px, 9vw, 130px) 0;
  background: var(--caldart-cream);
}

.locations-section__heading {
  margin-bottom: 52px;
  text-align: center;
}

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

.location-card {
  min-height: 280px;
  padding: 36px;
  border-top: 5px solid var(--caldart-sage);
  background: var(--caldart-white);
  box-shadow: 0 10px 30px rgba(41, 67, 54, .07);
}

.location-card h3 {
  margin: 0 0 18px;
  color: var(--caldart-green);
  font-family: "Philosopher", Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.2;
}

.location-card p {
  margin: 0;
}

.location-card a {
  color: var(--caldart-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cremation-banner {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: center;
  padding: 80px 0;
  background: url('/images/caldart/cremazione.jpg') center / cover no-repeat;
}

.cremation-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 42, 31, .12), rgba(20, 42, 31, .65));
}

.cremation-banner__card {
  position: relative;
  width: min(100% - 48px, 650px);
  margin-left: auto;
  margin-right: max(24px, calc((100vw - 1200px) / 2));
  padding: clamp(36px, 5vw, 68px);
  background: rgba(247, 245, 243, .94);
  box-shadow: var(--caldart-shadow);
}

.cremation-banner__card p {
  margin: 24px 0 30px;
}

.inner-hero {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  background: var(--caldart-sage) center / cover no-repeat;
  text-align: center;
}

.inner-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(24, 51, 37, .42);
}

.inner-hero__content {
  position: relative;
  z-index: 2;
}

.inner-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-hero--photo .page-title,
.inner-hero--photo .eyebrow {
  color: var(--caldart-white);
}

.inner-hero__symbol {
  width: 105px;
  margin: 0 auto 18px;
}

.inner-hero--casa {
  background-image: url('/images/caldart/casa-hero.jpg');
}

.inner-hero--servizi {
  background: radial-gradient(circle at 70% 20%, #c6ddc7, var(--caldart-sage) 55%, #96b798);
}

.inner-hero--fiori {
  background-image: url('/images/caldart/fiori-hero.jpg');
}

.inner-hero--cremazione {
  background-image: url('/images/caldart/cremazione.jpg');
}

.inner-hero--contatti {
  background: linear-gradient(135deg, #dfeadd, var(--caldart-sage));
}

.inner-intro {
  padding: clamp(70px, 8vw, 115px) 0;
  text-align: center;
}

.inner-intro p {
  max-width: 900px;
  margin: 26px auto 0;
}

.split-section {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;
  background: var(--caldart-cream);
}

.split-section__image {
  min-height: 520px;
  background: center / cover no-repeat;
}

.split-section__content {
  align-self: center;
  padding: clamp(48px, 7vw, 110px);
}

.rooms-section,
.gallery-section,
.faq-section,
.contact-section,
.detail-services {
  padding: clamp(75px, 9vw, 125px) 0;
}

.rooms-section {
  background: var(--caldart-cream);
}

.rooms-heading,
.gallery-heading,
.faq-heading,
.detail-services__heading {
  max-width: 850px;
  margin: 0 auto 55px;
  text-align: center;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.room-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background: var(--caldart-dark);
}

.room-card:first-child {
  grid-column: span 2;
}

.room-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.room-card:hover img {
  transform: scale(1.025);
}

.room-card h3 {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  margin: 0;
  padding: 18px 22px;
  background: rgba(255, 255, 255, .92);
  color: var(--caldart-green);
  font-family: "Philosopher", Georgia, serif;
  font-size: 27px;
  font-weight: 400;
}

.detail-services {
  background: var(--caldart-dark);
  color: var(--caldart-white);
}

.detail-services .section-title,
.detail-services .eyebrow {
  color: var(--caldart-white);
}

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

.detail-service-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .035);
}

.detail-service-card img {
  width: 68px;
  height: 62px;
  object-fit: contain;
  margin-bottom: 22px;
}

.detail-service-card h3 {
  margin: 0 0 12px;
  font-family: "Philosopher", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.detail-service-card p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
}

.gallery-section {
  background: var(--caldart-cream);
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.image-gallery figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: #e2e4df;
}

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

.image-gallery figure:hover img {
  transform: scale(1.035);
}

.faq-section {
  background: var(--caldart-white);
}

.faq-list {
  max-width: 950px;
  margin: 0 auto;
  border-top: 1px solid var(--caldart-line);
}

.faq-list details {
  border-bottom: 1px solid var(--caldart-line);
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  color: var(--caldart-green);
  cursor: pointer;
  list-style: none;
  font-family: "Philosopher", Georgia, serif;
  font-size: 23px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  font-family: "Mulish", sans-serif;
  font-size: 28px;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 48px 26px 0;
}

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

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

.contact-card {
  padding: 42px;
  background: var(--caldart-white);
  box-shadow: 0 8px 24px rgba(26, 64, 45, .06);
}

.contact-card h2 {
  margin: 0 0 20px;
  color: var(--caldart-green);
  font-family: "Philosopher", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.contact-card .button {
  margin-top: 16px;
}

.placeholder-section {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 80px 24px;
  background: linear-gradient(140deg, var(--caldart-sage), #dfeadd);
}

.placeholder-card {
  width: min(100%, 760px);
  padding: clamp(48px, 8vw, 95px);
  background: rgba(255, 255, 255, .92);
  text-align: center;
  box-shadow: var(--caldart-shadow);
}

.placeholder-card img {
  width: 110px;
  margin: 0 auto 24px;
}

.placeholder-card p:not(.eyebrow) {
  max-width: 580px;
  margin: 24px auto 0;
}

.site-footer {
  padding: 70px 0 0;
  background: #202421;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.site-footer__grid {
  width: min(100% - 48px, 1300px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 55px;
}

.site-footer__brand img {
  width: 220px;
  padding: 12px;
  background: var(--caldart-white);
}

.site-footer__brand p {
  max-width: 300px;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--caldart-white);
  font-size: 20px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--caldart-white);
  text-decoration: none;
}

.site-footer__bottom {
  width: min(100% - 48px, 1300px);
  margin: 55px auto 0;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .48);
  font-size: 12px;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--caldart-sage);
}

.error-card {
  max-width: 700px;
  padding: 60px;
  background: var(--caldart-white);
  text-align: center;
  box-shadow: var(--caldart-shadow);
}

.error-card img {
  width: 220px;
  margin: 0 auto 35px;
}

.error-card h1 {
  color: var(--caldart-green);
  font-size: 42px;
}

@media (max-width: 1050px) {
  .header-action--h24 span,
  .header-action--cordoglio span {
    display: none;
  }

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

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

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

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

@media (max-width: 720px) {
  :root {
    --header-height: 76px;
  }

  body.caldart-site {
    font-size: 16px;
  }

  .site-header__inner,
  .container,
  .section__inner,
  .narrow {
    width: min(100% - 30px, 1200px);
  }

  .site-header__inner {
    gap: 12px;
  }

  .site-brand img {
    width: 180px;
    height: 52px;
  }

  .site-header__actions {
    gap: 12px;
  }

  .header-action,
  .header-phone {
    display: none;
  }

  .site-menu__label {
    font-size: 12px;
  }

  .site-menu__panel {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    width: auto;
    padding: 24px 28px;
  }

  .home-hero {
    min-height: calc(100svh - var(--header-height));
  }

  .home-hero__symbol {
    margin-bottom: 24px;
  }

  .home-hero h1 {
    font-size: clamp(35px, 11vw, 50px);
    letter-spacing: .04em;
  }

  .image-break {
    height: 430px;
  }

  .service-grid,
  .detail-service-grid,
  .location-grid,
  .contact-grid,
  .image-gallery,
  .site-footer__grid,
  .room-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 50px;
  }

  .room-card:first-child {
    grid-column: auto;
  }

  .room-card,
  .image-gallery figure {
    min-height: 330px;
  }

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

  .split-section__image {
    min-height: 380px;
  }

  .cremation-banner {
    min-height: 580px;
    align-items: end;
  }

  .cremation-banner::before {
    background: linear-gradient(180deg, rgba(20, 42, 31, .05), rgba(20, 42, 31, .7));
  }

  .cremation-banner__card {
    width: calc(100% - 30px);
    margin: 0 auto;
  }

  .inner-hero {
    min-height: 420px;
  }

  .contact-card,
  .detail-service-card,
  .location-card {
    padding: 30px;
  }

  .site-footer__grid {
    gap: 36px;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
