/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --green:      #AED036;
  --green-dark: #8faa1c;
  --blue:       #00A1E3;
  --blue-dark:  #0083ba;
  --navy:       #0e4567;
  --black:      #000000;
  --gray-dark:  #333333;
  --gray:       #555555;
  --gray-light: #f5f5f5;
  --white:      #ffffff;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Lato', sans-serif;

  --container:  1180px;
  --radius:     12px;
  --shadow:     0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.16);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-dark);
  background: var(--white);
}

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

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

ul { list-style: none; }

h1, h2, h3 { font-family: var(--font-heading); }

/* ============================================================
   LAYOUT
============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
  display: block;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--white);
  opacity: 0.9;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--green {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
}
.btn--green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn--sm { padding: 10px 20px; font-size: 14px; }

.btn--green-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
}
.btn--green-outline:hover {
  background: var(--green);
  border-color: var(--green);
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar__logo img {
  height: 52px;
  width: auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 80px 24px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__logo {
  width: 140px;
  margin-inline: auto;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
}

/* ============================================================
   BLUE BANNER
============================================================ */
.banner {
  background: var(--blue);
  padding: 48px 24px;
}

.banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.banner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--black);
}

/* ============================================================
   ABOUT
============================================================ */
.about {
  padding: 80px 24px;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 420px;
}

.about__text .section-label {
  color: var(--gray);
}

.about__text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.25;
}

.about__text p {
  margin-bottom: 16px;
  color: var(--gray-dark);
}

/* ============================================================
   SERVICES TEASER
============================================================ */
.services {
  padding: 0 24px 80px;
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card__img {
  height: 220px;
  overflow: hidden;
}
.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card__img img { transform: scale(1.05); }

.service-card__body {
  padding: 20px 24px 28px;
}

.service-card__subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 6px;
}

.service-card__body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}

.service-card__body p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* ============================================================
   COSA OFFRIAMO (product grid)
============================================================ */
.offriamo {
  background: var(--blue);
  padding: 80px 24px;
}

.offriamo .section-label { color: rgba(255,255,255,0.75); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card--highlight {
  background: var(--green);
}

.product-card__img {
  height: 180px;
  overflow: hidden;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }

.product-card__body {
  padding: 16px 18px 22px;
}

.product-card__body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}

.product-card__body p {
  font-size: 0.875rem;
  color: var(--gray-dark);
  line-height: 1.5;
}

.product-card--highlight .product-card__body h3 { color: var(--black); }
.product-card--highlight .product-card__body p  { color: var(--black); }

.offriamo__cta {
  text-align: center;
  padding-top: 8px;
}

/* ============================================================
   LOCATION / SHOWROOM
============================================================ */
.location {
  padding: 80px 24px;
  background: var(--white);
}

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.location__info .section-label { color: var(--gray); }

.location__info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.25;
}

.location__info p {
  color: var(--gray-dark);
  margin-bottom: 12px;
}

.location__address {
  font-weight: 700;
  color: var(--black) !important;
}

.location__hours-title {
  margin-top: 4px;
  margin-bottom: 8px !important;
}

.location__hours {
  margin-bottom: 24px;
}
.location__hours li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--gray-dark);
}
.location__hours svg { flex-shrink: 0; color: var(--black); }

#map {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

/* ============================================================
   FAQ
============================================================ */
.faq {
  padding: 80px 24px;
  background: var(--gray-light);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.faq__image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 540px;
}

.faq__content .section-label { color: var(--gray); }

.faq__content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 14px;
  line-height: 1.25;
}

.faq__intro {
  color: var(--gray);
  margin-bottom: 28px;
}

.accordion { border-top: 1px solid #d0d0d0; }

.accordion__item { border-bottom: 1px solid #d0d0d0; }

.accordion__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: color 0.2s;
}
.accordion__question:hover { color: var(--blue); }

.accordion__icon {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--black);
}

.accordion__item.active .accordion__icon { transform: rotate(45deg); }
.accordion__item.active .accordion__question { color: var(--blue); }

.accordion__answer {
  display: none;
  padding: 0 0 16px;
}
.accordion__answer p { color: var(--gray-dark); font-size: 0.95rem; }
.accordion__item.active .accordion__answer { display: block; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding-top: 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
}

.footer__brand img {
  margin-bottom: 16px;
}

.footer__company {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.footer__vat {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: background 0.2s;
}
.footer__social a:hover { background: var(--blue); }

.footer__contact h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.footer__contact p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer__contact a {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer__contact a:hover { color: var(--green); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer__bottom a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
}
.footer__bottom a:hover { color: var(--green); }

/* ============================================================
   RESPONSIVE — TABLET (≤900px)
============================================================ */
@media (max-width: 900px) {
  .about__grid,
  .location__grid,
  .faq__grid,
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services__grid,
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq__image { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤640px)
============================================================ */
@media (max-width: 640px) {
  .hamburger { display: flex; }

  .navbar__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar__links.open { display: flex; }

  .hero { min-height: 480px; padding: 60px 20px; }
  .hero__logo { width: 100px; }
  .hero p br { display: none; }

  .banner__inner { gap: 16px; }

  .about { padding: 60px 24px; }
  .about__image { display: none; }

  .services { padding: 0 24px 60px; }
  .services__grid { grid-template-columns: 1fr; }

  .offriamo { padding: 60px 24px; }
  .products-grid { grid-template-columns: 1fr; gap: 16px; }

  .location { padding: 60px 24px; }
  #map { height: 280px; }

  .faq { padding: 60px 24px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding-top: 48px; }
}
