@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
  --blue:#0756A8;
  --navy:#12233F;
  --pale:#F4F8FC;
  --fuchsia:#D92B83;
  --fuchsia-dark:#B8206D;
  --text:#26364B;
  --muted:#66758A;
  --line:#E2EAF2;
  --white:#fff;
  --shadow:0 22px 60px rgba(18,35,63,.11)
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:88px
}
body {
  margin:0;
  color:var(--text);
  font-family:"DM Sans",Arial,sans-serif;
  line-height:1.6;
  background:#fff
}
h1,h2,h3,p {
  margin-top:0
}
h1,h2,h3,.brand-name,.footer-brand {
  font-family:Manrope,"DM Sans",sans-serif;
  letter-spacing:-.035em
}
section {
  border-top: 1px solid #12233F;
}
a {
  color:inherit;
  text-decoration:none
}
.site-header {
  height:86px;
  padding:0 clamp(22px,5.5vw,88px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#F4F8FC;
  border-bottom:1px solid #12233F;
  position:sticky;
  top:0;
  z-index:20
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:230px
}
.brand img {
  width:55px;
  height:55px;
  object-fit:contain
}
.brand-name {
  font-weight:800;
  font-size:19px;
  line-height:1.1;
  color:var(--navy)
}
.brand-name>span,.footer-brand span {
  color:var(--blue)
}
.brand-name small {
  display:block;
  font-family:"DM Sans",sans-serif;
  font-size:10px;
  letter-spacing:.01em;
  font-weight:500;
  color:var(--muted);
  margin-top:5px
}
.main-nav {
  display:flex;
  align-items:center;
  gap:clamp(14px,2.1vw,30px);
  font-size:13px;
  font-weight:600;
  color:#35445A
}
.main-nav>a:not(.nav-cta):hover,.footer-links a:hover {
  color:var(--blue)
}
.nav-cta {
  padding:12px 18px;
  border-radius:8px;
  background:var(--fuchsia);
  color:#fff;
  box-shadow:0 7px 18px #d92b8326;
  transition:.2s
}
.nav-cta:hover,.button-primary:hover {
  background:var(--fuchsia-dark);
  transform:translateY(-1px)
}
.menu-toggle {
  display:none;
  border:0;
  background:transparent;
  font-size:26px;
  color:var(--navy)
}
.hero {
  min-height: 0;
height: 350px;
padding: 16px 36px;
gap: 24px;
display:grid;
  grid-template-columns:1fr 1.05fr;
  align-items:center;
  overflow:hidden;
  background:linear-gradient(125deg,#fff 0%,#fff 50%,#F4F8FC 100%)
}
.hero-copy {
  max-width:540px;
  position:relative;
  z-index:2
}
.eyebrow {
  color:var(--blue);
  font-size:13px;
  font-weight:800;
  letter-spacing:.14em;
  margin-bottom:16px
}
.hero h1 {
  font-size:clamp(42px,5.1vw,66px);
  line-height:1.08;
  color:var(--navy);
  margin-bottom:22px;
  font-weight:800
}
.hero h1 span {
  color:var(--blue)
}
.hero-copy>p:not(.eyebrow) {
  font-size:17px;
  max-width:475px;
  color:#65738A;
  line-height:1.75
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:23px;
  flex-wrap:wrap;
  margin-top:29px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:14px 19px;
  border-radius:8px;
  font-size:13px;
  font-weight:700;
  transition:.2s
}
.button-primary {
  background:var(--fuchsia);
  color:white;
  box-shadow:0 9px 20px #d92b8324;
  font-size: 15px;
font-weight: 600;
}
.text-link {
  font-size:16px;
  font-weight:700;
  color:var(--blue)
}
.text-link span {
  margin-left:7px
}
.hero-dots {
  display:flex;
  gap:9px;
  margin-top:45px
}
.hero-dot {
  width:9px;
  height:9px;
  border:0;
  border-radius:99px;
  background:#C9D4E0;
  padding:0;
  cursor:pointer;
  transition:.25s
}
.hero-dot.active {
  width:28px;
  background:var(--blue)
}
.hero-visual {
  position:relative;
  min-height:380px;
  display:flex;
  align-items:center;
  justify-content:center
}
.visual-orb {
  position:absolute;
  border-radius:50%;
  filter:blur(1px)
}
.orb-one {
  width:350px;
  height:350px;
  background:#E6F0FB;
  right:5%;
  top:1%
}
.orb-two {
  width:170px;
  height:170px;
  background:#FBE8F2;
  left:2%;
  bottom:4%;
  opacity:.85
}
.mockup-window {
  position:relative;
  width:min(100%,520px);
  padding:0 0 22px;
  background:white;
  border:1px solid #E2EAF2;
  border-radius:16px;
  box-shadow:0 28px 70px rgba(18,35,63,.16);
  transform:rotate(-1deg);
  overflow:hidden
}
.mockup-top {
  height:43px;
  padding:0 16px;
  display:flex;
  align-items:center;
  gap:5px;
  border-bottom:1px solid #EDF1F6;
  background:#FAFCFE
}
.mockup-top>span {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#CFD8E2
}
.mockup-top b {
  font-size:10px;
  font-weight:600;
  color:#718096;
  margin-left:10px
}
.mockup-content {
  padding:23px
}
.mockup-greeting small {
  font-size:8px;
  letter-spacing:.12em;
  color:#8B98A9
}
.mockup-greeting strong {
  display:block;
  font:800 22px Manrope;
  color:var(--navy);
  margin:4px 0
}
.mockup-greeting>span {
  font-size:10px;
  color:#8B98A9
}
.mockup-stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:20px 0
}
.mockup-stats>div {
  border:1px solid #E8EEF5;
  border-radius:9px;
  padding:12px;
  display:grid;
  grid-template-columns:24px 1fr;
  column-gap:5px;
  align-items:center
}
.mockup-stats b {
  font:800 19px Manrope;
  color:var(--navy)
}
.mockup-stats small {
  grid-column:2;
  font-size:9px;
  color:#8793A3
}
.stat-icon {
  grid-row:span 2;
  font-style:normal;
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:7px;
  background:#EAF3FF;
  color:var(--blue);
  font-weight:800
}
.stat-icon.gold {
  background:#FFF4DA;
  color:#B47B12
}
.stat-icon.green {
  background:#E7F5EA;
  color:#32854C
}
.mockup-cards {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px
}
.mockup-cards>div {
  position:relative;
  display:grid;
  grid-template-columns:28px 1fr;
  column-gap:8px;
  align-items:center;
  border:1px solid #E8EEF5;
  border-radius:9px;
  padding:12px
}
.mini-icon {
  grid-row:span 2;
  width:28px;
  height:28px;
  border-radius:8px;
  display:grid;
  place-items:center;
  background:#EDF4FC;
  color:var(--blue)
}
.mockup-cards b {
  font-size:10px;
  color:var(--navy)
}
.mockup-cards small {
  font-size:8px;
  color:#8A96A6
}
.mockup-cards em {
  position:absolute;
  right:9px;
  top:9px;
  font-style:normal;
  color:var(--blue);
  font-size:12px
}
.floating-note {
  position:absolute;
  right:-8px;
  bottom:22px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px 16px;
  background:#fff;
  border:1px solid #E6ECF3;
  border-radius:10px;
  box-shadow:0 12px 30px #12233f17
}
.note-check {
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border-radius:50%;
  background:#E6F5EC;
  color:#29834B;
  font-weight:800
}
.floating-note b,.floating-note small {
  display:block
}
.floating-note b {
  font-size:11px;
  color:var(--navy)
}
.floating-note small {
  font-size:9px;
  color:#7D8999
}
.trust-strip {
  padding:23px clamp(22px,8vw,128px);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  background:var(--navy);
  color:#fff
}
.trust-strip>div {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px
}
.trust-strip span {
  font:800 12px Manrope;
  color:#9FC7F2
}
.trust-strip p {
  margin:0;
  font-size:14px;
  font-weight:600
}
.section {
  padding:100px clamp(22px,8vw,128px)
}
.section-light {
  background:#F7F9FC
}
.section-heading {
  text-align:center;
  max-width:690px;
  margin:0 auto 45px
}
.section-heading h2,.personalization h2,.updates-section h2,.contact-section h2 {
  font-size:clamp(30px,3.4vw,43px);
  line-height:1.18;
  letter-spacing:-.04em;
  color:var(--navy);
  margin-bottom:16px
}
.section-heading>p:last-child {
  font-size:18px;
  color:var(--muted);
  line-height:1.8
}
.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  max-width:1120px;
  margin:auto
}
.feature-card {
  padding:27px 25px 25px;
  background:#fff;
  border:1px solid #E5ECF3;
  border-radius:12px;
  transition:transform .2s,box-shadow .2s
}
.feature-card:hover {
  transform:translateY(-4px);
  box-shadow:var(--shadow)
}
.feature-icon {
  width:43px;
  height:43px;
  border-radius:11px;
  background:#EAF3FC;
  color:var(--blue);
  display:grid;
  place-items:center;
  font-size:26px;
  margin-bottom:20px
}
.feature-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%)
          invert(22%) sepia(91%) saturate(1800%)
          hue-rotate(195deg) brightness(90%);
}
.feature-card h3 {
  font-size:17px;
  color:var(--navy);
  margin-bottom:10px
}
.feature-card p {
  font-size:16px;
  color:var(--muted);
  line-height:1.75;
  margin-bottom:0
}
.material-symbol {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 26px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
}
.personalization {
  padding:100px clamp(22px,8vw,128px);
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:70px;
  align-items:center
}
.personalization-copy {
  max-width:450px
}
.personalization-copy>p:not(.eyebrow) {
  font-size:18px;
  color:var(--muted);
  line-height:1.8
}
.personalization-image {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}
.check-list {
  list-style:none;
  padding:0;
  margin:23px 0 28px;
  display:grid;
  gap:11px;
  font-size:16px;
  font-weight:600;
  color:#425168
}
.check-list li:before {
  content:"✓";
  display:inline-grid;
  place-items:center;
  width:21px;
  height:21px;
  margin-right:10px;
  border-radius:50%;
  background:#E8F5EC;
  color:#2B854B;
  font-size:11px
}
.palette-showcase {
  min-height:340px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  padding:30px 0
}
.palette-card {
  position:relative;
  width:32%;
  min-width:0;
  min-height:245px;
  padding:12px 10px;
  border-radius:11px;
  background:#fff;
  box-shadow:0 18px 42px #12233f1a;
  border:1px solid #E5ECF3;
  transform:rotate(-4deg)
}
.palette-card:nth-child(2) {
  transform:translateY(-22px);
  z-index:2
}
.palette-card:nth-child(3) {
  transform:rotate(4deg)
}
.palette-head {
  display:flex;
  align-items:center;
  gap:5px;
  font-size:8px;
  font-weight:700;
  padding-bottom:11px;
  border-bottom:1px solid #EDF1F5
}
.palette-head i {
  font-style:normal;
  margin-left:auto;
  font-size:9px
}
.palette-mark {
  display:grid;
  place-items:center;
  width:21px;
  height:21px;
  background:var(--theme);
  color:#fff;
  border-radius:6px;
  font-weight:800
}
.palette-welcome {
  font-size:8px;
  color:#8A95A5;
  margin:15px 0
}
.palette-welcome b {
  display:block;
  font:800 12px Manrope;
  color:var(--navy)
}
.palette-tiles {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px
}
.palette-tiles span {
  height:52px;
  border-radius:6px;
  background:linear-gradient(135deg,var(--theme),var(--accent));
  opacity:.95
}
.palette-tiles span:nth-child(2),.palette-tiles span:nth-child(3) {
  opacity:.15
}
.palette-caption {
  position:absolute;
  bottom:10px;
  left:10px;
  font-size:7px;
  letter-spacing:.1em;
  font-weight:800;
  color:var(--theme)
}
.palette-blue {
  --theme:#0756A8;
  --accent:#D8AD4A
}
.palette-purple {
  --theme:#7849A3;
  --accent:#D92B83
}
.palette-green {
  --theme:#276D49;
  --accent:#F08A36
}
.roles-section {
  padding:90px clamp(22px,8vw,128px);
  background:#F4F8FC
}
.role-row {
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px
}
.role-row article {
  text-align:center;
  padding:25px 18px;
  background:#fff;
  border:1px solid #E3EAF2;
  border-radius:12px
}
.role-symbol {
  width:52px;
  height:52px;
  margin:0 auto 17px;
  border-radius:15px;
  display:grid;
  place-items:center;
  font:800 20px Manrope
}
.role-admin {
  background:#E7EFFB;
  color:#0756A8
}
.role-instructor {
  background:#F5EAF9;
  color:#8647A1
}
.role-groom {
  background:#E7F5EC;
  color:#2B854B
}
.role-member {
  background:#FFF0E5;
  color:#B56B2A
}
.role-row h3 {
  font-size:16px;
  color:var(--navy);
  margin-bottom:7px
}
.role-row p {
  font-size:14px;
  color:var(--muted);
  margin:0;
  line-height:1.7
}
.centers-section {
  padding:100px clamp(22px,8vw,128px)
}
.centers-note {
  max-width:950px;
  margin:auto;
  padding:25px 28px;
  border:1px solid #E3EAF2;
  border-radius:13px;
  display:flex;
  align-items:center;
  gap:18px;
  background:#fff;
  box-shadow:0 10px 30px #12233f08
}
.centers-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #EAF3FC;
  color: var(--blue);
  font-size: 30px;
  flex-shrink: 0;
}
.centers-note>div {
  flex:1
}
.centers-note b {
  font-size:18px;
  color:var(--navy)
}
.centers-note p {
  font-size:16px;
  color:var(--muted);
  margin:4px 0 0
}
.button-outline {
  border: 1px solid #0756A8;
  color: #0756A8;
  background: #fff;
  font-size: 15px;
  white-space: nowrap;
}

