/* ==========================================================================
   Zero Next One BASE NIIKAPPU
   top-sec03.css
   Section 03 smartphone comp override
   --------------------------------------------------------------------------
   Section 03 / Facility Features
   - Full background image
   - HTML text / feature cards / CTA buttons
   - Smartphone comp first
   - Copy line-break refinement compatible
   - Marker: 20260611-sec03-bg-clean-01
   --------------------------------------------------------------------------
   Loaded after main.css, top-sec01.css, and top-sec02.css.
   Header / logo / hamburger are intentionally outside this pass.
   ========================================================================== */

@media (max-width: 767px) {
  .page-top .p-features {
    position: relative;
    width: 100%;
    min-height: max(100svh, calc(100vw * 1.7777778));
    min-height: max(100dvh, calc(100vw * 1.7777778));
    padding: clamp(92px, 23.6vw, 112px) 20px 104px;
    color: #1f1c16;
    background: #f4ecd8;
    overflow: hidden;
    isolation: isolate;
  }

  .page-top .p-features::before,
  .page-top .p-features::after,
  .page-top .p-features__intro::before,
  .page-top .p-features__grid::before,
  .page-top .p-features__actions::before {
    display: none !important;
    content: none !important;
  }

  .page-top .p-features__bg {
    position: absolute;
    inset: 0;
    z-index: -5;
    pointer-events: none;
  }

  .page-top .p-features__bg-picture,
  .page-top .p-features__bg-img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .page-top .p-features__bg-img {
    object-fit: cover;
    object-position: 50% 50%;
    opacity: 1;
  }

  .page-top .p-features__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
  }

  .page-top .p-features__layout {
    display: block;
  }

  .page-top .p-features__intro {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 0 20px;
  }

  .page-top .p-features__kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin: 0 0 30px;
    color: #1b1a16;
    font-family: var(--font-label);
    font-size: clamp(0.74rem, 2.95vw, 0.88rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .page-top .p-features__kicker::after {
    content: "";
    position: absolute;
    left: 0;
    top: calc(100% + 15px);
    width: 70px;
    height: 1px;
    margin: 0;
    background: currentColor;
    opacity: 0.58;
  }

  .page-top .p-features__title {
    margin: 0;
    color: #15273d;
    font-family: var(--font-heading);
    font-size: clamp(2.28rem, 9.35vw, 2.94rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
  }

  .page-top .p-features__title span {
    display: inline-block;
    white-space: nowrap;
  }

  .page-top .p-features__lead {
    margin: clamp(16px, 4vw, 22px) 0 0;
    color: #1f1c16;
    font-family: var(--font-body);
    font-size: clamp(0.86rem, 3.35vw, 0.98rem);
    font-weight: 500;
    line-height: 1.82;
    letter-spacing: 0.04em;
  }

  .page-top .p-features__grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: clamp(142px, 34vw, 190px) 0 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    isolation: auto;
  }

  .page-top .p-features-card {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(79, 61, 37, 0.12);
    border-radius: 13px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02)),
      rgba(248, 242, 226, 0.94);
    box-shadow:
      0 8px 18px rgba(47, 37, 23, 0.1),
      0 1px 0 rgba(255, 255, 255, 0.56) inset;
    overflow: hidden;
  }

  .page-top .p-features-card__link {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
  }

  .page-top .p-features-card__body {
    padding: 13px 12px 8px;
  }

  .page-top .p-features-card__icon {
    display: block;
    width: clamp(24px, 7.2vw, 34px);
    height: clamp(24px, 7.2vw, 34px);
    margin: 0 0 7px;
    color: #40563f;
  }

  .page-top .p-features-card__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .page-top .p-features-card__icon svg * {
    fill: none;
    stroke: currentColor;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .page-top .p-features-card__icon--interaction svg * {
    stroke-width: 3;
  }

  .page-top .p-features-card__title {
    margin: 0;
    color: #1f1c16;
    font-family: var(--font-ui);
    font-size: clamp(0.88rem, 3.48vw, 1.02rem);
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: 0.035em;
  }

  .page-top .p-features-card__lead {
    margin: 5px 0 0;
    color: #252119;
    font-family: var(--font-ui);
    font-size: clamp(0.68rem, 2.72vw, 0.8rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  .page-top .p-features-card__thumb {
    margin: 0 10px 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #ded1b4;
  }

  .page-top .p-features-card__thumb picture,
  .page-top .p-features-card__thumb-img {
    display: block;
    width: 100%;
  }

  .page-top .p-features-card__thumb-img {
    aspect-ratio: 2 / 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
  }

  .page-top .p-features-card--sports .p-features-card__thumb-img,
  .page-top .p-features-card--stay .p-features-card__thumb-img,
  .page-top .p-features-card--nature .p-features-card__thumb-img,
  .page-top .p-features-card--interaction .p-features-card__thumb-img,
  .page-top .p-features-card--activity .p-features-card__thumb-img {
    object-position: center center;
  }

  .page-top .p-features__actions {
    position: relative;
    z-index: 4;
    display: grid;
    gap: 12px;
    margin: 22px auto 0;
    width: min(100%, 348px);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    isolation: auto;
  }

  .page-top .p-features__action-note {
    margin: 0 2px 8px;
    color: #1f1c16;
    font-family: var(--font-body);
    font-size: clamp(0.84rem, 3.35vw, 0.97rem);
    font-weight: 500;
    line-height: 1.86;
    letter-spacing: 0.045em;
  }

  .page-top .p-features__button {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    align-items: center;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(255, 250, 240, 0.3);
    border-radius: 999px;
    color: #fffaf0;
    box-shadow:
      0 8px 16px rgba(30, 24, 18, 0.14),
      inset 0 0 0 1px rgba(255, 250, 240, 0.08);
    font-family: var(--font-ui);
    font-size: clamp(0.96rem, 3.86vw, 1.14rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-decoration: none;
  }

  .page-top .p-features__button--stay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
      #31462e;
  }

  .page-top .p-features__button--camp {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
      #142637;
    letter-spacing: 0.05em;
  }

  .page-top .p-features__button--nature {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
      #704019;
  }

  .page-top .p-features__button-icon,
  .page-top .p-features__button-icon picture,
  .page-top .p-features__button-icon img {
    display: block;
    width: 26px;
    height: 26px;
  }

  .page-top .p-features__button-icon img {
    object-fit: contain;
  }

  .page-top .p-features__button-label {
    justify-self: center;
    transform: translateX(5px);
    white-space: nowrap;
  }

  .page-top .p-features__button--camp .p-features__button-label {
    transform: translateX(0);
    font-size: 0.93em;
    letter-spacing: 0.045em;
  }

  .page-top .p-features__button-arrow {
    justify-self: end;
    font-size: 1.18em;
    line-height: 1;
  }

  @supports not (height: 100dvh) {
    .page-top .p-features {
      min-height: max(100vh, calc(100vw * 1.7777778));
    }
  }
}

@media (max-width: 374px) {
  .page-top .p-features {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 86px;
    padding-bottom: 96px;
  }

  .page-top .p-features__intro {
    padding-inline: 18px;
  }

  .page-top .p-features__title {
    font-size: 2.1rem;
  }

  .page-top .p-features__lead {
    font-size: 0.82rem;
  }

  .page-top .p-features__grid {
    gap: 9px;
    margin-top: 142px;
  }

  .page-top .p-features-card__body {
    padding: 11px 10px 7px;
  }

  .page-top .p-features-card__title {
    font-size: 0.8rem;
  }

  .page-top .p-features-card__lead {
    font-size: 0.64rem;
    line-height: 1.48;
  }

  .page-top .p-features-card__thumb {
    margin: 0 8px 8px;
  }

  .page-top .p-features__actions {
    width: min(100%, 334px);
  }

  .page-top .p-features__action-note {
    font-size: 0.82rem;
  }

  .page-top .p-features__button {
    font-size: 0.9rem;
    letter-spacing: 0.055em;
  }

  .page-top .p-features__button--camp .p-features__button-label {
    font-size: 0.88em;
    letter-spacing: 0.03em;
  }
}

/* --------------------------------------------------------------------------
   Section 03 / PC v3 - Facility Atlas
   --------------------------------------------------------------------------
   - Preserve the completed smartphone layout above.
   - Use the existing SP design tokens, copy, imagery, and PHP structure.
   - Build the desktop layout from the actual children of .p-features__inner:
     intro / grid / actions. No additional PHP wrapper is required.
   - Present the four feature entries as a ruled facility index, not cards.
   - Keep all three routes as quiet editorial links below the introduction.
   - Header and footer are intentionally outside this file's responsibility.
   - Marker: 20260622-sec03-pc-v3-01
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
  .page-top .p-features {
    --sec03-max: var(--pc-visual-max, 1240px);
    --sec03-paper: var(--color-paper-warm);
    --sec03-ink: var(--color-ink);
    --sec03-ink-muted: var(--color-ink-muted);
    --sec03-heading: var(--color-blue-niikappu);
    --sec03-forest: var(--color-forest-deep);
    --sec03-accent: var(--color-amber-deep);

    position: relative;
    width: 100%;
    min-height: 0;
    padding:
      clamp(104px, 11vw, 128px)
      var(--side-padding)
      clamp(100px, 10vw, 124px);
    color: var(--sec03-ink);
    background: var(--sec03-paper);
    overflow: hidden;
    isolation: isolate;
  }

  .page-top .p-features::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      radial-gradient(
        ellipse at 17% 24%,
        rgba(255, 250, 240, 0.72) 0%,
        rgba(255, 250, 240, 0.34) 36%,
        rgba(255, 250, 240, 0) 66%
      ),
      radial-gradient(
        ellipse at 78% 72%,
        rgba(217, 223, 200, 0.16) 0%,
        rgba(217, 223, 200, 0.06) 42%,
        rgba(217, 223, 200, 0) 72%
      ),
      repeating-linear-gradient(
        8deg,
        rgba(74, 55, 32, 0.012) 0,
        rgba(74, 55, 32, 0.012) 1px,
        transparent 1px,
        transparent 6px
      );
  }

  .page-top .p-features::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: clamp(68px, 8vw, 104px);
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(246, 238, 220, 0),
      rgba(246, 238, 220, 0.36) 48%,
      rgba(246, 238, 220, 0.76) 100%
    );
  }

  .page-top .p-features__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .page-top .p-features__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(
        90deg,
        rgba(246, 238, 220, 0.9) 0%,
        rgba(246, 238, 220, 0.68) 34%,
        rgba(246, 238, 220, 0.28) 60%,
        rgba(246, 238, 220, 0.1) 100%
      ),
      linear-gradient(
        180deg,
        rgba(246, 238, 220, 0.22) 0%,
        rgba(246, 238, 220, 0.08) 48%,
        rgba(239, 228, 207, 0.48) 100%
      );
  }

  .page-top .p-features__bg-picture,
  .page-top .p-features__bg-img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .page-top .p-features__bg-picture {
    transform: none;
    transform-origin: center center;
  }

  .page-top .p-features__bg-img {
    max-width: none;
    object-fit: cover;
    object-position: 56% center;
    opacity: 0.56;
  }

  .page-top .p-features__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "grid"
      "actions";
    gap: clamp(42px, 5.8vw, 64px);
    width: min(var(--sec03-max), 100%);
    margin: 0 auto;
  }

  .page-top .p-features__intro {
    grid-area: intro;
    position: relative;
    z-index: 2;
    width: min(100%, 620px);
    margin: 0;
    padding: 0;
  }

  .page-top .p-features__intro::before {
    content: "";
    position: absolute;
    top: -34px;
    right: -42px;
    bottom: -38px;
    left: -32px;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
      ellipse at 36% 44%,
      rgba(255, 250, 240, 0.74) 0%,
      rgba(255, 250, 240, 0.36) 48%,
      rgba(255, 250, 240, 0) 78%
    );
    filter: blur(2px);
  }

  .page-top .p-features__intro::after,
  .page-top .p-features__grid::before,
  .page-top .p-features__actions::before {
    content: none;
    display: none;
  }

  .page-top .p-features__kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0 0 clamp(30px, 3.8vw, 38px);
    color: rgba(31, 28, 22, 0.72);
    font-family: var(--font-label);
    font-size: clamp(0.7rem, 0.92vw, 0.78rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .page-top .p-features__kicker::after {
    content: "";
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: clamp(64px, 7vw, 78px);
    height: 1px;
    background: currentColor;
    opacity: 0.5;
  }

  .page-top .p-features__title {
    width: min(100%, 560px);
    margin: 0;
    color: var(--sec03-heading);
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.4vw, 4rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
  }

  .page-top .p-features__title span {
    display: inline-block;
    white-space: nowrap;
  }

  .page-top .p-features__lead {
    width: min(100%, 43ch);
    max-width: none;
    margin: clamp(24px, 3vw, 32px) 0 0;
    color: rgba(31, 28, 22, 0.82);
    font-family: var(--font-body);
    font-size: clamp(0.96rem, 1.2vw, 1.06rem);
    font-weight: 500;
    line-height: 1.96;
    letter-spacing: 0.032em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  }

  .page-top .p-features__lead br {
    display: none;
  }

  .page-top .p-features__lead br + br {
    display: block;
    content: "";
    margin-top: 0.82em;
  }

  .page-top .p-features__grid {
    grid-area: grid;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(74, 55, 32, 0.18);
    border-left: 1px solid rgba(74, 55, 32, 0.14);
    background: rgba(247, 239, 220, 0.14);
    box-shadow: none;
    counter-reset: feature-index;
    isolation: isolate;
  }

  .page-top .p-features-card {
    position: relative;
    min-width: 0;
    margin: 0;
    border: 0;
    border-right: 1px solid rgba(74, 55, 32, 0.14);
    border-bottom: 1px solid rgba(74, 55, 32, 0.16);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    counter-increment: feature-index;
  }

  .page-top .p-features-card:first-child {
    background: linear-gradient(
      135deg,
      rgba(173, 132, 54, 0.055),
      rgba(255, 250, 240, 0) 58%
    );
  }

  .page-top .p-features-card__link {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "number arrow"
      "body body"
      "thumb thumb";
    align-content: start;
    gap: clamp(14px, 2vw, 19px);
    height: 100%;
    min-height: 100%;
    padding: clamp(22px, 3vw, 30px);
    color: inherit;
    background: transparent;
    text-decoration: none;
    transition: background-color 0.32s var(--ease-out-craft);
  }

  .page-top .p-features-card__link::before {
    content: counter(feature-index, decimal-leading-zero);
    grid-area: number;
    align-self: center;
    color: rgba(122, 71, 29, 0.72);
    font-family: var(--font-label);
    font-size: clamp(1.34rem, 2.8vw, 1.78rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.045em;
    transition:
      color 0.32s var(--ease-out-craft),
      opacity 0.32s var(--ease-out-craft);
  }

  .page-top .p-features-card__link::after {
    content: "↗";
    grid-area: arrow;
    align-self: center;
    justify-self: end;
    color: var(--sec03-forest);
    font-family: var(--font-ui);
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    font-weight: 500;
    line-height: 1;
    transition:
      color 0.32s var(--ease-out-craft),
      transform 0.32s var(--ease-out-craft);
  }

  .page-top .p-features-card__body {
    grid-area: body;
    display: grid;
    grid-template-columns: clamp(30px, 4.5vw, 36px) minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "lead lead";
    align-items: center;
    gap: 10px 12px;
    min-width: 0;
    padding: 0;
  }

  .page-top .p-features-card__icon {
    grid-area: icon;
    display: block;
    width: clamp(30px, 4.5vw, 36px);
    height: clamp(30px, 4.5vw, 36px);
    margin: 0;
    color: var(--sec03-forest);
  }

  .page-top .p-features-card__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .page-top .p-features-card__icon svg * {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .page-top .p-features-card__icon--interaction svg * {
    stroke-width: 2.7;
  }

  .page-top .p-features-card__title {
    grid-area: title;
    min-width: 0;
    margin: 0;
    color: var(--sec03-ink);
    font-family: var(--font-ui);
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: 0.025em;
  }

  .page-top .p-features-card__lead {
    grid-area: lead;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--sec03-ink-muted);
    font-family: var(--font-ui);
    font-size: clamp(0.8rem, 1.3vw, 0.92rem);
    font-weight: 500;
    line-height: 1.76;
    letter-spacing: 0.018em;
  }

  .page-top .p-features-card__lead br {
    display: none;
  }

  .page-top .p-features-card__thumb {
    grid-area: thumb;
    position: relative;
    min-width: 0;
    margin: 0;
    border: 1px solid rgba(74, 55, 32, 0.12);
    border-radius: 4px;
    background: var(--color-paper-dark);
    overflow: hidden;
  }

  .page-top .p-features-card__thumb picture,
  .page-top .p-features-card__thumb-img {
    display: block;
    width: 100%;
  }

  .page-top .p-features-card__thumb-img {
    aspect-ratio: 2 / 1;
    height: auto;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.001);
    transition: transform 0.42s var(--ease-out-craft);
  }

  .page-top .p-features__actions {
    grid-area: actions;
    position: relative;
    z-index: 3;
    display: grid;
    gap: 0;
    width: min(100%, 720px);
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .page-top .p-features__action-note {
    margin: 0 0 clamp(14px, 2vw, 20px);
    color: rgba(31, 28, 22, 0.7);
    font-family: var(--font-body);
    font-size: clamp(0.84rem, 1.18vw, 0.94rem);
    font-weight: 500;
    line-height: 1.82;
    letter-spacing: 0.03em;
    text-align: left;
    text-shadow: none;
  }

  .page-top .p-features__button {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 44px;
    padding: 9px 0 8px;
    border: 0;
    border-bottom: 1px solid rgba(36, 58, 46, 0.3);
    border-radius: 0;
    color: var(--sec03-forest);
    background: transparent;
    box-shadow: none;
    font-family: var(--font-ui);
    font-size: clamp(0.86rem, 1.15vw, 0.95rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition:
      color 0.3s var(--ease-out-craft),
      border-color 0.3s var(--ease-out-craft);
  }

  .page-top .p-features__button::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    pointer-events: none;
    background: currentColor;
    opacity: 0.8;
    transform: scaleX(0.18);
    transform-origin: left center;
    transition: transform 0.3s var(--ease-out-craft);
  }

  .page-top .p-features__button--camp {
    color: var(--sec03-heading);
    border-bottom-color: rgba(173, 132, 54, 0.34);
    font-weight: 800;
  }

  .page-top .p-features__button--camp::before {
    background: linear-gradient(
      90deg,
      var(--sec03-accent),
      var(--sec03-heading)
    );
  }

  .page-top .p-features__button--stay,
  .page-top .p-features__button--nature {
    color: var(--sec03-forest);
  }

  .page-top .p-features__button-icon,
  .page-top .p-features__button-icon picture,
  .page-top .p-features__button-icon img {
    display: none;
  }

  .page-top .p-features__button-label {
    justify-self: start;
    min-width: 0;
    transform: none;
    white-space: normal;
  }

  .page-top .p-features__button-arrow {
    justify-self: end;
    color: currentColor;
    font-size: 1.08em;
    line-height: 1;
    transition: transform 0.3s var(--ease-out-craft);
  }

  .page-top .p-features-card__link:focus-visible,
  .page-top .p-features__button:focus-visible {
    outline: 2px solid var(--color-amber);
    outline-offset: 5px;
  }
}

@media (min-width: 1024px) {
  .page-top .p-features {
    padding:
      clamp(112px, 9.5vw, 136px)
      var(--side-padding)
      clamp(108px, 8.8vw, 128px);
  }

  .page-top .p-features__bg-img {
    object-position: 54% center;
    opacity: 0.5;
  }

  .page-top .p-features__inner {
    grid-template-columns:
      minmax(280px, 0.38fr)
      minmax(0, 0.62fr);
    grid-template-areas:
      "intro grid"
      "actions grid";
    column-gap: clamp(48px, 5.2vw, 72px);
    row-gap: clamp(34px, 3.8vw, 48px);
    align-items: start;
  }

  .page-top .p-features__intro {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 440px;
  }

  .page-top .p-features__grid {
    grid-template-columns: minmax(0, 1fr);
    align-self: stretch;
    border: 0;
    background: transparent;
  }

  .page-top .p-features-card {
    border: 0;
    border-top: 1px solid rgba(74, 55, 32, 0.18);
    overflow: visible;
  }

  .page-top .p-features-card:last-child {
    border-bottom: 1px solid rgba(74, 55, 32, 0.18);
  }

  .page-top .p-features-card__link {
    grid-template-columns:
      42px
      minmax(0, 1fr)
      clamp(180px, 19vw, 220px)
      22px;
    grid-template-areas: "number body thumb arrow";
    align-items: center;
    gap: clamp(16px, 1.9vw, 24px);
    min-height: 138px;
    padding: clamp(18px, 2vw, 23px) 0;
  }

  .page-top .p-features-card__link::before,
  .page-top .p-features-card__link::after {
    align-self: center;
  }

  .page-top .p-features-card__body {
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      ". lead";
    gap: 8px 13px;
  }

  .page-top .p-features-card__icon {
    width: 32px;
    height: 32px;
  }

  .page-top .p-features-card__title {
    font-size: clamp(1.05rem, 1.38vw, 1.22rem);
  }

  .page-top .p-features-card__lead {
    font-size: clamp(0.82rem, 0.96vw, 0.9rem);
    line-height: 1.78;
  }

  .page-top .p-features-card__thumb {
    width: 100%;
    align-self: center;
  }

  .page-top .p-features__actions {
    width: 100%;
    max-width: 440px;
    align-self: start;
  }
}

@media (min-width: 1280px) {
  .page-top .p-features {
    padding-top: clamp(128px, 10vw, 152px);
    padding-bottom: clamp(120px, 9vw, 144px);
  }

  .page-top .p-features__bg-img {
    object-position: 52% center;
    opacity: 0.48;
  }

  .page-top .p-features__inner {
    grid-template-columns:
      minmax(350px, 0.36fr)
      minmax(0, 0.64fr);
    column-gap: clamp(64px, 5.6vw, 80px);
    width: min(1260px, 100%);
  }

  .page-top .p-features__intro,
  .page-top .p-features__actions {
    max-width: 460px;
  }

  .page-top .p-features-card__link {
    grid-template-columns:
      48px
      minmax(0, 1fr)
      clamp(220px, 18vw, 280px)
      24px;
    gap: clamp(20px, 2vw, 28px);
    min-height: 158px;
    padding: clamp(20px, 1.9vw, 25px) 0;
  }

  .page-top .p-features-card__link::before {
    font-size: clamp(1.62rem, 2vw, 2rem);
  }

  .page-top .p-features-card__body {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px 15px;
  }

  .page-top .p-features-card__icon {
    width: 34px;
    height: 34px;
  }

  .page-top .p-features-card__title {
    font-size: clamp(1.14rem, 1.25vw, 1.32rem);
  }

  .page-top .p-features-card__lead {
    font-size: clamp(0.86rem, 0.9vw, 0.94rem);
  }
}

@media (min-width: 1440px) {
  .page-top .p-features__bg-img {
    object-position: center center;
  }

  .page-top .p-features__inner {
    width: min(1280px, 100%);
  }

  .page-top .p-features__title {
    font-size: clamp(3.5rem, 4.35vw, 4.12rem);
  }
}

@media (min-width: 1800px) {
  .page-top .p-features {
    padding-top: 152px;
    padding-bottom: 144px;
  }

  .page-top .p-features__inner {
    width: min(1280px, 100%);
  }

  .page-top .p-features-card__link {
    grid-template-columns: 48px minmax(0, 1fr) 280px 24px;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .page-top .p-features {
    padding-top: 94px;
    padding-bottom: 92px;
  }

  .page-top .p-features__inner {
    column-gap: 44px;
    row-gap: 28px;
  }

  .page-top .p-features__kicker {
    margin-bottom: 26px;
  }

  .page-top .p-features__title {
    font-size: clamp(2.45rem, 3.8vw, 3.42rem);
    line-height: 1.25;
  }

  .page-top .p-features__lead {
    margin-top: 20px;
    font-size: 0.94rem;
    line-height: 1.8;
  }

  .page-top .p-features-card__link {
    grid-template-columns: 40px minmax(0, 1fr) 178px 20px;
    gap: 15px;
    min-height: 124px;
    padding: 14px 0;
  }

  .page-top .p-features-card__body {
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 6px 11px;
  }

  .page-top .p-features-card__icon {
    width: 29px;
    height: 29px;
  }

  .page-top .p-features-card__title {
    font-size: 1rem;
  }

  .page-top .p-features-card__lead {
    font-size: 0.78rem;
    line-height: 1.62;
  }

  .page-top .p-features__action-note {
    margin-bottom: 10px;
    font-size: 0.82rem;
    line-height: 1.66;
  }

  .page-top .p-features__button {
    min-height: 40px;
    padding-block: 7px;
    font-size: 0.82rem;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .page-top .p-features-card__link:hover {
    background: rgba(255, 250, 240, 0.34);
  }

  .page-top .p-features-card__link:hover::before {
    color: var(--sec03-accent);
  }

  .page-top .p-features-card__link:hover::after {
    color: var(--sec03-heading);
    transform: translate(3px, -3px);
  }

  .page-top .p-features-card__link:hover .p-features-card__thumb-img {
    transform: scale(1.014);
  }

  .page-top .p-features__button:hover {
    color: var(--sec03-heading);
    border-bottom-color: currentColor;
  }

  .page-top .p-features__button:hover::before {
    transform: scaleX(1);
  }

  .page-top .p-features__button:hover .p-features__button-arrow {
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 768px) {
  .page-top .p-features-card__link,
  .page-top .p-features-card__link::before,
  .page-top .p-features-card__link::after,
  .page-top .p-features-card__thumb-img,
  .page-top .p-features__button,
  .page-top .p-features__button::before,
  .page-top .p-features__button-arrow {
    transition: none !important;
  }
}

