/* ==========================================================================
   Il Punto — startsidan
   ========================================================================== */

@keyframes ipDrift {
  from { transform: translateX(-2%); }
  to   { transform: translateX(1.5%); }
}
@keyframes ipZoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__photo, .hero .status-pill__dot { animation: none !important; }
}

/* --- Flygplanet som följer scrollen --------------------------------------- */
.plane {
  position: fixed;
  z-index: 12;
  left: 0;
  width: 32px;
  height: 32px;
  pointer-events: none;
  opacity: 0;
  transition:
    top 420ms cubic-bezier(0.33, 0.9, 0.3, 1),
    transform 420ms cubic-bezier(0.33, 0.9, 0.3, 1),
    opacity 260ms ease;
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
  scroll-margin-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero__figure {
  margin: 0;
  position: absolute;
  top: -24px;
  right: 0;
  bottom: -56px;
  width: 56%;
  overflow: hidden;
  background: var(--green-50);
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  animation: ipZoom 26s ease-in-out infinite alternate;
  transition: opacity 1200ms ease;
  opacity: 0;
}
.hero__photo.is-active { opacity: 1; }
.hero__photo:nth-child(1) { transform-origin: 58% 52%; }
.hero__photo:nth-child(2) { transform-origin: 60% 50%; }
.hero__photo:nth-child(3) { transform-origin: 50% 50%; }
.hero__photo:nth-child(4) { transform-origin: 50% 55%; }

.hero__row { position: relative; }
.hero__col {
  flex: 1;
  padding: 64px 0 64px 34px;
  min-height: 592px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__box {
  position: relative;
  z-index: 2;
  background: var(--white);
  align-self: flex-start;
  max-width: 820px;
  margin-right: -300px;
  padding: 0 108px 40px 0;
}
.hero__kicker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed var(--punto-green);
  padding: 5px 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--green-500);
  transform: rotate(-3deg);
}
.hero__badge svg { display: block; flex: none; overflow: visible; }

.hero__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(38px, 4.4vw, 82px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--green-900);
  margin: 22px 0 0;
}
.hero__line { display: inline-block; white-space: nowrap; }
.hero__line--last { transform: translateY(-0.09em); }
.word-rotator {
  display: inline-grid;
  background: var(--white);
  transform: translateY(0.105em);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3em;
  line-height: 0.9;
  letter-spacing: 0.005em;
}
.word-rotator span {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: opacity 700ms ease;
  opacity: 0;
}
.word-rotator span.is-active { opacity: 1; }

.hero__lead {
  margin: 22px 0 0;
  max-width: 40ch;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-muted);
  text-wrap: pretty;
}
.hero__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: auto;
  padding-top: 22px;
}
.hero__statusrow { display: flex; align-items: center; gap: 0; }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.btn--hero { gap: 12px; }
.btn--hero:hover { gap: 20px; }
.hero__takeaway {
  text-decoration: none;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-800);
  border-bottom: 1px solid var(--green-300);
  padding-bottom: 3px;
}
.hero__takeaway:hover { color: var(--green-900); border-color: var(--green-500); }
.hero__spacer { width: 40%; flex: none; }

/* --- Italien-remsan (driftande kartan) ------------------------------------ */
.strip-italy {
  overflow: hidden;
  position: relative;
  z-index: 6;
  margin: -62px 0 0;
  pointer-events: none;
}
.strip-italy__rails {
  position: absolute;
  left: 0;
  right: 0;
  top: 62px;
  bottom: 0;
}
.strip-italy__rails .shell,
.strip-italy__rails .rail { height: 100%; }
.strip-italy > img {
  width: 112%;
  max-width: none;
  margin-left: -6%;
  display: block;
  animation: ipDrift 26s ease-in-out infinite alternate;
}

