:root {
  --ivory: #f4efe6;
  --ivory-deep: #e8e0d2;
  --navy: #1a2744;
  --navy-mid: #243556;
  --navy-soft: #3a4d73;
  --gold: #c9a45c;
  --gold-soft: #d8bc7d;
  --gold-vein: #e6d3a3;
  --ink: #141b2d;
  --mist: rgba(244, 239, 230, 0.88);
  --line: rgba(26, 39, 68, 0.14);
  --star: rgba(255, 255, 255, 0.85);
  --shadow: 0 22px 55px rgba(26, 39, 68, 0.16);
  --radius: 0.35rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --shell: min(1100px, calc(100% - 2.4rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, var(--star), transparent 55%),
    radial-gradient(1px 1px at 78% 12%, rgba(255, 255, 255, 0.7), transparent 50%),
    radial-gradient(1.2px 1.2px at 64% 72%, rgba(255, 255, 255, 0.55), transparent 50%),
    radial-gradient(900px 480px at 8% -8%, rgba(201, 164, 92, 0.22), transparent 58%),
    radial-gradient(800px 420px at 92% 0%, rgba(36, 53, 86, 0.18), transparent 55%),
    linear-gradient(165deg, #f7f2ea 0%, #ebe4d8 38%, #dfe6f0 100%);
  min-height: 100vh;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(244, 239, 230, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.2rem;
  background:
    radial-gradient(circle at 30% 25%, #fff8, transparent 42%),
    linear-gradient(140deg, var(--ivory), var(--navy) 55%, var(--gold));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 18px rgba(26, 39, 68, 0.28);
  animation: starPulse 7s ease-in-out infinite;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.55rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(201, 164, 92, 0.55);
  background: linear-gradient(135deg, rgba(244, 239, 230, 0.9), rgba(201, 164, 92, 0.2));
  color: var(--navy) !important;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.nav-cta:hover {
  box-shadow: 0 0 0 1px rgba(201, 164, 92, 0.4), 0 10px 24px rgba(201, 164, 92, 0.25);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--mist);
  padding: 0.55rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--navy);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(244, 239, 230, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.2rem 1rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.btn-primary {
  color: var(--ivory);
  background:
    radial-gradient(120% 180% at var(--x, 50%) var(--y, 50%), rgba(230, 211, 163, 0.55), transparent 42%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #2f4064 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 12px 28px rgba(26, 39, 68, 0.28);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(201, 164, 92, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 16px 34px rgba(201, 164, 92, 0.28);
}

.btn-ghost {
  color: var(--navy);
  background: rgba(244, 239, 230, 0.65);
  border-color: rgba(26, 39, 68, 0.18);
}

.btn-ghost:hover {
  border-color: rgba(201, 164, 92, 0.55);
  color: var(--navy);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.marble-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(244, 239, 230, 0.72)),
    radial-gradient(circle at 20% 10%, rgba(201, 164, 92, 0.16), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(26, 39, 68, 0.08), transparent 45%);
  border: 1px solid rgba(26, 39, 68, 0.12);
  box-shadow: var(--shadow);
  border-radius: calc(var(--radius) + 0.35rem);
  padding: 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--navy);
}

.section-head p,
.page-hero p,
.prose p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 1.05rem;
}

.meta {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.hero-masthead {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ivory);
}

.hero-masthead > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.hero-masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1.4px 1.4px at 20% 30%, rgba(255, 255, 255, 0.7), transparent 55%),
    radial-gradient(1px 1px at 70% 22%, rgba(255, 255, 255, 0.55), transparent 50%),
    linear-gradient(180deg, rgba(26, 39, 68, 0.35) 0%, rgba(20, 27, 45, 0.72) 55%, rgba(20, 27, 45, 0.92) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 4rem;
  max-width: 40rem;
  animation: riseIn 1s ease both;
}

.hero-issue {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-vein);
  margin-bottom: 1rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 6.2rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  font-size: 1.2rem;
  max-width: 32rem;
  color: rgba(244, 239, 230, 0.9);
  margin: 0;
}

.hero-caption {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: rgba(244, 239, 230, 0.7);
}

.page-hero {
  padding: 4rem 0 1.5rem;
}

.page-hero h1,
.bleed-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-weight: 600;
}