.button-outline:hover {
  background: #12233F;
  border-color: #12233F;
  color: #fff;
}
.updates-section {
  padding:62px clamp(22px,8vw,128px);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
  background:#F7F9FC
}
.updates-section h2 {
  font-size:31px
}
.updates-section>div:first-child>p:last-child {
  font-size:18px;
  color:var(--muted);
  max-width:490px
}
.update-placeholder {
  display:flex;
  align-items:center;
  gap:13px;
  padding:22px;
  background:#fff;
  border:1px solid #E4EBF3;
  border-radius:10px
}
.update-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #D92B83;
  box-shadow: 0 0 0 5px #FBE8F2;
  flex-shrink: 0;
}
.update-placeholder b,.update-placeholder small {
  display:block
}
.update-placeholder b {
  font-size:22px;
  color:var(--navy)
}
.update-placeholder small {
  font-size:18px;
  color:var(--muted);
  margin-top:4px
}
.contact-section {
  padding:76px clamp(22px,8vw,128px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:45px;
  background:#12233F;
  color:#fff
}
.contact-copy {
  max-width:640px
}
.contact-copy .eyebrow {
  color:#A7CDF4
}
.contact-section h2 {
  color:#fff;
  font-size:clamp(30px,3.4vw,41px)
}
.contact-copy>p:last-child {
  color:#C1CCDB;
  font-size:16px;
  line-height:1.7;
  margin-bottom:0
}
.contact-actions {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:11px;
  min-width:230px
}
.contact-email {
  color:#fff;
  font-size:15px;
  font-weight:600
}
.contact-whatsapp {
  font-size:15px;
  color:#B8C5D7
}
.site-footer {
  padding:34px clamp(22px,8vw,128px);
  background:#0D1B31;
  color:#B6C3D4;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 20px;
  align-items:center
}
.footer-brand {
  font-size:19px;
  font-weight:800;
  color:#fff
}
.footer-brand span {
  color:#8EBFF0
}
.site-footer>p {
  font-size:11px;
  margin:0
}
.footer-links {
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  font-size:11px 
}
.site-footer>small {
  justify-self:end;
  font-size:10px
}
.site-footer>small,.footer-links {
  margin-top:13px
}
@media(max-width:1000px) {
  .site-header {
    padding:0 24px
  }
  .main-nav {
    gap:13px;
    font-size:12px
  }
  .hero {
    padding:62px 36px;
    gap:28px
  }
  .hero h1 {
    font-size:49px
  }
  .section,.personalization,.roles-section,.centers-section {
    padding:76px 36px
  }
  .feature-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .personalization {
    gap:35px
  }
  .role-row {
    grid-template-columns:repeat(2,1fr)
  }
}
@media(max-width:760px) {
  .site-header {
    height:72px;
    padding:0 18px
  }
  .brand img {
    width:45px;
    height:45px
  }
  .brand-name {
    font-size:16px
  }
  .brand-name small {
    font-size:9px
  }
  .menu-toggle {
    display:block
  }
  .main-nav {
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:72px;
    padding:15px 20px 22px;
    background:#F4F8FC;
    border-bottom:1px solid #DDE7F1;
    box-shadow:0 16px 28px #12233f12;
    align-items:stretch;
    flex-direction:column;
    gap:0
  }
  .main-nav.open {
    display:flex
  }
  .main-nav>a {
    padding:12px 4px
  }
  .main-nav .nav-cta {
    margin-top:8px;
    text-align:center;
    padding:12px
  }
  .hero {
    grid-template-columns:1fr;
    padding:55px 22px 42px;
    gap:16px
  }
  .hero h1 {
    font-size:43px
  }
  .hero-copy>p:not(.eyebrow) {
    font-size:15px
  }
  .hero-actions {
    gap:17px
  }
  .hero-dots {
    margin-top:28px
  }
  .hero-visual {
    min-height:315px;
    margin:0 -5px
  }
  .mockup-window {
    width:100%;
    transform:none
  }
  .mockup-content {
    padding:16px
  }
  .mockup-greeting strong {
    font-size:19px
  }
  .mockup-stats {
    gap:6px
  }
  .mockup-stats>div {
    padding:8px 6px;
    grid-template-columns:21px 1fr
  }
  .stat-icon {
    width:21px;
    height:21px
  }
  .mockup-stats b {
    font-size:16px
  }
  .mockup-cards>div {
    padding:9px 7px;
    grid-template-columns:23px 1fr;
    gap:6px
  }
  .mini-icon {
    width:23px;
    height:23px
  }
  .mockup-cards b {
    font-size:9px
  }
  .floating-note {
    right:0;
    bottom:0;
    padding:10px 12px
  }
  .trust-strip {
    grid-template-columns:1fr;
    gap:14px;
    padding:22px
  }
  .trust-strip>div {
    justify-content:flex-start
  }
  .section,.personalization,.roles-section,.centers-section {
    padding:65px 22px
  }
  .section-heading {
    margin-bottom:30px
  }
  .section-heading h2,.personalization h2 {
    font-size:32px
  }
  .section-heading>p:last-child {
    font-size:14px
  }
  .feature-grid {
    gap:11px
  }
  .feature-card {
    padding:18px 15px
  }
  .feature-icon {
    width:37px;
    height:37px;
    margin-bottom:14px
  }
  .feature-card h3 {
    font-size:14px
  }
  .feature-card p {
    font-size:16px
  }
  .personalization {
    grid-template-columns:1fr;
    gap:15px
  }
  .palette-showcase {
    min-height:285px;
    padding:22px 0
  }
  .palette-card {
    min-height:210px;
    padding:9px 7px
  }
  .palette-head {
    font-size:7px;
    gap:3px
  }
  .palette-mark {
    width:17px;
    height:17px
  }
  .palette-welcome b {
    font-size:10px
  }
  .palette-tiles span {
    height:42px
  }
  .palette-caption {
    font-size:6px;
    left:7px
  }
  .role-row {
    gap:10px
  }
  .role-row article {
    padding:20px 12px
  }
  .role-row p {
    font-size:11px
  }
  .centers-note {
    align-items:flex-start;
    flex-wrap:wrap;
    padding:20px
  }
  .centers-note>div {
    min-width:calc(100% - 70px)
  }
  .centers-note .button {
    margin-left:66px
  }
  .updates-section {
    grid-template-columns:1fr;
    gap:18px;
    padding:60px 22px
  }
  .updates-section h2 {
    font-size:29px
  }
  .contact-section {
    padding:60px 22px;
    display:block
  }
  .contact-actions {
    margin-top:25px
  }
  .site-footer {
    grid-template-columns:1fr;
    padding:30px 22px
  }
  .site-footer>small {
    justify-self:start
  }
  .footer-links {
    gap:14px
  }
  .site-footer>small,.footer-links {
    margin-top:8px
  }
}
@media(max-width:390px) {
  .hero h1 {
    font-size:38px
  }
  .feature-grid {
    grid-template-columns:1fr
  }
  .palette-card {
    min-height:190px
  }
  .palette-tiles span {
    height:35px
  }
  .mockup-stats small {
    font-size:8px
  }
  .mockup-cards b {
    font-size:8px
  }
}



/* =========================================================
   FASCIA CONTATTI
   ========================================================= */




/* Allineamento superiore della fascia contatti */
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px auto;
    align-items: start;
    column-gap: 36px;
}