/* --- Fyra snabbfakta ------------------------------------------------------- */
.features { border-bottom: 3px dotted var(--green-300); }
.features__grid {
  flex: 1;
  padding-left: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.feature {
  padding: 22px 20px;
  border-left: 1px solid var(--green-200);
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature:first-child { padding: 22px 20px 22px 0; border-left: 0; }
.feature:last-child { padding: 22px 0 22px 20px; }
.feature > img { width: 36px; height: 36px; flex: none; }
.feature--antipasti > img { width: 38px; height: 38px; }
.feature__title {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--green-900);
}
.feature__sub { font-size: 14px; margin-top: 4px; color: var(--green-700); }

/* --- Om Il Punto ----------------------------------------------------------- */
.about {
  scroll-margin-top: 80px;
  position: relative;
  z-index: 5;
  background: var(--green-50);
}
.about__col { flex: 1; padding: 88px 0 0 34px; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr);
  gap: 48px;
  align-items: center;
}
.about__textwrap { padding-bottom: 24px; }
.about__paras {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  font-size: 17.5px;
  line-height: 1.68;
  color: var(--ink-muted);
  max-width: 58ch;
  text-wrap: pretty;
}
.about__paras p { margin: 0; }
.about__media {
  position: relative;
  align-self: end;
  margin-right: -40px;
  margin-bottom: -212px;
  z-index: 3;
}
.about__basil {
  position: absolute;
  left: -30px;
  top: -66px;
  width: 186px;
  height: 186px;
  z-index: 4;
  transform-origin: 52% 96%;
  opacity: 0;
  transform: rotate(-30deg) scale(0.72);
  transition: opacity 900ms ease, transform 1100ms cubic-bezier(0.22, 0.85, 0.26, 1);
  pointer-events: none;
}
.about__basil.is-in { opacity: 1; transform: rotate(-16deg) scale(1); }
.about__fig1 {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: grayscale(1) contrast(1.08);
  transition: opacity 1000ms ease;
  opacity: 0;
}
.portrait.is-active { opacity: 1; }
.about__fig2 {
  margin: -104px 0 0 -72px;
  position: relative;
  z-index: 2;
  width: 56%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 10px solid var(--green-50);
  box-sizing: content-box;
}

/* --- Smakresan (menyn i sex etapper) --------------------------------------- */
.journey {
  scroll-margin-top: 80px;
  background: var(--green-50);
}
.journey .rail { z-index: 2; }
.journey__col { flex: 1; padding: 236px 0 48px 34px; }
.journey__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.journey__wrap { position: relative; margin-top: 52px; }
.journey__band {
  position: absolute;
  left: -100vw;
  right: -100vw;
  top: 48px;
  bottom: -80px;
  background: var(--white);
  z-index: 0;
}
.journey__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  gap: 0;
  background-image: radial-gradient(circle, var(--green-300) 2.5px, transparent 2.5px);
  background-size: 15px 6px;
  background-repeat: repeat-x;
  background-position: 104px 45px;
}
.step {
  padding-right: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.step:hover { color: inherit; }
.step__circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--green-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.step:hover .step__circle {
  transform: translateY(-8px);
  border-color: var(--punto-green);
  box-shadow: 0 12px 26px rgba(57, 80, 42, 0.15);
}
.step--featured .step__circle {
  background: var(--punto-green);
  border: 1px solid var(--punto-green);
  box-shadow: 0 0 0 6px var(--green-ring);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.step--featured:hover .step__circle {
  transform: translateY(-8px);
  border-color: var(--punto-green);
  box-shadow: 0 0 0 6px var(--green-ring), 0 12px 26px rgba(57, 80, 42, 0.18);
}
.step__body { position: relative; margin-top: 42px; }
.step__num {
  position: absolute;
  left: -3px;
  top: -62px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 54px;
  line-height: 1;
  color: var(--green-300);
  transition: color 220ms ease;
  z-index: 0;
}
.step:hover .step__num { color: var(--green-500); }
.step__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--green-900);
  transition: color 220ms ease;
}
.step:hover .step__title { color: var(--green-950); }
.step__text {
  position: relative;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
}
.step__reveal {
  position: relative;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 220ms ease, transform 220ms ease;
}
.step:hover .step__reveal { opacity: 1; transform: translateY(0); }
.step__reveal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--punto-green);
  display: block;
  flex: none;
}
.journey__more { width: 82px; flex: none; }
.journey__more a {
  position: relative;
  display: block;
  width: 82px;
  text-decoration: none;
}
.journey__more-circle {
  width: 60px;
  height: 60px;
  margin: 18px 0 0 22px;
  border-radius: 50%;
  background: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  transition: transform 220ms ease, background 220ms ease;
}
.journey__more a:hover .journey__more-circle {
  transform: translateY(-8px);
  background: var(--green-950);
}
.journey__more-circle svg { display: block; }
.journey__more-label {
  position: absolute;
  left: 22px;
  top: 102px;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--green-900);
  white-space: nowrap;
}

