:root {
  --color-primary: #f04a13;
  --color-primary-dark: #c23708;
  --color-primary-light: #ffe3d6;
  --color-secondary: #27a7e0;
  --color-secondary-light: #d9f1fa;
  --color-text: #1f2933;
  --color-text-muted: #5b6b7b;
  --color-bg: #ffffff;
  --color-bg-alt: #fff5f0;
  --radius: 20px;
  --shadow: 0 12px 30px rgba(240, 74, 19, 0.14);
  --font-main: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a {
  color: var(--color-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

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

:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-bg);
  border-bottom: 2px solid var(--color-primary-light);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--color-primary);
}

.brand__logo {
  height: 46px;
  width: auto;
}

.site-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 700;
  padding: 0.35rem 0;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Bottoni */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-primary-dark);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--color-primary);
  color: #ffffff;
}

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

.btn--outline:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  font-weight: 900;
}

.hero__content p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 36rem;
  margin: 0 0 1.8rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Sezioni generali */
.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1.2rem;
  font-weight: 900;
}

.section__lead {
  color: var(--color-text-muted);
  max-width: 60ch;
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

/* Prodotti */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
}

.product-card--orange {
  background: var(--color-primary-light);
}

.product-card--sky {
  background: var(--color-secondary-light);
}

.product-card--white {
  background: var(--color-bg);
  border-color: var(--color-primary-light);
}

.product-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
}

.product-card p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Chi siamo in home */
.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.about__text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 55ch;
}

.about__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.about__list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.8rem;
  font-weight: 600;
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-secondary);
}

.about__note {
  background: var(--color-secondary-light);
  border-radius: var(--radius);
  padding: 2rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.about__note p {
  margin: 0 0 1rem;
}

.about__note p:last-child {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Galleria */
.gallery__grid {
  display: grid;
  gap: 1.5rem;
}

.gallery__grid--home {
  grid-template-columns: repeat(3, 1fr);
}

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

.gallery-item {
  margin: 0;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-item figcaption {
  margin-top: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.gallery__actions {
  margin-top: 2rem;
}

.gallery__note {
  max-width: 60ch;
  color: var(--color-text-muted);
  margin-top: 2.5rem;
}

/* Prezzi */
.prices__box {
  background: var(--color-secondary-light);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}

.prices__box p {
  margin: 0;
  max-width: 55ch;
}

.prices__box--page {
  margin-top: 3rem;
  display: block;
}

.prices__box--page p {
  margin-bottom: 1.5rem;
}

.prices__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Menu prezzi */
.menu-list {
  border-top: 2px solid var(--color-primary-light);
}

.menu-item {
  border-bottom: 2px solid var(--color-primary-light);
  padding: 1.5rem 0;
}

.menu-item h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.menu-item p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* Contatti e mappa */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact__grid--page {
  margin-bottom: 1.5rem;
}

.contact__info h2 {
  margin: 0 0 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contact-list li {
  padding: 0.9rem 0;
  border-bottom: 2px solid var(--color-primary-light);
}

.contact-list strong {
  display: block;
  margin-bottom: 0.2rem;
}

.contact__text {
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  max-width: 50ch;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--color-secondary-light);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

.map-wrap--large iframe {
  min-height: 420px;
}

.map-fallback {
  text-align: center;
  margin-top: 1rem;
}

/* CTA in fondo alle pagine interne */
.section__cta {
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
  padding: 4rem 1.5rem;
  border-top: 2px solid var(--color-primary-light);
  border-bottom: 2px solid var(--color-secondary-light);
}

.section__cta h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
}

.section__cta p {
  color: var(--color-text-muted);
  margin-bottom: 1.8rem;
  font-size: 1.1rem;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

.section__cta .btn {
  font-size: 1.1rem;
}

/* Page hero */
.page-hero {
  background: var(--color-bg-alt);
  padding: 3.5rem 0;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-hero p {
  max-width: 60ch;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin: 0;
}

/* Chi siamo full */
.about-full {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.about-full__text h2,
.about-full__aside h2 {
  font-size: 1.6rem;
  margin: 0 0 1.2rem;
}

.about-full__text p {
  color: var(--color-text-muted);
  margin: 0 0 1.2rem;
}

.about-full__aside {
  background: var(--color-secondary-light);
  border-radius: var(--radius);
  padding: 2rem;
}

.about-full__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-full__list li {
  margin: 0 0 1rem;
}

.about-full__list li:last-child {
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: #f4f7f9;
  padding-top: 3rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.footer__name {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0 0.5rem;
}

.footer__label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  margin: 0 0 0.8rem;
  color: var(--color-secondary-light);
}

.footer__brand p,
.footer__info p {
  margin: 0 0 0.8rem;
}

.site-footer a {
  color: var(--color-secondary-light);
}

.site-footer a:hover {
  color: #ffffff;
}

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

.footer__nav li {
  margin-bottom: 0.5rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.3rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer__bottom p {
  margin: 0;
}

/* Responsive */
@media (min-width: 1100px) {
  .products__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .product-card {
    padding: 2.2rem 1.8rem;
  }

  .gallery-item img {
    height: 330px;
  }

  .hero {
    padding: 5rem 0 5.5rem;
  }

  .section {
    padding: 5.5rem 0;
  }
}

@media (max-width: 900px) {
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__grid,
  .about-full {
    grid-template-columns: 1fr;
  }

  .about__note {
    margin-top: 0.5rem;
  }
}

@media (max-width: 768px) {
  .header__inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 2px solid var(--color-primary-light);
    padding: 1rem 1.5rem 1.5rem;
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 0.4rem;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0;
  }

  .hero {
    padding: 1rem 0 2rem;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero__content h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    line-height: 1.12;
    margin-bottom: 0.8rem;
  }

  .hero__content p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .hero__actions {
    gap: 0.6rem;
  }

  .hero__media img {
    height: 200px;
    object-fit: cover;
  }

  .section {
    padding: 3.5rem 0;
  }

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

  .gallery__grid--home,
  .gallery__grid--four {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 230px;
  }

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

  .map-wrap iframe {
    min-height: 300px;
  }

  .map-wrap--large iframe {
    min-height: 340px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .prices__box {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero {
    padding: 2.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero__media {
    display: none;
  }

  .hero__content h1 {
    font-size: clamp(1.55rem, 8vw, 1.9rem);
  }

  .hero__content p {
    font-size: 0.97rem;
  }
}