/* Colonna webapp */
.contact-webapp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Titolo allineato a COMINCIAMO DA QUI */
.contact-webapp .eyebrow {
    margin: 0 0 14px;
    padding: 0;
    color: #8dcaff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.4;
    white-space: nowrap;
     transform: translateY(0px);
}

.contact-copy .eyebrow,
.contact-webapp .eyebrow {
    margin-top: 0;
}

/* QR allineato circa all'altezza del pulsante */
/* QR code */
.contact-qr-link {
    display: block;
    width: 115px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    border-radius: 10px;
    overflow: hidden;
    transform: translateY(0px);
}

.contact-qr {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Contatti */
.contact-actions {
    min-width: 0;
    transform: translateY(30px);
}





/* Tablet */
@media (max-width: 900px) {
    .contact-section {
        grid-template-columns: minmax(0, 1fr) 150px;
        column-gap: 28px;
        row-gap: 28px;
    }

    .contact-copy {
        grid-column: 1 / -1;
    }

    .contact-webapp {
        grid-column: 1;
        align-items: flex-start;
    }

    .contact-actions {
        grid-column: 2;
    }
}

/* Smartphone */
@media (max-width: 560px) {
    .contact-section {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 24px;
    }

    .contact-copy,
    .contact-webapp,
    .contact-actions {
        grid-column: 1;
    }

    .contact-webapp {
        align-items: flex-start;
    }

    .contact-webapp .eyebrow {
        white-space: normal;
    }

    .contact-qr-link {
        width: 112px;
    }
}




/* =========================================================
   HEADER GLENN HORSE - logo grande e navigazione leggibile
   ========================================================= */
.site-header {
  min-height: 140px;
  height: auto;
  padding: 10px clamp(22px, 5.5vw, 88px);
}
.brand {
  min-width: 0;
  flex-shrink: 0;
  gap: 14px;
}
.brand img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.brand-name {
  font-size: 21px;
}
.brand-name small {
  font-size: 11px;
}
.main-nav {
  gap: 8px;
  font-size: 16px;
}
.main-nav > a:not(.nav-cta) {
  position: relative;
  padding: 12px 14px;
  border-radius: 7px;
  transition: background .2s, color .2s;
}
.main-nav > a:not(.nav-cta):hover {
  background: var(--blue);
  color: #fff;
}
.main-nav > a:not(.nav-cta).active {
  color: var(--blue);
}
.main-nav > a:not(.nav-cta).active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
}
.nav-cta {
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 700;
}
.nav-cta:hover {
  background: var(--fuchsia-dark);
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 1000px) and (min-width: 761px) {
  .site-header {
    padding: 10px 24px;
  }
  .brand img {
    width: 88px;
    height: 88px;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-name small {
    font-size: 10px;
  }
  .main-nav {
    gap: 3px;
    font-size: 13px;
  }
  .main-nav > a:not(.nav-cta) {
    padding: 10px 8px;
  }
  .nav-cta {
    padding: 11px 12px;
    font-size: 13px;
  }
}
@media (max-width: 760px) {
  .site-header {
    min-height: 82px;
    height: auto;
    padding: 8px 18px;
  }
  .brand {
    gap: 9px;
  }
  .brand img {
    width: 64px;
    height: 64px;
  }
  .brand-name {
    font-size: 16px;
  }
  .brand-name small {
    font-size: 9px;
  }
  .menu-toggle {
    display: block;
    border: 0;
    background: transparent;
    font-size: 30px;
    color: var(--navy);
    cursor: pointer;
    padding: 8px;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 12px 18px 20px;
    background: #F4F8FC;
    border-bottom: 1px solid #DDE7F1;
    box-shadow: 0 16px 28px #12233f12;
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
    font-size: 16px;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav > a:not(.nav-cta) {
    padding: 13px 14px;
    font-size: 16px;
  }
  .main-nav > a:not(.nav-cta).active::after {
    left: 14px;
    right: auto;
    width: 36px;
    bottom: 4px;
  }
  .main-nav .nav-cta {
    margin-top: 8px;
    text-align: center;
    padding: 13px;
  }
}



/* =========================================
    HERO GLENNHORSE - BLOCCO UNICO
  ========================================= */

.hero {
  position: relative;
  isolation: isolate;
  height: 350px;
  min-height: 0;
  padding: 18px 30px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  background: #fff;
}

/* Sfondo fucsia esteso su tutta la hero */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../gwa_images/hero_sfondo_fucsia.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

/* Colonna sinistra: testo e pulsanti */
.hero-copy {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-copy .eyebrow {
  font-size: 13px;
  margin-bottom: 10px;
}

.hero-copy h1 {
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.12;
  margin-bottom: 12px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 475px;
  font-size: 20px;
  line-height: 1.45;
  margin-bottom: 0;
  color: #00040a;
}

/* Pulsanti affiancati su desktop */
.hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 0;
}

.hero-actions .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  box-sizing: border-box;
  padding: 12px 20px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease,
              color 0.2s ease,
              border-color 0.2s ease;
}

.hero-actions .text-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.hero-actions .button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  box-sizing: border-box;
  padding: 12px 22px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  white-space: nowrap;
}