/* --- Signaturrätten -------------------------------------------------------- */
.signature {
  scroll-margin-top: 80px;
  position: relative;
  background: var(--punto-green);
  margin: 24px 0 0;
}
.signature__prestrip {
  position: absolute;
  left: 0;
  right: 0;
  top: -24px;
  height: 24px;
  pointer-events: none;
}
.signature__prestrip .shell,
.signature__prestrip .rail { height: 100%; }
.signature__railwrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
}
.signature__railwrap .shell,
.signature__railwrap .rail { height: 100%; }
.signature__row { position: relative; }
.signature__grid {
  flex: 1;
  min-width: 0;
  padding: 88px 0 12px 34px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.signature__text {
  position: relative;
  z-index: 6;
  align-self: start;
  padding-bottom: 72px;
}
.signature__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(36px, 4.2vw, 70px);
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--green-900);
  padding-bottom: 0.12em;
  margin: 20px 0 0;
}
.signature__lead {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--green-900);
  max-width: 31ch;
  text-wrap: pretty;
}
.signature__media {
  align-self: center;
  margin: 0 -96px 0 -32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.signature__map {
  position: relative;
  width: min(38%, 306px);
  flex: none;
  pointer-events: none;
  align-self: center;
  z-index: 17;
  transform: translate(max(-210px, min(0px, calc((100vw - 1240px) * -0.42))), 14px);
}
.signature__map > img:first-child { display: block; width: 100%; opacity: 0.8; }
.signature__route {
  position: absolute;
  left: 44.8%;
  top: 50.2%;
  width: 154.7%;
  max-width: none;
  transform: translate(2.6%, -28.58%);
  z-index: 15;
  display: block;
}
.signature__romadot {
  position: absolute;
  left: 44.8%;
  top: 50.2%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-900);
  display: block;
  transform: translate(-50%, -50%);
  z-index: 5;
}
.signature__romalabel {
  position: absolute;
  left: 44.8%;
  top: 50.2%;
  transform: translate(-118%, -50%);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-900);
  z-index: 5;
}
.signature__pizza {
  flex: none;
  margin: 0;
  transform: translateY(122px);
  width: min(calc(100% - 300px), 440px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid var(--white);
  position: relative;
  z-index: 16;
}
.signature__pizza img { width: 100%; height: 100%; object-fit: cover; }
.signature__photo {
  position: relative;
  z-index: 14;
  margin: -48px 0 0;
  height: min(46vh, 420px);
  min-height: 300px;
  overflow: hidden;
}
.signature__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 64%;
  position: absolute;
  inset: 0;
}

/* --- Vid bordet (bildspel) ------------------------------------------------- */
.showcase__col { flex: 1; padding: 88px 0 8px 34px; }
.showcase__title { margin: 14px 0 40px; max-width: 24ch; }
.showcase__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.showcase__fig { margin: 0; }
.showcase__fig--offset { margin-top: 56px; }
.showcase__imgs {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--green-50);
}
.showcase__imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: opacity 900ms ease;
  opacity: 0;
}
.showcase__imgs img.is-active { opacity: 1; }
.showcase__imgs img.is-bw { filter: grayscale(1) contrast(1.08); }
.showcase__fig figcaption {
  position: relative;
  margin-top: 10px;
  min-height: 46px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
}
.showcase__fig figcaption span {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  transition: opacity 700ms ease;
  opacity: 0;
}
.showcase__fig figcaption span.is-active { opacity: 1; }

