@charset "UTF-8";

:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-font: "Cormorant Garamond", Georgia, serif;
  --nav-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --background-color: #fffaf7;
  --soft-background-color: #f8eee9;
  --default-color: #5f4b45;
  --heading-color: #3f2f2a;
  --accent-color: #c9877d;
  --accent-dark: #a9675e;
  --accent-light: #e8c9c1;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --border-color: rgba(121, 83, 74, 0.14);
  --shadow-soft: 0 24px 70px rgba(121, 83, 74, 0.12);
  --shadow-card: 0 18px 46px rgba(121, 83, 74, 0.10);
  --nav-color: #5f4b45;
  --nav-hover-color: #c9877d;
  --nav-mobile-background-color: #fffaf7;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #5f4b45;
  --nav-dropdown-hover-color: #c9877d;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--default-color);
  background:
    radial-gradient(circle at 12% 8%, rgba(232, 201, 193, 0.34), transparent 27%),
    radial-gradient(circle at 85% 18%, rgba(246, 222, 216, 0.52), transparent 28%),
    var(--background-color);
  font-family: var(--default-font);
  line-height: 1.7;
}

body.mobile-nav-active {
  overflow: hidden;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s ease;
}

a:hover {
  color: var(--accent-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1.05;
}

img {
  max-width: 100%;
}

.section {
  padding: 96px 0;
  scroll-margin-top: 92px;
  position: relative;
}

.soft-background {
  background: linear-gradient(180deg, rgba(248, 238, 233, 0.7), rgba(255, 250, 247, 0.95));
}

.section-title {
  text-align: center;
  padding-bottom: 48px;
}

.section-title .subtitle,
.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--accent-dark);
  background: rgba(232, 201, 193, 0.45);
  border: 1px solid rgba(201, 135, 125, 0.18);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title h2 {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
}

.section-title p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(95, 75, 69, 0.82);
  font-size: 17px;
}

.header {
  color: var(--default-color);
  background: rgba(255, 250, 247, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(121, 83, 74, 0.08);
  padding: 16px 0;
  transition: all 0.4s ease;
  z-index: 997;
}

.index-page .header {
  background: rgba(255, 250, 247, 0.35);
  border-bottom-color: transparent;
}

.scrolled .header,
.index-page.scrolled .header {
  background: rgba(255, 250, 247, 0.92);
  border-bottom: 1px solid rgba(121, 83, 74, 0.10);
  box-shadow: 0 10px 34px rgba(121, 83, 74, 0.08);
  padding: 11px 0;
}

.logo {
  line-height: 1;
}

.logo-mark {
  width: 42px;
  height: 42px;
  margin-right: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), #e7b2aa);
  color: #fff;
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(201, 135, 125, 0.22);
}

.header .logo h1,
.footer .logo .sitename {
  margin: 0;
  color: var(--heading-color);
  font-size: 25px;
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: #fff;
  background: var(--accent-color);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  margin-left: 28px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(201, 135, 125, 0.25);
}

.header .btn-getstarted:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 6px;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 12px 14px;
    font-family: var(--nav-font);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    border-radius: 999px;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
    background: rgba(232, 201, 193, 0.32);
  }
}

@media (max-width: 1199px) {
  .header .logo h1 {
    font-size: 22px;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 14px 0 0;
    padding: 9px 16px;
  }

  .navmenu {
    order: 3;
    padding: 0;
  }

  .mobile-nav-toggle {
    color: var(--heading-color);
    font-size: 30px;
    line-height: 0;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 62px 18px auto 18px;
    padding: 18px;
    margin: 0;
    border-radius: 28px;
    background: var(--nav-mobile-background-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 13px 16px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    border-radius: 18px;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
    background: rgba(232, 201, 193, 0.35);
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: var(--accent-dark);
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 105px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.20;
  filter: sepia(30%) saturate(70%) brightness(1.18);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 250, 247, 0.94) 0%, rgba(255, 250, 247, 0.86) 48%, rgba(248, 238, 233, 0.58) 100%),
    radial-gradient(circle at 82% 65%, rgba(232, 201, 193, 0.45), transparent 30%);
}

