/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      2.2
*/

@font-face {
    font-family: 'nomarkregular';
    src: url('fonts/nomark-webfont.woff2') format('woff2'),
         url('fonts/nomark-webfont.woff') format('woff'),
         url('fonts/nomark-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
  font-family: 'logouno';
  src: url('../generatepress_child/fonts/logouno.eot?52772896');
  src: url('../generatepress_childitaliawp2-child/fonts/logouno.eot?52772896#iefix') format('embedded-opentype'),
       url('../generatepress_child/fonts/logouno.woff2?52772896') format('woff2'),
       url('../generatepress_child/fonts/logouno.woff?52772896') format('woff'),
       url('../generatepress_child/fonts/logouno.ttf?52772896') format('truetype'),
       url('../generatepress_child/fonts/logouno.svg?52772896#logouno') format('svg');
  font-weight: normal;
  font-style: normal;
}


 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "logouno";
  font-style: normal;
  font-weight: normal;
  speak: none;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;

  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-logotipouno2019:before { content: '\e800'; } /* 'î €' */

.text-logotipouno2019{
      padding-left: 5px; 
      font-family: "logouno";
      font-style: normal;
      font-weight: normal;
      speak: none;

      display: inline-block;
      text-decoration: inherit;
      width: 1em;

      text-align: center;
      /* opacity: .8; */

      /* For safety - reset parent styles, that can break glyph codes*/
      font-variant: normal;
      text-transform: none;

      /* fix buttons height, for twitter bootstrap */
      line-height: 1em;

      /* Animation center compensation - margins should be symmetric */
      /* remove if not needed */


      /* You can be more comfortable with increased icons size */
      /* font-size: 120%; */

      /* Font smoothing. That was taken from TWBS */
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;

      /* Uncomment for 3D effect */
      /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

/* =========================================================
   ALGHERO BIKE — VARIABILI GRAFICHE
   ========================================================= */
:root {
  --ahb-ivory: #f8f4ea;
  --ahb-sand: #efe4cf;
  --ahb-card: #fffdf8;
  --ahb-yellow: #ddae2c;
  --ahb-yellow-light: #f2c94c;
  --ahb-red: #c92d35;
  --ahb-terracotta: #b8493f;
  --ahb-dark: #292621;
  --ahb-charcoal: #302c26;
  --ahb-muted: #6f675c;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body {
  color: var(--ahb-dark);
  background-color: var(--ahb-ivory);
}

/* ---------------------------------------------------------
   HOME — TRE DISCIPLINE
   --------------------------------------------------------- */
.ahb-disciplines {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(72px, 8vw, 110px) 20px;
  color: var(--ahb-dark);
  background:
    radial-gradient(circle at 8% 8%, rgba(221, 174, 44, .10), transparent 26%),
    var(--ahb-ivory);
}

.ahb-disciplines__inner {
  width: min(100%, 1200px);
  margin-inline: auto;
}

.ahb-section-heading {
  max-width: 790px;
  margin: 0 auto 54px;
  text-align: center;
}

.ahb-section-heading__eyebrow {
  margin: 0 0 12px;
  color: var(--ahb-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .26em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-section-heading h2 {
  margin: 0;
  color: var(--ahb-dark);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-transform: uppercase;
}

.ahb-section-heading h2 span {
  display: block;
  color: var(--ahb-red);
}

.ahb-section-heading__intro {
  max-width: 700px;
  margin: 22px auto 0;
  color: var(--ahb-muted);
  font-size: 17px;
  line-height: 1.7;
}

.ahb-disciplines__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ahb-discipline-card {
  --card-accent: var(--ahb-red);
  overflow: hidden;
  border: 1px solid rgba(184, 73, 63, .09);
  border-radius: 20px;
  background: var(--ahb-card);
  box-shadow: 0 18px 48px rgba(88, 68, 43, .10);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ahb-discipline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(88, 68, 43, .16);
}

.ahb-discipline-card--yellow {
  --card-accent: var(--ahb-yellow);
}

.ahb-discipline-card--dark {
  --card-accent: var(--ahb-terracotta);
}

.ahb-discipline-card__media {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--ahb-sand);
}

.ahb-discipline-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(41, 38, 33, .66), rgba(41, 38, 33, .03) 66%);
}

.ahb-discipline-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease;
}

.ahb-discipline-card:hover .ahb-discipline-card__media img {
  transform: scale(1.045);
}

.ahb-discipline-card__label {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.ahb-discipline-card__label > span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 28px;
  line-height: 1;
}

