:root{
  --bg:#ffffff;
  --text:#0E1A24;
  --muted:#27333C;
  --muted2:#5A6A76;
  --line:#E6EDF3;

  --primary:#0f7c82;
  --accent:#52D3CE;
  --deep:#0C2B2C;
  --soft:#F5F6F7;

  --shadow: 0 12px 28px rgba(82,211,206,0.5);
  --shadow2: 0 8px 18px rgba(82,211,206,0.3);
  --radius: 22px;

  --max: 1200px;
  --pad: clamp(16px, 3vw, 40px);

  --h1: clamp(32px, 4vw, 48px);
  --h2: clamp(22px, 2.4vw, 34px);

  --navH: 72px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{ max-width:var(--max); margin:0 auto; padding:0 var(--pad); }
.section{ padding: clamp(56px, 7vw, 96px) 0; }
.section.section-compact{ padding: clamp(32px, 4vw, 56px) 0; }
.soft{ background: var(--soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

.kicker{
  font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color: rgba(14,26,36,.55);
  font-weight: 700;
}
.kicker.on-dark{ color: rgba(255,255,255,.78); }

h1{ font-size: var(--h1); line-height:1.05; letter-spacing:-.02em; }
h2{ font-size: var(--h2); line-height:1.15; letter-spacing:-.01em; }
p{ font-size: 16px; }
.muted{ color: var(--muted); }
.muted2{ color: var(--muted2); }

.grid{ display:grid; gap:24px; }
.split{ grid-template-columns: 1fr 1fr; gap: 34px; align-items:center; }
.split.split-centered{ grid-template-columns: minmax(0, 720px); justify-content:center; }

.btns{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 22px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, background .15s ease;
  user-select:none;
  white-space:nowrap;
}
.btn.primary{
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color:#fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.btn.primary:hover{ transform: translateY(-1px); box-shadow: 0 14px 28px rgba(0,0,0,.22); }
.btn.ghost{
  background: rgba(255,255,255,.08);
  color:#fff;
  border-color: rgba(255,255,255,.40);
  backdrop-filter: blur(6px);
}
.btn.ghost:hover{ background: rgba(255,255,255,.14); }
.btn.outline-dark{
  background: transparent;
  color: var(--text);
  border-color: rgba(14,26,36,.22);
}
.btn.outline-dark:hover{ background: rgba(14,26,36,.04); }

/* NAV */
.nav{
  position:fixed; top:0; left:0; right:0;
  height: var(--navH);
  display:flex; align-items:center;
  z-index:50;
  background: transparent;
  color:#fff;
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}
.nav.solid{
  background: rgba(255,255,255,.98);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  backdrop-filter: blur(8px);
}
.nav-inner{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:900;
  letter-spacing:.01em;
}
.brand-logo{
  height:48px;
  width:auto;
  display:block;
}
.brand-mark{
  width:34px; height:34px; border-radius:12px;
  background: radial-gradient(circle at 0% 0%, var(--accent), var(--primary));
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.menu{ display:flex; gap:10px; align-items:center; }
.menu a{
  font-size:14px; font-weight:700;
  padding:10px 12px;
  border-radius:999px;
  transition: background .15s ease, color .15s ease;
  opacity:.96;
}
.menu a:hover{ background: rgba(82,211,206,.18); }
.nav.solid .menu a{ color: var(--text); }
.nav-home.solid .menu a{ color: rgba(255,255,255,.96); }
.nav.solid .menu a:hover{ background: rgba(82,211,206,.18); }
.menu a.active{ background: rgba(82,211,206,.28); }
.nav.solid .menu a.active{ background: rgba(82,211,206,.90); }

.nav-cta{ display:flex; gap:10px; align-items:center; }
.nav-cta .btn{ padding:10px 16px; }

/* Mobile */
.burger{
  display:none;
  width:42px; height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color:#fff;
  align-items:center; justify-content:center;
  cursor:pointer;
}
.nav.solid .burger{
  border-color: rgba(14,26,36,.16);
  background: rgba(14,26,36,.03);
  color: var(--text);
}
.mobile-panel{
  position:fixed;
  top: var(--navH);
  left:0; right:0;
  background: rgba(255,255,255,.98);
  border-top: 1px solid var(--line);
  display:none;
  z-index:49;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.mobile-panel a{
  display:block;
  padding:14px var(--pad);
  font-weight:800;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

/* HERO */
.hero{
  position:relative;
  height:100vh;
  min-height:560px;
  overflow:hidden;
  color:#fff;
  display:flex;
  align-items:center;
}
.hero video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 25%;
  transition: object-position .2s ease, transform .3s ease-out;
  will-change: transform;
  z-index:-2;
  filter:saturate(1.02) contrast(1.05);
}
.hero.is-centered video{
  object-position:center 50% !important;
}
.hero.is-centered + .section{
  margin-top: 0;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.38) 40%, rgba(0,0,0,.62));
  z-index:-1;
}
.hero-copy{
  position:relative;
  z-index:1;
  background: rgba(43,161,153,.80);
  border-radius: 28px;
  padding: 48px 40px;
  transition: opacity .35s ease, transform .35s ease;
}
.hero-copy h1{
  margin-top: 6px;
}
.hero-copy p{
  margin-top: 12px;
}
.hero-copy .btns{
  margin-top: 18px;
  gap: 12px;
}
.hero-card{
  position:relative;
  z-index:1;
  transition: opacity .35s ease, transform .35s ease;
}
.hero-content{
  padding-top: var(--navH);
  width:100%;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items:center;
  min-height: calc(100vh - var(--navH));
  padding: 52px 0;
}
.hero-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(43,161,153,.95), rgba(82,211,206,.57) 60%, rgba(82,211,206,0));
  border-radius: var(--radius);
  z-index:-1;
  pointer-events:none;
}
.hero p{
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255,255,255,.88);
  margin-top:16px;
}
.hero-card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 38px rgba(0,0,0,.26);
  padding: 20px;
}
.hero-card .line{
  display:flex; gap:12px; align-items:flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.hero-card .line:last-child{ border-bottom:none; }
.dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--accent), #7BE7F0);
  margin-top:6px; flex:0 0 auto;
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
}
.hero-card .t{ font-weight:900; font-size:16px; }
.hero-card .d{ font-size:16px; color: rgba(255,255,255,.82); margin-top:6px; }
.hero-grid.is-hidden .hero-copy,
.hero-grid.is-hidden .hero-card{
  opacity:0;
  transform: translateY(12px);
  pointer-events:none;
}

