:root {
  --radius: 0;
  
  /* Colori convertiti in standard HEX / RGBA per massima compatibilità */
  --background: #12221b; 
  --foreground: #f4f4f2;
  --card: #193128; 
  --primary: #d6bb73; 
  --primary-foreground: #14201b;
  --secondary: #1d382e; 
  --secondary-foreground: #f0f0ed;
  --muted-foreground: #b3b3a0;
  
  /* Trasparenze con RGBA standard */
  --border: rgba(214, 187, 115, 0.3); 
  --input: rgba(214, 187, 115, 0.35);
  
  /* Gradiente Gold lineare metallico "Tank ORO" */
  --gradient-gold: linear-gradient(
    120deg, 
    #edd99c, 
    #c4a355, 
    #edd99c
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Karla', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(18, 34, 27, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

h1, h2, h3, .display {
  font-family: 'Cormorant Garamond', serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
  color: inherit;
}

.gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-gold {
  background: var(--gradient-gold);
}

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 370px) {
  .header-in img {  
    max-width: 50%;  
  }
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
}

nav {
  display: none;
  gap: 2rem;
  font-size: .875rem;
  color: var(--muted-foreground);
}

nav a:hover {
  color: var(--primary);
}

.smart {
  display: inline-flex;
  gap: 2rem;
  font-size: .875rem;
  color: var(--muted-foreground);
  margin-left: 25px;
}

.btn-phone {
  border-radius: var(--radius);
  border: 2px var(--primary) solid;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 600;
}

.btn-phone:hover {
  background: none;
  color: var(--primary);
}

.btn-ghost {
  border-radius: var(--radius);
  border: 2px var(--primary) solid;  
  color: var(--primary);
  padding: .75rem 1.5rem;
  font-weight: 600;
  display: inline-block;
}

.btn-ghost:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-gold {
  border-radius: var(--radius);
  border: 2px var(--primary) solid;
  background: var(--gradient-gold);
  color: var(--primary-foreground);
  padding: .75rem 1.5rem;
  font-weight: 600;
  display: inline-block;
}

.btn-gold:hover {
  background: none;
  color: var(--primary);
}

.btn-gold:active, .btn-ghost:active {
  opacity: .85;
}

.hero {
  padding: 6rem 0 8rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
}

.split .hero-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }
  .split .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .hero {
    padding: 8rem 0;
  }
  .smart {
    display: none;
  }
}

.eyebrow {
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.05;
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.editorial .hero h1 {
  font-style: italic;
}

@media (min-width: 768px) {
  .editorial .hero h1 {
    font-size: 6rem;
  }
}

.hero p.sub {
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.center .hero-text {
  text-align: center;
  align-items: center;
}

.center .hero-cta {
  justify-content: center;
}

.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-grid .display {
  font-size: 1.5rem;
  color: var(--primary);
}

.trust-grid small {
  font-size: .875rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

section.quotes {
  padding: 6rem 0;
}

.trust h2, .quotes h2, .how h2, .contacts h2 {
  font-size: 2.25rem;
}

@media (min-width: 768px) {
  .trust h2, .quotes h2, .how h2, .contacts h2 {
    font-size: 3rem;
  }
}

.quotes .lead {
  margin-top: .5rem;
  color: var(--muted-foreground);
}

.quotes-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .quotes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.price-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.price-card .label {
  font-size: .875rem;
  color: var(--muted-foreground);
}

.price-card .value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.875rem;
  margin: .25rem 0;
}

.price-card .per {
  font-size: .75rem;
  color: var(--muted-foreground);
}

.card {
  border: 1px solid var(--primary);
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
}

.card h3 {
  font-size: 1.5rem;
}

.field-label {
  display: block;
  margin-top: 1.5rem;
  font-size: .875rem;
  color: var(--muted-foreground);
}

input[type=range] {
  width: 100%;
  margin-top: .5rem;
  accent-color: var(--primary);
}

.carati {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin-top: 1rem;
}

.carati button {
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius);
  padding: .5rem 0;
  font-size: .875rem;
  cursor: pointer;
}

.carati button.on {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.estimate {
  margin-top: 1.5rem;
  font-size: .875rem;
  color: var(--muted-foreground);
}

.estimate .total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  display: block;
  margin-top: .25rem;
}

.how {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.how-in {
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.how-grid {
  display: grid;
  gap: 2.5rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.how-grid .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--primary);
}

.how-grid h3 {
  font-size: 1.5rem;
  margin-top: .75rem;
}

.how-grid p {
  margin-top: .5rem;
  opacity: .75;
}

.contacts {
  padding: 6rem 0;
}

.contacts-grid {
  display: grid;
  gap: 3rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .contacts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-list {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  font-size: 1.125rem;
}

.contact-list b {
  color: var(--primary);
  font-weight: 500;
}

form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  align-content: start;
}

form input, form textarea {
  width: 100%;
  border: 1px solid var(--input);
  background: var(--background);
  border-radius: var(--radius);
  padding: .75rem 1rem;
}

form textarea {
  resize: vertical;
}

form button {
  background: var(--gradient-gold);
  color: var(--primary-foreground);
  border: 0;
  border-radius: var(--radius);
  padding: .75rem;
  font-weight: 600;
  cursor: pointer;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: .875rem;
  color: var(--muted-foreground);
}

.form-ok {
  display: none;
  background: var(--secondary);
  color: var(--secondary-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 1rem;
  text-align: center;
  margin-top: 1rem;
  width: 100%;
}