/* Aitek Service — tema a blocchi Gutenberg */

:root {
  --ak-r: #8a0f1a;
  --ak-r-deep: #5c0810;
  --ak-ink: #1a1716;
  --ak-ink-2: #5a5552;
  --ak-ground: #e4e0dc;
  --ak-ground-2: #d8e0e8;
  --ak-paper: rgba(255, 252, 249, 0.82);
  --ak-dark: #1a1716;
  --ak-shell: 960px;
  --ak-radius: 14px;
  --ak-radius-sm: 10px;
  --ak-font: "Source Sans 3", Verdana, Arial, sans-serif;
  --ak-display: "Outfit", "Source Sans 3", sans-serif;
  --ak-s-xl: clamp(64px, 11vw, 96px);
  --ak-s-h1: clamp(38px, 5.2vw, 58px);
  --ak-s-l: clamp(30px, 4.5vw, 42px);
  --ak-s-m: 22px;
  --ak-s-b: 17px;
  --ak-s-s: 14px;
  --ak-pad: clamp(20px, 5vw, 48px);
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html body.aitek-site {
  margin: 0;
  background-color: #dfe6ef !important;
  background-image:
    radial-gradient(1100px 520px at 8% -8%, rgba(138, 15, 26, 0.16), transparent 58%),
    radial-gradient(900px 480px at 96% 4%, rgba(55, 105, 155, 0.22), transparent 52%),
    linear-gradient(165deg, #e8dfd6 0%, #dfe6ef 45%, #d5d0cb 100%) !important;
  background-attachment: fixed;
  color: var(--ak-ink);
  font-family: var(--ak-font);
  font-size: var(--ak-s-b);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }

img { max-width: 100%; height: auto; border: 0; }

a {
  color: var(--ak-r);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease;
}
a:hover, a:focus-visible { color: var(--ak-ink); }
:focus-visible { outline: 3px solid var(--ak-r); outline-offset: 3px; }

/* ---------- Header ---------- */
.aitek-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 250, 246, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 23, 22, 0.08);
}
.aitek-header__inner {
  position: relative;
  max-width: var(--ak-shell);
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 8px;
}
.aitek-logo { display: block; line-height: 0; flex: 0 0 auto; }
.aitek-logo img { width: 178px; height: auto; display: block; }