/* Cards */
.cards3{ grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 30px; }
.card{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow2);
  border: 1px solid #52d3ce;
  background:#fff;
  transition: transform .14s ease, box-shadow .14s ease;
  aspect-ratio: 4 / 5;
  min-height: auto;
  display:flex;
  flex-direction:column;
}
.card:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.card .media{
  height: 240px;
  min-height: 240px;
  position:relative;
  overflow:hidden;
}
.card .media::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.04) 55%, rgba(0,0,0,.28));
  z-index:1;
  pointer-events:none;
}
.card .media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.card .media .label{
  position:absolute; left:16px; bottom:14px;
  z-index:2;
  color:#fff;
  font-weight:900;
  font-size:18px;
  letter-spacing:.01em;
  text-shadow: 0 10px 26px rgba(0,0,0,.40);
}
.card .body{
  padding: 18px 18px 20px;
  display:flex; flex-direction:column;
  gap:10px;
}

.cosa-facciamo-copy{
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 40px;
  min-height: auto;
}
.cosa-facciamo-visual{
  width: calc(100% + 80px);
  margin-left: -40px;
  margin-right: -40px;
  height: auto;
  display: block;
  opacity: 0.85;
  margin-bottom: 30px;
}
.card .body h3{
  font-size: 16px;
  font-weight:900;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  line-height: 1.3;
  min-height: 42px;
}
.card .body p{
  font-size: 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  line-height: 1.5;
  min-height: 84px;
}
.card .body a{
  margin-top:auto;
  display:inline-flex; align-items:center; gap:8px;
  font-weight:900;
  font-size:14px;
  color: var(--primary);
  padding-top: 8px;
}
.arrow{ width:16px; height:16px; }

/* Page hero */
.page-hero{
  padding-top: calc(var(--navH) + 54px);
  padding-bottom: 44px;
  background: linear-gradient(135deg, #0C2B2C, #0F7C82);
  color:#fff;
  position:relative;
  overflow:hidden;
}
.page-hero::after{
  content:"";
  position:absolute;
  right:-260px; top:-260px;
  width:520px; height:520px;
  background: radial-gradient(circle at 0% 0%, rgba(15,180,191,.58), rgba(14,75,122,0));
  transform: rotate(14deg);
  opacity:.9;
}
.page-hero h1{ font-size: var(--h2); }
.page-hero p{ margin-top:14px; color: rgba(255,255,255,.84); max-width: 820px; }

/* Panels & lists */
.panel{
  border-radius: var(--radius);
  border:1px solid #52d3ce;
  background:#fff;
  box-shadow: var(--shadow2);
  padding: 22px;
}
.list{ margin-top: 14px; display:grid; gap:10px; }
.li{
  display:flex; gap:10px; align-items:flex-start;
  font-size: 14px;
  color: var(--muted);
}
.check{
  width: 18px; height:18px;
  border-radius:8px;
  background: rgba(15,180,191,.14);
  border: 1px solid rgba(15,180,191,.30);
  display:flex; align-items:center; justify-content:center;
  flex:0 0 auto;
  margin-top:2px;
}
.check svg{ width:12px; height:12px; color: var(--accent); }
.is-inner .check{
  background: rgba(15,180,191,.26);
  border: 1px solid rgba(15,180,191,.55);
}
.is-inner .check svg{
  color: #0f7c82;
}

/* Visual blocks with images */
.visual{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow2);
  background:#fff;
}
.visual img{
  width:100%;
  height: 100%;
  object-fit: cover;
}

