@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg: #f4f0eb;
  --bg-soft: #faf8f5;
  --bg-white: #ffffff;
  --ink: #1a1512;
  --text: #4a3f38;
  --muted: #9c8c83;
  --accent: #2c6b6b;
  --accent-light: #e8f0f0;
  --accent-hover: #1e4e4e;
  --warm: #b07d5a;
  --warm-soft: #f5ede4;
  --line: #e2d8d0;
  --dark: #141010;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 4px 16px rgba(26, 21, 18, 0.08);
  --shadow-md: 0 12px 36px rgba(26, 21, 18, 0.12);
  --shadow-lg: 0 24px 56px rgba(26, 21, 18, 0.16);
  --transition: 0.25s ease;
}

/* === RESET === */
.reset-all, .reset-all * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.base-html {
  scroll-behavior: smooth;
}

.base-body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% -10%, rgba(44, 107, 107, 0.1), transparent 38%),
    radial-gradient(circle at 95% 20%, rgba(176, 125, 90, 0.11), transparent 32%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

.base-a {
  color: inherit;
  text-decoration: none;
}

.base-body a {
  text-decoration: none;
}

.base-img {
  max-width: 100%;
  display: block;
}

/* === LAYOUT === */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 80px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.94), rgba(250, 248, 245, 0.72));
}

/* === NOTICE BAR === */
.notice {
  background: var(--accent);
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 10px 5%;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 240, 235, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(26, 21, 18, 0.09);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}

.logo-dot {
  color: var(--accent);
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav-list {
  list-style: none;
  display: flex;
  gap: 28px;
}

.site-nav-link {
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
}

.site-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}

.site-nav-link:hover {
  color: var(--accent);
}

.site-nav-link:hover::after {
  width: 100%;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent-light);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 16, 16, 0.3);
}

/* === TYPOGRAPHY === */
.h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 600;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 18px;
}

.h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}

.h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 10px;
}

.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kicker::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--accent);
}

.text {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.7;
}

/* === HERO === */
.hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 55%;
  height: 160%;
  background: radial-gradient(ellipse at center, var(--accent-light) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero-content {
  animation: fadeInUp 0.7s ease both;
}

.hero-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  animation: fadeInRight 0.8s 0.15s ease both;
  position: relative;
}

.hero-media .base-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-media-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.badge {
  background: var(--bg-white);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.badge-accent {
  background: var(--accent-light);
  color: var(--accent);
  border-color: rgba(44, 107, 107, 0.25);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* === CARDS === */
.card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.62), rgba(250, 248, 245, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon-svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.card-p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 8px;
}

/* === GRID LAYOUTS === */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* === COMPARE === */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.compare-standard {
  border-left: 3px solid var(--line);
}

.compare-featured {
  border-left: 3px solid var(--accent);
  background: var(--bg-white);
}

.compare-list {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.compare-list-item {
  color: var(--text);
  font-size: 14.5px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.compare-list-item::before {
  content: '—';
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

.compare-featured .compare-list-item::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

/* === SPEC LAYOUT === */
.spec-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.spec-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.spec-list-item {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 3px 10px rgba(26, 21, 18, 0.04);
}

.spec-list-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* === TESTIMONIALS === */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  line-height: 0.5;
  color: var(--accent-light);
  display: block;
  margin-bottom: 12px;
}

.author-name {
  margin-top: 14px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.stars {
  color: var(--warm);
  font-size: 14px;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* === CTA SECTION === */
.cta-block {
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  color: #fff;
  box-shadow: 0 22px 48px rgba(30, 78, 78, 0.34);
}

.cta-block .h2 {
  color: #fff;
}

.cta-block .text {
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

.btn-white {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.btn-white:hover {
  background: var(--bg);
  transform: translateY(-2px);
}

.intro-text {
  max-width: 600px;
  margin-bottom: 36px;
}

.compare-intro-text {
  margin-bottom: 32px;
  max-width: 560px;
}

.spec-intro-text {
  margin-bottom: 8px;
}

.testimonial-grid-spaced {
  margin-top: 32px;
}

.kicker-light {
  color: rgba(255, 255, 255, 0.74);
}

.kicker-light::before {
  background: rgba(255, 255, 255, 0.58);
}

.kicker-centered {
  justify-content: center;
}

/* === ARTICLE === */
.article {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 780px;
  margin: 0 auto;
}

.article-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 20px;
}

.article-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 30px;
  margin-bottom: 10px;
}

.article-h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 20px;
  margin-bottom: 8px;
}

.article-p {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.article-ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 12px;
}

.article-li {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.article-li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 13px;
}

.article-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.form-control {
  width: 100%;
  border: 1.5px solid var(--line);
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  transition: border-color var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
}

.contact-info-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text);
  display: flex;
  gap: 6px;
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-label {
  font-weight: 600;
  color: var(--ink);
  min-width: 110px;
  flex-shrink: 0;
}

/* === ORDER === */
.order-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.price-panel {
  position: sticky;
  top: 90px;
}

.price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 15px;
}

.price-new {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  margin: 4px 0 6px;
  color: var(--ink);
}

.stock-alert {
  margin: 16px 0;
  padding: 12px 14px;
  background: #fef3e2;
  color: #9a6300;
  border: 1px solid #f5d98a;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
}

/* === FOOTER === */
.footer {
  margin-top: 60px;
  background: var(--dark);
  color: #d8cec8;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.footer-desc {
  color: #a09088;
  font-size: 13.5px;
  line-height: 1.6;
  margin-top: 8px;
}

.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.footer-link-row {
  margin-bottom: 8px;
}

.footer-link {
  color: #a09088;
  font-size: 14px;
  transition: color var(--transition);
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #706460;
}

/* === COOKIE CONSENT === */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  background: rgba(20, 16, 16, 0.97);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 18px;
  display: none;
  max-width: 520px;
}

.cookie-consent.show {
  display: block;
}

.cookie-text {
  color: #d8cec8;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.cookie-text-link {
  color: #fff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  flex: 1;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background var(--transition);
}

.cookie-accept {
  background: var(--accent);
  border-color: var(--accent);
}

.cookie-accept:hover {
  background: var(--accent-hover);
}

/* === PAGE LOADER === */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(244, 240, 235, 0.97);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.page-loader-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid var(--accent-light);
  border-top-color: var(--accent);
  animation: ascoltoSpin 0.9s linear infinite;
}

.page-loader-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes ascoltoSpin {
  to { transform: rotate(360deg); }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: translateX(0); }
}

/* === SECTION DECOR === */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.section-label-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-label-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .compare,
  .spec-layout,
  .testimonial-grid,
  .contact-grid,
  .order-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .price-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header .btn-primary {
    display: none;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .site-nav-list {
    width: max-content;
    padding-bottom: 6px;
  }

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

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

  .article {
    padding: 24px;
  }

  .cta-block {
    padding: 44px 24px;
  }
}