.hero-actions .button-primary:hover {
  background: var(--navy);
}

/* Indicatori del carosello */
.hero-dots {
  display: flex;
  gap: 9px;
  margin-top: auto;
  padding-top: 10px;
}

/* Colonna destra: dispositivi */
.hero-visual {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 20px rgba(18, 35, 63, 0.08));
}

/* Tablet e schermi medi */
@media (max-width: 1000px) and (min-width: 761px) {
  .hero {
    padding: 18px 24px;
    gap: 16px;
    grid-template-columns: 0.95fr 1.05fr;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 3.5vw, 38px);
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .text-link,
  .hero-actions .button-primary {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 15px;
  }
}

/* Smartphone */
@media (max-width: 760px) {
  .hero {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 28px 22px 24px;
    gap: 18px;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    height: auto;
    max-width: none;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 8vw, 44px);
    line-height: 1.12;
    margin-bottom: 14px;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: none;
    font-size: 17px;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 14px;
  }

  .hero-actions .text-link,
  .hero-actions .button-primary {
    min-height: 48px;
  }

  .hero-dots {
    margin-top: 18px;
    padding-top: 0;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: auto;
    overflow: visible;
    margin: 0;
  }

  .hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }
}

/* Smartphone stretti */
@media (max-width: 390px) {
  .hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }
}