.hero h2 {
  margin: 0 0 22px;
  color: #3b2b27;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-text {
  margin: 0 0 30px;
  max-width: 650px;
  color: rgba(95, 75, 69, 0.84);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.btn-primary-soft,
.btn-outline-soft,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  transition: 0.3s ease;
}

.btn-primary-soft,
.contact-form button {
  background: linear-gradient(135deg, var(--accent-color), #d9988f);
  color: #fff;
  box-shadow: 0 18px 36px rgba(201, 135, 125, 0.24);
}

.btn-primary-soft:hover,
.contact-form button:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(201, 135, 125, 0.30);
}

.btn-outline-soft {
  color: var(--heading-color);
  border-color: rgba(121, 83, 74, 0.16);
  background: rgba(255, 255, 255, 0.74);
}

.btn-outline-soft:hover {
  border-color: rgba(201, 135, 125, 0.35);
  background: #fff;
  color: var(--accent-dark);
  transform: translateY(-3px);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 640px;
}

.hero-highlights div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(121, 83, 74, 0.10);
  border-radius: 24px;
  padding: 18px 18px;
  box-shadow: 0 18px 38px rgba(121, 83, 74, 0.07);
}

.hero-highlights strong {
  display: block;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 30px;
  line-height: 1;
}

.hero-highlights span {
  display: block;
  margin-top: 6px;
  color: rgba(95, 75, 69, 0.76);
  font-size: 13px;
  font-weight: 600;
}

.hero-card {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  padding: 16px;
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(201, 135, 125, 0.18);
  border-radius: 56px;
  z-index: -1;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 34px;
  filter: saturate(0.9) sepia(0.12) brightness(1.06);
}

.floating-note {
  position: absolute;
  left: -34px;
  bottom: 44px;
  max-width: 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 15px 18px;
  color: var(--heading-color);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 20px 44px rgba(121, 83, 74, 0.14);
}

.floating-note i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--soft-background-color);
  color: var(--accent-dark);
}

.profile-card,
.content-wrapper,
.service-card,
.portfolio-card,
.contact-card,
.contact-form {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(121, 83, 74, 0.10);
  box-shadow: var(--shadow-card);
}

.profile-card {
  border-radius: 34px;
  padding: 30px;
  text-align: center;
}

.profile-avatar {
  width: 190px;
  height: 190px;
  margin: 0 auto 24px;
  padding: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, var(--soft-background-color));
  border: 1px solid var(--border-color);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(0.9) brightness(1.05);
}

.profile-card h3 {
  margin: 0 0 8px;
  font-size: 33px;
}

.profile-card .role {
  color: rgba(95, 75, 69, 0.74);
  font-weight: 700;
}

.rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 18px 0 24px;
  color: #d79a4b;
}

.rating span {
  margin-left: 7px;
  color: var(--heading-color);
  font-weight: 800;
}

.content-wrapper {
  border-radius: 38px;
  padding: clamp(30px, 5vw, 54px);
}

.content-wrapper h3 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 54px);
}

.content-wrapper p {
  color: rgba(95, 75, 69, 0.82);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.detail-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: rgba(248, 238, 233, 0.55);
  border: 1px solid rgba(121, 83, 74, 0.08);
}

.detail-item i {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--accent-dark);
  background: #fff;
  box-shadow: 0 12px 24px rgba(121, 83, 74, 0.08);
}

.detail-content span {
  display: block;
  color: rgba(95, 75, 69, 0.66);
  font-size: 13px;
  font-weight: 700;
}

.detail-content strong {
  display: block;
  color: var(--heading-color);
  font-size: 15px;
}

.service-card {
  height: 100%;
  border-radius: 34px;
  padding: 34px 30px;
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 58px rgba(121, 83, 74, 0.14);
}

.service-card.featured {
  background: linear-gradient(180deg, #fff, #fff7f3);
  border-color: rgba(201, 135, 125, 0.24);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(232, 201, 193, 0.80), rgba(255, 250, 247, 0.95));
  color: var(--accent-dark);
  font-size: 25px;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 32px;
}