.ahb-discipline-card__label img.emoji {
  width: 1em !important;
  height: 1em !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

.ahb-discipline-card__label h3 {
  margin: 0;
  color: var(--card-accent);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(41, 38, 33, .38);
}

.ahb-discipline-card--dark .ahb-discipline-card__label h3 {
  color: var(--ahb-yellow-light);
}

.ahb-discipline-card__body {
  min-height: 190px;
  padding: 24px;
  border-bottom: 4px solid var(--card-accent);
}

.ahb-discipline-card__body > p {
  margin: 0 0 20px;
  color: var(--ahb-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ahb-discipline-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ahb-discipline-card__tags span {
  padding: 6px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--card-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.ahb-discipline-card--yellow .ahb-discipline-card__tags span {
  color: var(--ahb-dark);
}

@media (max-width: 900px) {
  .ahb-disciplines__grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }

  .ahb-discipline-card__body {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .ahb-disciplines {
    padding-inline: 16px;
  }

  .ahb-section-heading {
    margin-bottom: 38px;
  }

  .ahb-section-heading__intro {
    font-size: 15px;
  }

  .ahb-discipline-card {
    border-radius: 16px;
  }

  .ahb-discipline-card__media {
    height: 220px;
  }
}

/* ---------------------------------------------------------
   HOME — PALABIKE
   --------------------------------------------------------- */
.ahb-palabike {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(76px, 8vw, 116px) 20px;
  overflow: hidden;
  color: var(--ahb-dark);
  background:
    radial-gradient(circle at 92% 10%, rgba(221, 174, 44, .16), transparent 25%),
    linear-gradient(135deg, #fffdf8 0%, var(--ahb-sand) 100%);
}

.ahb-palabike::before,
.ahb-palabike::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.ahb-palabike::before {
  top: -110px;
  right: -90px;
  width: 270px;
  height: 270px;
  border: 44px solid rgba(201, 45, 53, .06);
}

.ahb-palabike::after {
  bottom: -100px;
  left: -80px;
  width: 230px;
  height: 230px;
  background: rgba(221, 174, 44, .10);
}

.ahb-palabike__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  margin-inline: auto;
}

.ahb-palabike__heading {
  max-width: 790px;
  margin-bottom: clamp(42px, 6vw, 70px);
}

.ahb-palabike__eyebrow {
  margin: 0 0 12px;
  color: var(--ahb-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .26em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-palabike__heading h2 {
  margin: 0;
  color: var(--ahb-dark);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  text-transform: uppercase;
}

.ahb-palabike__heading h2 span {
  display: block;
  color: var(--ahb-yellow);
}

.ahb-palabike__main {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
}

.ahb-palabike__copy {
  max-width: 550px;
}

.ahb-palabike__copy > p:not(.ahb-palabike__location) {
  margin: 0 0 22px;
  color: var(--ahb-muted);
  font-size: 18px;
  line-height: 1.75;
}

.ahb-palabike__copy strong {
  color: var(--ahb-dark);
  font-weight: 800;
}

.ahb-palabike__copy > p:nth-child(2) strong {
  color: var(--ahb-red);
}

.ahb-palabike__location {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 34px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(111, 103, 92, .18);
  color: var(--ahb-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.ahb-palabike__location span {
  color: var(--ahb-yellow);
  font-size: 12px;
  line-height: 1.8;
}

.ahb-palabike__media {
  position: relative;
  min-height: 390px;
  margin: 0 18px 18px 0;
}

.ahb-palabike__media::before,
.ahb-palabike__media::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.ahb-palabike__media::before {
  z-index: 1;
  top: -16px;
  left: -16px;
  width: 76px;
  height: 76px;
  border-top: 3px solid var(--ahb-red);
  border-left: 3px solid var(--ahb-red);
}

.ahb-palabike__media::after {
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 112px;
  height: 112px;
  border-radius: 18px;
  background: var(--ahb-yellow);
}

.ahb-palabike__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(88, 68, 43, .17);
}

.ahb-palabike__areas {
  margin-top: clamp(64px, 8vw, 96px);
  padding-top: 34px;
  border-top: 1px solid rgba(111, 103, 92, .18);
}

.ahb-palabike__areas > h3 {
  margin: 0 0 26px;
  color: var(--ahb-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .20em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-palabike__areas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ahb-palabike-card {
  position: relative;
  min-height: 235px;
  padding: clamp(28px, 4vw, 42px);
  overflow: hidden;
  border-radius: 20px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.ahb-palabike-card::after {
  position: absolute;
  top: -55px;
  right: -45px;
  width: 160px;
  height: 160px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
}

.ahb-palabike-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(88, 68, 43, .14);
}

.ahb-palabike-card--red {
  color: #fff;
  background: linear-gradient(135deg, var(--ahb-red), var(--ahb-terracotta));
}

.ahb-palabike-card--ochre {
  color: var(--ahb-dark);
  border: 1px solid rgba(221, 174, 44, .25);
  background: linear-gradient(135deg, #f5cf69, var(--ahb-yellow));
}

.ahb-palabike-card__label {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: inherit;
  opacity: .72;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ahb-palabike-card h4 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: inherit;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.05;
  text-transform: uppercase;
}

.ahb-palabike-card__text {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  color: inherit;
  opacity: .82;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .ahb-palabike__main {
    grid-template-columns: 1fr;
  }

  .ahb-palabike__copy {
    max-width: 720px;
  }

  .ahb-palabike__media {
    min-height: 340px;
  }

  .ahb-palabike__image {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  .ahb-palabike {
    padding-inline: 16px;
  }

  .ahb-palabike__main {
    gap: 42px;
  }

  .ahb-palabike__copy > p:not(.ahb-palabike__location) {
    font-size: 16px;
  }

  .ahb-palabike__media,
  .ahb-palabike__image {
    min-height: 260px;
  }

  .ahb-palabike__areas-grid {
    grid-template-columns: 1fr;
  }

  .ahb-palabike-card {
    min-height: 0;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ahb-palabike-card {
    transition: none;
  }
}

/* ---------------------------------------------------------
   HOME — RICHIEDI UNA PROVA
   --------------------------------------------------------- */
.ahb-trial {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(76px, 8vw, 116px) 20px;
  overflow: hidden;
  color: var(--ahb-dark);
  background:
    radial-gradient(circle at 4% 94%, rgba(184, 73, 63, .12), transparent 24%),
    linear-gradient(135deg, #f7d66f 0%, var(--ahb-yellow) 58%, #d79b22 100%);
}

.ahb-trial::before,
.ahb-trial::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.ahb-trial::before {
  top: -145px;
  right: -105px;
  width: 340px;
  height: 340px;
  background: rgba(255, 253, 248, .20);
}

.ahb-trial::after {
  bottom: -125px;
  left: -95px;
  width: 280px;
  height: 280px;
  border: 48px solid rgba(201, 45, 53, .09);
}

.ahb-trial__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(540px, 1.18fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  width: min(100%, 1280px);
  margin-inline: auto;
}

.ahb-trial__content {
  max-width: 620px;
}

.ahb-trial__eyebrow {
  margin: 0 0 12px;
  color: var(--ahb-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-trial__content h2 {
  margin: 0;
  color: var(--ahb-dark);
  font-size: clamp(40px, 5.5vw, 66px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
  text-transform: uppercase;
}

.ahb-trial__content h2 span {
  display: block;
  color: var(--ahb-red);
}

.ahb-trial__intro {
  max-width: 570px;
  margin: 24px 0 0;
  color: rgba(41, 38, 33, .78);
  font-size: 18px;
  line-height: 1.7;
}

.ahb-trial__info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.ahb-trial-info {
  min-height: 86px;
  padding: 17px 19px;
  border: 1px solid rgba(41, 38, 33, .12);
  border-radius: 14px;
  background: rgba(255, 253, 248, .48);
  backdrop-filter: blur(4px);
}

.ahb-trial-info span {
  display: block;
  margin-bottom: 7px;
  color: rgba(41, 38, 33, .62);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ahb-trial-info strong {
  display: block;
  color: var(--ahb-dark);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.ahb-trial__form-card {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(111, 103, 92, .10);
  border-radius: 22px;
  background: var(--ahb-card);
  box-shadow: 0 28px 70px rgba(88, 68, 43, .22);
}

.ahb-trial__form-card h3 {
  margin: 0;
  color: var(--ahb-dark);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.1;
  text-transform: uppercase;
}

.ahb-trial__form-intro {
  margin: 12px 0 28px;
  color: var(--ahb-muted);
  font-size: 14px;
  line-height: 1.6;
}

.ahb-trial__fallback {
  margin: 0;
  padding: 18px;
  border-left: 4px solid var(--ahb-yellow);
  border-radius: 0 10px 10px 0;
  color: var(--ahb-muted);
  background: var(--ahb-ivory);
  font-size: 14px;
  line-height: 1.6;
}

.ahb-trial__form label,
.ahb-trial__form .gfield_label {
  display: block;
  margin: 0 0 7px;
  color: var(--ahb-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.ahb-trial__form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.ahb-trial__form select,
.ahb-trial__form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(111, 103, 92, .25);
  border-radius: 9px;
  color: var(--ahb-dark);
  background: #fff;
  box-shadow: none;
}

.ahb-trial__form textarea {
  height: 86px !important;
  min-height: 86px !important;
  resize: vertical;
}

.ahb-trial__form input:focus,
.ahb-trial__form select:focus,
.ahb-trial__form textarea:focus {
  border-color: var(--ahb-yellow);
  outline: 2px solid rgba(221, 174, 44, .18);
  outline-offset: 1px;
}

.ahb-trial__form input[type="submit"],
.ahb-trial__form button[type="submit"],
.ahb-trial__form .gform_button {
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ahb-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}

.ahb-trial__form input[type="submit"]:hover,
.ahb-trial__form button[type="submit"]:hover,
.ahb-trial__form .gform_button:hover {
  transform: translateY(-2px);
  background: var(--ahb-terracotta);
}

.ahb-trial__form .gform_wrapper.gform-theme,
.ahb-trial__form .gform_wrapper.gform-theme form,
.ahb-trial__form .gform_wrapper.gform-theme .gform-body {
  width: 100%;
  max-width: none;
}

.ahb-trial__form .gform_wrapper.gform-theme {
  --gf-color-primary: var(--ahb-red);
  --gf-color-primary-rgb: 201, 45, 53;
  --gf-color-primary-darker: #a9232b;
  --gf-color-primary-lighter: #dc5860;
  --gf-radius: 9px;
}

.ahb-trial__form .gform_wrapper.gform-theme .gform_fields {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  column-gap: 16px !important;
  row-gap: 18px !important;
}

.ahb-trial__form .gform_wrapper.gform-theme .gform_fields > .gfield {
  grid-column: 1 / -1 !important;
  min-width: 0;
  margin: 0;
}

.ahb-trial__form .gform_wrapper.gform-theme .gform_fields > .gfield.gfield--width-half {
  grid-column: span 6 !important;
}

/* Posizioni esplicite del modulo prova (Gravity Forms ID 1). */
.ahb-trial__form #gform_fields_1 > #field_1_1 {
  grid-column: 1 / 7 !important;
}

.ahb-trial__form #gform_fields_1 > #field_1_2 {
  grid-column: 7 / 13 !important;
}

.ahb-trial__form .gform_wrapper.gform-theme .ginput_container {
  margin-top: 0;
}

.ahb-trial__form .gform_wrapper.gform-theme .gfield_description,
.ahb-trial__form .gform_wrapper.gform-theme .gform_fileupload_rules {
  color: var(--ahb-muted);
  font-size: 12px;
}

.ahb-trial__form .gform_wrapper.gform-theme .gform_footer {
  margin: 22px 0 0;
  padding: 0;
}

.ahb-trial__form .gform_wrapper.gform-theme .gform_footer .gform_button {
  width: 100%;
  margin: 0;
}

.ahb-trial__form .gfield_required {
  color: var(--ahb-red);
}

.ahb-trial__form .gfield_radio {
  display: grid;
  gap: 9px;
  margin: 4px 0 0;
}

.ahb-trial__form .ahb-age-options .gfield_radio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ahb-trial__form .gfield_radio .gchoice {
  position: relative;
}

.ahb-trial__form .gfield_radio input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  opacity: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.ahb-trial__form .gfield_radio label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 9px 12px;
  border: 2px solid rgba(111, 103, 92, .22);
  border-radius: 9px;
  color: var(--ahb-muted);
  background: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.ahb-trial__form .ahb-experience-options .gfield_radio label {
  justify-content: flex-start;
  padding-inline: 15px;
  text-align: left;
}

.ahb-trial__form .gfield_radio input[type="radio"]:checked + label {
  border-color: var(--ahb-red);
  color: #fff;
  background: var(--ahb-red);
}

.ahb-trial__form .ahb-experience-options .gfield_radio input[type="radio"]:checked + label {
  border-color: var(--ahb-dark);
  color: var(--ahb-yellow-light);
  background: var(--ahb-dark);
}

.ahb-trial__form .gfield_radio input[type="radio"]:focus-visible + label {
  outline: 3px solid rgba(221, 174, 44, .32);
  outline-offset: 2px;
}

.ahb-trial__form .gfield--type-consent {
  padding: 15px 16px;
  border: 1px solid rgba(111, 103, 92, .15);
  border-radius: 10px;
  background: rgba(248, 244, 234, .62);
}

.ahb-trial__form .gfield--type-consent .gfield_consent_label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.ahb-trial__form .gfield--type-consent input[type="checkbox"] {
  accent-color: var(--ahb-red);
}

.ahb-trial__form .gform_validation_errors,
.ahb-trial__form .gfield_validation_message {
  border-color: rgba(201, 45, 53, .22);
  border-radius: 9px;
  color: #8f252b;
  background: #fff2f2;
  box-shadow: none;
}

.ahb-trial__form .gform_confirmation_wrapper {
  padding: 25px;
  border-left: 5px solid var(--ahb-red);
  border-radius: 0 14px 14px 0;
  color: var(--ahb-dark);
  background: #fff;
  box-shadow: 0 14px 36px rgba(88, 68, 43, .10);
}

.ahb-trial__form .gform_confirmation_wrapper h3 {
  margin: 0 0 10px;
  color: var(--ahb-red);
  font-size: 23px;
}

.ahb-trial__form .gform_confirmation_wrapper p {
  margin: 0;
  color: var(--ahb-muted);
}

@media (max-width: 900px) {
  .ahb-trial__inner {
    grid-template-columns: 1fr;
  }

  .ahb-trial__content {
    max-width: 720px;
  }

  .ahb-trial__form-card {
    width: min(100%, 680px);
  }
}

@media (max-width: 640px) {
  .ahb-trial__form .gform_wrapper.gform-theme .gform_fields > .gfield.gfield--width-half {
    grid-column: 1 / -1 !important;
  }

  .ahb-trial__form #gform_fields_1 > #field_1_1,
  .ahb-trial__form #gform_fields_1 > #field_1_2 {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 520px) {
  .ahb-trial {
    padding-inline: 16px;
  }

  .ahb-trial__info-grid {
    grid-template-columns: 1fr;
  }

  .ahb-trial__form-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .ahb-trial__form input[type="submit"],
  .ahb-trial__form button[type="submit"],
  .ahb-trial__form .gform_button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ahb-trial__form input[type="submit"],
  .ahb-trial__form button[type="submit"],
  .ahb-trial__form .gform_button {
    transition: none;
  }
}

/* ---------------------------------------------------------
   HOME — FASCE D'ETÀ
   --------------------------------------------------------- */
.ahb-age-groups {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(76px, 8vw, 116px) 20px;
  color: var(--ahb-dark);
  background:
    radial-gradient(circle at 92% 12%, rgba(221, 174, 44, .08), transparent 24%),
    var(--ahb-card);
}

.ahb-age-groups__inner {
  width: min(100%, 1200px);
  margin-inline: auto;
}

.ahb-age-groups__heading {
  max-width: 820px;
  margin: 0 auto clamp(44px, 6vw, 68px);
  text-align: center;
}

.ahb-age-groups__eyebrow {
  margin: 0 0 12px;
  color: var(--ahb-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .25em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-age-groups__heading h2 {
  margin: 0;
  color: var(--ahb-dark);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.02;
  text-transform: uppercase;
}

.ahb-age-groups__heading h2 span {
  display: block;
  color: var(--ahb-red);
}

.ahb-age-groups__school-logo,
.ahb-why-us__school-logo {
  display: block;
  width: clamp(160px, 20vw, 225px);
  height: auto;
  max-height: 112px;
  margin: 24px auto 0;
  object-fit: contain;
}

.ahb-age-groups__intro {
  max-width: 740px;
  margin: 20px auto 0;
  color: var(--ahb-muted);
  font-size: 17px;
  line-height: 1.7;
}

.ahb-age-groups__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ahb-age-card {
  --age-accent: var(--ahb-yellow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(111, 103, 92, .12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(88, 68, 43, .09);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ahb-age-card--red {
  --age-accent: var(--ahb-red);
}

.ahb-age-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(88, 68, 43, .15);
}

.ahb-age-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  content: "";
  background: var(--age-accent);
}

.ahb-age-card__media {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--ahb-sand);
}

.ahb-age-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(41, 38, 33, .38), transparent 62%);
}

.ahb-age-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease;
}

.ahb-age-card:hover .ahb-age-card__image {
  transform: scale(1.045);
}

.ahb-age-card__badge {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ahb-dark);
  background: var(--age-accent);
  box-shadow: 0 8px 24px rgba(41, 38, 33, .18);
}

.ahb-age-card--red .ahb-age-card__badge {
  color: #fff;
}

.ahb-age-card__badge strong {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}

.ahb-age-card__badge span {
  opacity: .72;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ahb-age-card__body {
  min-height: 205px;
  padding: 26px 26px 32px;
}

.ahb-age-card__body h3 {
  margin: 0 0 13px;
  color: var(--age-accent);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.05;
  text-transform: uppercase;
}

.ahb-age-card--ochre .ahb-age-card__body h3 {
  color: var(--ahb-dark);
}

.ahb-age-card__body p {
  margin: 0;
  color: var(--ahb-muted);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .ahb-age-groups__grid {
    grid-template-columns: 1fr;
    max-width: 660px;
    margin-inline: auto;
  }

  .ahb-age-card {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) 1.1fr;
  }

  .ahb-age-card__media {
    height: auto;
    min-height: 240px;
  }

  .ahb-age-card__body {
    min-height: 0;
    align-self: center;
  }
}

@media (max-width: 620px) {
  .ahb-age-groups {
    padding-inline: 16px;
  }

  .ahb-age-groups__intro {
    font-size: 15px;
  }

  .ahb-age-card {
    display: block;
    border-radius: 16px;
  }

  .ahb-age-card__media {
    height: 220px;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ahb-age-card,
  .ahb-age-card__image {
    transition: none;
  }
}

/* ---------------------------------------------------------
   HOME — PERCHÉ SCEGLIERE LA SCUOLA
   --------------------------------------------------------- */
.ahb-why-us {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(76px, 8vw, 116px) 20px;
  color: var(--ahb-dark);
  background:
    radial-gradient(circle at 8% 92%, rgba(201, 45, 53, .06), transparent 24%),
    var(--ahb-ivory);
}

.ahb-why-us__inner {
  width: min(100%, 1200px);
  margin-inline: auto;
}

.ahb-why-us__heading {
  max-width: 820px;
  margin: 0 auto clamp(42px, 6vw, 66px);
  text-align: center;
}

.ahb-why-us__eyebrow {
  margin: 0 0 12px;
  color: var(--ahb-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .25em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-why-us__heading h2 {
  margin: 0;
  color: var(--ahb-dark);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.02;
  text-transform: uppercase;
}

.ahb-why-us__heading h2 span {
  display: block;
  color: var(--ahb-red);
}

.ahb-why-us__intro {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--ahb-muted);
  font-size: 17px;
  line-height: 1.7;
}

.ahb-why-us__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: clamp(42px, 6vw, 64px);
}

.ahb-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 155px;
  padding: 24px 18px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 14px 36px rgba(88, 68, 43, .10);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ahb-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(88, 68, 43, .16);
}

.ahb-stat--1 {
  color: #fff;
  background: linear-gradient(145deg, var(--ahb-red), var(--ahb-terracotta));
}

.ahb-stat--2 {
  color: var(--ahb-dark);
  background: linear-gradient(145deg, #f4ce67, var(--ahb-yellow));
}

.ahb-stat--3 {
  color: var(--ahb-dark);
  border: 1px solid rgba(221, 174, 44, .24);
  background: #fff9e9;
}

.ahb-stat--4 {
  color: var(--ahb-red);
  border: 1px solid rgba(201, 45, 53, .16);
  background: #fff4f2;
}

.ahb-stat strong {
  display: block;
  color: inherit;
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .95;
}

.ahb-stat span {
  display: block;
  max-width: 150px;
  margin-top: 10px;
  color: inherit;
  opacity: .72;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-why-us__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ahb-feature-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  min-height: 150px;
  padding: 26px;
  border: 1px solid rgba(111, 103, 92, .10);
  border-left: 5px solid var(--ahb-red);
  border-radius: 0 16px 16px 0;
  background: #fff;
  box-shadow: 0 12px 34px rgba(88, 68, 43, .07);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ahb-feature-card:nth-child(even) {
  border-left-color: var(--ahb-yellow);
}

.ahb-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(88, 68, 43, .12);
}

.ahb-feature-card__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ahb-ivory);
  font-size: 25px;
  line-height: 1;
}

.ahb-feature-card h3 {
  margin: 1px 0 7px;
  color: var(--ahb-dark);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .015em;
  line-height: 1.25;
  text-transform: uppercase;
}

.ahb-feature-card p {
  margin: 0;
  color: var(--ahb-muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 800px) {
  .ahb-why-us__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .ahb-why-us {
    padding-inline: 16px;
  }

  .ahb-why-us__intro {
    font-size: 15px;
  }

  .ahb-why-us__features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .ahb-stat {
    min-height: 135px;
    padding-inline: 12px;
  }

  .ahb-feature-card {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ahb-stat,
  .ahb-feature-card {
    transition: none;
  }
}

/* ---------------------------------------------------------
   HOME — TEAM E ISTRUTTORI
   --------------------------------------------------------- */
.ahb-team {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(76px, 8vw, 116px) 20px;
  overflow: hidden;
  color: var(--ahb-dark);
  background:
    radial-gradient(circle at 92% 8%, rgba(201, 45, 53, .09), transparent 24%),
    linear-gradient(145deg, #f5ead7 0%, var(--ahb-sand) 100%);
}

.ahb-team::before {
  position: absolute;
  bottom: -150px;
  left: -110px;
  width: 340px;
  height: 340px;
  content: "";
  border: 54px solid rgba(221, 174, 44, .11);
  border-radius: 50%;
  pointer-events: none;
}

.ahb-team__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  margin-inline: auto;
}

.ahb-team__heading {
  max-width: 820px;
  margin: 0 auto clamp(44px, 6vw, 68px);
  text-align: center;
}

.ahb-team__eyebrow {
  margin: 0 0 12px;
  color: var(--ahb-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .25em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-team__heading h2 {
  margin: 0;
  color: var(--ahb-dark);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.02;
  text-transform: uppercase;
}

.ahb-team__heading h2 span {
  display: block;
  color: var(--ahb-red);
}

.ahb-team__intro {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--ahb-muted);
  font-size: 17px;
  line-height: 1.7;
}

.ahb-team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ahb-team-card {
  --team-accent: var(--ahb-red);
  overflow: hidden;
  border: 1px solid rgba(111, 103, 92, .11);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 17px 46px rgba(88, 68, 43, .10);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ahb-team-card--2 {
  --team-accent: var(--ahb-yellow);
}

.ahb-team-card--3 {
  --team-accent: var(--ahb-terracotta);
}

.ahb-team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 58px rgba(88, 68, 43, .17);
}

.ahb-team-card__portrait {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 330px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .35), transparent 25%),
    linear-gradient(145deg, var(--team-accent), #e9d7b9);
}

.ahb-team-card__portrait::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  content: "";
  background: var(--team-accent);
}

.ahb-team-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease;
}

.ahb-team-card:hover .ahb-team-card__image {
  transform: scale(1.035);
}

.ahb-team-card__initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  border: 2px solid rgba(255, 255, 255, .60);
  border-radius: 50%;
  color: #fff;
  background: rgba(41, 38, 33, .14);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  box-shadow: 0 12px 35px rgba(41, 38, 33, .15);
}

.ahb-team-card__body {
  min-height: 310px;
  padding: 26px;
}

.ahb-team-card__body h3 {
  margin: 0;
  color: var(--ahb-dark);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.05;
  text-transform: uppercase;
}

.ahb-team-card__role {
  min-height: 34px;
  margin: 7px 0 18px;
  color: var(--team-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ahb-team-card blockquote {
  margin: 0 0 17px;
  padding: 14px 0 14px 17px;
  border-left: 3px solid var(--team-accent);
  color: var(--ahb-dark);
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.55;
}

.ahb-team-card__bio {
  margin: 0;
  color: var(--ahb-muted);
  font-size: 14px;
  line-height: 1.65;
}

.ahb-team__quote {
  position: relative;
  max-width: 950px;
  margin: clamp(55px, 8vw, 85px) auto 0;
  padding: clamp(35px, 5vw, 54px);
  border: 1px solid rgba(201, 45, 53, .24);
  border-radius: 20px;
  background: rgba(255, 253, 248, .72);
  box-shadow: 0 18px 48px rgba(88, 68, 43, .09);
  text-align: center;
}

.ahb-team__quote > span {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #fff;
  background: var(--ahb-red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ahb-team__quote blockquote {
  max-width: 780px;
  margin: 0 auto;
  color: var(--ahb-dark);
  font-size: clamp(19px, 2.5vw, 27px);
  font-style: italic;
  font-weight: 750;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .ahb-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .ahb-team {
    padding-inline: 16px;
  }

  .ahb-team__intro {
    font-size: 15px;
  }

  .ahb-team__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .ahb-team-card__portrait {
    height: 370px;
  }

  .ahb-team-card__body {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .ahb-team-card__portrait {
    height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ahb-team-card,
  .ahb-team-card__image {
    transition: none;
  }
}

/* ---------------------------------------------------------
   HOME — MANIFESTO
   --------------------------------------------------------- */
.ahb-manifesto {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(82px, 9vw, 128px) 20px;
  overflow: hidden;
  color: #fff;
  background-color: var(--ahb-terracotta);
  background-image: var(--ahb-manifesto-image, none);
  background-position: var(--ahb-manifesto-position, center center);
  background-repeat: no-repeat;
  background-size: cover;
}

.ahb-manifesto::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 85% 15%, rgba(242, 201, 76, .42), transparent 28%),
    linear-gradient(105deg, rgba(159, 54, 49, .96) 0%, rgba(201, 45, 53, .88) 52%, rgba(184, 73, 63, .78) 100%);
}

.ahb-manifesto::after {
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  content: "";
  border: 66px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
}

.ahb-manifesto__inner {
  width: min(100%, 980px);
  margin-inline: auto;
  text-align: center;
}

.ahb-manifesto__heading {
  max-width: 850px;
  margin-inline: auto;
}

.ahb-manifesto__eyebrow {
  margin: 0 0 14px;
  color: #ffe28a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .27em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-manifesto__heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
  text-shadow: 0 4px 22px rgba(91, 32, 29, .22);
  text-transform: uppercase;
}

.ahb-manifesto__heading h2 span {
  display: block;
  color: #ffe28a;
}

.ahb-manifesto__intro {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.6;
}

.ahb-manifesto__values {
  display: grid;
  gap: 14px;
  max-width: 850px;
  margin: clamp(42px, 6vw, 62px) auto 0;
}

.ahb-manifesto-value {
  display: flex;
  gap: 20px;
  align-items: baseline;
  justify-content: center;
  padding: 15px 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(255, 253, 248, .10);
  backdrop-filter: blur(5px);
}

.ahb-manifesto-value strong {
  flex: 0 0 auto;
  color: #ffe28a;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.1;
  text-transform: uppercase;
}

.ahb-manifesto-value--2 strong {
  color: #fff;
}

.ahb-manifesto-value span {
  color: rgba(255, 255, 255, .83);
  font-size: 16px;
  font-weight: 550;
  line-height: 1.5;
  text-align: left;
}

.ahb-manifesto__button,
.ahb-manifesto__button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: clamp(40px, 6vw, 58px);
  padding: 15px 30px;
  border: 2px solid #ffe28a;
  border-radius: 999px;
  color: var(--ahb-dark);
  background: #ffe28a;
  box-shadow: 0 14px 34px rgba(91, 32, 29, .22);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, color .2s ease, background-color .2s ease;
}

.ahb-manifesto__button:hover {
  transform: translateY(-3px);
  color: #fff;
  background: transparent;
}

@media (max-width: 680px) {
  .ahb-manifesto {
    padding-inline: 16px;
    background-position: 58% center;
  }

  .ahb-manifesto-value {
    display: block;
    padding: 18px;
    text-align: left;
  }

  .ahb-manifesto-value span {
    display: block;
    margin-top: 6px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ahb-manifesto__button {
    transition: none;
  }
}

/* ---------------------------------------------------------
   HOME — DALL'ALLENAMENTO ALLA GARA
   --------------------------------------------------------- */
.ahb-championship {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(76px, 8vw, 116px) 20px;
  color: var(--ahb-dark);
  background:
    radial-gradient(circle at 8% 10%, rgba(221, 174, 44, .09), transparent 25%),
    var(--ahb-card);
}

.ahb-championship__inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(450px, 1.05fr);
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
  width: min(100%, 1200px);
  margin-inline: auto;
}

.ahb-championship__eyebrow {
  margin: 0 0 12px;
  color: var(--ahb-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .26em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-championship__content h2 {
  margin: 0;
  color: var(--ahb-dark);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  text-transform: uppercase;
}

.ahb-championship__content h2 span {
  display: block;
  color: var(--ahb-red);
}

.ahb-championship__intro {
  margin: 23px 0 30px;
  color: var(--ahb-muted);
  font-size: 18px;
  line-height: 1.7;
}

.ahb-championship__box {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--ahb-red), var(--ahb-terracotta));
  box-shadow: 0 18px 44px rgba(184, 73, 63, .18);
}

.ahb-championship__box::after {
  position: absolute;
  top: -55px;
  right: -45px;
  width: 150px;
  height: 150px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
}

.ahb-championship__box h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ahb-championship__box p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 15px;
  line-height: 1.7;
}

.ahb-championship__quote {
  display: block;
  margin: 27px 0 0;
  padding: 6px 0 6px 21px;
  border-left: 4px solid var(--ahb-yellow);
}

.ahb-championship__quote strong,
.ahb-championship__quote span {
  display: block;
}

.ahb-championship__quote strong {
  margin-bottom: 5px;
  color: var(--ahb-dark);
  font-size: 18px;
  font-style: italic;
  font-weight: 850;
  line-height: 1.4;
}

.ahb-championship__quote span {
  color: var(--ahb-muted);
  font-size: 15px;
  line-height: 1.5;
}

.ahb-championship__media {
  position: relative;
  min-height: 480px;
  margin: 0 0 18px 18px;
}

.ahb-championship__media::before {
  position: absolute;
  z-index: 1;
  top: -18px;
  right: -18px;
  width: 92px;
  height: 92px;
  content: "";
  border-top: 3px solid var(--ahb-red);
  border-right: 3px solid var(--ahb-red);
}

.ahb-championship__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 25px 62px rgba(88, 68, 43, .17);
}

.ahb-championship__badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  display: flex;
  flex-direction: column;
  min-width: 115px;
  padding: 15px 18px;
  border-radius: 13px;
  color: var(--ahb-dark);
  background: var(--ahb-yellow);
  box-shadow: 0 13px 34px rgba(88, 68, 43, .18);
}

.ahb-championship__badge strong {
  color: inherit;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}

.ahb-championship__badge span {
  margin-top: 4px;
  color: inherit;
  opacity: .65;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .ahb-championship__inner {
    grid-template-columns: 1fr;
  }

  .ahb-championship__content {
    max-width: 720px;
  }

  .ahb-championship__media {
    min-height: 390px;
  }

  .ahb-championship__image {
    min-height: 390px;
  }
}

@media (max-width: 560px) {
  .ahb-championship {
    padding-inline: 16px;
  }

  .ahb-championship__intro {
    font-size: 16px;
  }

  .ahb-championship__media,
  .ahb-championship__image {
    min-height: 300px;
  }
}

/* ---------------------------------------------------------
   HOME — CHI SIAMO E CONTATTI
   --------------------------------------------------------- */
.ahb-about {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(78px, 9vw, 126px) 20px;
  overflow: hidden;
  color: var(--ahb-dark);
  background:
    radial-gradient(circle at 8% 10%, rgba(221, 174, 44, .14), transparent 24%),
    linear-gradient(180deg, #fffdf8 0%, #f8f1e5 100%);
}

.ahb-about::after {
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 330px;
  height: 330px;
  content: "";
  border: 52px solid rgba(192, 68, 58, .07);
  border-radius: 50%;
}

.ahb-about__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  margin-inline: auto;
}

.ahb-about__heading {
  width: min(100%, 780px);
  margin: 0 auto clamp(42px, 5vw, 66px);
  text-align: center;
}

.ahb-about__eyebrow {
  margin: 0 0 13px;
  color: var(--ahb-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-about h2 {
  margin: 0;
  color: var(--ahb-dark);
  font-size: clamp(39px, 5.5vw, 63px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
  text-transform: uppercase;
}

.ahb-about h2 span {
  display: block;
  margin-top: 12px;
  color: var(--ahb-terracotta);
  font-size: .53em;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.ahb-about__intro {
  margin: 23px auto 0;
  color: var(--ahb-muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.ahb-about-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 19px;
  min-height: 280px;
  padding: clamp(27px, 3.5vw, 42px);
  border: 1px solid rgba(88, 68, 43, .11);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 20px 55px rgba(88, 68, 43, .10);
}

.ahb-about-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: var(--ahb-red);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.ahb-about-card--school .ahb-about-card__icon {
  color: var(--ahb-dark);
  background: var(--ahb-yellow);
}

.ahb-about-card h3 {
  margin: 3px 0 27px;
  color: var(--ahb-dark);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ahb-about-card__label {
  margin: 0 0 6px;
  color: var(--ahb-terracotta);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-about-card__main {
  margin: 0 0 4px;
  color: var(--ahb-dark);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
}

.ahb-about-card__meta {
  margin: 0;
  color: var(--ahb-muted);
  font-size: 15px;
  line-height: 1.55;
}

.ahb-about-card__link,
.ahb-about-card__link:visited,
.ahb-about-card__hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 25px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(88, 68, 43, .12);
  color: var(--ahb-terracotta);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
}

.ahb-about-card__link:hover {
  color: var(--ahb-red);
}

.ahb-about-card__hours span {
  color: var(--ahb-yellow);
  font-size: 18px;
}

.ahb-about__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 24px;
  padding: 25px 28px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(115deg, var(--ahb-red), var(--ahb-terracotta));
  box-shadow: 0 17px 42px rgba(146, 53, 46, .17);
}

.ahb-about__contact p {
  margin: 0;
  color: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.ahb-about__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ahb-about__actions a,
.ahb-about__actions a:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 999px;
  color: var(--ahb-dark);
  background: #ffe28a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}

.ahb-about__actions a:hover {
  transform: translateY(-2px);
  color: var(--ahb-dark);
  background: #fff;
}

.ahb-about__actions .ahb-about__phone {
  color: #fff;
  background: rgba(65, 36, 29, .62);
}

.ahb-about__actions .ahb-about__phone:hover {
  color: var(--ahb-dark);
  background: #fff;
}

@media (max-width: 800px) {
  .ahb-about__grid {
    grid-template-columns: 1fr;
  }

  .ahb-about__contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .ahb-about__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .ahb-about {
    padding-inline: 16px;
  }

  .ahb-about-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ahb-about__actions,
  .ahb-about__actions a {
    width: 100%;
  }

  .ahb-about__actions a {
    justify-content: center;
  }
}

/* ---------------------------------------------------------
   HOME — CTA FINALE
   --------------------------------------------------------- */
.ahb-final-cta {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(84px, 10vw, 138px) 20px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 226, 138, .38), transparent 26%),
    linear-gradient(135deg, var(--ahb-red) 0%, var(--ahb-terracotta) 100%);
}

.ahb-final-cta::after {
  position: absolute;
  z-index: -1;
  top: -120px;
  right: -100px;
  width: 330px;
  height: 330px;
  content: "";
  border-radius: 50%;
  background: rgba(221, 174, 44, .24);
}

.ahb-final-cta__rings,
.ahb-final-cta__rings::before,
.ahb-final-cta__rings::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  content: "";
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ahb-final-cta__rings {
  width: min(760px, 82vw);
  height: min(760px, 82vw);
}

.ahb-final-cta__rings::before {
  width: 72%;
  height: 72%;
}

.ahb-final-cta__rings::after {
  width: 44%;
  height: 44%;
}

.ahb-final-cta__inner {
  width: min(100%, 850px);
  margin-inline: auto;
  text-align: center;
}

.ahb-final-cta__badge {
  display: inline-block;
  margin: 0 0 28px;
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--ahb-dark);
  background: #ffe28a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-final-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .93;
  text-shadow: 0 4px 24px rgba(91, 32, 29, .20);
  text-transform: uppercase;
}

.ahb-final-cta h2 span {
  display: block;
  color: #ffe28a;
}

.ahb-final-cta__lead {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.55;
}

.ahb-final-cta__text {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .70);
  font-size: 16px;
  line-height: 1.6;
}

.ahb-final-cta__button,
.ahb-final-cta__button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 38px;
  padding: 17px 34px;
  border: 2px solid #ffe28a;
  border-radius: 999px;
  color: var(--ahb-dark);
  background: #ffe28a;
  box-shadow: 0 16px 40px rgba(91, 32, 29, .25);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, color .2s ease, background-color .2s ease;
}

.ahb-final-cta__button:hover {
  transform: translateY(-3px);
  color: #fff;
  background: transparent;
}

.ahb-final-cta__note {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .ahb-final-cta {
    padding-inline: 16px;
  }

  .ahb-final-cta__badge {
    max-width: 320px;
  }

  .ahb-final-cta__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ahb-final-cta__button {
    transition: none;
  }
}

/* ---------------------------------------------------------
   HEADER E NAVIGAZIONE GENERATEPRESS
   Impostazione consigliata: Navigazione principale “Fluttua a destra”.
   --------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

.nav-float-right .site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(88, 68, 43, .09);
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 8px 28px rgba(58, 44, 29, .07);
  backdrop-filter: blur(14px);
}

.admin-bar.nav-float-right .site-header {
  top: 32px;
}

.nav-float-right .inside-header {
  width: min(100%, 1240px);
  min-height: 82px;
  margin-inline: auto;
  padding: 11px 24px;
}

.site-logo img,
.navigation-branding img {
  width: auto;
  max-height: 59px;
}

.nav-float-right #site-navigation {
  margin-left: auto;
  background: transparent;
}

.main-navigation .main-nav > ul {
  align-items: center;
  gap: 2px;
}

.main-navigation .main-nav > ul > li > a {
  position: relative;
  padding-inline: 12px;
  color: var(--ahb-dark);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 46px;
  text-transform: uppercase;
}

.main-navigation .main-nav > ul > li:not(.ahb-menu-cta) > a::after {
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 2px;
  content: "";
  background: var(--ahb-red);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .22s ease;
}

.main-navigation .main-nav > ul > li:hover > a,
.main-navigation .main-nav > ul > li:focus-within > a,
.main-navigation .main-nav > ul > li.current-menu-item > a {
  color: var(--ahb-red);
  background: transparent;
}

.main-navigation .main-nav > ul > li:hover > a::after,
.main-navigation .main-nav > ul > li:focus-within > a::after,
.main-navigation .main-nav > ul > li.current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.main-navigation .main-nav > ul > li.ahb-menu-cta {
  margin-left: 8px;
}

.main-navigation .main-nav > ul > li.ahb-menu-cta > a,
.main-navigation .main-nav > ul > li.ahb-menu-cta:hover > a,
.main-navigation .main-nav > ul > li.ahb-menu-cta:focus-within > a {
  padding-inline: 20px;
  border-radius: 999px;
  color: var(--ahb-dark);
  background: var(--ahb-yellow);
  box-shadow: 0 8px 22px rgba(165, 125, 24, .16);
}

.main-navigation .main-nav > ul > li.ahb-menu-cta > a:hover {
  color: #fff;
  background: var(--ahb-red);
}

.menu-toggle {
  border-radius: 999px;
  color: var(--ahb-dark);
  background: var(--ahb-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .nav-float-right .inside-header {
    min-height: 72px;
    padding: 8px 18px;
  }

  .site-logo img,
  .navigation-branding img {
    max-height: 52px;
  }

  .main-navigation.toggled .main-nav {
    position: fixed;
    z-index: 1001;
    top: var(--ahb-mobile-menu-top, 80px);
    right: 16px;
    left: 16px;
    max-height: calc(100dvh - var(--ahb-mobile-menu-top, 80px) - 12px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(88, 68, 43, .10);
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 20px 50px rgba(58, 44, 29, .16);
    scrollbar-width: thin;
  }

  .main-navigation.toggled .main-nav > ul {
    padding: 10px;
  }

  .main-navigation.toggled .main-nav > ul > li > a {
    padding-inline: 18px;
    line-height: 48px;
  }

  .main-navigation .main-nav > ul > li.ahb-menu-cta {
    margin: 7px 0 0;
  }
}

@media (max-width: 782px) {
  .admin-bar.nav-float-right .site-header {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .main-navigation .main-nav > ul > li > a::after {
    transition: none;
  }
}

/* ---------------------------------------------------------
   FOOTER GLOBALE — ELEMENTO GENERATEPRESS
   --------------------------------------------------------- */
.ahb-footer {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, .68);
  background: #292621;
}

.ahb-footer__accent {
  height: 6px;
  background: linear-gradient(90deg, var(--ahb-red) 0 34%, var(--ahb-yellow) 34% 70%, #f4d879 70% 100%);
}

.ahb-footer__inner {
  display: grid;
  grid-template-columns: minmax(250px, 1.15fr) minmax(280px, 1.4fr) minmax(240px, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  width: min(100%, 1240px);
  margin-inline: auto;
  padding: 52px 24px 42px;
}

.ahb-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ahb-footer__logos {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.ahb-footer__logo-link {
  flex: 0 0 auto;
}

.ahb-footer__logo {
  display: block;
  width: auto;
  max-width: 112px;
  height: 62px;
  object-fit: contain;
}

.ahb-footer__school-logo {
  display: block;
  width: auto;
  max-width: 108px;
  height: 62px;
  object-fit: contain;
}

.ahb-footer__name,
.ahb-footer__subtitle,
.ahb-footer__info p,
.ahb-footer__bottom p {
  margin: 0;
}

.ahb-footer__name {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ahb-footer__subtitle {
  margin-top: 4px;
  color: var(--ahb-yellow-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-footer__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ahb-footer__menu li {
  margin: 0;
}

.ahb-footer__menu a,
.ahb-footer__menu a:visited {
  color: rgba(255, 255, 255, .74);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
}

.ahb-footer__menu a:hover {
  color: var(--ahb-yellow-light);
}

.ahb-footer__info {
  text-align: right;
}

.ahb-footer__info p {
  font-size: 12px;
  line-height: 1.65;
}

.ahb-footer__affiliation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 3px;
}

.ahb-footer__fci-logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: 46px;
  height: 34px;
  object-fit: contain;
}

.ahb-footer__info a,
.ahb-footer__info a:visited {
  display: inline-block;
  margin-top: 8px;
  color: var(--ahb-yellow-light);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.ahb-footer__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 13px;
}

.ahb-footer__socials a,
.ahb-footer__socials a:visited {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  line-height: 1;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.ahb-footer__socials a:hover {
  border-color: rgba(242, 201, 76, .55);
  color: var(--ahb-yellow-light);
  background: rgba(255, 255, 255, .06);
}

.ahb-footer__socials svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.ahb-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1240px);
  margin-inline: auto;
  padding: 19px 24px 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .36);
  font-size: 11px;
  line-height: 1.5;
}

.ahb-footer__bottom > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ahb-footer__bottom a,
.ahb-footer__bottom a:visited {
  color: rgba(255, 255, 255, .52);
  text-decoration: none;
}

.ahb-footer__bottom a:hover {
  color: var(--ahb-yellow-light);
}

@media (max-width: 900px) {
  .ahb-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .ahb-footer__info {
    text-align: center;
  }

  .ahb-footer__affiliation {
    justify-content: center;
  }

  .ahb-footer__socials {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .ahb-footer__inner {
    padding-inline: 18px;
  }

  .ahb-footer__brand {
    flex-direction: column;
    text-align: center;
  }

  .ahb-footer__logos {
    justify-content: center;
  }

  .ahb-footer__menu {
    gap: 10px 16px;
  }

  .ahb-footer__bottom {
    align-items: center;
    flex-direction: column;
    padding-inline: 18px;
    text-align: center;
  }

  .ahb-footer__bottom > div {
    flex-direction: column;
    gap: 8px;
  }
}

/* ---------------------------------------------------------
   PAGINE INTERNE — FAQ E GALLERIA
   --------------------------------------------------------- */
body.page-template-page-faq .site-content,
body.page-template-page-gallery .site-content {
  display: block;
  padding: 0;
}

body.page-template-page-faq .content-area,
body.page-template-page-gallery .content-area,
.ahb-page {
  width: 100%;
  margin: 0;
}

.ahb-page [hidden] {
  display: none !important;
}

.ahb-subpage-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: clamp(112px, 13vw, 178px) 20px clamp(72px, 9vw, 112px);
  color: #fff;
  background:
    radial-gradient(circle at 13% 22%, rgba(242, 201, 76, .26), transparent 24%),
    radial-gradient(circle at 88% 80%, rgba(201, 45, 53, .30), transparent 28%),
    linear-gradient(135deg, #292621 0%, #3a3028 52%, #292621 100%);
}

.ahb-subpage-hero::before,
.ahb-subpage-hero::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ahb-subpage-hero::before {
  top: -180px;
  right: -90px;
  width: 430px;
  height: 430px;
}

.ahb-subpage-hero::after {
  bottom: -230px;
  left: -130px;
  width: 520px;
  height: 520px;
}

.ahb-subpage-hero--gallery {
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 201, 76, .25), transparent 24%),
    radial-gradient(circle at 12% 88%, rgba(201, 45, 53, .34), transparent 27%),
    linear-gradient(125deg, #292621, #40332a 60%, #292621);
}

.ahb-subpage-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1020px);
  margin-inline: auto;
  text-align: center;
}

.ahb-subpage-hero__eyebrow {
  margin: 0 0 14px;
  color: var(--ahb-yellow-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .28em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ahb-subpage-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
  text-transform: uppercase;
}

.ahb-subpage-hero h1 span {
  display: block;
  color: var(--ahb-yellow-light);
}

.ahb-subpage-hero__intro {
  max-width: 730px;
  margin: 25px auto 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.ahb-filter-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ahb-filter-list button {
  min-height: 39px;
  margin: 0;
  padding: 9px 15px;
  border: 1px solid rgba(111, 103, 92, .18);
  border-radius: 999px;
  color: var(--ahb-muted);
  background: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.ahb-filter-list button:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 45, 53, .32);
  color: var(--ahb-red);
}

.ahb-filter-list button.is-active {
  border-color: var(--ahb-red);
  color: #fff;
  background: var(--ahb-red);
  box-shadow: 0 8px 20px rgba(201, 45, 53, .18);
}

/* FAQ */
.ahb-faq {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(66px, 8vw, 104px) 20px;
  color: var(--ahb-dark);
  background:
    radial-gradient(circle at 96% 8%, rgba(221, 174, 44, .10), transparent 22%),
    var(--ahb-ivory);
}

.ahb-faq__inner {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.ahb-faq__toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.ahb-faq__search {
  position: relative;
  display: block;
}

.ahb-faq__search svg {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ahb-red);
  stroke-linecap: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
  pointer-events: none;
}

.ahb-faq__search input {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 18px 12px 48px;
  border: 1px solid rgba(111, 103, 92, .16);
  border-radius: 14px;
  color: var(--ahb-dark);
  background: #fff;
  box-shadow: 0 10px 30px rgba(88, 68, 43, .07);
  font-size: 15px;
}

.ahb-faq__search input:focus {
  border-color: rgba(201, 45, 53, .62);
  outline: 3px solid rgba(201, 45, 53, .10);
}

.ahb-faq__result {
  min-height: 20px;
  margin: 0 0 14px;
  color: var(--ahb-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.ahb-faq__list {
  display: grid;
  gap: 11px;
}

.ahb-faq-item {
  overflow: hidden;
  border: 1px solid rgba(111, 103, 92, .13);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 30px rgba(88, 68, 43, .055);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ahb-faq-item:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 45, 53, .22);
}

.ahb-faq-item[open] {
  border-color: rgba(201, 45, 53, .30);
  box-shadow: 0 16px 38px rgba(88, 68, 43, .10);
}

.ahb-faq-item summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 15px;
  min-height: 76px;
  padding: 15px 22px;
  cursor: pointer;
  list-style: none;
}

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

.ahb-faq-item__number {
  color: var(--ahb-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .10em;
}

.ahb-faq-item__question {
  color: var(--ahb-dark);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 800;
  line-height: 1.35;
}

.ahb-faq-item__toggle {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201, 45, 53, .08);
}

.ahb-faq-item__toggle::before,
.ahb-faq-item__toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  content: "";
  background: var(--ahb-red);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.ahb-faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.ahb-faq-item[open] .ahb-faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}

.ahb-faq-item__answer {
  margin: 0 22px 0 79px;
  padding: 0 40px 22px 0;
  border-top: 1px solid rgba(111, 103, 92, .10);
}

.ahb-faq-item__answer p {
  margin: 14px 0 0;
  color: var(--ahb-muted);
  font-size: 15px;
  line-height: 1.75;
}

.ahb-faq-item__category {
  display: inline-block;
  margin-top: 17px;
  color: var(--ahb-red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ahb-faq__empty,
.ahb-gallery__empty {
  padding: 54px 24px;
  border: 1px dashed rgba(111, 103, 92, .24);
  border-radius: 18px;
  color: var(--ahb-muted);
  background: rgba(255, 255, 255, .58);
  text-align: center;
}

.ahb-faq__empty strong,
.ahb-gallery__empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ahb-dark);
  font-size: 20px;
}

.ahb-faq__empty span {
  display: block;
}

.ahb-subpage-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: clamp(42px, 6vw, 68px);
  padding: clamp(27px, 4vw, 42px);
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 16%, rgba(242, 201, 76, .28), transparent 25%),
    var(--ahb-red);
  box-shadow: 0 20px 50px rgba(201, 45, 53, .18);
}

.ahb-subpage-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.1;
}

.ahb-subpage-cta p {
  max-width: 650px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
}

.ahb-subpage-cta > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  color: var(--ahb-dark);
  background: var(--ahb-yellow-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .15);
}

/* Galleria */
.ahb-gallery {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(66px, 8vw, 106px) 20px;
  color: var(--ahb-dark);
  background:
    radial-gradient(circle at 5% 15%, rgba(201, 45, 53, .06), transparent 23%),
    var(--ahb-card);
}

.ahb-gallery__inner {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.ahb-gallery__filters {
  margin-bottom: clamp(30px, 5vw, 48px);
}

.ahb-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 72px;
  gap: 14px;
}

.ahb-gallery-card {
  position: relative;
  grid-column: span 4;
  grid-row: span 5;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 17px;
  color: #fff;
  background: var(--ahb-dark);
  box-shadow: 0 15px 38px rgba(88, 68, 43, .12);
  cursor: zoom-in;
}

.ahb-gallery-card:nth-child(7n + 1) {
  grid-column: span 8;
  grid-row: span 6;
}

.ahb-gallery-card:nth-child(7n + 4) {
  grid-row: span 6;
}

.ahb-gallery-card:nth-child(7n + 6),
.ahb-gallery-card:nth-child(7n + 7) {
  grid-column: span 6;
  grid-row: span 5;
}

.ahb-gallery-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1), filter .35s ease;
}

.ahb-gallery-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(0deg, rgba(23, 23, 20, .80), rgba(23, 23, 20, .05) 64%);
  text-align: left;
  transition: background-color .3s ease;
}

.ahb-gallery-card__overlay small {
  margin-bottom: 5px;
  color: var(--ahb-yellow-light);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ahb-gallery-card__overlay strong {
  max-width: calc(100% - 45px);
  color: #fff;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 850;
  line-height: 1.2;
}

.ahb-gallery-card__overlay i {
  position: absolute;
  right: 17px;
  bottom: 17px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .10);
  font-size: 22px;
  font-style: normal;
  font-weight: 300;
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

.ahb-gallery-card:hover .ahb-gallery-card__image,
.ahb-gallery-card:focus-visible .ahb-gallery-card__image {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.ahb-gallery-card:hover .ahb-gallery-card__overlay i,
.ahb-gallery-card:focus-visible .ahb-gallery-card__overlay i {
  color: var(--ahb-dark);
  background: var(--ahb-yellow-light);
  transform: rotate(90deg);
}

.ahb-gallery-card:focus-visible {
  outline: 4px solid rgba(201, 45, 53, .22);
  outline-offset: 3px;
}

.ahb-gallery__empty p {
  margin: 0;
}

/* Lightbox */
.ahb-lightbox {
  width: min(94vw, 1180px);
  max-width: none;
  max-height: 94vh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  color: #fff;
  background: transparent;
}

.ahb-lightbox::backdrop {
  background: rgba(20, 18, 16, .90);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.ahb-lightbox__panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 70vh;
}

.ahb-lightbox figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 90vh;
  margin: 0;
}

.ahb-lightbox figure img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  border-radius: 13px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .42);
}

.ahb-lightbox figcaption {
  display: grid;
  gap: 3px;
  width: min(100%, 820px);
  padding: 13px 8px 0;
  text-align: center;
}

.ahb-lightbox figcaption strong {
  color: #fff;
  font-size: 16px;
}

.ahb-lightbox figcaption span {
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
}

.ahb-lightbox__close,
.ahb-lightbox__nav {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .10);
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}

.ahb-lightbox__close:hover,
.ahb-lightbox__nav:hover {
  color: var(--ahb-dark);
  background: var(--ahb-yellow-light);
}

.ahb-lightbox__close {
  top: 22px;
  right: 24px;
  width: 42px;
  height: 42px;
  font-size: 27px;
  line-height: 1;
}

.ahb-lightbox__nav {
  top: 50%;
  width: 46px;
  height: 46px;
  font-size: 35px;
  line-height: 1;
  transform: translateY(-50%);
}

.ahb-lightbox__nav--prev {
  left: 22px;
}

.ahb-lightbox__nav--next {
  right: 22px;
}

html.ahb-lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .ahb-faq__toolbar {
    grid-template-columns: 1fr;
  }

  .ahb-faq__result {
    text-align: center;
  }

  .ahb-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 285px;
  }

  .ahb-gallery-card,
  .ahb-gallery-card:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .ahb-gallery-card:nth-child(5n + 1) {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .ahb-subpage-hero {
    padding-top: 96px;
    padding-bottom: 68px;
  }

  .ahb-subpage-hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .ahb-faq,
  .ahb-gallery {
    padding-inline: 16px;
  }

  .ahb-filter-list {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 7px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .ahb-filter-list button {
    flex: 0 0 auto;
  }

  .ahb-faq-item summary {
    grid-template-columns: 32px minmax(0, 1fr) 26px;
    gap: 10px;
    min-height: 70px;
    padding: 13px 15px;
  }

  .ahb-faq-item__answer {
    margin: 0 15px 0 57px;
    padding-right: 5px;
    padding-bottom: 18px;
  }

  .ahb-subpage-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ahb-subpage-cta > a {
    width: 100%;
  }

  .ahb-gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
    gap: 11px;
  }

  .ahb-gallery-card,
  .ahb-gallery-card:nth-child(n) {
    grid-column: span 1;
  }

  .ahb-lightbox {
    width: 96vw;
  }

  .ahb-lightbox figure img {
    max-height: 72vh;
    border-radius: 9px;
  }

  .ahb-lightbox__close {
    top: 12px;
    right: 12px;
  }

  .ahb-lightbox__nav {
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .ahb-lightbox__nav--prev {
    left: calc(50% - 58px);
  }

  .ahb-lightbox__nav--next {
    right: calc(50% - 58px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ahb-filter-list button,
  .ahb-faq-item,
  .ahb-faq-item__toggle::after,
  .ahb-gallery-card__image,
  .ahb-gallery-card__overlay i {
    transition: none;
  }
}