/* =========================================
   MODULO INFO - BLOCCO UNICO
  ========================================= */

.info-page {
  background: #F4F8FC;
  min-height: 75vh;
  padding: 55px 20px;
}

.info-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(18, 35, 63, 0.08);
}

.info-container h1 {
  color: #12233F;
  font-size: 32px;
  margin: 0 0 12px;
}

.info-intro {
  color: #52647A;
  line-height: 1.6;
  margin-bottom: 28px;
}

.info-form {
  display: grid;
  gap: 17px;
}

.info-form label {
  display: block;
  color: #12233F;
  font-weight: 600;
  margin-bottom: 7px;
}

.info-form input,
.info-form select,
.info-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #D5DFEA;
  border-radius: 9px;
  font: inherit;
  background: #FFFFFF;
  color: #12233F;
}

.info-form input:focus,
.info-form select:focus,
.info-form textarea:focus {
  outline: 2px solid #0756A8;
  outline-offset: 1px;
}

.info-form textarea {
  min-height: 120px;
  resize: vertical;
}

.info-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.info-submit,
.info-home {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 9px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}

.info-submit {
  background: #0756A8;
  color: #FFFFFF;
  border: 1px solid #0756A8;
}

.info-submit:hover {
  background: #12233F;
  border-color: #12233F;
}

