*,
*::before,
*::after {
  box-sizing: border-box;
}

.home {
  background: #fffdf8;
}

.section-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: #8a6f35;
  font-weight: 700;
  margin-bottom: 14px;
}

.light-kicker {
  color: #f0d58a;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.home-hero {
  position: relative;
  min-height: 760px;
  padding: 110px 20px 90px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 58px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(199, 162, 74, 0.18), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(38, 54, 38, 0.12), transparent 28%),
    linear-gradient(135deg, #f8f4ec 0%, #eef3ec 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  right: -160px;
  bottom: -160px;
  background: rgba(199, 162, 74, 0.16);
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 720px;
  justify-self: end;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1.02;
  color: #263626;
  margin-bottom: 24px;
}

.hero-text p {
  max-width: 660px;
  font-size: 19px;
  line-height: 1.8;
  color: #4c5549;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn-primary,
.btn-secondary,
.inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  padding: 16px 30px;
  background: linear-gradient(135deg, #c7a24a 0%, #b68f37 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(182, 143, 55, 0.25);
}

.btn-secondary {
  padding: 16px 30px;
  background: rgba(255, 255, 255, 0.72);
  color: #263626;
  border: 1px solid rgba(138, 111, 53, 0.22);
}

.btn-primary:hover,
.btn-secondary:hover,
.inline-link:hover {
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 560px;
  justify-self: start;
  width: min(520px, 100%);
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  border-radius: 42px 42px 42px 130px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
  border: 10px solid rgba(255, 255, 255, 0.65);
}

.hero-image-wrap img,
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-wrap::after,
.split-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(38, 54, 38, 0.28) 100%);
}

.floating-card {
  position: absolute;
  z-index: 3;
  width: 230px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(138, 111, 53, 0.18);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

.floating-card strong {
  display: block;
  font-family: "Playfair Display", serif;
  color: #263626;
  font-size: 22px;
  margin-bottom: 6px;
}

.floating-card span {
  color: #4c5549;
  font-size: 14px;
  line-height: 1.5;
}

.card-top {
  top: 48px;
  left: -70px;
}

.card-bottom {
  right: -58px;
  bottom: 70px;
}

.home-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 82px 20px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

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

.split-image {
  position: relative;
  height: 520px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.11);
}

.split-content {
  padding: 42px;
  border-radius: 32px;
  background: linear-gradient(135deg, #fffdf8 0%, #f8f4ec 100%);
  border: 1px solid rgba(138, 111, 53, 0.18);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.06);
}

.split-content h2,
.section-heading h2,
.showcase-title h2,
.band-inner h2,
.value-content h2,
.final-home h2 {
  font-family: "Playfair Display", serif;
  color: #263626;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.12;
  margin-bottom: 18px;
}

.split-content p,
.section-heading p,
.band-inner p,
.final-home p {
  color: #4c5549;
  line-height: 1.8;
  font-size: 17px;
}

.mini-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.mini-list div {
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border-left: 4px solid #8a6f35;
  color: #263626;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.045);
}

.mini-list div:nth-child(even) {
  background: #eef3ec;
}

.full-band {
  position: relative;
  margin: 30px 0;
  padding: 96px 20px;
  background:
    linear-gradient(rgba(20, 30, 20, 0.78), rgba(20, 30, 20, 0.78)),
    url("../img/sposi.png") center/cover;
  color: #fff;
}

.full-band::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.band-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 28px;
  border-radius: 30px;
  background: rgba(20, 30, 20, 0.38);
  backdrop-filter: blur(5px);
}

.band-inner h2 {
  color: #fff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

.band-inner p {
  color: #fff7e7;
  max-width: 720px;
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.method-section {
  position: relative;
}

.method-section::before {
  content: "";
  position: absolute;
  top: 70px;
  right: 20px;
  width: 180px;
  height: 180px;
  background: rgba(199, 162, 74, 0.14);
  border-radius: 50%;
  z-index: -1;
}

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

.method-card {
  padding: 32px 26px;
  background: #fffdf8;
  border: 1px solid rgba(138, 111, 53, 0.18);
  border-radius: 28px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.055);
  transition: 0.25s ease;
}

.method-card:nth-child(2) {
  transform: translateY(28px);
  background: #eef3ec;
}

.method-card:hover {
  transform: translateY(-6px);
}

.method-card:nth-child(2):hover {
  transform: translateY(20px);
}

.method-card span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  color: #8a6f35;
  font-weight: 800;
  margin-bottom: 18px;
}

