/* ============================================================
   Studio Carbonari - PALETTE TITANIUM DARK
   Nero assoluto, argento metallico, minimalismo estremo
   Bootstrap 5 + Lucide Icons
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #990000;
  --red-dark: #6b0000;
  --red-light: #b81a1a;
  --ink: #1a1a1a;
  --ink-soft: #333;
  --muted: #6b6b6b;
  --bg: #faf8f5;
  --bg-alt: #f1ede6;
  --line: #e5dfd4;
  --white: #ffffff;

  /* Variabili extra */
  --surface: var(--ink);
  --border: var(--line);
  --text: #ffffff;
  --cookie-bg: var(--ink);
  --cookie-border: var(--line);
  --cookie-text: #ffffff;
  --cookie-muted: var(--muted);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

.serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

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

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ====================== NAV ====================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
}

header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 248, 245, 0.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 54px;
  height: 54px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text b {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-text span {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 38px;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 24px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--red);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.3s;
}

/* ====================== HERO ====================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-tag::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--red);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.02;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.hero h1 em {
  font-style: italic;
  color: var(--red);
  font-weight: 400;
}

.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 34px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.35s ease;
  cursor: pointer;
  border: none;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}

.btn:hover svg {
  transform: translateX(4px);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.hero-img.main {
  background-image: url('/images/hero.webp');
}

.hero-frame {
  position: absolute;
  inset: -20px -20px 20px 20px;
  border: 1px solid var(--red);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--red);
  color: #fff;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 50px rgba(153, 0, 0, 0.35);
}

.hero-badge b {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
}

.hero-badge span {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-strip {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.hero-strip div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-strip b {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.hero-strip span {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ====================== SEZIONI GENERALI ====================== */
section {
  padding: 120px 0;
  position: relative;
}

.section-head {
  margin-bottom: 72px;
  max-width: 780px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--red);
}

.eyebrow.center::before {
  display: none;
}

h2.title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}

h2.title em {
  font-style: italic;
  color: var(--red);
}

.section-head p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 640px;
  font-weight: 300;
}

.section-head.center p {
  margin: 0 auto;
}

/* ====================== ABOUT ====================== */
.about {
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 90px;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
}

.about-img {
  position: absolute;
  inset: 0;
  background-image: url('/images/chi-siamo.webp');
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

.about-img.small {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 55%;
  aspect-ratio: 1/1;
  background-image: url('/images/chi-siamo-small.webp');
  background-size: cover;
  background-position: center;
  border: 8px solid var(--bg-alt);
}

.about-text h2 {
  margin-bottom: 32px;
}

.about-text p {
  color: var(--ink-soft);
  margin-bottom: 22px;
  font-size: 16.5px;
  line-height: 1.8;
  font-weight: 300;
}

.about-text p:first-of-type::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 68px;
  float: left;
  line-height: 0.9;
  padding: 6px 12px 0 0;
  color: var(--red);
  font-weight: 600;
}

.about-values {
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-ico svg {
  width: 20px;
  height: 20px;
}

.value h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.value p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ====================== SERVICES ====================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service {
  background: var(--bg);
  padding: 44px 38px;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.4s;
}

.service:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.service:hover::before {
  width: 100%;
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.service-ico {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}

.service-ico svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.2;
}

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

.service p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
  font-weight: 300;
}

.service-link {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s, gap 0.3s;
}

.service:hover .service-link {
  color: var(--red);
  gap: 14px;
}

/* ====================== CAF BANNER ====================== */
.caf {
  background: var(--ink);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.caf::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(153, 0, 0, 0.35), transparent 70%);
}

.caf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.caf h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 24px;
}

.caf h2 em {
  font-style: italic;
  color: #e8a5a5;
}

.caf p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16.5px;
  line-height: 1.8;
  margin-bottom: 32px;
  font-weight: 300;
}

.caf-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.caf-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
}

.caf-list li::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.caf-visual {
  aspect-ratio: 1/1;
  position: relative;
  background-image: url('/images/caf.webp');
  background-size: cover;
  background-position: center;
}

.caf-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(153, 0, 0, 0.4));
}

.caf-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 2;
}

.caf-badge-ico {
  width: 48px;
  height: 48px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.caf-badge b {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

.caf-badge span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--red);
  color: #fff;
}