.info-home {
  color: #0756A8;
  border: 1px solid #0756A8;
  background: #FFFFFF;
}

.info-message {
  padding: 13px 15px;
  border-radius: 9px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.info-error {
  background: #FFF0F0;
  color: #9B1C1C;
}

.info-success {
  background: #EAF7EF;
  color: #17663A;
}

.info-limit {
  color: #52647A;
  font-size: 13px;
  margin-top: 16px;
}

/* Campo invisibile anti-bot */
.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .info-page {
    padding: 28px 14px;
  }

  .info-container {
    padding: 24px 18px;
  }

  .info-container h1 {
    font-size: 26px;
  }

  .info-buttons > * {
    width: 100%;
    box-sizing: border-box;
  }
}

        
.request-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.request-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid #d5deea;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.request-option:has(input:checked) {
  border-color: #0756A8;
  background: #F4F8FC;
  color: #0756A8;
}

.request-option input {
  accent-color: #0756A8;
}
        
.request-option input[type="radio"] {
  display: none;
}


.privacy-acceptance {
  margin: 18px 0;
}

.privacy-acceptance label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.privacy-acceptance input[type="checkbox"] {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 16px;
  accent-color: #0756A8;
}

.privacy-acceptance a {
  color: #0756A8;
  text-decoration: underline;
}