.method-card h3,
.package-card h3 {
  font-family: "Playfair Display", serif;
  color: #263626;
  font-size: 28px;
  margin-bottom: 12px;
}

.method-card p,
.package-card p {
  color: #4c5549;
  line-height: 1.7;
  font-size: 16px;
}

.services-showcase {
  position: relative;
}

.showcase-title {
  max-width: 820px;
  margin-bottom: 34px;
}

.services-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mosaic-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fffdf8 0%, #f8f4ec 100%);
  border: 1px solid rgba(138, 111, 53, 0.16);
  color: #263626;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.05);
  transition: 0.25s ease;
}

.mosaic-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #ffffff 0%, #eef3ec 100%);
}

.inline-link {
  margin-top: 34px;
  padding: 15px 26px;
  color: #263626;
  background: #ffffff;
  border: 1px solid rgba(138, 111, 53, 0.22);
}

.layered-image {
  transform: rotate(2deg);
}

.value-content {
  background:
    radial-gradient(circle at 94% 0%, rgba(199, 162, 74, 0.18), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(38, 54, 38, 0.10), transparent 26%),
    linear-gradient(135deg, #fffdf8 0%, #f8f4ec 48%, #eef3ec 100%);
}

.big-quote {
  margin-top: 18px;
  font-family: "Playfair Display", serif;
  font-size: 31px !important;
  line-height: 1.25 !important;
  color: #263626 !important;
}

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

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

.package-card {
  position: relative;
  overflow: hidden;
  padding: 34px 28px;
  border-radius: 30px;
  border: 1px solid rgba(138, 111, 53, 0.18);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.055);
}

.package-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: 0.5;
}

.package-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 800;
}

.silver-card {
  background: linear-gradient(135deg, #ffffff 0%, #eceff1 100%);
  border-color: rgba(150, 160, 165, 0.45);
}

.silver-card::before {
  background: #c7cdd1;
}

.silver-card .package-label {
  color: #5f686d;
  background: rgba(199, 205, 209, 0.32);
}

.gold-card {
  transform: translateY(28px);
  background: linear-gradient(135deg, #fff8df 0%, #f3d27a 100%);
  border-color: rgba(182, 143, 55, 0.45);
}

.gold-card::before {
  background: #c7a24a;
}

.gold-card .package-label {
  color: #7a5a10;
  background: rgba(255, 255, 255, 0.52);
}

.diamond-card {
  background: linear-gradient(135deg, #ffffff 0%, #eaf8fb 100%);
  border-color: rgba(126, 190, 202, 0.45);
}

.diamond-card::before {
  background: #bdeef6;
}

.diamond-card .package-label {
  color: #43717a;
  background: rgba(189, 238, 246, 0.45);
}

.package-card h3,
.package-card p,
.package-label {
  position: relative;
  z-index: 1;
}

.package-btn {
  margin-top: 58px;
}

.final-home {
  text-align: center;
  padding: 62px 44px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 94% 0%, rgba(199, 162, 74, 0.18), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(38, 54, 38, 0.10), transparent 26%),
    linear-gradient(135deg, #fffdf8 0%, #f8f4ec 48%, #eef3ec 100%);
  border: 1px solid rgba(138, 111, 53, 0.22);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.07);
}

.final-home h2,
.final-home p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 1020px) {
  .home-hero,
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

  .hero-text,
  .hero-visual {
    justify-self: center;
  }

  .hero-visual {
    min-height: 520px;
  }

  .card-top {
    left: 20px;
  }

  .card-bottom {
    right: 20px;
  }

  .method-cards,
  .package-cards {
    grid-template-columns: 1fr;
  }

  .method-card:nth-child(2),
  .method-card:nth-child(2):hover,
  .gold-card {
    transform: none;
  }

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

  .layered-image {
    transform: none;
  }
}

@media (max-width: 640px) {
  .home-hero {
    min-height: auto;
    padding: 76px 18px 64px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-image-wrap {
    border-radius: 34px;
  }

  .floating-card {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-top: 14px;
  }

  .hero-image-wrap {
    position: relative;
    height: 360px;
  }

  .home-section {
    padding: 58px 18px;
  }

  .split-content,
  .final-home {
    padding: 30px 24px;
  }

  .split-image {
    height: 360px;
  }

  .mini-list {
    grid-template-columns: 1fr;
  }

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

  .mosaic-card {
    min-height: 84px;
  }

  .full-band {
    padding: 72px 18px;
  }

  .full-band::after {
    inset: 14px;
  }

  .band-inner {
    padding: 30px 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}