.aitek-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.aitek-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ak-ink);
  font-family: var(--ak-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.aitek-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 2px;
  background: var(--ak-r);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.aitek-nav a:hover,
.aitek-nav a:focus-visible,
.aitek-nav a.is-current { color: var(--ak-r); background: rgba(138, 15, 26, 0.06); }
.aitek-nav a:hover::after,
.aitek-nav a.is-current::after { transform: scaleX(1); }
.aitek-nav a.aitek-nav__cta {
  margin-left: 10px;
  padding: 0 20px;
  background: var(--ak-r);
  color: #fff;
  box-shadow: 0 8px 20px rgba(138, 15, 26, 0.22);
}
.aitek-nav a.aitek-nav__cta::after { display: none; }
.aitek-nav a.aitek-nav__cta:hover,
.aitek-nav a.aitek-nav__cta:focus-visible,
.aitek-nav a.aitek-nav__cta.is-current { background: var(--ak-r-deep); color: #fff; }

.aitek-nav-toggle { display: none; }

/* ---------- Pagina ---------- */
.ak-page {
  max-width: var(--ak-shell);
  margin: 0 auto;
  padding-bottom: 96px;
  text-align: left;
}
.ak-page .is-layout-flow > *,
.ak-page .wp-block-post-content > * { margin-block-start: 0; }
.ak-page .wp-block-post-content > section + section { margin-top: 104px; }

.ak-page h1,
.ak-page h2,
.ak-page h3 {
  font-family: var(--ak-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  padding: 0;
  margin: 0;
  color: var(--ak-ink);
}
.ak-page h1 { font-size: var(--ak-s-h1); color: var(--ak-r); }
.ak-page h2 { font-size: var(--ak-s-l); }
.ak-page h3 { font-size: var(--ak-s-m); letter-spacing: -0.02em; line-height: 1.2; }
.ak-page p { margin: 0 0 1em; font-size: var(--ak-s-b); line-height: 1.55; }
.ak-page p:last-child { margin-bottom: 0; }
.ak-page strong { font-weight: 700; }
.ak-page figure { margin: 0; }
.ak-page figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ak-page .ak-lead {
  font-family: var(--ak-display);
  font-size: var(--ak-s-m);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 16px 0 32px;
}
.ak-page .ak-section-title { margin-bottom: 36px; }

.ak-page .ak-actions { margin-top: 32px; }
.ak-page .ak-btn .wp-block-button__link,
.ak-page .ak-btn-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--ak-r);
  color: #fff;
  font-family: var(--ak-display);
  font-size: var(--ak-s-b);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(138, 15, 26, 0.22);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ak-page .ak-btn .wp-block-button__link:hover,
.ak-page .ak-btn .wp-block-button__link:focus-visible,
.ak-page .ak-btn-link:hover,
.ak-page .ak-btn-link:focus-visible {
  background: var(--ak-r-deep);
  color: #fff;
  box-shadow: 0 12px 28px rgba(92, 8, 16, 0.28);
}
.ak-page .ak-btn .wp-block-button__link:active,
.ak-page .ak-btn-link:active { transform: translateY(1px); }
.ak-page .ak-btn--paper .wp-block-button__link {
  background: rgba(255, 252, 249, 0.95);
  color: var(--ak-r);
  box-shadow: none;
}
.ak-page .ak-btn--paper .wp-block-button__link:hover,
.ak-page .ak-btn--paper .wp-block-button__link:focus-visible {
  background: var(--ak-r);
  color: #fff;
}

/* Apertura: testo + foto */
.ak-hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 600px;
  overflow: hidden;
  border-radius: 0 0 var(--ak-radius) var(--ak-radius);
}
.ak-hero__text {
  background: var(--ak-paper);
  backdrop-filter: blur(8px);
  padding: 56px var(--ak-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ak-stage {
  position: relative;
  overflow: hidden;
  background: #222;
  min-height: 100%;
}
.ak-page .ak-stage img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.ak-page .ak-stage img.is-active { opacity: 1; }
.ak-stage--still { background: rgba(255, 252, 249, 0.6); }
.ak-page .ak-stage--still img { object-fit: contain; }
.ak-stage__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  background: rgba(255, 250, 246, 0.92);
  backdrop-filter: blur(10px);
  font-size: var(--ak-s-s);
  color: var(--ak-ink);
}
.ak-stage__store { font-weight: 700; font-family: var(--ak-display); }

/* Intestazione semplice di pagina */
.ak-head {
  background: var(--ak-paper);
  border-radius: 0 0 var(--ak-radius) var(--ak-radius);
  padding: 72px var(--ak-pad) 64px;
}
.ak-head p { max-width: 62ch; }
.ak-page .ak-head .ak-lead { margin-bottom: 0; max-width: 40ch; }
.ak-page .ak-head .ak-lead + p { margin-top: 32px; }

/* Testo accanto a una foto */
.ak-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.ak-split h2 { margin-bottom: 24px; }
.ak-split__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--ak-radius);
}
.ak-split--reverse .ak-split__photo { order: -1; }

/* Righe grandi */
.ak-rows__list { display: grid; gap: 10px; }
.ak-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px;
  background: var(--ak-paper);
  border: 1px solid rgba(26, 23, 22, 0.06);
  border-radius: var(--ak-radius);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.ak-row:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 15, 26, 0.18);
  background: rgba(255, 252, 249, 0.95);
}
.ak-row__key {
  font-family: var(--ak-display);
  font-size: var(--ak-s-m);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ak-r);
}
.ak-page .ak-row h3 { margin-bottom: 10px; }
.ak-page .ak-row h3 a { color: inherit; text-decoration: none; }
.ak-page .ak-row h3 a:hover { color: var(--ak-r); }
.ak-page .ak-row p { margin-bottom: 0.6em; }
.ak-page .ak-row__link { display: inline-block; margin-top: 6px; }
.ak-rows__more { margin-top: 24px; }