.bleed-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ivory);
}

.bleed-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bleed-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 39, 68, 0.15), rgba(20, 27, 45, 0.85));
}

.bleed-copy {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
}

.bleed-copy h1,
.bleed-copy p {
  color: var(--ivory);
}

.service-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
  align-items: center;
}

.service-feature img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: calc(var(--radius) + 0.2rem);
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

.offer-item h3,
.card-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.offer-meta,
.price-note {
  color: var(--navy-soft);
  font-size: 0.95rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin: 0.55rem 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--navy));
  box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.18);
}

.quote-band {
  padding: 2rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.35);
}

.quote-band blockquote {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.35;
  color: var(--navy);
}

.quote-band cite {
  font-style: normal;
  color: var(--navy-soft);
  font-size: 0.95rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.9rem;
  margin: 2rem 0 0.75rem;
}

.prose p + p {
  margin-top: 1rem;
}

.blog-list article,
.partner-card {
  overflow: hidden;
}

.blog-list img,
.partner-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--navy);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(26, 39, 68, 0.18);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--ink);
}

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  color: #8a2f2f;
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 1.1em;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}

.form-status[data-state="success"] {
  background: rgba(201, 164, 92, 0.18);
  color: var(--navy);
}

.form-status[data-state="error"] {
  background: rgba(138, 47, 47, 0.12);
  color: #6d2424;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline-step {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background:
    linear-gradient(180deg, rgba(26, 39, 68, 0.94), #141b2d);
  color: rgba(244, 239, 230, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0 0 0.6rem;
  color: var(--ivory);
}

.footer-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 0.7rem;
}

.footer-text {
  margin: 0 0 0.7rem;
  color: rgba(244, 239, 230, 0.78);
}

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

.footer-links a {
  color: rgba(244, 239, 230, 0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-links li + li {
  margin-top: 0.4rem;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  font-size: 0.9rem;
  color: rgba(244, 239, 230, 0.55);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background:
    linear-gradient(135deg, rgba(244, 239, 230, 0.96), rgba(232, 224, 210, 0.96));
  border-top: 1px solid rgba(201, 164, 92, 0.45);
  box-shadow: 0 -12px 40px rgba(26, 39, 68, 0.18);
  padding: 1rem 0;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p {
  margin: 0;
  color: var(--navy);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-error {
  margin: 0.5rem auto 0;
  width: var(--shell);
  color: #8a2f2f;
}

.stars-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 92, 0.7), transparent);
  margin: 0.5rem 0 1.5rem;
  position: relative;
}

.stars-divider::after {
  content: "✦";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  color: var(--gold);
  font-size: 0.75rem;
}

@keyframes starPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Editorial bulletin hero — distinct from bottom-aligned masthead */
.hero-bulletin {
  position: relative;
  min-height: min(92vh, 880px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ivory);
}

.hero-bulletin > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.08) brightness(0.92);
}

.hero-bulletin::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1.3px 1.3px at 18% 24%, rgba(255, 255, 255, 0.75), transparent 55%),
    radial-gradient(1px 1px at 82% 18%, rgba(255, 255, 255, 0.5), transparent 50%),
    radial-gradient(1.1px 1.1px at 55% 70%, rgba(255, 255, 255, 0.45), transparent 50%),
    linear-gradient(105deg, rgba(20, 27, 45, 0.92) 0%, rgba(26, 39, 68, 0.72) 42%, rgba(20, 27, 45, 0.45) 100%);
}

.hero-bulletin-plate {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 34rem;
  animation: riseIn 1.05s ease both;
}

.hero-bulletin-plate .hero-brand {
  font-size: clamp(3rem, 8vw, 5.4rem);
}

.hero-kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-vein);
  margin: 0 0 0.85rem;
}

.annuncio-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.annuncio-row:first-of-type {
  border-top: 1px solid var(--line);
}

.annuncio-date {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  line-height: 1.2;
}

@media (max-width: 900px) {
  .service-feature,
  .grid-2,
  .offer-list,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .annuncio-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