/* =========================================
   PAGINA PRIVACY 
  ========================================= */
        
.privacy-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.privacy-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.privacy-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 35, 63, 0.65);
}

.privacy-modal-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 850px;
    height: 85vh;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
}

.privacy-modal-content h2 {
    margin: 0 40px 16px 0;
    color: #12233F;
}

.privacy-modal-content iframe {
    flex: 1;
    width: 100%;
    min-height: 0;
    border: 1px solid #d5deea;
    border-radius: 6px;
}

.privacy-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: transparent;
    color: #12233F;
    font-size: 30px;
    cursor: pointer;
}

body.privacy-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .privacy-modal-content {
        height: 90vh;
        padding: 18px;
    }
}


/* =========================================
   PAGINA PRIVACY VISUALIZZAZIONE NEL POP
  ========================================= */

  .policy-popup-page {
    margin: 0;
    padding: 20px;
    background: #ffffff;
    color: #263746;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.policy-popup-page .policy-content {
    max-width: 100%;
    margin: 0;
}

.policy-popup-page .policy-content h2 {
    color: #000000;
    margin-top: 0;
}

.policy-popup-page .policy-content h3 {
    color: #000000;
    margin-top: 28px;
    margin-bottom: 12px;
}

.policy-popup-page .policy-content p,
.policy-popup-page .policy-content li {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.policy-popup-page .policy-owner a {
    color: #000000;
}

/* Pulsante Chiudi */
.policy-popup-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #d8e1eb;
}