.service-card p {
  color: rgba(95, 75, 69, 0.80);
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.service-card li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--heading-color);
  font-size: 14px;
  font-weight: 700;
}

.service-card li::before {
  content: "\F633";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
}

.portfolio-filters {
  padding: 0;
  margin: 0 auto 34px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.portfolio-filters li {
  cursor: pointer;
  color: var(--heading-color);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(121, 83, 74, 0.10);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.3s;
}

.portfolio-filters li:hover,
.portfolio-filters .filter-active {
  color: #fff;
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 14px 28px rgba(201, 135, 125, 0.18);
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  filter: saturate(0.86) sepia(0.10) brightness(1.05);
  transition: 0.5s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 42px rgba(65, 45, 40, 0.14);
  backdrop-filter: blur(14px);
}

.portfolio-info span {
  display: block;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.portfolio-info h4 {
  grid-column: 1;
  margin: 4px 0 0;
  font-size: 25px;
}

.portfolio-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
}

.portfolio-link:hover {
  color: #fff;
  background: var(--accent-dark);
}

.testimonial-strip {
  padding: 78px 0;
}

.testimonial-strip i {
  color: var(--accent-color);
  font-size: 42px;
}

.testimonial-strip p {
  margin: 18px auto 12px;
  max-width: 860px;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.12;
}

.testimonial-strip span {
  color: rgba(95, 75, 69, 0.68);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card,
.contact-form {
  height: 100%;
  border-radius: 34px;
  padding: 34px;
}

.contact-card h3 {
  margin: 0 0 12px;
  font-size: 34px;
}

.contact-card > p {
  color: rgba(95, 75, 69, 0.76);
  margin-bottom: 26px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 17px 0;
  border-top: 1px solid rgba(121, 83, 74, 0.08);
}

.contact-item i {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--soft-background-color);
  color: var(--accent-dark);
}

.contact-item span {
  display: block;
  color: rgba(95, 75, 69, 0.64);
  font-size: 13px;
  font-weight: 800;
}

.contact-item strong {
  display: block;
  color: var(--heading-color);
}

.form-control {
  min-height: 54px;
  color: var(--heading-color);
  background: #fffaf7;
  border: 1px solid rgba(121, 83, 74, 0.13);
  border-radius: 18px;
  padding: 13px 16px;
  font-size: 15px;
  transition: 0.3s ease;
}

.form-control:focus {
  color: var(--heading-color);
  background: #fff;
  border-color: rgba(201, 135, 125, 0.45);
  box-shadow: 0 0 0 4px rgba(201, 135, 125, 0.11);
}

textarea.form-control {
  min-height: 150px;
}

.contact-form button {
  border: 0;
  cursor: pointer;
  min-width: 190px;
}

.php-email-form .error-message {
  display: none;
  color: #fff;
  background: #b85e5e;
  text-align: left;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 16px;
  font-weight: 700;
}

.php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #7aa478;
  text-align: center;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 16px;
  font-weight: 700;
}

.php-email-form .loading {
  display: none;
  color: var(--default-color);
  background: var(--soft-background-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 16px;
  font-weight: 700;
}

.php-email-form .loading::before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: transparent;
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  to {
    transform: rotate(360deg);
  }
}

.footer {
  color: rgba(95, 75, 69, 0.78);
  background: #f8eee9;
  font-size: 14px;
  padding: 58px 0 34px;
}

.footer .footer-top {
  padding-bottom: 24px;
}

.footer .footer-about p {
  max-width: 420px;
  margin: 18px 0 0;
}

.footer h4 {
  font-size: 22px;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(95, 75, 69, 0.78);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

.social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border-radius: 50%;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(121, 83, 74, 0.10);
}

.social-links a:hover {
  color: #fff;
  background: var(--accent-color);
}

.copyright {
  border-top: 1px solid rgba(121, 83, 74, 0.10);
  padding-top: 24px;
}

.credits {
  color: rgba(95, 75, 69, 0.58);
  font-size: 13px;
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  transition: all 0.4s;
  box-shadow: 0 18px 34px rgba(201, 135, 125, 0.28);
}

.scroll-top i {
  font-size: 28px;
  line-height: 0;
}

