:root {
  --blue: #101b26;
  --gold: #af9363;
  --paper: #f8f5ef;
  --white: #ffffff;
  --text: #1a2d4c;
  --muted: #1a2d4c;
  --line: #1a2d4c80;
  --field: #1a2d4c;
}

@font-face {
  font-family: 'Gotham';
  src: url('../assets/font/Gotham-Regular.woff2') format('woff2'),
    url('../assets/font/Gotham-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../assets/font/Gotham-Bold.woff2') format('woff2'),
    url('../assets/font/Gotham-Bold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../assets/font/Gotham-Medium.woff2') format('woff2'),
    url('../assets/font/Gotham-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../assets/font/Gotham-Light.woff2') format('woff2'),
    url('../assets/font/Gotham-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../assets/font/Gotham-Thin.woff2') format('woff2'),
    url('../assets/font/Gotham-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
}







* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Gotham', sans-serif !important;
  font-weight: 300;
}

body {
  min-height: 100vh;
  color: var(--text);
  background-size: cover;
  background-position: left;
}

.hero {
  width: 100%;
  padding: 0 auto;
  background: url('https://www.abruzzoeconomysummit.it/wp-content/uploads/2026/08/MATERIALI-SITO-02-scaled.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 450px) {
  .hero {
    padding: 0 20px;
  }
}

.hero>div {
  width: 1140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  min-height: 100vh;
}

.kenburns-hero {
  position: relative;
  overflow: hidden;
}

.kenburns-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  animation: kenburnsZoom 15s ease-in-out infinite alternate;
  z-index: 0;
}

.kenburns-hero>* {
  position: relative;
  z-index: 1;
}

.hero .hero-kicker {
  font-family: 'Gotham', sans-serif !important;
  font-size: 30px;
  color: #fff;
}

.hero .hero-title {
  font-family: 'Gotham', sans-serif !important;
  font-size: 125px;
  font-weight: 500;
  color: #fff;
  line-height: 1em;

}

@media screen and (max-width: 450px) {
  .hero .hero-title {
    font-size: 60px;
  }
}

.main-header {
  background-color: #101B26;
}

.main-header div {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 0;
}

.main-header .offcanvas-btn {
  display: inline-grid;
  grid-template-columns: repeat(3, 5px);
  grid-template-rows: repeat(3, 5px);
  gap: 6px;

  width: auto;
  height: auto;
  padding: 5px;

  background: transparent;
  border: 0;
  border-radius: 0;
  appearance: none;
  outline: none;

  align-items: center;
  justify-items: center;
  cursor: pointer;
}

.main-header .offcanvas-btn span {
  display: block;
  width: 5px;
  height: 5px;
  margin: 0;
  border-radius: 50%;
}

.main-header .dot-1,
.main-header .dot-3,
.main-header .dot-5,
.main-header .dot-7,
.main-header .dot-9 {
  background-color: #fff;
}

.main-header .dot-2,
.main-header .dot-8 {
  background-color: #fff;
}

.main-header .dot-4,
.main-header .dot-6 {
  background-color: #fff;
}


.go-back {
  color: #fff;
  text-decoration: none;
}

.go-back:hover {
  text-decoration: underline;
}

.offcanvas {
  /* Gradient di base */
  background-color: #101B26;
}