/* ====================== WHY ====================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.why-item {
  background: var(--bg);
  padding: 48px 32px;
  text-align: center;
  transition: background 0.3s;
}

.why-item:hover {
  background: #fff;
}

.why-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 600;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
}

.why-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.why-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ====================== CONTACT ====================== */
.contact {
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.contact-ico {
  width: 48px;
  height: 48px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-ico svg {
  width: 20px;
  height: 20px;
}

.contact-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-item p,
.contact-item a {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--red);
}

form {
  background: #fff;
  padding: 48px;
  border: 1px solid var(--line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.field input,
.field textarea,
.field select {
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  transition: border-color 0.3s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--red);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

/* ====================== FOOTER ====================== */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

footer .logo-text b {
  color: #fff;
}

footer .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

footer h5 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer ul a {
  font-size: 14px;
  transition: color 0.3s;
}

footer ul a:hover {
  color: var(--red-light);
}

.foot-about p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 22px;
  max-width: 340px;
}

.foot-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.foot-bottom a:hover {
  color: #fff;
}

/* ====================== UTILITIES ====================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

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

.btn-danger:hover {
  background-color: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ====================== COOKIE BANNER ====================== */
.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-backdrop.show {
  display: block;
  opacity: 1;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  z-index: 9999;
  width: min(90%, 600px);
  background: var(--cookie-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ====================== BACK TO TOP ====================== */
#btn-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 24px rgba(153, 0, 0, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
}

#btn-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#btn-top:hover {
  background: var(--red-dark);
  transform: scale(1.05);
  box-shadow: 0 10px 32px rgba(153, 0, 0, 0.5);
}

#btn-top .icon {
  width: 24px;
  height: 24px;
  color: #ffffff !important;
  stroke-width: 2.5px;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .caf-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

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

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

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }

  section {
    padding: 72px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 30px;
    gap: 22px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-visual {
    max-width: 100%;
    aspect-ratio: 3/2;
  }

  .hero-frame {
    display: none;
  }

  .hero-badge {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 16px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    width: auto;
  }

  .hero-badge b {
    font-size: 32px;
  }

  .hero-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
    padding-top: 24px;
    gap: 20px;
  }

  .hero-strip b {
    font-size: 28px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    aspect-ratio: 3/2;
  }

  .about-img.small {
    width: 45%;
    right: 0;
    bottom: 0;
  }

  .about-text p:first-of-type::first-letter {
    font-size: 40px;
    padding: 4px 8px 0 0;
  }

  .about-values {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .why-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  form {
    padding: 28px 20px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #btn-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  #btn-top .icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-strip b {
    font-size: 24px;
  }

  .hero-badge b {
    font-size: 26px;
  }

  .about-text p:first-of-type::first-letter {
    font-size: 32px;
  }
}

/* Cookie banner mobile */
@media (max-width: 640px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    padding: 18px 20px;
    border-radius: 12px;
  }
  .cookie-banner.show {
    transform: none;  
  }
}

.logo-link {
  display: flex;
  align-items: center;
  max-width: 200px;
}
.logo-img {
  width: 100%;
  height: auto;
  display: block;
}

.cookie-banner-inner { display:flex; flex-direction:column; gap:16px }
.cookie-header { display:flex; align-items:center; gap:12px }
.cookie-icon { flex-shrink:0; width:36px; height:36px; background:rgba(153,0,0,0.15); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--red) }
.cookie-title { font-weight:600; font-size:16px; color:#fff; margin:0 }
.cookie-text { font-size:14px; line-height:1.6; color:var(--muted); margin:0 }
.cookie-actions { display:flex; align-items:center; gap:12px; justify-content:flex-end; flex-wrap:wrap }
.cookie-btn { padding:10px 28px; border:none; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; transition:all .25s ease }
.cookie-btn-ghost { background:transparent; color:var(--muted); border:1px solid rgba(255,255,255,0.12) }
.cookie-btn-ghost:hover { color:#fff; border-color:rgba(255,255,255,0.3) }
.cookie-btn-primary { background:var(--red); color:#fff }
.cookie-btn-primary:hover { background:var(--red-dark) }


/* ====================== CONTACT SECTION IMPROVEMENTS ====================== */
.contact .title {
    font-size: clamp(32px, 4vw, 48px);   /* ridotto rispetto al default */
    margin-bottom: 10px;
}

.contact p {
    margin-bottom: 10px;                 /* ridotto */
}

.contact-info {
    margin-bottom: 0;
}

.contact-item {
    padding-bottom: 10px !important;     /* ridotto */
    margin-bottom: 0;
}

.contact-item:last-child {
    padding-bottom: 0 !important;
    border-bottom: none;
}

/* Orari più compatti */
.contact-orari {
    margin-top: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.contact-orari h4 {
    margin-bottom: 12px;
    font-size: 19px;
}

.contact-orari .orari-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 16px;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
}