/* Costo del taccheggio */
.ak-cost__mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 440px;
  border-radius: var(--ak-radius);
  overflow: hidden;
}
.ak-cost__photo { grid-row: 1 / 3; overflow: hidden; }
.ak-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: var(--ak-ground);
  color: var(--ak-ink);
}
.ak-tile--accent { background: var(--ak-r); color: #fff; }
.ak-tile__figure {
  font-family: var(--ak-display);
  font-size: var(--ak-s-xl);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.ak-tile__caption { font-size: var(--ak-s-b); line-height: 1.35; max-width: 18ch; }
.ak-cost__text {
  columns: 2;
  column-gap: 48px;
  padding-top: 48px;
}
.ak-cost__text p { break-inside: avoid; }

/* Fascia bordeaux */
.ak-rule {
  background:
    radial-gradient(700px 320px at 85% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(145deg, var(--ak-r) 0%, var(--ak-r-deep) 100%);
  color: #fff;
  padding: 72px var(--ak-pad);
  border-radius: var(--ak-radius);
}
.ak-page .ak-rule__intro {
  font-size: var(--ak-s-m);
  line-height: 1.35;
  max-width: 36ch;
  margin: 0;
}
.ak-page .ak-rule__big {
  font-family: var(--ak-display);
  font-size: clamp(64px, 15vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 20px 0 64px;
}
.ak-places {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
  align-items: start;
}
.ak-page .ak-places__title { color: #fff; margin-bottom: 16px; }
.ak-places__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.ak-page .ak-places__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 14px;
  min-height: 44px;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--ak-radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.ak-page .ak-places__item:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.ak-page .ak-places__item[aria-current="true"] { background: #fff; color: var(--ak-r); }
.ak-places__city { font-size: var(--ak-s-b); font-weight: 700; font-family: var(--ak-display); }
.ak-places__store { font-size: var(--ak-s-s); font-weight: 400; text-align: right; }
.ak-page .ak-places__all { color: #fff; }
.ak-page .ak-places__all:hover { color: #fff; text-decoration: none; }
.ak-places__view {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #500;
  border-radius: var(--ak-radius-sm);
  overflow: hidden;
}
.ak-page .ak-places__view img { transition: opacity 0.35s ease; }
.ak-page .ak-places__view img.is-swapping { opacity: 0; }
.ak-places__view figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px 16px;
  background: rgba(255, 252, 249, 0.95);
  color: var(--ak-ink);
  font-size: var(--ak-s-s);
  border-radius: 0 var(--ak-radius-sm) 0 0;
}

/* Listino */
.ak-offer {
  background: rgba(26, 23, 22, 0.04);
  padding: 96px var(--ak-pad);
  border-radius: var(--ak-radius);
}
.ak-sheet {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255, 252, 249, 0.95);
  padding: 56px;
  box-sizing: border-box;
  border-radius: var(--ak-radius);
  border: 1px solid rgba(26, 23, 22, 0.06);
}
.ak-sheet h2 { text-align: center; }
.ak-page .ak-sheet__note {
  text-align: center;
  color: var(--ak-ink-2);
  font-size: var(--ak-s-s);
  margin: 12px 0 40px;
}
.ak-page .ak-sheet__list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}
.ak-page .ak-sheet__list:last-child { margin-bottom: 0; }
.ak-page .ak-sheet__list li {
  font-size: var(--ak-s-m);
  font-weight: 600;
  font-family: var(--ak-display);
  letter-spacing: -0.02em;
  line-height: 1.25;
  padding: 8px 0;
  break-inside: avoid;
}
.ak-page .ak-sheet__list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  background: var(--ak-r);
  border-radius: 50%;
  vertical-align: middle;
}

/* Galleria installazioni */
.ak-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 12px;
}
.ak-gallery figure a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ak-ground);
  border-radius: var(--ak-radius-sm);
}
.ak-page .ak-gallery figure img { transition: transform 0.5s ease; }
.ak-gallery figure a:hover img { transform: scale(1.04); }
.ak-gallery figcaption { padding-top: 12px; font-size: var(--ak-s-s); line-height: 1.4; color: var(--ak-ink-2); }
.ak-gallery figcaption strong { display: block; font-size: var(--ak-s-b); color: var(--ak-ink); font-family: var(--ak-display); }

/* Contatti */
.ak-contact {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: start;
}
.ak-contact__card {
  background: linear-gradient(145deg, var(--ak-r) 0%, var(--ak-r-deep) 100%);
  color: #fff;
  padding: 40px;
  font-size: var(--ak-s-b);
  line-height: 1.6;
  border-radius: var(--ak-radius);
}
.ak-page .ak-contact__card h2 { color: #fff; font-size: var(--ak-s-m); margin-bottom: 16px; }
.ak-page .ak-contact__card a { color: #fff; }
.ak-page .ak-contact__card a:hover { color: #fff; text-decoration: none; }
.ak-contact__card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.ak-contact__card dt { font-size: var(--ak-s-s); opacity: 0.8; padding-top: 3px; }
.ak-article__photo {
  position: relative;
  overflow: hidden;
  background: var(--ak-ground);
  min-height: 100%;
  border-radius: var(--ak-radius);
}
.ak-page .ak-article__photo img { position: absolute; inset: 0; }
.ak-article__date { display: flex; gap: 16px; align-items: baseline; font-size: var(--ak-s-s); color: var(--ak-ink-2); }
.ak-page .ak-article__date p { font-size: var(--ak-s-s); margin: 0; }
.ak-page .ak-lead p { font-size: inherit; line-height: inherit; margin: 0; }
.ak-article__more { margin-top: 120px; }
.ak-page .ak-article .ak-hero h1 { font-size: var(--ak-s-l); }
.ak-contact__card dd { margin: 0; font-weight: 600; }
.ak-map {
  margin-top: 64px;
  background: var(--ak-ground);
  border-radius: var(--ak-radius);
  overflow: hidden;
}
.ak-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Fluent Forms */
.ak-page .fluentform .ff-el-group { margin-bottom: 20px; }
.ak-page .fluentform .ff-el-input--label { margin-bottom: 6px; }
.ak-page .fluentform .ff-el-input--label label {
  font-size: var(--ak-s-b);
  font-weight: 700;
  color: var(--ak-ink);
}
.ak-page .fluentform .ff-el-form-control {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 2px solid transparent; /* taste-skill-ignore: campo di form */
  border-radius: var(--ak-radius-sm);
  background: rgba(255, 252, 249, 0.75);
  font-family: var(--ak-font);
  font-size: var(--ak-s-b);
  color: var(--ak-ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.ak-page .fluentform textarea.ff-el-form-control { min-height: 160px; }
.ak-page .fluentform .ff-el-form-control:focus {
  outline: 0;
  background: #fff;
  border-color: var(--ak-r);
}
.ak-page .fluentform .ff-el-tc label,
.ak-page .fluentform .ff_t_c { font-size: var(--ak-s-b); font-weight: 400; line-height: 1.5; }
.ak-page .fluentform .ff-el-is-error .ff-el-form-control { border-color: #c00; }
.ak-page .fluentform .error,
.ak-page .fluentform .text-danger { font-size: var(--ak-s-s); color: #c00; }
.ak-page .fluentform .ff-btn-submit {
  min-height: 52px;
  padding: 0 36px;
  border: 0;
  border-radius: 999px;
  background: var(--ak-r);
  color: #fff;
  font-family: var(--ak-display);
  font-size: var(--ak-s-b);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.ak-page .fluentform .ff-btn-submit:hover,
.ak-page .fluentform .ff-btn-submit:focus-visible { background: var(--ak-r-deep); }

/* Articolo news */
.ak-article__head {
  background: var(--ak-paper);
  padding: 64px var(--ak-pad);
  border-radius: 0 0 var(--ak-radius) var(--ak-radius);
}
.ak-article__meta { display: flex; gap: 16px; align-items: baseline; margin-bottom: 20px; font-size: var(--ak-s-s); }
.ak-page .ak-article__meta a { font-weight: 600; }
.ak-page .ak-article__head .wp-block-post-date { font-size: var(--ak-s-s); color: var(--ak-ink-2); }
.ak-page .ak-article__head h1 { font-size: var(--ak-s-l); max-width: 24ch; }
.ak-article__body { max-width: 640px; padding: 56px var(--ak-pad) 0; }
.ak-page .ak-article__body p { font-size: 19px; }

/* Chiusura: foto + invito */
.ak-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--ak-radius);
}
.ak-cta__photo { overflow: hidden; }
.ak-page .ak-cta__photo img,
.ak-page .ak-split__photo img,
.ak-page .ak-article__photo img,
.ak-page .ak-stage:not(.ak-stage--still) img { animation: ak-drift 22s ease-in-out infinite alternate; }
.ak-cta__text {
  background: linear-gradient(160deg, #24201f 0%, #1a1716 100%);
  color: #fff;
  padding: 56px var(--ak-pad);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ak-page .ak-cta__text h2 { color: #fff; margin-bottom: 20px; }
.ak-page .ak-cta__phone { margin-top: 20px; color: #ddd; }
.ak-page .ak-cta__phone a { color: #fff; }
.ak-page .ak-cta__phone a:hover { color: #fff; text-decoration: none; }

@keyframes ak-drift {
  from { transform: scale(1); }
  to { transform: scale(1.08) translateX(-2%); }
}

/* Entrata elementi */
.ak-rise {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ak-rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ak-page .ak-cta__photo img,
  .ak-page .ak-split__photo img,
  .ak-page .ak-article__photo img,
  .ak-page .ak-stage img { animation: none; }
  .ak-rise { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.ak-footer {
  background: linear-gradient(180deg, #201c1b 0%, #141110 100%);
  color: #cfcfcf;
  font-size: var(--ak-s-s);
  line-height: 1.6;
  margin-top: 48px;
}
.ak-footer a { color: #fff; font-weight: 600; text-decoration: none; }
.ak-footer a:hover, .ak-footer a:focus-visible { color: #fff; text-decoration: underline; }
.ak-footer__inner {
  max-width: var(--ak-shell);
  margin: 0 auto;
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 40px;
}
.ak-footer__name {
  margin: 0 0 8px;
  font-family: var(--ak-display);
  font-size: var(--ak-s-m);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.ak-footer p { margin: 0; }
.ak-footer__claim { max-width: 30ch; }
.ak-footer__nav { display: grid; gap: 4px; align-content: start; }
.ak-footer__base {
  max-width: var(--ak-shell);
  margin: 0 auto;
  padding: 24px 0 40px;
  font-size: var(--ak-s-s);
  color: #9a9a9a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ak-footer__base a { color: #cfcfcf; font-weight: 400; }

/* ---------- Tablet e smartphone ---------- */
@media (max-width: 900px) {
  .aitek-header__inner {
    min-height: 68px;
    padding: 0 8px 0 20px;
  }
  .aitek-logo img { width: 148px; }

  .aitek-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--ak-radius-sm);
    background: transparent;
    color: var(--ak-ink);
    font-family: var(--ak-display);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
  }
  .aitek-nav-toggle::after {
    content: "";
    width: 20px;
    height: 2px;
    padding: 5px 0;
    border-top: 2px solid var(--ak-r);
    border-bottom: 2px solid var(--ak-r);
    background: var(--ak-r);
    background-clip: content-box;
    transition: transform 0.25s ease;
  }
  .aitek-nav-toggle[aria-expanded="true"]::after { transform: rotate(90deg); }

  .aitek-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 20px;
    background: rgba(255, 250, 246, 0.98);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12); /* taste-skill-ignore */
    border-radius: 0 0 var(--ak-radius) var(--ak-radius);
  }
  .aitek-nav.is-open { display: flex; }
  .aitek-nav a {
    min-height: 52px;
    padding: 0 20px;
    font-size: 19px;
    border-radius: 0;
  }
  .aitek-nav a::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 4px; height: auto; transform: scaleY(0); }
  .aitek-nav a.is-current::after { transform: scaleY(1); }
  .aitek-nav a:hover::after { transform: scaleY(0); }
  .aitek-nav a.is-current:hover::after { transform: scaleY(1); }
  .aitek-nav a.aitek-nav__cta {
    margin: 12px 20px 0;
    justify-content: center;
    border-radius: 999px;
  }

  .ak-page { padding-bottom: 0; }
  .ak-page .wp-block-post-content > section + section { margin-top: 80px; }
  .ak-page h1,
  .ak-page h2 { font-size: 34px; }
  .ak-page .ak-section-title { margin-bottom: 24px; padding: 0 20px; }

  .ak-page .ak-actions,
  .ak-page .ak-btn,
  .ak-page .ak-btn .wp-block-button__link,
  .ak-page .ak-btn-link { width: 100%; box-sizing: border-box; }
  .ak-page .ak-btn .wp-block-button__link,
  .ak-page .ak-btn-link { justify-content: center; }

  .ak-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 0;
  }
  .ak-stage { order: -1; height: 40svh; min-height: 280px; }
  .ak-stage--still { height: auto; min-height: 0; aspect-ratio: 583 / 350; }
  .ak-stage__bar { top: 0; bottom: auto; min-height: 40px; padding: 0 16px; }
  .ak-hero__text { padding: 32px 20px 44px; }
  .ak-hero__text > * { order: 1; }
  .ak-hero__text > h1,
  .ak-hero__text > .ak-lead,
  .ak-hero__text > .ak-actions { order: 0; }
  .ak-page .ak-lead { margin: 12px 0 20px; }
  .ak-page .ak-hero__text .ak-actions { margin: 0 0 28px; }

  .ak-head { padding: 40px 20px 44px; border-radius: 0; }
  .ak-page .ak-head .ak-lead { margin: 12px 0 0; }

  .ak-split { grid-template-columns: 1fr; gap: 28px; }
  .ak-split__text { padding: 0 20px; }
  .ak-split__photo,
  .ak-split--reverse .ak-split__photo { order: -1; aspect-ratio: 4 / 3; }

  .ak-row { display: flex; flex-direction: column; gap: 0; padding: 24px 20px; }
  .ak-row > div:last-child { display: contents; }
  .ak-page .ak-row h3 { order: 0; margin-bottom: 4px; }
  .ak-row__key { order: 1; font-size: 15px; margin-bottom: 10px; }
  .ak-row > div:last-child > :not(h3) { order: 2; }
  .ak-rows__more { padding: 0 20px; }

  .ak-cost__mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }
  .ak-cost__photo { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 4 / 3; }
  .ak-tile { aspect-ratio: 1; padding: 20px; box-sizing: border-box; }
  .ak-tile__figure { font-size: clamp(48px, 13vw, 96px); }
  .ak-tile__caption { font-size: var(--ak-s-s); }
  .ak-cost__text { columns: 1; padding: 32px 20px 0; }

  .ak-rule { padding: 56px 20px; border-radius: 0; }
  .ak-page .ak-rule__big { font-size: 17vw; margin: 16px 0 48px; }
  .ak-places { grid-template-columns: 1fr; gap: 24px; }
  .ak-places__view { order: -1; }
  .ak-places__list { grid-template-columns: 1fr 1fr; }
  .ak-page .ak-places__item { flex-direction: column; align-items: flex-start; gap: 0; }
  .ak-places__store { text-align: left; }

  .ak-offer { padding: 48px 10px; border-radius: 0; }
  .ak-sheet { padding: 36px 20px; }
  .ak-page .ak-sheet__list { columns: 1; }

  .ak-gallery { grid-template-columns: 1fr 1fr; gap: 24px 12px; padding: 0 20px; }

  .ak-contact { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  .ak-contact__card { padding: 28px 20px; margin: 0 -20px; border-radius: 0; }
  .ak-map { margin-top: 48px; border-radius: 0; }
  .ak-map iframe { height: 300px; }

  .ak-article__photo { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .ak-article__more { margin-top: 96px; }
  .ak-article__head { padding: 40px 20px; border-radius: 0; }
  .ak-article__body { padding: 32px 20px 0; }
  .ak-page .ak-article__body p { font-size: var(--ak-s-b); }

  .ak-cta { grid-template-columns: 1fr; min-height: 0; border-radius: 0; }
  .ak-cta__photo { aspect-ratio: 4 / 3; }
  .ak-cta__text { padding: 40px 20px 48px; }

  .ak-footer__inner { grid-template-columns: 1fr; gap: 28px; padding: 48px 20px 32px; }
  .ak-footer__nav { grid-template-columns: 1fr 1fr; }
  .ak-footer__nav a { display: flex; align-items: center; min-height: 40px; }
  .ak-footer__base { padding: 20px 20px 32px; }
}
