/* MDI Garden Premium Styles */

:root {
  --green: #6f9f22;
  --green2: #86b42a;
  --black: #0f1512;
  --soft: #f4f6ef;
  --text: #14201a;
  --muted: #637064;
  --line: rgba(20, 32, 26, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Montserrat, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

/* Focus Visible for Accessibility */
*:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* Topbar */
.topbar {
  height: 40px;
  background: var(--black);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 72px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.topbar strong {
  color: var(--green2);
}

.topbar-links {
  display: flex;
  gap: 26px;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  transition: opacity .2s;
}

.topbar-links a:hover {
  opacity: .8;
}

.topbar svg {
  width: 17px;
  height: 17px;
  color: var(--green2);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 84px;
  padding: 10px clamp(18px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20, 32, 26, .08);
  box-shadow: 0 8px 32px rgba(20, 32, 26, .06);
}

.brand img {
  width: 152px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .07em;
}

.nav a {
  opacity: .78;
  transition: all .2s;
}

.nav a:hover {
  opacity: 1;
  color: var(--green);
}

.btn-nav {
  opacity: 1 !important;
  background: var(--black);
  color: #fff !important;
  padding: 13px 20px;
  border-radius: 999px;
  transition: transform .2s;
}

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

.lang {
  color: var(--green) !important;
  opacity: 1 !important;
}

.menu {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.menu span {
  display: block;
  height: 2px;
  background: var(--black);
  margin: 8px;
  transition: .3s;
}

/* Hero */
.hero {
  min-height: calc(100svh - 40px);
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 118px clamp(22px, 7vw, 96px) 86px;
}

.slides {
  position: absolute;
  inset: 0;
}

.slides span {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: hero 18s infinite;
  transform: scale(1.05);
}

.slides span:nth-child(1) {
  background-image: url("assets/hero-1.webp");
}

.slides span:nth-child(2) {
  background-image: url("assets/hero-2.webp");
  animation-delay: 6s;
}

.slides span:nth-child(3) {
  background-image: url("assets/hero-3.webp");
  animation-delay: 12s;
}

@keyframes hero {
  0%, 30% {
    opacity: 1;
    transform: scale(1.01);
  }
  38%, 100% {
    opacity: 0;
    transform: scale(1.07);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 13, 10, .82), rgba(8, 13, 10, .46), rgba(8, 13, 10, .15)),
              linear-gradient(0deg, rgba(8, 13, 10, .45), rgba(8, 13, 10, 0));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 880px;
}

.kicker,
.section-label {
  color: var(--green2);
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 950;
  text-transform: uppercase;
  margin: 0 0 16px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(46px, 7.5vw, 108px);
  line-height: .9;
  letter-spacing: -.08em;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(34px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.065em;
  margin-bottom: 30px;
}

.lead {
  font-size: clamp(18px, 2vw, 25px);
  max-width: 720px;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 34px;
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 950;
  border: 0;
  cursor: pointer;
  transition: all .3s;
  font-size: 14px;
  letter-spacing: .05em;
}

.primary {
  background: var(--green);
  color: white;
  box-shadow: 0 18px 50px rgba(111, 159, 34, .3);
}

.primary:hover {
  background: var(--green2);
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(111, 159, 34, .4);
}

.ghost {
  background: rgba(255, 255, 255, .1);
  color: white;
  border: 1px solid rgba(255, 255, 255, .26);
}

.ghost:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .4);
}

.areas {
  position: absolute;
  left: clamp(22px, 7vw, 96px);
  right: clamp(22px, 7vw, 96px);
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.areas span,
.zone-tags span {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  color: white;
  border: 1px solid rgba(255, 255, 255, .18);
  font-weight: 800;
}

/* Trust Bar - NEW */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px clamp(22px, 7vw, 96px);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.trust-icon {
  font-size: 42px;
  line-height: 1;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-text strong {
  font-size: 18px;
  font-weight: 950;
  color: var(--black);
}

.trust-text span {
  font-size: 14px;
  color: var(--muted);
}

/* Section */
.section {
  padding: clamp(78px, 10vw, 140px) clamp(22px, 7vw, 96px);
}

.about {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(36px, 8vw, 110px);
  align-items: start;
}

.about-copy {
  font-size: 19px;
  color: #3f4b42;
}

.about-copy p {
  margin-bottom: 22px;
}

/* Services - ENHANCED */
.services {
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.service-card {
  background: white;
  border-radius: 30px;
  min-height: 325px;
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 22px 80px rgba(20, 32, 26, .07);
  overflow: hidden;
  transition: .25s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 90px rgba(20, 32, 26, .11);
}

.service-card .pic {
  height: 135px;
  overflow: hidden;
}

.service-card .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

.service-card:hover .pic img {
  transform: scale(1.05);
}

.service-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content img {
  width: 42px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -.035em;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: #5f6b62;
  margin-bottom: 16px;
}

.service-details {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  font-size: 13px;
  color: #5f6b62;
}

.service-details li {
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

.service-details li:first-child {
  border-top: none;
}

/* Realisations */
.realisations {
  background: #fff;
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.gallery-head p {
  max-width: 410px;
  color: #5d6860;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  grid-auto-rows: 280px;
  gap: 18px;
}

.gallery-item {
  display: block;
  margin: 0;
  border: 0;
  padding: 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(20, 32, 26, .12);
  background: #ddd;
  cursor: pointer;
  transition: transform .3s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .6s;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(7, 10, 8, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 30px 120px rgba(0, 0, 0, .5);
}

.lightbox button {
  position: absolute;
  background: #fff;
  border: 0;
  border-radius: 999px;
  width: 46px;
  height: 46px;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s;
}

.lightbox button:hover {
  transform: scale(1.1);
}

.lightbox .close {
  top: 24px;
  right: 24px;
}

.lightbox .prev {
  left: 24px;
}

.lightbox .next {
  right: 24px;
}

/* Testimonials - NEW */
.testimonials {
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--soft);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all .3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(20, 32, 26, .08);
}

.stars {
  font-size: 20px;
  line-height: 1;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonial-author strong {
  font-size: 15px;
  font-weight: 950;
  color: var(--black);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--muted);
}

.testimonials-footer {
  margin-top: 48px;
  text-align: center;
}

.rating-summary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 48px;
  background: var(--soft);
  border-radius: 20px;
  border: 1px solid var(--line);
}

.rating-score {
  font-size: 48px;
  font-weight: 950;
  color: var(--green);
  line-height: 1;
}

.rating-stars {
  font-size: 24px;
}

.rating-count {
  font-size: 14px;
  color: var(--muted);
}

/* Zone */
.zone {
  padding-top: 0;
}

.zone-card {
  background: var(--black);
  color: white;
  border-radius: 40px;
  padding: clamp(36px, 6vw, 76px);
  position: relative;
  overflow: hidden;
}

.zone-card:after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 520px;
  height: 520px;
  background: var(--green);
  opacity: .12;
  border-radius: 50%;
}

.zone-card h2 {
  max-width: 850px;
  position: relative;
  z-index: 1;
}

.zone-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* FAQ */
.faq {
  background: #fff;
}

.faq-list {
  max-width: 1000px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

summary {
  cursor: pointer;
  font-weight: 950;
  font-size: 21px;
  letter-spacing: -.03em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 28px;
  color: var(--green);
  transition: transform .3s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  color: #5e6b61;
  max-width: 800px;
  margin: 14px 0 0;
}

/* Contact - ENHANCED FORM */
.contact {
  background: linear-gradient(180deg, #fff, var(--soft));
}

.contact-card {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 52px;
  background: white;
  border-radius: 44px;
  padding: clamp(30px, 6vw, 70px);
  box-shadow: 0 30px 110px rgba(20, 32, 26, .10);
  border: 1px solid rgba(20, 32, 26, .06);
}

.contact-text p {
  font-size: 18px;
  color: #5c6860;
}

.contact-direct {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-direct a {
  font-weight: 950;
  color: var(--green);
  transition: color .2s;
}

.contact-direct a:hover {
  color: var(--green2);
}

/* Enhanced Form */
.smart-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.smart-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 950;
  color: #546058;
  letter-spacing: .04em;
}

.smart-form input,
.smart-form select,
.smart-form textarea {
  border: 1px solid rgba(20, 32, 26, .14);
  border-radius: 16px;
  padding: 15px;
  font: inherit;
  background: #fbfcf8;
  transition: all .2s;
}

.smart-form input:focus,
.smart-form select:focus,
.smart-form textarea:focus {
  border-color: var(--green);
  background: white;
  outline: none;
}

.full {
  grid-column: 1/-1;
}

.form-section {
  margin-top: 24px;
}

.form-section h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--black);
}

/* Checkbox Grid - NEW */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.checkbox-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  border: 2px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.checkbox-card:hover {
  border-color: var(--green);
  background: var(--soft);
}

.checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-icon {
  transform: scale(1.2);
}

.checkbox-card input[type="checkbox"]:checked ~ .checkbox-label {
  color: var(--green);
  font-weight: 950;
}

.checkbox-card:has(input:checked) {
  border-color: var(--green);
  background: var(--soft);
  box-shadow: 0 4px 12px rgba(111, 159, 34, 0.15);
}

.checkbox-icon {
  font-size: 32px;
  transition: transform 0.2s;
}

.checkbox-label {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s;
}

.file-label {
  position: relative;
}

.file-hint {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 400;
}

.consent {
  display: flex !important;
  gap: 10px !important;
  align-items: start;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
}

.consent input {
  width: auto;
  margin-top: 2px;
}

.consent a {
  color: var(--green);
  text-decoration: underline;
}

.hp {
  display: none !important;
}

/* Footer */
.footer {
  background: #101514;
  color: white;
  text-align: center;
  padding: 60px 22px;
}

.footer img {
  width: 170px;
  margin: 0 auto 20px;
}

.footer p {
  color: #d8e0d5;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 16px 0;
}

.footer-links a {
  color: #879286;
  font-size: 14px;
  transition: color .2s;
}

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

.footer small {
  color: #879286;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease;
}

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

/* Responsive */
@media(max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .gallery-item.large {
    grid-column: span 2;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 760px) {
  .topbar {
    height: auto;
    padding: 9px 18px;
    display: grid;
    gap: 5px;
  }
  
  .topbar-links {
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .header {
    height: 72px;
  }
  
  .brand img {
    width: 126px;
  }
  
  .menu {
    display: block;
  }
  
  .nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 82px;
    background: white;
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 24px 80px rgba(20, 32, 26, .16);
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav.open {
    display: flex;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .areas {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }
  
  .service-grid,
  .gallery-grid,
  .smart-form {
    grid-template-columns: 1fr;
  }
  
  .gallery-item.large {
    grid-column: auto;
  }
  
  .gallery-item {
    height: 270px;
  }
  
  h1 {
    font-size: 48px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-bar {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 32px 22px;
  }
  
  .trust-icon {
    font-size: 32px;
  }
  
  .trust-text strong {
    font-size: 16px;
  }
  
  .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.skip-link{position:absolute;left:-9999px;top:8px;background:#fff;color:#0f1512;padding:12px 16px;border-radius:8px;z-index:9999;font-weight:900}
.skip-link:focus{left:16px;outline:3px solid var(--green);outline-offset:3px}
*:focus-visible{outline:3px solid var(--green);outline-offset:2px}


/* V7 corrections */
.trust-item img{width:42px;height:42px;object-fit:contain;flex:0 0 auto}
.trust-item div{display:flex;flex-direction:column;gap:4px}
.trust-item span{font-size:14px;color:var(--muted);line-height:1.35}
.testimonial-carousel{
  display:flex;
  gap:22px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:8px 4px 22px;
  margin-top:34px;
}
.testimonial-carousel::-webkit-scrollbar{height:8px}
.testimonial-carousel::-webkit-scrollbar-thumb{background:var(--green);border-radius:999px}
.testimonial-carousel .testimonial-card{
  min-width:min(420px,86vw);
  scroll-snap-align:start;
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:28px;
  padding:30px;
  box-shadow:0 18px 60px rgba(20,32,26,.07);
}
.simple-form{grid-template-columns:1fr 1fr}
.simple-form textarea{min-height:150px}
.simple-form .file-label input{background:#fff}
.smart-form .hp{display:none!important}
.skip-link{position:absolute;left:-9999px;top:8px;background:#fff;color:#0f1512;padding:12px 16px;border-radius:8px;z-index:9999;font-weight:900}
.skip-link:focus{left:16px;outline:3px solid var(--green);outline-offset:2px}
*:focus-visible{outline:3px solid var(--green);outline-offset:2px}
@media(max-width:1080px){.trust-bar{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.trust-bar{grid-template-columns:1fr}.simple-form{grid-template-columns:1fr}}

/* ARTIZZ final hero cleanup */
.hero > .areas,
.hero > .hero-locations,
.hero > .hero-zones,
.hero > .zone-strip { display:none!important; }


.form-status{
  display:none;
  border-radius:14px;
  padding:14px 16px;
  font-weight:800;
  margin:4px 0 2px;
}
.form-status.error{
  display:block;
  background:#ffe8e8;
  color:#8a1f1f;
  border:1px solid #f3b3b3;
}
.form-status.success{
  display:block;
  background:#eaf7df;
  color:#315f12;
  border:1px solid #b8d89c;
}
.smart-form button[disabled]{
  opacity:.65;
  cursor:wait;
}