/* CTA band */
.cta-band{
  background: linear-gradient(135deg, #0C2B2C, #0F7C82);
  color:#fff;
  border-top: 1px solid rgba(255,255,255,.10);
}
.cta-band .panel{
  background: rgba(43, 163, 155, 0.8);
  border-color: rgb(43, 163, 155);
  box-shadow: 0 22px 50px rgba(0,0,0,.22);
}
.cta-band .panel .kicker{
  color: #fff;
}
.cta-band .panel .li{
  color: #fff;
}
.cta-band .panel .check{
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.cta-band .panel .check svg{
  color: #fff;
}
.cta-band p{ color: rgba(255,255,255,.84); margin-top:10px; }

/* Footer */
.footer{
  background: var(--deep);
  color: rgba(255,255,255,.72);
  padding: 28px 0;
}
.footer .row{
  display:flex; justify-content:space-between; align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.footer-meta{
  display:flex;
  align-items:baseline;
  gap:18px;
  flex-wrap:wrap;
}
.footer-vat{
  font-size: 13px;
  color: rgba(255,255,255,.72);
}
.footer a{ color: rgba(255,255,255,.95); font-weight:800; }
.footer a:hover{ color:#fff; }
.footer .links{ display:flex; gap:16px; flex-wrap:wrap; }

/* Forms */
form{ margin-top:18px; }
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; }
.field{ display:flex; flex-direction:column; gap:8px; }
label{ font-size:13px; font-weight:900; color: var(--text); }
input, select, textarea{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  outline: none;
  transition: box-shadow .14s ease, border-color .14s ease;
}
textarea{ min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus{
  border-color: rgba(14,75,122,.35);
  box-shadow: 0 0 0 4px rgba(15,180,191,.12);
}
.form-actions{ margin-top: 14px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.note{ font-size: 13px; color: var(--muted2); }

/* Video Controls */
.video-controls{
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  z-index: 10;
  pointer-events: none;
}
.video-controls-left{
  display: flex;
  align-items: center;
  gap: 12px;
}
.video-btn{
  pointer-events: auto;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}
.video-btn:hover{
  border-color: #fff;
  color: #fff;
  transform: scale(1.1);
}
.video-btn:active{
  transform: scale(0.95);
}
.video-btn svg{
  width: 20px;
  height: 20px;
}
.play-btn{
  padding-left: 4px;
}
.video-btn.hidden{
  visibility: hidden;
}

/* Privacy Consent Modal */
.privacy-modal{
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 16px 20px 20px;
  background: white;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  border-top: 1px solid var(--line);
}
.privacy-modal.active{
  display: block;
}
.privacy-overlay{
  display: none;
}
.privacy-panel{
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: 100%;
  width: 100%;
  max-height: none;
  overflow-y: visible;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.privacy-close{
  position: relative;
  top: 0;
  right: 0;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--muted);
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
}
.privacy-close:hover{
  color: var(--text);
}
.privacy-panel h2{
  display: none;
}
.privacy-panel > p{
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.5;
  flex: 1;
  min-width: 250px;
}
.privacy-panel > p:nth-child(2),
.privacy-panel > p:nth-child(3){
  display: none;
}
.privacy-options{
  display: none;
}
.privacy-option{
  display: none;
}
.privacy-option:last-child{
  display: none;
}
.privacy-checkbox-label{
  display: none;
}
.privacy-checkbox{
  display: none;
}
.checkbox-custom{
  display: none;
}
.privacy-checkbox:checked + .checkbox-custom{
  display: none;
}
.privacy-checkbox:checked + .checkbox-custom::after{
  display: none;
}
.option-text{
  display: none;
}
.option-description{
  display: none;
}
.privacy-actions{
  display: flex;
  gap: 12px;
  margin-bottom: 0;
  flex-shrink: 0;
  flex-wrap: nowrap;
}
.privacy-btn{
  flex: 0 1 auto;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.privacy-btn-reject{
  background: rgba(14, 26, 36, 0.08);
  color: var(--text);
  border: 1px solid var(--line);
}
.privacy-btn-reject:hover{
  background: rgba(14, 26, 36, 0.12);
  border-color: var(--muted2);
}
.privacy-btn-accept{
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
}
.privacy-btn-accept:hover{
  background: #38b8b1;
  border-color: #38b8b1;
  box-shadow: 0 4px 12px rgba(82, 211, 206, 0.25);
}
.privacy-btn-customize{
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 18px;
  margin-bottom: 0;
}
.privacy-btn-customize:hover{
  background: rgba(82, 211, 206, 0.1);
  border-color: var(--accent);
}
.privacy-save-continue{
  display: none;
}

/* Detailed preferences view */
.privacy-modal.detailed-view{
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.privacy-modal.detailed-view .privacy-overlay{
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}
.privacy-modal.detailed-view .privacy-panel{
  position: relative;
  background: white;
  border-radius: var(--radius);
  padding: 48px 40px 40px;
  max-width: 580px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.privacy-modal.detailed-view .privacy-panel h2{
  display: block;
  margin-bottom: 20px;
  font-size: var(--h2);
  color: var(--text);
}
.privacy-modal.detailed-view .privacy-panel > p{
  display: block;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
  flex: none;
}
.privacy-modal.detailed-view .privacy-panel > p:nth-child(2),
.privacy-modal.detailed-view .privacy-panel > p:nth-child(3){
  display: block;
}
.privacy-modal.detailed-view .privacy-options{
  display: block;
  margin: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.privacy-modal.detailed-view .privacy-option{
  display: block;
  margin-bottom: 24px;
}
.privacy-modal.detailed-view .privacy-option:last-child{
  display: block;
  margin-bottom: 0;
}
.privacy-modal.detailed-view .privacy-checkbox-label{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.privacy-modal.detailed-view .privacy-checkbox{
  appearance: none;
  -webkit-appearance: none;
  width: 0;
  height: 0;
  opacity: 0;
  cursor: pointer;
}
.privacy-modal.detailed-view .checkbox-custom{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background: white;
  flex-shrink: 0;
  transition: all 0.2s ease;
  margin-top: 2px;
}
.privacy-modal.detailed-view .privacy-checkbox:checked + .checkbox-custom{
  background: var(--accent);
  border-color: var(--accent);
}
.privacy-modal.detailed-view .privacy-checkbox:checked + .checkbox-custom::after{
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: bold;
}
.privacy-modal.detailed-view .option-text{
  font-weight: 600;
  color: var(--text);
  display: block;
}
.privacy-modal.detailed-view .option-description{
  font-size: 14px;
  color: var(--muted2);
  margin-top: 6px;
  margin-left: 32px;
}
.privacy-modal.detailed-view .privacy-actions{
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.privacy-modal.detailed-view .privacy-btn{
  flex: 1;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
}
.privacy-modal.detailed-view .privacy-save-continue{
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}
.privacy-modal.detailed-view .privacy-save-continue:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}
.privacy-modal.detailed-view .privacy-close{
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  font-size: 28px;
}
.privacy-modal.detailed-view .privacy-btn-customize{
  display: none;
}

/* Privacy Banner Responsive */
@media (max-width: 768px) {
  .privacy-modal{
    padding: 12px 16px 16px;
  }
  .privacy-panel{
    gap: 12px;
  }
  .privacy-panel > p{
    min-width: 100%;
    flex: none;
    order: -1;
  }
  .privacy-actions{
    width: 100%;
    gap: 10px;
  }
  .privacy-btn{
    flex: 1;
    padding: 10px 16px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .privacy-modal{
    padding: 10px 12px 12px;
  }
  .privacy-panel > p{
    font-size: 13px;
  }
  .privacy-close{
    width: 20px;
    height: 20px;
    font-size: 18px;
  }
  .privacy-actions{
    width: 100%;
    flex-direction: column;
  }
  .privacy-btn{
    padding: 10px 14px;
    font-size: 12px;
  }
}

/* Scroll to Top Button */
.scroll-to-top-btn{
  position: fixed;
  bottom: 60px;
  right: 40px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scroll-to-top-btn.visible{
  opacity: 1;
  visibility: visible;
}

.scroll-to-top-btn:hover{
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 8px 18px rgba(82, 211, 206, 0.3);
}

.scroll-to-top-btn:active{
  transform: scale(0.95);
}

.scroll-to-top-btn svg{
  width: 20px;
  height: 20px;
}

@media (max-width: 768px){
  .scroll-to-top-btn{
    bottom: 100px;
  }
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards3{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .menu, .nav-cta{ display:none; }
  .burger{ display:flex; }
}
