:root {
  --green:#273221;
  --green2:#35432c;
  --sand:#b28a5f;
  --cream:#f6f2ec;
  --paper:#fffdf8;
  --text:#1f211d;
  --muted:#66685f;
  --line:#e5ded4;
  --shadow:0 24px 60px rgba(25,30,20,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--paper);color:var(--text);line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 40px));margin:0 auto}

.topbar{background:var(--green);color:#fff;font-size:13px}
.topbar-inner{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.topbar a{margin-left:20px;color:#fff}

.nav{position:sticky;top:0;z-index:50;background:rgba(255,253,248,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;text-transform:uppercase;letter-spacing:.06em}
.brand span{width:42px;height:42px;border:2px solid var(--green);display:grid;place-items:center;font:700 24px Georgia,serif;color:var(--green)}
.brand strong{font-size:14px}
.links{display:flex;align-items:center;gap:24px;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.navcta{background:var(--green);color:#fff;padding:13px 18px}
#menu,.menu{display:none}

.hero{background:linear-gradient(90deg,#fffdf8 0%,rgba(255,253,248,.92) 45%,rgba(255,253,248,.2) 70%),linear-gradient(135deg,#e8dfd2,#b69a76 52%,#303d2a);overflow:hidden}
.hero-grid{min-height:640px;display:grid;grid-template-columns:1.05fr .95fr;gap:46px;align-items:center;padding:70px 0}
.eyebrow{margin:0 0 14px;color:var(--sand);font-size:12px;font-weight:900;letter-spacing:.24em;text-transform:uppercase}
h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;line-height:1;margin:0}
h1{font-size:clamp(46px,6vw,82px)}
h2{font-size:clamp(34px,4vw,56px)}
h3{line-height:1.2;margin:0}
.lead{font-size:18px;color:#373a33;max-width:680px;margin:24px 0 30px}
.actions{display:flex;flex-wrap:wrap;gap:14px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:1px solid var(--green);font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;cursor:pointer}
.btn.primary{background:var(--green);color:#fff}
.btn.ghost{background:#fff;color:var(--green)}
.actions.vertical{display:grid;gap:12px;max-width:320px}

.hero-card{position:relative;min-height:470px;background:linear-gradient(135deg,#c9b090,#5f6c57);box-shadow:var(--shadow);overflow:hidden}
.visual-building{position:absolute;inset:0;background:radial-gradient(circle at 32% 42%,rgba(80,255,130,.8) 0 1px,transparent 2px),radial-gradient(circle at 70% 54%,rgba(80,255,130,.5) 0 1px,transparent 2px),linear-gradient(135deg,transparent 0 45%,rgba(39,50,33,.35) 45%);background-size:26px 26px,34px 34px,auto}
.visual-building:before{content:"";position:absolute;right:12%;top:18%;width:210px;height:80px;background:#232929;border-radius:50%;box-shadow:-95px -12px 0 -35px #111,95px -12px 0 -35px #111,-82px 34px 0 -35px #111,82px 34px 0 -35px #111}
.visual-building:after{content:"";position:absolute;left:12%;bottom:0;width:220px;height:330px;background:linear-gradient(90deg,transparent 0 35%,#dbe2e3 35% 67%,transparent 67%),linear-gradient(180deg,#161817 0 20%,#818b8f 20%);clip-path:polygon(35% 0,65% 0,65% 18%,78% 18%,78% 60%,64% 60%,64% 100%,36% 100%,36% 60%,22% 60%,22% 18%,35% 18%)}
.hero-note{position:absolute;left:24px;right:24px;bottom:24px;background:rgba(39,50,33,.94);color:#fff;padding:22px}
.hero-note strong,.hero-note span{display:block}.hero-note span{color:#ddd6ca;margin-top:8px}

.section{padding:82px 0}.section.alt{background:var(--cream)}
.heading{max-width:700px;margin-bottom:34px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:#fff;border:1px solid var(--line);padding:30px;box-shadow:0 10px 30px rgba(30,30,20,.04)}
.card.large{min-height:230px}.card-icon{font-size:32px;color:var(--sand);display:block;margin-bottom:18px}
.card h3{font-family:Georgia,serif;font-size:25px;font-weight:500;margin-bottom:12px}
.card p{color:var(--muted)}.card a{color:var(--green);font-weight:900;text-transform:uppercase;font-size:12px}

.split{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.split p{color:var(--muted);font-size:17px}
.tech-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tech-grid div{min-height:190px;background:linear-gradient(135deg,#2d3828,#d3c2a9);color:#fff;display:flex;align-items:end;padding:20px;font-weight:900}
.tech-grid div:nth-child(2){background:radial-gradient(circle at 30% 30%,rgba(100,255,120,.9) 0 1px,transparent 2px),#0c0f0e;background-size:20px 20px}
.tech-grid div:nth-child(3){grid-column:span 2;background:linear-gradient(135deg,#9d6b48,#e6dacb)}
.tech-grid.big div{min-height:240px}

.steps{display:grid;gap:16px}
.steps div{border-top:1px solid var(--line);padding-top:18px;display:grid;grid-template-columns:70px 1fr;gap:14px}
.steps strong{color:var(--sand);font-size:22px}.steps span{font-size:18px}

.cta{background:var(--green);color:#fff;padding:74px 0}.cta-box{text-align:center;max-width:860px}.cta p{color:#ddd6ca;font-size:18px}

.page-head{background:var(--cream);padding:84px 0}.page-head .lead{max-width:850px}
.tags{display:flex;flex-wrap:wrap;gap:10px}.tags span{background:#fff;border:1px solid var(--line);padding:10px 14px;font-weight:800;color:var(--green)}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.project{background:#fff;border:1px solid var(--line);padding:18px}.project img,.placeholder-img{height:210px;width:100%;object-fit:cover;background:linear-gradient(135deg,#d2bea0,#6d5741);display:grid;place-items:center;color:#fff;font-weight:900;margin-bottom:16px}
.booking-box,.narrow{max-width:860px}.calendar-note{margin-top:24px;background:var(--cream);border:1px solid var(--line);padding:20px}
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:46px;align-items:start}.contact-info{background:var(--cream);padding:30px}.form{background:#fff;border:1px solid var(--line);padding:30px;display:grid;gap:16px}.form label{display:grid;gap:7px;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.form input,.form select,.form textarea{width:100%;border:1px solid var(--line);padding:14px;font:inherit;background:var(--paper)}
.success{background:#e9f7ed;border:1px solid #a7d8b4;color:#165b2d;padding:12px}.error{background:#fff0ee;border:1px solid #e1aaa1;color:#8b1d10;padding:12px}

.whatsapp-float{position:fixed;left:22px;bottom:22px;z-index:80;width:62px;height:62px;border-radius:50%;background:#25D366;display:grid;place-items:center;box-shadow:0 12px 36px rgba(0,0,0,.25)}
.whatsapp-float svg{width:38px;height:38px;fill:#fff}
.mobile-actions{display:none}

.footer{background:#151914;color:#fff;padding:58px 0 24px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:34px}.footer a,.footer p{color:#c9c2b7;display:block;margin:8px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:34px;padding-top:20px;color:#c9c2b7}

.admin-body{background:var(--cream);min-height:100vh;padding:30px}.admin-login,.admin-panel{max-width:980px;margin:0 auto;background:#fff;border:1px solid var(--line);padding:30px}.admin-login{max-width:420px;margin-top:8vh;display:grid;gap:16px}.admin-login label{display:grid;gap:7px}.admin-login input{padding:12px;border:1px solid var(--line)}.admin-top{display:flex;justify-content:space-between;gap:20px;align-items:center}.json-editor{width:100%;min-height:520px;font-family:ui-monospace,Menlo,monospace;font-size:13px;padding:16px;border:1px solid var(--line);margin:12px 0}

@media(max-width:960px){
  .hero-grid,.split,.contact-grid{grid-template-columns:1fr}
  .cards,.project-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .container{width:min(100% - 28px,1180px)}
  .topbar-inner{justify-content:center;text-align:center}.topbar-inner div{display:none}
  .nav-inner{min-height:70px}.brand strong{font-size:12px}
  .menu{display:grid;gap:6px;width:42px;cursor:pointer}.menu i{height:2px;background:var(--green);display:block}
  .links{position:absolute;left:0;right:0;top:70px;background:var(--paper);display:none;flex-direction:column;align-items:stretch;padding:14px;border-bottom:1px solid var(--line)}
  .links a{padding:14px;border-bottom:1px solid var(--line)}#menu:checked~.links{display:flex}
  .hero-grid{min-height:auto;padding:46px 0}.hero-card{min-height:360px}
  h1{font-size:clamp(40px,12vw,58px)}h2{font-size:clamp(31px,9vw,44px)}
  .cards,.project-grid,.footer-grid{grid-template-columns:1fr}.section{padding:60px 0}.page-head{padding:60px 0}
  .tech-grid{grid-template-columns:1fr}.tech-grid div:nth-child(3){grid-column:auto}
  .btn{width:100%}.whatsapp-float{bottom:82px}
  .mobile-actions{position:fixed;left:0;right:0;bottom:0;z-index:75;display:grid;grid-template-columns:1fr 1fr}.mobile-actions a{background:var(--green);color:#fff;text-align:center;padding:15px;font-weight:900;text-transform:uppercase}.mobile-actions a:last-child{background:#25D366}
  body{padding-bottom:54px}
}

/* Fix WhatsApp desktop/mobile */
.whatsapp-float {
  left: auto !important;
  right: 22px !important;
}

@media (max-width: 720px) {
  .whatsapp-float {
    display: none !important;
  }
}

/* Palette refinement: panna, beige, verde minimale */
:root {
  --green: #3f4a36;
  --green2: #58644d;
  --sand: #b7966f;
  --cream: #f4eee5;
  --paper: #fffaf2;
  --text: #25231f;
  --muted: #6f6a61;
  --line: #e6dacb;
}

body {
  background: var(--paper);
}

.topbar {
  background: #efe5d6 !important;
  color: var(--text) !important;
  border-bottom: 1px solid var(--line);
}

.topbar a {
  color: var(--text) !important;
}

.nav {
  background: rgba(255, 250, 242, .96) !important;
}

.navcta,
.btn.primary {
  background: var(--sand) !important;
  border-color: var(--sand) !important;
  color: #fff !important;
}

.btn.ghost {
  background: #fffaf2 !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}

.hero {
  background:
    linear-gradient(90deg, #fffaf2 0%, rgba(255,250,242,.95) 47%, rgba(255,250,242,.25) 75%),
    linear-gradient(135deg, #f4eee5, #d8c2a5 58%, #8a765f) !important;
}

.hero-note {
  background: rgba(80, 67, 52, .88) !important;
}

.hero-card {
  background: linear-gradient(135deg, #dfcfb8, #aa8d6e) !important;
}

.visual-building {
  background:
    radial-gradient(circle at 32% 42%, rgba(183,150,111,.85) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 54%, rgba(255,250,242,.6) 0 1px, transparent 2px),
    linear-gradient(135deg, transparent 0 45%, rgba(138,118,95,.32) 45%) !important;
  background-size: 26px 26px, 34px 34px, auto !important;
}

.section.alt,
.page-head,
.contact-info,
.calendar-note {
  background: var(--cream) !important;
}

.card,
.form,
.project,
.admin-login,
.admin-panel {
  background: #fffdf8 !important;
}

.card-icon,
.eyebrow,
.steps strong {
  color: var(--sand) !important;
}

.card a,
.brand span,
.brand strong,
.tags span {
  color: var(--text) !important;
}

.brand span {
  border-color: var(--sand) !important;
}

.cta {
  background: #dfcfb8 !important;
  color: var(--text) !important;
}

.cta p {
  color: var(--muted) !important;
}

.footer {
  background: #eee3d3 !important;
  color: var(--text) !important;
}

.footer a,
.footer p,
.footer-bottom {
  color: var(--muted) !important;
}

.footer-bottom {
  border-top-color: var(--line) !important;
}

.whatsapp-float {
  background: #25D366 !important;
}

.mobile-actions a {
  background: var(--sand) !important;
  color: #fff !important;
}

.mobile-actions a:last-child {
  background: #25D366 !important;
}

.tech-grid div {
  background: linear-gradient(135deg, #cdb79a, #8a765f) !important;
}

.tech-grid div:nth-child(2) {
  background:
    radial-gradient(circle at 30% 30%, rgba(183,150,111,.95) 0 1px, transparent 2px),
    #3b352e !important;
  background-size: 20px 20px !important;
}

.tech-grid div:nth-child(3) {
  background: linear-gradient(135deg, #b7966f, #efe5d6) !important;
}

@media (max-width: 720px) {
  .links {
    background: var(--paper) !important;
  }

  .mobile-actions a {
    background: var(--sand) !important;
  }

  .mobile-actions a:last-child {
    background: #25D366 !important;
  }
}

/* Hero image integration */
.hero {
  position: relative !important;
  background:
    linear-gradient(90deg, #fffaf2 0%, rgba(255,250,242,.96) 34%, rgba(255,250,242,.72) 52%, rgba(255,250,242,.18) 76%, rgba(255,250,242,.58) 100%),
    url("/public/uploads/hero-gurau.png") center center / cover no-repeat !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,250,242,.18) 0%, rgba(255,250,242,0) 34%, rgba(255,250,242,.72) 100%),
    radial-gradient(circle at 38% 50%, rgba(255,250,242,.78), transparent 34%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

.hero-card {
  background: transparent !important;
  box-shadow: none !important;
  min-height: 470px;
}

.hero-card .visual-building {
  display: none !important;
}

.hero-note {
  max-width: 360px;
  margin-left: auto;
  margin-top: 330px;
  background: rgba(255, 250, 242, .82) !important;
  color: var(--text) !important;
  border: 1px solid rgba(183, 150, 111, .35);
  box-shadow: 0 18px 46px rgba(60, 48, 35, .12);
  backdrop-filter: blur(12px);
}

.hero-note span {
  color: var(--muted) !important;
}

@media (max-width: 960px) {
  .hero {
    background:
      linear-gradient(180deg, #fffaf2 0%, rgba(255,250,242,.94) 45%, rgba(255,250,242,.64) 100%),
      url("/public/uploads/hero-gurau.png") center center / cover no-repeat !important;
  }

  .hero-card {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    background:
      linear-gradient(180deg, #fffaf2 0%, rgba(255,250,242,.96) 58%, rgba(255,250,242,.76) 100%),
      url("/public/uploads/hero-gurau.png") center center / cover no-repeat !important;
  }

  .hero-grid {
    padding-top: 54px;
    padding-bottom: 76px;
  }
}

/* Clean hero image replacement */
.hero {
  background:
    linear-gradient(90deg, #fffaf2 0%, rgba(255,250,242,.97) 31%, rgba(255,250,242,.76) 47%, rgba(255,250,242,.18) 70%, rgba(255,250,242,.32) 100%),
    url("/public/uploads/hero-gurau-clean.png") center center / cover no-repeat !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,250,242,.10) 0%, rgba(255,250,242,0) 42%, rgba(255,250,242,.82) 100%),
    radial-gradient(circle at 30% 48%, rgba(255,250,242,.86), transparent 32%);
  z-index: 0;
}

.hero-card.clean-hero-space {
  display: block !important;
  min-height: 470px;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none;
}

.hero-note,
.hero-card .visual-building {
  display: none !important;
}

@media (max-width: 960px) {
  .hero {
    background:
      linear-gradient(180deg, #fffaf2 0%, rgba(255,250,242,.95) 48%, rgba(255,250,242,.70) 100%),
      url("/public/uploads/hero-gurau-clean.png") center center / cover no-repeat !important;
  }

  .hero-card.clean-hero-space {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .hero {
    background:
      linear-gradient(180deg, #fffaf2 0%, rgba(255,250,242,.96) 60%, rgba(255,250,242,.78) 100%),
      url("/public/uploads/hero-gurau-clean.png") 58% center / cover no-repeat !important;
  }
}

/* Dark premium services section */
.section:has(.service-dark-card) {
  position: relative;
  background:
    radial-gradient(circle at 18% 12%, rgba(199, 167, 127, .14), transparent 30%),
    radial-gradient(circle at 82% 70%, rgba(255, 250, 242, .07), transparent 28%),
    linear-gradient(135deg, #161512 0%, #232019 52%, #181713 100%) !important;
  color: #fffaf2;
  overflow: hidden;
}

.section:has(.service-dark-card)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,250,242,.10) 0%, rgba(255,250,242,0) 16%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px);
  pointer-events: none;
}

.section:has(.service-dark-card) .container {
  position: relative;
  z-index: 2;
}

.section:has(.service-dark-card) .eyebrow {
  color: #c7a77f !important;
}

.section:has(.service-dark-card) h2 {
  color: #fffaf2;
}

.section:has(.service-dark-card) .cards {
  align-items: stretch;
}

.service-dark-card {
  background: rgba(255, 250, 242, .045) !important;
  border: 1px solid rgba(199, 167, 127, .26) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22) !important;
  color: #fffaf2;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.service-dark-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 250, 242, .075) !important;
  border-color: rgba(199, 167, 127, .55) !important;
}

.service-icon-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  margin-bottom: 24px;
}

.service-dark-card h3 {
  color: #fffaf2;
}

.service-dark-card p {
  color: rgba(255, 250, 242, .72) !important;
}

.service-dark-card .card-icon {
  display: none !important;
}

@media (max-width: 720px) {
  .section:has(.service-dark-card) {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .service-icon-img {
    width: 50px;
    height: 50px;
  }
}

/* Services section refinement: clean dark block, no visible repeated grid */
.section:has(.service-dark-card) {
  background:
    radial-gradient(circle at 14% 10%, rgba(199, 167, 127, .13), transparent 32%),
    radial-gradient(circle at 88% 88%, rgba(199, 167, 127, .08), transparent 36%),
    linear-gradient(135deg, #161512 0%, #201d17 54%, #14130f 100%) !important;
}

.section:has(.service-dark-card)::before {
  display: none !important;
  content: none !important;
}

.service-dark-card {
  background: rgba(255, 250, 242, .035) !important;
  border: 1px solid rgba(199, 167, 127, .32) !important;
  box-shadow: none !important;
  min-height: 300px;
  padding: 36px 34px !important;
}

.service-dark-card:hover {
  background: rgba(255, 250, 242, .065) !important;
  border-color: rgba(199, 167, 127, .62) !important;
}

.service-icon-img {
  width: 58px !important;
  height: 58px !important;
  margin-bottom: 30px !important;
}

.service-dark-card h3 {
  font-size: 29px !important;
  line-height: 1.12 !important;
}

.service-dark-card p {
  font-size: 17px !important;
  line-height: 1.55 !important;
  color: rgba(255, 250, 242, .70) !important;
}

/* Mobile services refinement */
@media (max-width: 720px) {
  .section:has(.service-dark-card) {
    background:
      radial-gradient(circle at 10% 4%, rgba(199, 167, 127, .12), transparent 34%),
      linear-gradient(180deg, #171612 0%, #201d17 52%, #151410 100%) !important;
  }

  .service-dark-card {
    min-height: auto !important;
    padding: 38px 28px !important;
  }

  .service-icon-img {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 28px !important;
  }

  .service-dark-card h3 {
    font-size: 34px !important;
    line-height: 1.08 !important;
  }

  .service-dark-card p {
    font-size: 22px !important;
    line-height: 1.45 !important;
  }
}

/* Modern rounded service cards */
.service-dark-card {
  border-radius: 22px !important;
  background:
    linear-gradient(145deg, rgba(255,250,242,.065), rgba(255,250,242,.025)) !important;
  border: 1px solid rgba(199, 167, 127, .28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 18px 48px rgba(0,0,0,.18) !important;
  overflow: hidden;
  position: relative;
}

.service-dark-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 12%, rgba(199,167,127,.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 42%);
  pointer-events: none;
}

.service-dark-card > * {
  position: relative;
  z-index: 2;
}

.service-dark-card:hover {
  transform: translateY(-6px) !important;
  background:
    linear-gradient(145deg, rgba(255,250,242,.095), rgba(255,250,242,.04)) !important;
  border-color: rgba(199, 167, 127, .55) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 26px 70px rgba(0,0,0,.26) !important;
}

.service-icon-img {
  padding: 8px;
  border-radius: 16px;
  background: rgba(199, 167, 127, .08);
}

@media (max-width: 720px) {
  .service-dark-card {
    border-radius: 20px !important;
  }
}

/* Premium method section */
.method-premium-section {
  position: relative;
  padding: 96px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(183, 150, 111, .12), transparent 30%),
    radial-gradient(circle at 88% 72%, rgba(183, 150, 111, .10), transparent 34%),
    linear-gradient(180deg, #fffaf2 0%, #f4eee5 100%);
  overflow: hidden;
}

.method-premium-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(183,150,111,.08) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(183,150,111,.08) 0 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: .26;
  pointer-events: none;
}

.method-premium-section .container {
  position: relative;
  z-index: 2;
}

.method-premium-head {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}

.method-premium-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
  max-width: 560px;
}

.method-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.method-timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183,150,111,.55), transparent);
  z-index: 0;
}

.method-card {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(145deg, rgba(255,255,255,.78), rgba(255,250,242,.56));
  border: 1px solid rgba(183,150,111,.28);
  border-radius: 24px;
  padding: 30px 26px 32px;
  min-height: 340px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.65),
    0 22px 60px rgba(85, 68, 48, .10);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.method-card:hover {
  transform: translateY(-6px);
  border-color: rgba(183,150,111,.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    0 30px 76px rgba(85, 68, 48, .16);
}

.method-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 42px;
  border-radius: 999px;
  background: #b7966f;
  color: #fffaf2;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .05em;
  margin-bottom: 26px;
}

.method-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  color: #b7966f;
  background: rgba(183,150,111,.10);
  border: 1px solid rgba(183,150,111,.22);
  border-radius: 20px;
  margin-bottom: 26px;
}

.method-icon svg {
  width: 43px;
  height: 43px;
}

.method-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--text);
}

.method-card p {
  color: var(--muted);
  font-size: 16.5px;
  margin: 0;
}

@media (max-width: 1020px) {
  .method-premium-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .method-timeline::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .method-premium-section {
    padding: 68px 0;
  }

  .method-premium-section::before {
    background-size: 82px 82px;
    opacity: .18;
  }

  .method-timeline {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .method-card {
    min-height: auto;
    border-radius: 22px;
    padding: 28px 24px;
  }

  .method-number {
    margin-bottom: 20px;
  }

  .method-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
  }

  .method-card h3 {
    font-size: 31px;
  }

  .method-card p {
    font-size: 19px;
    line-height: 1.5;
  }
}

/* Compact refinement: method + services */

/* Metodo: card meno alte e meno gonfie */
.method-premium-section {
  padding: 78px 0 !important;
}

.method-premium-head {
  margin-bottom: 34px !important;
}

.method-card {
  min-height: 255px !important;
  padding: 24px 22px 26px !important;
  border-radius: 20px !important;
  background: rgba(255, 253, 248, .72) !important;
  box-shadow:
    0 14px 34px rgba(85, 68, 48, .08) !important;
}

.method-number {
  min-width: 52px !important;
  height: 36px !important;
  font-size: 16px !important;
  margin-bottom: 18px !important;
}

.method-icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 16px !important;
  margin-bottom: 18px !important;
  background: rgba(183,150,111,.075) !important;
}

.method-icon svg {
  width: 34px !important;
  height: 34px !important;
}

.method-card h3 {
  font-size: 24px !important;
  margin-bottom: 10px !important;
}

.method-card p {
  font-size: 15.5px !important;
  line-height: 1.45 !important;
}

/* Servizi: card più compatte, meno effetto vetro */
.section:has(.service-dark-card) {
  padding-top: 76px !important;
  padding-bottom: 78px !important;
}

.section:has(.service-dark-card) .heading {
  margin-bottom: 28px !important;
}

.service-dark-card {
  min-height: 245px !important;
  padding: 28px 28px 30px !important;
  border-radius: 20px !important;
  background: rgba(255, 250, 242, .035) !important;
  box-shadow:
    0 12px 32px rgba(0,0,0,.16) !important;
}

.service-dark-card::before {
  opacity: .35 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 40%) !important;
}

.service-dark-card:hover {
  transform: translateY(-4px) !important;
  background: rgba(255, 250, 242, .055) !important;
  box-shadow:
    0 18px 44px rgba(0,0,0,.22) !important;
}

.service-icon-img {
  width: 48px !important;
  height: 48px !important;
  padding: 7px !important;
  border-radius: 14px !important;
  margin-bottom: 22px !important;
  background: rgba(199, 167, 127, .07) !important;
}

.service-dark-card h3 {
  font-size: 25px !important;
  line-height: 1.12 !important;
  margin-bottom: 12px !important;
}

.service-dark-card p {
  font-size: 15.8px !important;
  line-height: 1.48 !important;
}

/* Desktop: evita card enormi */
@media (min-width: 961px) {
  .cards {
    gap: 18px !important;
  }

  .method-timeline {
    gap: 18px !important;
  }
}

/* Mobile: compatta molto, senza perdere leggibilità */
@media (max-width: 720px) {
  .method-premium-section {
    padding: 58px 0 !important;
  }

  .method-premium-head {
    margin-bottom: 26px !important;
  }

  .method-card {
    padding: 24px 22px !important;
    border-radius: 18px !important;
  }

  .method-number {
    margin-bottom: 16px !important;
  }

  .method-icon {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 16px !important;
  }

  .method-card h3 {
    font-size: 27px !important;
  }

  .method-card p {
    font-size: 17px !important;
  }

  .section:has(.service-dark-card) {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  .service-dark-card {
    min-height: auto !important;
    padding: 26px 24px !important;
    border-radius: 18px !important;
  }

  .service-icon-img {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 20px !important;
  }

  .service-dark-card h3 {
    font-size: 28px !important;
  }

  .service-dark-card p {
    font-size: 18px !important;
    line-height: 1.42 !important;
  }
}

/* LiDAR first box: improved real FJD Trion P1 image */
.tech-grid div:first-child {
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.62) 100%),
    linear-gradient(90deg, rgba(0,0,0,.12), transparent 48%),
    url("/public/uploads/lidar-scanner-portatile-v2.png") center center / cover no-repeat !important;
}

@media (max-width: 720px) {
  .tech-grid div:first-child {
    background:
      linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.66) 100%),
      url("/public/uploads/lidar-scanner-portatile-v2.png") center center / cover no-repeat !important;
  }
}

/* LiDAR second box: real point cloud image */
.tech-grid div:nth-child(2) {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.68) 100%),
    linear-gradient(90deg, rgba(0,0,0,.10), transparent 48%),
    url("/public/uploads/nuvola-punti-3d.png") center center / cover no-repeat !important;
  overflow: hidden;
  color: #fffaf2 !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}

.tech-grid div:nth-child(2)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 26%, rgba(255,250,242,.10), transparent 28%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.16));
  pointer-events: none;
}

@media (max-width: 720px) {
  .tech-grid div:nth-child(2) {
    min-height: 260px;
    background:
      linear-gradient(180deg, rgba(0,0,0,0) 34%, rgba(0,0,0,.70) 100%),
      url("/public/uploads/nuvola-punti-3d.png") center center / cover no-repeat !important;
  }
}

/* LiDAR third box: drone inspection image */
.tech-grid div:nth-child(3) {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.68) 100%),
    linear-gradient(90deg, rgba(0,0,0,.08), transparent 48%),
    url("/public/uploads/ispezione-drone.png") center center / cover no-repeat !important;
  overflow: hidden;
  color: #fffaf2 !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}

.tech-grid div:nth-child(3)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(255,250,242,.10), transparent 30%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.18));
  pointer-events: none;
}

@media (max-width: 720px) {
  .tech-grid div:nth-child(3) {
    min-height: 280px;
    background:
      linear-gradient(180deg, rgba(0,0,0,0) 36%, rgba(0,0,0,.72) 100%),
      url("/public/uploads/ispezione-drone.png") center center / cover no-repeat !important;
  }
}

/* LiDAR / Drone section professional refinement */
.section.alt:has(.tech-grid) {
  background:
    radial-gradient(circle at 14% 18%, rgba(183,150,111,.12), transparent 32%),
    linear-gradient(180deg, #f7f0e6 0%, #fffaf2 100%) !important;
  padding-top: 88px !important;
  padding-bottom: 88px !important;
}

.section.alt:has(.tech-grid) .split {
  grid-template-columns: .82fr 1.18fr !important;
  gap: 70px !important;
}

.section.alt:has(.tech-grid) h2 {
  max-width: 620px;
}

.section.alt:has(.tech-grid) p:not(.eyebrow) {
  max-width: 650px;
  font-size: 18px !important;
  line-height: 1.58 !important;
  color: #625d54 !important;
}

.tech-grid {
  gap: 16px !important;
}

.tech-grid div {
  border-radius: 22px !important;
  min-height: 215px !important;
  padding: 22px !important;
  align-items: end !important;
  box-shadow:
    0 18px 46px rgba(55, 43, 30, .16),
    inset 0 1px 0 rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255, 250, 242, .28);
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}

.tech-grid div:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 68px rgba(55, 43, 30, .22),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
}

.tech-grid div:nth-child(3) {
  min-height: 275px !important;
}

.tech-grid div::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.42));
  z-index: 1;
  pointer-events: none;
}

.tech-grid div {
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
}

.tech-grid div > * {
  position: relative;
  z-index: 2;
}

/* Since the labels are plain text inside the divs */
.tech-grid div {
  position: relative;
  z-index: 0;
}

.tech-grid div {
  color: #fffaf2 !important;
}

@media (max-width: 960px) {
  .section.alt:has(.tech-grid) .split {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

@media (max-width: 720px) {
  .section.alt:has(.tech-grid) {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .section.alt:has(.tech-grid) p:not(.eyebrow) {
    font-size: 17px !important;
  }

  .tech-grid {
    gap: 14px !important;
  }

  .tech-grid div {
    border-radius: 20px !important;
    min-height: 230px !important;
    padding: 20px !important;
    font-size: 18px !important;
  }

  .tech-grid div:nth-child(3) {
    min-height: 260px !important;
  }
}

/* Homepage projects section */
.home-projects-section {
  padding: 86px 0;
  background: #fffaf2;
}

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

.home-section-head h2 {
  max-width: 760px;
}

.text-link {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--sand);
  white-space: nowrap;
}

.home-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.home-project-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(85,68,48,.10);
}

.home-project-card img,
.project-visual-placeholder {
  height: 230px;
  width: 100%;
  object-fit: cover;
}

.project-visual-placeholder {
  position: relative;
  display: flex;
  align-items: end;
  padding: 22px;
  color: #fffaf2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.54) 100%),
    linear-gradient(135deg, #b7966f, #3b352e);
}

.project-visual-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,250,242,.22), transparent 28%),
    linear-gradient(90deg, rgba(255,250,242,.08) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,250,242,.08) 0 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  opacity: .55;
}

.project-visual-placeholder span {
  position: relative;
  z-index: 2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.home-project-card > div:last-child {
  padding: 24px;
}

.home-project-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 8px;
}

.project-location {
  color: var(--sand) !important;
  font-weight: 800;
  margin: 0 0 10px !important;
}

.home-project-card p {
  color: var(--muted);
}

/* Instagram placeholder section */
.instagram-feed-section {
  padding: 68px 0;
  background:
    radial-gradient(circle at 86% 22%, rgba(183,150,111,.14), transparent 30%),
    linear-gradient(135deg, #f4eee5 0%, #fffaf2 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.instagram-feed-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 38px;
  background: rgba(255,253,248,.72);
  border: 1px solid rgba(183,150,111,.25);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 18px 48px rgba(85,68,48,.08);
}

.instagram-feed-box h2 {
  max-width: 640px;
}

.instagram-feed-box p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

/* Booking CTA with calendar style */
.home-booking-section {
  padding: 88px 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(183,150,111,.12), transparent 32%),
    linear-gradient(135deg, #fffaf2 0%, #f4eee5 100%);
}

.home-booking-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.home-booking-grid p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.booking-widget-card {
  border-radius: 28px;
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid rgba(183,150,111,.28);
  box-shadow: 0 26px 70px rgba(85,68,48,.14);
}

.booking-widget-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: #f4eee5;
}

.booking-widget-top span {
  width: 14px;
  height: 14px;
  background: var(--sand);
  border-radius: 50%;
  box-shadow: 22px 0 0 rgba(183,150,111,.55), 44px 0 0 rgba(183,150,111,.32);
}

.booking-widget-top strong {
  margin-left: 48px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.booking-widget-body {
  min-height: 260px;
  padding: 34px;
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(183,150,111,.14), transparent 34%),
    linear-gradient(135deg, #fffdf8, #fffaf2);
}

.booking-widget-body p {
  color: var(--sand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 12px;
}

.booking-widget-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Footer dark refinement */
.footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(183,150,111,.16), transparent 28%),
    linear-gradient(135deg, #151410 0%, #211e18 55%, #14130f 100%) !important;
  color: #fffaf2 !important;
}

.footer h3,
.footer h4 {
  color: #fffaf2 !important;
}

.footer a,
.footer p,
.footer-bottom {
  color: rgba(255,250,242,.72) !important;
}

.footer a:hover {
  color: #c7a77f !important;
}

.footer-bottom {
  border-top-color: rgba(199,167,127,.22) !important;
}

.footer-social-link {
  display: flex !important;
  align-items: center;
  gap: 9px;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: #c7a77f;
  flex: 0 0 auto;
}

@media (max-width: 960px) {
  .home-project-grid,
  .home-booking-grid {
    grid-template-columns: 1fr;
  }

  .instagram-feed-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .home-projects-section,
  .home-booking-section {
    padding: 62px 0;
  }

  .home-section-head {
    display: block;
  }

  .text-link {
    display: inline-block;
    margin-top: 18px;
  }

  .home-project-card {
    border-radius: 20px;
  }

  .home-project-card img,
  .project-visual-placeholder {
    height: 210px;
  }

  .instagram-feed-section {
    padding: 54px 0;
  }

  .instagram-feed-box {
    border-radius: 22px;
    padding: 26px;
  }

  .booking-widget-card {
    border-radius: 22px;
  }

  .booking-widget-body {
    min-height: 230px;
    padding: 26px;
  }

  .booking-widget-body h3 {
    font-size: 36px;
  }
}

/* Dedicated LiDAR page */
.lidar-hero-page {
  position: relative;
  padding: 92px 0;
  background:
    linear-gradient(90deg, #fffaf2 0%, rgba(255,250,242,.96) 42%, rgba(255,250,242,.36) 100%),
    url("/public/uploads/lidar-scanner-portatile-v2.png") center right / cover no-repeat;
  overflow: hidden;
}

.lidar-hero-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 40%, rgba(255,250,242,.82), transparent 34%),
    linear-gradient(180deg, rgba(255,250,242,.05), rgba(255,250,242,.64));
  pointer-events: none;
}

.lidar-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}

.lidar-hero-grid h1 {
  max-width: 780px;
}

.lidar-hero-grid .lead {
  max-width: 720px;
}

.lidar-hero-image {
  min-height: 430px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.62) 100%),
    url("/public/uploads/lidar-scanner-portatile-v2.png") center center / cover no-repeat;
  box-shadow: 0 26px 70px rgba(85,68,48,.18);
  border: 1px solid rgba(255,250,242,.36);
  display: flex;
  align-items: end;
  padding: 24px;
}

.lidar-hero-image span {
  color: #fffaf2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-shadow: 0 2px 18px rgba(0,0,0,.42);
}

.lidar-intro-section {
  padding: 76px 0;
  background: #fffaf2;
}

.lidar-intro-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.lidar-intro-grid p {
  color: var(--muted);
  font-size: 18px;
}

.lidar-tech-section {
  padding: 84px 0;
  background:
    radial-gradient(circle at 14% 12%, rgba(199,167,127,.12), transparent 32%),
    linear-gradient(135deg, #161512 0%, #211e18 54%, #14130f 100%);
}

.lidar-tech-grid {
  display: grid;
  gap: 26px;
}

.lidar-tech-card {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 0;
  min-height: 390px;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,250,242,.045);
  border: 1px solid rgba(199,167,127,.24);
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
}

.lidar-tech-card.reverse {
  grid-template-columns: 1.05fr .95fr;
}

.lidar-tech-card.reverse .lidar-tech-img {
  order: 2;
}

.lidar-tech-img {
  min-height: 390px;
  background-size: cover;
  background-position: center;
}

.lidar-tech-img.img-scanner {
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.34) 100%),
    url("/public/uploads/lidar-scanner-portatile-v2.png") center center / cover no-repeat;
}

.lidar-tech-img.img-pointcloud {
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.36) 100%),
    url("/public/uploads/nuvola-punti-3d.png") center center / cover no-repeat;
}

.lidar-tech-img.img-drone {
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.36) 100%),
    url("/public/uploads/ispezione-drone.png") center center / cover no-repeat;
}

.lidar-tech-content {
  padding: 46px;
  display: grid;
  align-content: center;
}

.lidar-tech-content span {
  display: inline-flex;
  width: 54px;
  height: 38px;
  border-radius: 999px;
  background: #c7a77f;
  color: #fffaf2;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 24px;
}

.lidar-tech-content h2 {
  color: #fffaf2;
  font-size: clamp(32px, 3.2vw, 48px);
  margin-bottom: 18px;
}

.lidar-tech-content p {
  color: rgba(255,250,242,.72);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.lidar-use-section {
  padding: 86px 0;
  background: #fffaf2;
}

.lidar-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lidar-use-grid article {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 14px 38px rgba(85,68,48,.08);
}

.lidar-use-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 12px;
}

.lidar-use-grid p {
  color: var(--muted);
  margin: 0;
}

.lidar-output-section {
  padding: 84px 0;
  background:
    radial-gradient(circle at 88% 16%, rgba(183,150,111,.14), transparent 32%),
    linear-gradient(135deg, #f4eee5 0%, #fffaf2 100%);
}

.lidar-output-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.lidar-output-grid p {
  color: var(--muted);
  font-size: 18px;
}

.output-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.output-list div {
  background: rgba(255,253,248,.76);
  border: 1px solid rgba(183,150,111,.25);
  border-radius: 18px;
  padding: 18px;
  font-weight: 800;
  color: var(--text);
}

.output-list span {
  color: var(--sand);
  margin-right: 8px;
}

.lidar-cta-section {
  padding: 82px 0;
  background: #fffaf2;
}

.lidar-cta-box {
  background:
    radial-gradient(circle at 88% 18%, rgba(199,167,127,.18), transparent 34%),
    linear-gradient(135deg, #161512 0%, #211e18 55%, #14130f 100%);
  color: #fffaf2;
  border-radius: 32px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  box-shadow: 0 26px 70px rgba(85,68,48,.18);
}

.lidar-cta-box h2 {
  max-width: 760px;
}

.lidar-cta-box p {
  color: rgba(255,250,242,.72);
  font-size: 18px;
  max-width: 780px;
}

.lidar-cta-actions {
  display: grid;
  gap: 14px;
  min-width: 230px;
}

.lidar-cta-box .btn.ghost {
  background: transparent !important;
  color: #fffaf2 !important;
  border-color: rgba(255,250,242,.38) !important;
}

@media (max-width: 1020px) {
  .lidar-hero-grid,
  .lidar-intro-grid,
  .lidar-output-grid,
  .lidar-cta-box {
    grid-template-columns: 1fr;
  }

  .lidar-tech-card,
  .lidar-tech-card.reverse {
    grid-template-columns: 1fr;
  }

  .lidar-tech-card.reverse .lidar-tech-img {
    order: 0;
  }

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

  .output-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .lidar-hero-page {
    padding: 62px 0;
    background:
      linear-gradient(180deg, #fffaf2 0%, rgba(255,250,242,.96) 58%, rgba(255,250,242,.66) 100%),
      url("/public/uploads/lidar-scanner-portatile-v2.png") center center / cover no-repeat;
  }

  .lidar-hero-image {
    min-height: 310px;
    border-radius: 24px;
  }

  .lidar-intro-section,
  .lidar-tech-section,
  .lidar-use-section,
  .lidar-output-section,
  .lidar-cta-section {
    padding: 62px 0;
  }

  .lidar-tech-card {
    border-radius: 24px;
    min-height: auto;
  }

  .lidar-tech-img {
    min-height: 260px;
  }

  .lidar-tech-content {
    padding: 30px 24px;
  }

  .lidar-tech-content p {
    font-size: 17px;
  }

  .lidar-use-grid {
    grid-template-columns: 1fr;
  }

  .lidar-cta-box {
    border-radius: 24px;
    padding: 30px 24px;
  }

  .lidar-cta-actions {
    min-width: 0;
  }
}

/* Booking page redesign */
.booking-hero-page {
  padding: 92px 0;
  background:
    radial-gradient(circle at 88% 16%, rgba(183,150,111,.16), transparent 34%),
    linear-gradient(135deg, #fffaf2 0%, #f4eee5 100%);
}

.booking-hero-grid {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 58px;
  align-items: center;
}

.booking-hero-grid h1 {
  max-width: 820px;
}

.booking-hero-grid .lead {
  max-width: 760px;
}

.booking-hero-card {
  overflow: hidden;
  border-radius: 30px;
  background: #fffdf8;
  border: 1px solid rgba(183,150,111,.28);
  box-shadow: 0 26px 70px rgba(85,68,48,.15);
}

.booking-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px;
  background: #efe5d6;
  border-bottom: 1px solid var(--line);
}

.booking-card-top span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 22px 0 0 rgba(183,150,111,.56), 44px 0 0 rgba(183,150,111,.32);
}

.booking-card-top strong {
  margin-left: 48px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
}

.booking-card-body {
  min-height: 330px;
  display: grid;
  align-content: center;
  padding: 38px;
  background:
    radial-gradient(circle at 82% 14%, rgba(183,150,111,.16), transparent 32%),
    linear-gradient(135deg, #fffdf8, #fffaf2);
}

.booking-card-body p {
  margin: 0 0 12px;
  color: var(--sand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.booking-card-body h2 {
  margin-bottom: 28px;
}

.booking-info-section {
  padding: 34px 0;
  background: #161512;
}

.booking-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.booking-info-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: start;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,250,242,.045);
  border: 1px solid rgba(199,167,127,.22);
}

.booking-info-grid span {
  grid-row: span 2;
  width: 46px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #c7a77f;
  color: #fffaf2;
  font-weight: 900;
}

.booking-info-grid h3 {
  color: #fffaf2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.booking-info-grid p {
  margin: 0;
  color: rgba(255,250,242,.68);
}

.booking-main-section {
  padding: 86px 0;
  background: #fffaf2;
}

.booking-main-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.booking-main-grid p {
  color: var(--muted);
  font-size: 18px;
  max-width: 660px;
}

.booking-options {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 620px;
}

.booking-options div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fffdf8;
  border: 1px solid var(--line);
}

.booking-options strong {
  color: var(--text);
}

.booking-options span {
  color: var(--muted);
  text-align: right;
}

.booking-panel {
  border-radius: 30px;
  padding: 16px;
  background:
    radial-gradient(circle at 82% 14%, rgba(183,150,111,.18), transparent 32%),
    linear-gradient(135deg, #e8dccb, #fffaf2);
  box-shadow: 0 26px 70px rgba(85,68,48,.14);
}

.booking-panel-inner {
  background: rgba(255,253,248,.82);
  border: 1px solid rgba(183,150,111,.25);
  border-radius: 24px;
  padding: 32px;
}

.calendar-visual {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffdf8;
  margin-bottom: 26px;
}

.calendar-month {
  padding: 18px;
  background: #161512;
  color: #fffaf2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 18px;
}

.calendar-days span {
  aspect-ratio: 1;
  border-radius: 12px;
  background: #f0e7d9;
}

.calendar-days span.active {
  background: var(--sand);
}

.calendar-days span.active.soft {
  background: rgba(183,150,111,.55);
}

.booking-panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 12px;
}

.booking-panel p {
  font-size: 17px;
  margin-bottom: 22px;
}

.booking-topics-section {
  padding: 86px 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(183,150,111,.12), transparent 32%),
    linear-gradient(180deg, #f4eee5 0%, #fffaf2 100%);
}

.booking-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.booking-topic-grid article {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 14px 38px rgba(85,68,48,.08);
}

.booking-topic-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 12px;
}

.booking-topic-grid p {
  color: var(--muted);
}

.booking-contact-section {
  padding: 82px 0;
  background: #fffaf2;
}

.booking-contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 44px;
  border-radius: 32px;
  color: #fffaf2;
  background:
    radial-gradient(circle at 88% 18%, rgba(199,167,127,.18), transparent 34%),
    linear-gradient(135deg, #161512 0%, #211e18 55%, #14130f 100%);
  box-shadow: 0 26px 70px rgba(85,68,48,.18);
}

.booking-contact-box p:not(.eyebrow) {
  color: rgba(255,250,242,.72);
  font-size: 18px;
  max-width: 760px;
}

.booking-contact-actions {
  display: grid;
  gap: 14px;
  min-width: 230px;
}

.booking-contact-box .btn.ghost {
  background: transparent !important;
  color: #fffaf2 !important;
  border-color: rgba(255,250,242,.38) !important;
}

@media (max-width: 1020px) {
  .booking-hero-grid,
  .booking-main-grid,
  .booking-contact-box {
    grid-template-columns: 1fr;
  }

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

  .booking-contact-actions {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .booking-hero-page,
  .booking-main-section,
  .booking-topics-section,
  .booking-contact-section {
    padding: 62px 0;
  }

  .booking-card-body {
    min-height: 250px;
    padding: 28px;
  }

  .booking-info-grid,
  .booking-topic-grid {
    grid-template-columns: 1fr;
  }

  .booking-info-grid article {
    grid-template-columns: 1fr;
  }

  .booking-options div {
    display: grid;
  }

  .booking-options span {
    text-align: left;
  }

  .booking-panel {
    border-radius: 24px;
  }

  .booking-panel-inner {
    padding: 24px;
    border-radius: 20px;
  }

  .booking-contact-box {
    border-radius: 24px;
    padding: 30px 24px;
  }
}

/* Contact page redesign */
.contact-hero-page {
  padding: 88px 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(183,150,111,.16), transparent 34%),
    linear-gradient(135deg, #fffaf2 0%, #f4eee5 100%);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 56px;
  align-items: center;
}

.contact-hero-grid h1 {
  max-width: 800px;
}

.contact-hero-grid .lead {
  max-width: 780px;
}

.contact-hero-card {
  border-radius: 30px;
  padding: 36px;
  background:
    radial-gradient(circle at 86% 16%, rgba(199,167,127,.20), transparent 34%),
    linear-gradient(135deg, #161512 0%, #211e18 56%, #14130f 100%);
  color: #fffaf2;
  box-shadow: 0 26px 70px rgba(85,68,48,.17);
}

.contact-hero-card span {
  color: #c7a77f;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: 13px;
}

.contact-hero-card h2 {
  margin: 16px 0;
  font-size: 40px;
}

.contact-hero-card p {
  color: rgba(255,250,242,.72);
  font-size: 17px;
}

.contact-main-section {
  padding: 88px 0;
  background: #fffaf2;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 34px;
  align-items: start;
}

.contact-sidebar {
  position: sticky;
  top: 110px;
}

.contact-card {
  border-radius: 28px;
  padding: 30px;
  background: #fffdf8;
  border: 1px solid rgba(183,150,111,.26);
  box-shadow: 0 22px 58px rgba(85,68,48,.10);
}

.contact-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-of-type {
  border-bottom: 0;
}

.contact-row > span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(183,150,111,.10);
  color: var(--sand);
}

.contact-row svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-row strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-row a,
.contact-row p {
  margin: 0;
  color: var(--muted);
}

.contact-sidebar-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-form-panel {
  border-radius: 30px;
  padding: 34px;
  background:
    radial-gradient(circle at 88% 14%, rgba(183,150,111,.11), transparent 32%),
    linear-gradient(135deg, #f4eee5 0%, #fffaf2 100%);
  border: 1px solid rgba(183,150,111,.22);
}

.form-heading {
  margin-bottom: 26px;
}

.form-heading h2 {
  margin-bottom: 16px;
}

.form-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
}

.contact-form-modern {
  border-radius: 24px;
  padding: 30px !important;
  background: rgba(255,253,248,.82) !important;
  border: 1px solid rgba(183,150,111,.22) !important;
  box-shadow: 0 18px 46px rgba(85,68,48,.08);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-modern label {
  color: var(--text);
}

.contact-form-modern input,
.contact-form-modern select,
.contact-form-modern textarea {
  border-radius: 14px;
  border: 1px solid rgba(183,150,111,.30) !important;
  background: #fffdf8 !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form-modern input:focus,
.contact-form-modern select:focus,
.contact-form-modern textarea:focus {
  border-color: var(--sand) !important;
  box-shadow: 0 0 0 4px rgba(183,150,111,.12);
  outline: none;
}

.form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.form-bottom p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.form-bottom .btn {
  min-width: 190px;
}

.contact-final-section {
  padding: 78px 0;
  background: #fffaf2;
}

.contact-final-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 44px;
  border-radius: 32px;
  color: #fffaf2;
  background:
    radial-gradient(circle at 88% 18%, rgba(199,167,127,.18), transparent 34%),
    linear-gradient(135deg, #161512 0%, #211e18 55%, #14130f 100%);
  box-shadow: 0 26px 70px rgba(85,68,48,.18);
}

.contact-final-box p:not(.eyebrow) {
  color: rgba(255,250,242,.72);
  font-size: 18px;
  max-width: 760px;
}

@media (max-width: 1020px) {
  .contact-hero-grid,
  .contact-main-grid,
  .contact-final-box {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .contact-hero-page,
  .contact-main-section,
  .contact-final-section {
    padding: 62px 0;
  }

  .contact-hero-card,
  .contact-card,
  .contact-form-panel,
  .contact-final-box {
    border-radius: 24px;
  }

  .contact-form-panel {
    padding: 22px;
  }

  .contact-form-modern {
    padding: 22px !important;
  }

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

  .form-bottom {
    display: grid;
  }

  .form-bottom .btn {
    min-width: 0;
  }
}

/* Admin panel upgrade */
.admin-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  max-width: 1500px;
  margin: 0 auto;
}

.admin-sidebar {
  position: sticky;
  top: 24px;
  height: calc(100vh - 60px);
  border-radius: 26px;
  padding: 26px;
  background:
    radial-gradient(circle at 20% 0%, rgba(199,167,127,.18), transparent 34%),
    linear-gradient(135deg, #161512 0%, #211e18 60%, #14130f 100%);
  color: #fffaf2;
}

.admin-sidebar h1 {
  font-size: 24px;
  margin: 0 0 6px;
}

.admin-sidebar p {
  color: rgba(255,250,242,.68);
  margin: 0 0 24px;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar nav a,
.admin-logout {
  display: block;
  width: 100%;
  border: 1px solid rgba(199,167,127,.24);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255,250,242,.045);
  color: #fffaf2;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.admin-sidebar nav a:hover,
.admin-logout:hover {
  background: rgba(199,167,127,.16);
}

.admin-logout {
  margin-top: 22px;
}

.admin-main {
  display: grid;
  gap: 22px;
}

.admin-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-radius: 28px;
  padding: 32px;
  background: #fffdf8;
  border: 1px solid rgba(183,150,111,.24);
  box-shadow: 0 18px 46px rgba(85,68,48,.08);
}

.admin-hero span {
  color: var(--sand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: 12px;
}

.admin-hero h2 {
  font-size: 42px;
  margin: 8px 0 10px;
}

.admin-hero p {
  color: var(--muted);
  margin: 0;
}

.admin-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-quick-actions a {
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--sand);
  color: #fffaf2;
  font-weight: 800;
  font-size: 13px;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.admin-cards article,
.admin-section {
  border-radius: 24px;
  padding: 24px;
  background: #fffdf8;
  border: 1px solid rgba(183,150,111,.24);
  box-shadow: 0 14px 38px rgba(85,68,48,.07);
}

.admin-cards strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.admin-cards p,
.admin-section p {
  color: var(--muted);
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.admin-section-head h2 {
  font-size: 34px;
  margin: 0 0 8px;
}

.admin-savebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}

.admin-savebar p {
  margin: 0;
  font-size: 14px;
}

.admin-upload-form {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-upload-form input {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fffaf2;
}

@media (max-width: 1000px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-hero,
  .admin-cards {
    grid-template-columns: 1fr;
  }

  .admin-section-head,
  .admin-savebar {
    display: grid;
  }
}

/* Real Instagram feed */
.real-instagram-section {
  padding: 86px 0 !important;
}

.instagram-section-text {
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
  margin-top: 16px;
}

.instagram-real-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.instagram-real-card,
.instagram-loading-card {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid rgba(183,150,111,.25);
  box-shadow: 0 18px 48px rgba(85,68,48,.10);
}

.instagram-real-card {
  display: block;
}

.instagram-real-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform .35s ease;
}

.instagram-real-card:hover img {
  transform: scale(1.04);
}

.instagram-real-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  color: #fffaf2;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.78));
}

.instagram-real-overlay span {
  display: inline-block;
  margin-bottom: 8px;
  color: #c7a77f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.instagram-real-overlay p {
  margin: 0;
  color: rgba(255,250,242,.88);
  font-weight: 700;
  line-height: 1.35;
}

.instagram-loading-card {
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--muted);
  grid-column: 1 / -1;
}

.instagram-loading-card a {
  color: var(--sand);
  font-weight: 800;
}

@media (max-width: 960px) {
  .instagram-real-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .real-instagram-section {
    padding: 62px 0 !important;
  }

  .instagram-real-grid {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .instagram-real-card {
    min-width: 82%;
    scroll-snap-align: start;
  }

  .instagram-real-card,
  .instagram-loading-card,
  .instagram-real-card img {
    min-height: 280px;
  }
}

/* Banner consenso cookie */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: linear-gradient(135deg, #151410 0%, #211e18 60%, #14130f 100%);
  color: #fffaf2;
  border-top: 1px solid rgba(199, 167, 127, .32);
  box-shadow: 0 -18px 46px rgba(0, 0, 0, .28);
  transform: translateY(110%);
  transition: transform .35s ease;
  backdrop-filter: blur(8px);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 0;
}

.cookie-banner-text strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #fffaf2;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 250, 242, .78);
  max-width: 760px;
}

.cookie-banner-text a {
  color: #c7a77f;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}

.cookie-banner-actions .btn {
  min-height: 46px;
  padding: 0 28px;
  white-space: nowrap;
}

.cookie-banner .btn.ghost {
  background: transparent !important;
  color: #fffaf2 !important;
  border-color: rgba(255, 250, 242, .42) !important;
}

@media (max-width: 720px) {
  .cookie-banner {
    bottom: 54px; /* lascia spazio alla barra azioni mobile (Chiama / WhatsApp) */
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 0;
  }

  .cookie-banner-actions {
    flex-direction: row;
  }

  .cookie-banner-actions .btn {
    flex: 1;
  }
}

/* ===== FAQ (accordion) ===== */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(30, 30, 20, .04);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: Inter, system-ui, sans-serif;
  font-size: 26px;
  line-height: 1;
  color: var(--sand);
  flex: 0 0 auto;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-answer {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
}

.faq-answer p { margin: 0; }

.faq-cta {
  margin-top: 42px;
  background:
    radial-gradient(circle at 88% 16%, rgba(199, 167, 127, .18), transparent 34%),
    linear-gradient(135deg, #161512 0%, #211e18 55%, #14130f 100%);
  color: #fffaf2;
  border-radius: 26px;
  padding: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.faq-cta h2 { color: #fffaf2; font-size: 30px; margin-bottom: 8px; }
.faq-cta p { color: rgba(255, 250, 242, .74); margin: 0; }
.faq-cta-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.faq-cta .btn.ghost {
  background: transparent !important;
  color: #fffaf2 !important;
  border-color: rgba(255, 250, 242, .4) !important;
}

.home-faq-section .faq-item { background: #fffdf8; }

@media (max-width: 720px) {
  .faq-item summary { font-size: 18px; padding: 18px 20px; }
  .faq-answer { padding: 0 20px 20px; }
  .faq-cta { flex-direction: column; align-items: stretch; padding: 28px; }
  .faq-cta-actions { flex-direction: column; }
}

/* ===== Blog ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(85, 68, 48, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 56px rgba(85, 68, 48, .14);
}

.blog-card-link { display: block; height: 100%; }
.blog-card-body { padding: 26px; }

.blog-card-date {
  color: var(--sand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 12px;
  margin: 0 0 10px;
}

.blog-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 12px;
}

.blog-card-excerpt { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }

@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .blog-grid { grid-template-columns: 1fr; } }

/* ===== Articolo blog ===== */
.blog-post-meta {
  color: var(--sand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 13px;
  margin-top: 14px;
}

.page-head .eyebrow a { color: var(--sand); }

.blog-post-body { font-size: 17.5px; line-height: 1.7; color: #33352e; }
.blog-post-body h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  margin: 38px 0 14px;
}
.blog-post-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 500;
  margin: 28px 0 10px;
}
.blog-post-body p { margin: 0 0 18px; }
.blog-post-body ul, .blog-post-body ol { margin: 0 0 18px; padding-left: 22px; }
.blog-post-body li { margin-bottom: 8px; }
.blog-post-body a { color: var(--green); text-decoration: underline; font-weight: 600; }
.blog-post-body strong { color: var(--text); }
.blog-post-body img { border-radius: 16px; margin: 8px 0 18px; }

/* ===== Admin: blog ===== */
.admin-blog-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.admin-blog-table th, .admin-blog-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.admin-blog-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
}
.admin-blog-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-blog-actions .btn { min-height: 38px; padding: 0 14px; font-size: 11px; }
.admin-blog-actions form { margin: 0; }

.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge-live { background: #e9f7ed; color: #165b2d; }
.badge-draft { background: #f3ede2; color: #8a6d3b; }

.btn.danger {
  background: #fff0ee !important;
  border-color: #e1aaa1 !important;
  color: #8b1d10 !important;
}

.admin-blog-form {
  display: grid;
  gap: 18px;
  background: #fffdf8;
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 16px;
}
.admin-blog-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text);
}
.admin-blog-form input, .admin-blog-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  font: inherit;
  background: var(--paper);
  border-radius: 8px;
}
.admin-form-row { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 16px; }
.admin-checkbox {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  text-transform: none !important;
  font-weight: 600 !important;
}
.admin-checkbox input { width: auto !important; }

@media (max-width: 720px) { .admin-form-row { grid-template-columns: 1fr; } }

/* ===== Pagine legali / Cookie Policy ===== */
.legal-updated {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}

.legal-content {
  font-size: 16.5px;
  line-height: 1.7;
  color: #33352e;
}

.legal-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  margin: 36px 0 12px;
}

.legal-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
  margin: 24px 0 8px;
}

.legal-content p { margin: 0 0 16px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { margin-bottom: 7px; }
.legal-content a { color: var(--green); text-decoration: underline; font-weight: 600; }
.legal-content code {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 14px;
}

.table-wrap { overflow-x: auto; margin: 0 0 18px; }

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 15px;
}

.cookie-table th,
.cookie-table td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.cookie-table thead th {
  background: var(--cream);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
}

.cookie-table tbody tr:last-child td { border-bottom: none; }
.cookie-table code { background: transparent; border: none; padding: 0; color: var(--green); }

@media (max-width: 720px) {
  .legal-content { font-size: 16px; }
  .legal-content h2 { font-size: 24px; }
  .cookie-table { font-size: 14px; }
  .cookie-table th, .cookie-table td { padding: 10px; }
}