.offcanvas::before {
  content: "";
  position: absolute;
  inset: 0;

  /* Immagine geometrica in overlay */
  background-image: url("https://www.abruzzoeconomysummit.it/wp-content/uploads/2026/08/MATERIALI-SITO-01-scaled.jpg");
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

/* Porta i contenuti sopra lo sfondo */
.offcanvas>* {
  position: relative;
  z-index: 1;
}

.offcanvas-header {
  padding-left: 32px !important;
  padding-right: 32px !important;
  padding-top: 32px !important;
}

.offcanvas-divider {
  width: 100%;
  height: 1px;
  background-color: #ffffff80;
  margin: 30px 32px;

}

.offcanvas-body {
  padding: 32px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.offcanvas-body ul {
  list-style-type: none;
  padding: 0;
}

.offcanvas-body ul li {
  padding: 20px;
}

.offcanvas-body ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  transition: all 0.75s ease;
}

.offcanvas-body ul li a:hover {
  color: #af9768;
}

.offcanvas-body .social-link {
  border: 1px solid #fff;
  background-color: transparent;
  color: #fff;
  display: block;
  margin-right: 16px;
  text-decoration: none;
  padding: 8px;
}

.offcanvas-body .social-link svg {
  fill: #fff;
  width: 25px;
}

.btn-close {
  background-color: #fff;
}

.registration-page {
  width: 100%;
  max-width: 1140px;
  margin: 40px auto;
  min-height: calc(100vh - 72px);
}

.institutional-panel {
  position: relative;
  background: #17212C;
  color: var(--white);
  padding: 54px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.event-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.event-label::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
}

.panel-content {
  position: relative;
  z-index: 1;
  margin-top: 70px;
}

.panel-content h1 {
  font-size: clamp(38px, 4.7vw, 62px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.045em;
  margin-bottom: 26px;
}

.panel-content p {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
}

.panel-meta {
  position: relative;
  z-index: 1;
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid rgba(234, 220, 192, 0.25);
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.main-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  align-items: center;
}

.main-info .main-title {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.main-info .main-divider {
  width: 2px;
  height: 170px;
  margin: 0 32px;
  background-color: var(--text);
}

.main-info .logo {
  width: 400px;
}

.main-info .secondary-logos {
  display: flex;
  align-items: center;
  justify-content: end;
  width: fit-content;
  gap: 40px;
}

.main-info .secondary-logos img {
  width: 250px;
}

.main-text {
  margin: 0 auto 60px;
  padding: 0 40px 20px;
  border-bottom: 1px solid var(--gold);
  width: 100%;
  max-width: 940px;
}

.main-text .subtitle {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 0;
}

.main-text .argument {
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.2em;
  margin-bottom: 24px;
  text-align: center;
}

.main-text .info-orari {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 0;
  text-align: center;
}

.main-text .info-luogo {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 0;
  margin-top: 0;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .main-info {
    padding: 0 20px;
    flex-direction: column;
  }

  .main-info .logo {
    width: 100%;
  }

  .main-info .main-title {
    flex-direction: column;
    gap: 0;
  }

  .main-info .secondary-logos {
    justify-content: space-between;
    margin-top: 24px;
    gap: 0;
  }

  .main-info .secondary-logos img {
    width: 45%;
  }

  .main-info .main-divider {
    height: 1px;
    width: 100%;
    margin: 16px 0;
  }

  .main-text {
    width: 100%;
    padding: 0;
  }

  .main-text .info-luogo {
    margin-bottom: 20px;
  }

  .form-heading h2 {
    font-size: 40px !important;
  }
}


.form-inner {
  width: 100%;
}

.form-heading {
  margin-bottom: 34px;
  /*   border-bottom: 1px solid var(--line); */
}

.section-number {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-heading h2 {
  font-size: 50px;
  line-height: 1;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text);
  text-transform: uppercase;
}

.form-heading p {
  color: var(--text);
  font-size: 16px;
  font-weight: 300;
}

.registration-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

label {
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
}

input,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  padding: 13px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border-radius: 5px;
}

input::placeholder {
  color: #9ca4af;
}

input:focus,
select:focus {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(24, 72, 120, 0.11);
}

select {
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--blue) 50%),
    linear-gradient(135deg, var(--blue) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
  border-radius: 5px;
}

.privacy-box {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
}

.privacy-box input {
  width: 19px;
  height: 19px;
  min-height: auto;
  margin-top: 2px;
  accent-color: var(--gold);
}

.privacy-box label {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 300;
  color: var(--text);
}

.privacy-box a {
  color: var(--gold);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.required-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

button[type="submit"] {
  border: none;
  background: var(--gold);
  color: #fff;
  min-height: 54px;
  padding: 0 30px;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

button[type="submit"]:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.invalid-feedback {
  color: red;
  font-size: 14px;
}

@media (max-width: 920px) {

  .main-header {
    padding: 0 10px;
  }

  .registration-page {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0 20px;
  }

  .institutional-panel {
    padding: 42px 30px;
  }

  .institutional-panel::before {
    inset: 20px;
  }

  .panel-content {
    margin-top: 56px;
  }

  .panel-meta {
    margin-top: 48px;
  }

  .form-panel {
    padding: 0;
  }
}

@media (max-width: 640px) {

  .main-header {
    padding: 0 10px;
  }

  .institutional-panel {
    padding: 36px 24px;
  }

  .panel-content h1 {
    font-size: 40px;
  }

  .registration-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  button {
    width: 100%;
  }
}