.policy-popup-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #d8e1eb;
}

.policy-popup-actions button {
    padding: 10px 22px;
    border: 1px solid #0756A8;
    border-radius: 6px;
    background: #ffffff;
    color: #0756A8;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.policy-popup-actions button:hover,
.policy-popup-actions button:focus,
.policy-popup-actions button:focus-visible,
.policy-popup-actions button:active {
    background: #12233F;
    border-color: #12233F;
    color: #ffffff;
}

.policy-popup-page .policy-content {
    border: none;
    border-top: none;
    box-shadow: none;
}


/* =========================================================
   GLENNHORSE - STORICO VERSIONI
   ========================================================= */

.versioni-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px 100px;
}

.versioni-intro {
    max-width: 750px;
    margin-bottom: 48px;
}

.versioni-intro h1 {
    margin: 12px 0 20px;
}

.versioni-intro > p:last-child {
    line-height: 1.7;
}

.versioni-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.versione-card {
    padding: 32px;
    border: 1px solid rgba(141, 202, 255, 0.20);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 4px 16px rgba(18, 35, 63, 0.04);
}

.versione-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.versione-card-header h2 {
    margin: 0;
    font-size: 24px;
}

.versione-badge {
    padding: 7px 14px;
    border-radius: 30px;
    background: rgba(141, 202, 255, 0.12);
    color: #8dcaff;
    font-size: 12px;
    font-weight: 700;
}

.versione-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 22px;
    opacity: 0.7;
    font-size: 13px;
}

.versione-descrizione {
    margin: 0;
    line-height: 1.8;
}

.versione-build {
    font-size: 16px;
    font-weight: 600;
    color: #12233f;
}

.versione-data {
    font-size: 15px;
    color: #526780;
}
.update-placeholder {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.update-dot {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin-top: 9px;
}

.update-content {
    flex: 1;
    min-width: 0;
}

.update-content small {
    display: block;
    margin-bottom: 8px;
}

.update-heading {
    margin: 0 0 8px;
}



@media (max-width: 560px) {
    .versioni-page {
        padding: 45px 20px 65px;
    }

    .versione-card {
        padding: 22px;
    }

    .versione-card-header h2 {
        font-size: 21px;
    }
}


/* ==========================================================
   ECCEZIONE PRIVACY - DA MANTENERE IN FONDO AL FILE CSS

   Motivo:
   La regola generale "section { border-top: ... }"
   serve a separare le sezioni della homepage.

   Nella pagina Privacy, invece, non vogliamo la linea
   sopra il contenuto.

   IMPORTANTE:
   - Non spostare questo blocco.
   - Non modificare la regola generale delle section.
   - Questa eccezione deve rimanere dopo tutte le altre
     regole CSS per avere la precedenza.
   ========================================================== */

.policy-page section {
    border-top: none;
}

/* ==========================================================
   ECCEZIONE STORICO VERSIONI
   Rimuove la linea sopra il contenuto della pagina.
   Da mantenere in fondo al file CSS.
   ========================================================== */

.versioni-page section {
    border-top: none;
}

/* ==========================================================
   BANNER INFORMATIVA COOKIE - DA MANTENERE IN FONDO AL FILE

   Banner informativo sui cookie tecnici.
   La chiusura viene gestita da gwa_script.js.
   Non è un banner di raccolta del consenso.
   ========================================================== */

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 10000;
    max-width: 760px;
    margin: 0 auto;
    padding: 18px 22px;
    background: #ffffff;
    color: #263746;
    border: 1px solid #d8e1eb;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(18, 35, 63, 0.18);
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

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

.cookie-banner button {
    flex-shrink: 0;
    padding: 10px 18px;
    border: 1px solid #0756A8;
    border-radius: 6px;
    background: #0756A8;
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-banner button:hover,
.cookie-banner button:focus-visible {
    background: #12233F;
    border-color: #12233F;
}

.cookie-banner.is-hidden {
    display: none;
}

@media (max-width: 600px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cookie-banner button {
        align-self: flex-end;
    }
}
.cookie-banner a {
    display: block;
    width: fit-content;
    margin-top: 0;
    color: #0756A8;
    text-decoration: underline;
}