.scroll-top:hover {
  color: #fff;
  background: var(--accent-dark);
  transform: translateY(-3px);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader::before {
  content: "";
  position: fixed;
  top: calc(50% - 24px);
  left: calc(50% - 24px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid rgba(201, 135, 125, 0.22);
  border-top-color: var(--accent-color);
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991px) {
  .section {
    padding: 76px 0;
  }

  .hero {
    padding: 132px 0 82px;
  }

  .hero-card {
    max-width: 380px;
  }

  .floating-note {
    left: 18px;
    right: 18px;
    bottom: 26px;
    max-width: none;
  }

  .details-grid,
  .hero-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .header .btn-getstarted {
    display: none;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    font-size: 23px;
  }

  .header .logo h1 {
    font-size: 20px;
  }

  .hero h2 {
    font-size: 44px;
  }

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

  .hero-actions a {
    width: 100%;
  }

  .profile-card,
  .content-wrapper,
  .service-card,
  .contact-card,
  .contact-form {
    padding: 26px;
    border-radius: 28px;
  }

  .portfolio-info {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

/*--------------------------------------------------------------
# Samia Beauty Studio - integrazioni personalizzate
--------------------------------------------------------------*/
.logo-mark-sm {
  font-size: 15px;
  letter-spacing: -0.10em;
  font-family: var(--heading-font);
  font-weight: 800;
  position: relative;
}

.logo-mark-sm::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1px;
  left: 12px;
  bottom: 11px;
  background: rgba(255, 255, 255, 0.82);
  transform: rotate(-14deg);
}

.btn-estimate-soft i,
.estimate-launch i {
  font-size: 18px;
}

.service-price {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin: -2px 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 250, 247, 0.96), rgba(232, 201, 193, 0.46));
  border: 1px solid rgba(201, 135, 125, 0.20);
  box-shadow: 0 12px 26px rgba(121, 83, 74, 0.08);
}

.service-price span {
  color: rgba(95, 75, 69, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-price strong {
  color: var(--accent-dark);
  font-family: var(--heading-font);
  font-size: 28px;
  line-height: 1;
}

.estimate-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, #fffaf7 0%, #f8eee9 100%);
}

.estimate-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 42px;
  background:
    radial-gradient(circle at 92% 0%, rgba(232, 201, 193, 0.48), transparent 28%),
    rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(121, 83, 74, 0.11);
  box-shadow: var(--shadow-soft);
}

.estimate-cta-card h2 {
  max-width: 780px;
  margin: 0 0 14px;
  font-size: clamp(36px, 4.5vw, 58px);
}

.estimate-cta-card p {
  max-width: 760px;
  margin: 0;
  color: rgba(95, 75, 69, 0.80);
  font-size: 17px;
}

.estimate-launch {
  white-space: nowrap;
}

@media (max-width: 991px) {
  .estimate-cta-card {
    grid-template-columns: 1fr;
  }

  .estimate-launch {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Pagina preventivo personalizzato
--------------------------------------------------------------*/
.quote-page {
  background:
    radial-gradient(circle at 14% 9%, rgba(232, 201, 193, 0.34), transparent 25%),
    radial-gradient(circle at 92% 12%, rgba(255, 235, 228, 0.70), transparent 30%),
    #fffaf7;
}

.quote-header {
  background: rgba(255, 250, 247, 0.88);
}

.quote-main {
  padding-top: 84px;
}

.quote-hero {
  min-height: auto;
  padding: 96px 0 48px;
  background:
    linear-gradient(115deg, rgba(255, 250, 247, 0.95), rgba(248, 238, 233, 0.70)),
    url('../img/profile/samia-hero-bg.webp') center/cover no-repeat;
}

.quote-hero h2 {
  margin: 16px 0 18px;
  color: #3b2b27;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.96;
}

.quote-hero p {
  max-width: 780px;
  font-size: 17px;
  color: rgba(78, 59, 53, 0.82);
}

.quote-note {
  display: flex;
  gap: 16px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(121, 83, 74, 0.10);
  box-shadow: var(--shadow-soft);
}

.quote-note i {
  color: var(--accent-color);
  font-size: 28px;
}

.quote-note p {
  margin: 0;
  font-size: 15px;
}

.quote-builder {
  padding: 52px 0 96px;
}

.quote-panel,
.quote-summary-card {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(121, 83, 74, 0.10);
  box-shadow: 0 22px 55px rgba(121, 83, 74, 0.08);
}

.quote-panel-heading h3,
.quote-summary-card h3 {
  margin: 8px 0 22px;
  color: var(--heading-color);
  font-size: 34px;
}

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

.quote-option {
  position: relative;
  padding: 18px;
  border-radius: 26px;
  background: #fffaf7;
  border: 1px solid rgba(121, 83, 74, 0.10);
  transition: 0.25s ease;
}

.quote-option.selected {
  background: linear-gradient(135deg, rgba(255, 250, 247, 0.98), rgba(232, 201, 193, 0.34));
  border-color: rgba(201, 135, 125, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(121, 83, 74, 0.10);
}

.quote-check {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
}

.quote-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fake-check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: transparent;
  background: #ffffff;
  border: 1px solid rgba(201, 135, 125, 0.34);
}

.quote-check input:checked + .fake-check {
  background: var(--accent-color);
  color: #fff;
}

.quote-check strong {
  display: block;
  margin-bottom: 5px;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 24px;
  line-height: 1.05;
}

.quote-check small {
  display: block;
  color: rgba(95, 75, 69, 0.75);
  font-size: 13px;
  line-height: 1.55;
}

.quote-price {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  margin: 16px 0 0 46px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(121, 83, 74, 0.08);
}

.quote-price span {
  color: rgba(95, 75, 69, 0.68);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quote-price strong {
  color: var(--accent-dark);
  font-family: var(--heading-font);
  font-size: 25px;
}

.quote-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0 46px;
}

.quote-qty button,
.quote-qty input {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(121, 83, 74, 0.13);
  background: #fff;
  color: var(--heading-color);
  text-align: center;
  font-weight: 800;
}

.quote-qty input {
  border-radius: 14px;
  width: 54px;
}

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

.quote-control {
  display: block;
  padding: 18px;
  border-radius: 24px;
  background: #fffaf7;
  border: 1px solid rgba(121, 83, 74, 0.10);
}

.quote-control span {
  display: block;
  margin-bottom: 10px;
  color: var(--heading-color);
  font-weight: 800;
}

.quote-control input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(121, 83, 74, 0.14);
  background: #fff;
  color: var(--heading-color);
}

.quote-control small {
  display: block;
  margin-top: 9px;
  color: rgba(95, 75, 69, 0.68);
}

.quote-summary-card {
  position: sticky;
  top: 110px;
}

.empty-summary {
  margin: 0 0 20px;
  color: rgba(95, 75, 69, 0.72);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(121, 83, 74, 0.08);
}

.summary-row div strong {
  display: block;
  color: var(--heading-color);
}

.summary-row div span {
  display: block;
  margin-top: 3px;
  color: rgba(95, 75, 69, 0.62);
  font-size: 13px;
}

.summary-totals {
  margin: 22px 0;
  padding: 18px;
  border-radius: 24px;
  background: #fffaf7;
}

.summary-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
}

.grand-total {
  margin-top: 10px;
  padding-top: 16px !important;
  border-top: 1px solid rgba(121, 83, 74, 0.12);
}

.grand-total span,
.grand-total strong {
  color: var(--accent-dark);
  font-size: 22px;
  font-family: var(--heading-font);
}

.copy-feedback {
  min-height: 22px;
  margin: 10px 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  text-align: center;
}

.quote-error {
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(201, 135, 125, 0.36);
  color: var(--heading-color);
}

@media (max-width: 991px) {
  .quote-options-grid,
  .quote-controls-grid {
    grid-template-columns: 1fr;
  }

  .quote-summary-card {
    position: static;
  }
}

@media (max-width: 575px) {
  .quote-price,
  .quote-qty {
    margin-left: 0;
  }

  .quote-check {
    grid-template-columns: 30px 1fr;
  }
}