/* --- Resa-remsan ----------------------------------------------------------- */
.strip-resa {
  position: relative;
  margin: -64px 0 -96px;
  pointer-events: none;
  overflow: hidden;
}
.strip-resa__rails {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  bottom: 96px;
}
.strip-resa__rails .shell,
.strip-resa__rails .rail { height: 100%; }
.strip-resa > img { position: relative; display: block; width: 100%; }

/* --- Besök oss (öppettider & hitta hit) ------------------------------------ */
.visit { scroll-margin-top: 80px; }
.visit__col { flex: 1; padding: 88px 0 88px 34px; }
.visit__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  margin-top: 46px;
}
.skal {
  position: relative;
  width: 246px;
  height: 158px;
  margin: 34px auto 0;
  pointer-events: none;
}
.skal img {
  position: absolute;
  bottom: 0;
  width: 158px;
  height: 158px;
  transform-origin: 50% 92%;
  transition: transform 900ms cubic-bezier(0.3, 0.8, 0.3, 1);
}
.skal img:first-child { left: 0; transform: rotate(0deg); }
.skal img:last-child { left: 88px; transform: scaleX(-1) rotate(0deg); }
.skal.is-1 img:first-child { transform: rotate(13deg) translateX(9px); }
.skal.is-1 img:last-child { transform: scaleX(-1) rotate(13deg) translateX(9px); }
.skal.is-2 img:first-child { transform: rotate(3deg) translateX(2px); }
.skal.is-2 img:last-child { transform: scaleX(-1) rotate(3deg) translateX(2px); }
.visit__card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-self: start;
  background: var(--green-50);
  padding: 36px;
}
.visit__card address {
  font-style: normal;
  margin-top: 16px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-muted);
}
.visit__card address strong { font-weight: 700; }
.visit__phone {
  display: block;
  margin-top: 10px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--green-800);
}
/* Designen ändrar inte numrets färg vid hover */
.visit__phone:hover { color: var(--green-800); }

/* ==========================================================================
   Mobil (< 900px)
   ========================================================================== */
@media (max-width: 899.98px) {
  .plane { display: none; }

  .hero__figure {
    position: relative;
    width: 100%;
    top: 0;
    right: auto;
    bottom: auto;
    height: 290px;
  }
  .hero__col { padding: 26px 0 36px 0; min-height: 0; }
  .hero__box { margin-right: 0; padding: 0 0 18px 0; max-width: 100%; }
  .hero__spacer { display: none; }

  .features__grid { padding-left: 0; grid-template-columns: 1fr; }
  .feature,
  .feature:last-child {
    padding: 16px 0;
    border-left-width: 0;
    border-top: 1px solid var(--green-200);
  }
  .feature:first-child { padding: 16px 0; border-top: 0; }

  .about__col { padding: 44px 0 0 0; }
  .about__grid { grid-template-columns: 1fr; gap: 28px; }
  .about__media { margin-right: 0; margin-bottom: -56px; }
  .about__fig2 { margin: -64px 0 0 -12px; width: 52%; }

  .journey__col { padding: 104px 0 40px 0; }
  .journey__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    background-image: none;
  }

  .signature__grid { padding: 44px 0 12px; grid-template-columns: 1fr; gap: 22px; }
  .signature__text { padding-bottom: 12px; }
  .signature__media { margin: 0; }
  .signature__map { transform: none; width: 36%; }
  .signature__pizza { transform: none; width: min(56%, 240px); border-width: 6px; }
  .signature__photo { margin: 16px 0 0; height: 210px; min-height: 0; }

  .showcase__col { padding: 44px 0 8px 0; }
  .showcase__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .showcase__fig--offset { margin-top: 22px; }

  .visit__col { padding: 44px 0 48px 0; }
  .visit__grid { grid-template-columns: 1fr; gap: 28px; }
  .visit__card { padding: 22px; }
}
