/* Original Service with Love styles, scoped to this section and its video dialog. */
.swl-section,
    .swl-modal {
      --swl-green: #008b77;
      --swl-green-dark: #006f60;
      --swl-blue: #17459a;
      --swl-orange: #d6512f;
      --swl-gold: #a6a13d;
      --swl-brown: #5f4032;
      --swl-text: #52443e;
      --swl-muted: #726762;
      --swl-cream: #fffaf4;
      --swl-card: rgba(255, 255, 255, 0.88);
      --swl-border: rgba(114, 86, 65, 0.12);
      --swl-shadow: 0 14px 36px rgba(95, 64, 50, 0.09);
    }

    .swl-section, .swl-section *, .swl-section *::before, .swl-section *::after,
    .swl-modal, .swl-modal *, .swl-modal *::before, .swl-modal *::after {
      box-sizing: border-box;
    }

    .swl-section, .swl-modal {
      color: var(--swl-text);
      font-family: "IBM Plex Sans Thai", "Noto Sans Thai", sans-serif;
    }

    .swl-section button,
    .swl-section a,
    .swl-modal button,
    .swl-modal a {
      font: inherit;
    }
    .swl-section a{
      font-size: 15px;
    }
    .swl-section {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      padding: clamp(64px, 7vw, 104px) 24px;
      background:
        radial-gradient(circle at 0 12%, rgba(239, 183, 137, 0.14), transparent 21%),
        radial-gradient(circle at 100% 88%, rgba(166, 161, 61, 0.12), transparent 22%),
        var(--swl-cream);
    }

    .swl-section::before,
    .swl-section::after {
      position: absolute;
      z-index: -1;
      width: 260px;
      height: 72px;
      border-radius: 28px;
      content: "";
      opacity: 0.48;
      transform: rotate(45deg);
    }

    .swl-section::before {
      top: 32px;
      left: -142px;
      background: linear-gradient(90deg, #f7d6bb, #e7e2af);
    }

    .swl-section::after {
      right: -132px;
      bottom: 28px;
      background: linear-gradient(90deg, #e3dfad, #f6d0b9);
    }

    .swl-container {
      width: min(1180px, 100%);
      margin-inline: auto;
    }

    .swl-header {
      max-width: 900px;
      margin: 0 auto clamp(36px, 4.2vw, 54px);
      text-align: center;
    }

    .swl-title {
      margin: 0;
      color: var(--swl-brown);
      font-size: 46px;
      font-weight: 700;
      line-height: 1.6;
      letter-spacing: -0.035em;
    }

    .swl-title-accent {
      color: var(--swl-gold);
      white-space: nowrap;
    }

    .swl-intro {
      max-width: 760px;
      margin: 18px auto 0;
      color: var(--swl-muted);
      font-size: 18px;
      line-height: 1.75;
    }

    .swl-intro-line {
      display: block;
    }

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

    .swl-card {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
      min-height: 304px;
      overflow: hidden;
      border: 1px solid var(--swl-border);
      border-radius: 20px;
      background: var(--swl-card);
      box-shadow: var(--swl-shadow);
      transition: transform 180ms ease, box-shadow 180ms ease;
    }

    .swl-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 46px rgba(95, 64, 50, 0.13);
    }

    .swl-media {
      position: relative;
      align-self: start;
      width: 100%;
      aspect-ratio: 1 / 1;
      min-height: 0;
      flex: none;
      overflow: hidden;
      background: #eee8e1;
    }

    .swl-media picture,
    .swl-media img {
      display: block;
      width: 100%;
      height: 100%;
    }

    .swl-media img {
      object-fit: cover;
      transition: transform 450ms ease;
    }

    .swl-card:hover .swl-media img {
      transform: scale(1.025);
    }

    .swl-play {
      position: absolute;
      inset: 50% auto auto 50%;
      display: grid;
      width: 58px;
      height: 58px;
      padding: 0;
      transform: translate(-50%, -50%);
      place-items: center;
      border: 0;
      border-radius: 50%;
      color: var(--swl-orange);
      background: rgba(255, 255, 255, 0.94);
      box-shadow: 0 10px 24px rgba(71, 46, 35, 0.2);
      cursor: pointer;
      transition: transform 160ms ease, background 160ms ease;
    }

    .swl-play:hover,
    .swl-play:focus-visible {
      transform: translate(-50%, -50%) scale(1.08);
      background: #fff;
      outline: 3px solid rgba(214, 81, 47, 0.3);
      outline-offset: 3px;
    }

    .swl-play svg {
      width: 21px;
      margin-left: 4px;
      fill: currentColor;
    }

    .swl-card-content {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding: 26px 24px 22px;
    }

    .swl-service-name {
      margin: 0 0 8px;
    }

    .swl-service-logo {
      display: block;
      width: 132px;
      height: 70px;
      object-fit: contain;
      object-position: left center;
    }

    .swl-card-title {
      margin: 0 0 8px;
      color: var(--swl-brown);
      font-size: 17px;
      font-weight: 700;
      line-height: 1.35;
    }

    .swl-card-copy {
      margin: 0 0 4px;
      color: var(--swl-muted);
      font-size: 14px;
      line-height: 1.65;
    }

    .swl-story {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: auto;
      padding: 0 0 4px;
      border: 0;
      border-bottom: 1px solid currentColor;
      color: var(--swl-orange);
      background: transparent;
      font-size: 17px;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
    }

    .swl-story:hover,
    .swl-story:focus-visible {
      color: #a93b20;
      outline: none;
    }

    .swl-cta-wrap {
      display: flex;
      justify-content: center;
      margin-top: 34px;
    }

    .swl-cta {
      display: inline-flex;
      min-height: 58px;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 14px 36px;
      border-radius: 999px;
      color: #fff;
      background: linear-gradient(135deg, #079783, var(--swl-green-dark));
      box-shadow: 0 12px 28px rgba(0, 139, 119, 0.22);
      font-size: 17px;
      font-weight: 700;
      text-decoration: none;
      transition: transform 160ms ease, box-shadow 160ms ease;
    }

    .swl-cta:hover,
    .swl-cta:focus-visible {
      transform: translateY(-2px);
      box-shadow: 0 16px 34px rgba(0, 139, 119, 0.3);
      outline: 3px solid rgba(0, 139, 119, 0.22);
      outline-offset: 4px;
    }

    .swl-cta svg {
      width: 22px;
      fill: currentColor;
    }

    .swl-modal[hidden] {
      display: none;
    }

    .swl-modal {
      position: fixed;
      z-index: 1000;
      inset: 0;
      display: grid;
      padding: 24px;
      place-items: center;
      background: rgba(24, 18, 15, 0.82);
      backdrop-filter: blur(8px);
    }

    .swl-dialog {
      position: relative;
      width: min(1080px, 100%);
      max-height: calc(100dvh - 48px);
    }

    .swl-video-frame {
      display: block;
      width: 100%;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      border-radius: 18px;
      background: #000;
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
    }

    .swl-video-frame iframe {
      display: block;
      width: 100%;
      height: 100%;
      border: 0;
    }

    .swl-close {
      position: absolute;
      z-index: 2;
      top: -16px;
      right: -16px;
      display: grid;
      width: 44px;
      height: 44px;
      padding: 0;
      place-items: center;
      border: 0;
      border-radius: 50%;
      color: var(--swl-brown);
      background: #fff;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
    }

    .swl-close:focus-visible {
      outline: 3px solid #f1b092;
      outline-offset: 3px;
    }

    @media (max-width: 1040px) {
      .swl-grid {
        grid-template-columns: 1fr;
      }

      .swl-card {
        grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
      }
    }

    @media (max-width: 700px) {
      .swl-section {
        padding: 58px 0 62px;
      }

      .swl-container {
        width: 100%;
      }

      .swl-header {
        padding-inline: 22px;
        margin-bottom: 30px;
      }

      .swl-title {
        font-size: clamp(30px, 9vw, 42px);
      }

      .swl-title-accent {
        display: block;
        margin-top: 4px;
      }

      .swl-intro {
        font-size: 16px;
        line-height: 1.65;
      }

      .swl-intro-line {
        display: inline;
      }

      .swl-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding: 4px 22px 24px;
        scroll-padding-inline: 22px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
      }

      .swl-grid::-webkit-scrollbar {
        display: none;
      }

      .swl-card {
        display: flex;
        min-width: min(83vw, 360px);
        min-height: 0;
        flex: 0 0 min(83vw, 360px);
        flex-direction: column;
        border-radius: 18px;
        scroll-snap-align: center;
      }

      .swl-card:hover {
        transform: none;
      }

      .swl-media {
        align-self: auto;
        width: 100%;
        aspect-ratio: 1 / 1;
        min-height: 0;
      }

      .swl-media img {
        object-position: center;
      }

      .swl-card-content {
        min-height: 258px;
        padding: 24px 22px 22px;
      }

      .swl-service-logo {
        width: 132px;
        height: 70px;
      }

      .swl-card-copy {
        font-size: 15px;
      }

      .swl-cta-wrap {
        margin-top: 8px;
        padding-inline: 22px;
      }

      .swl-cta {
        width: 100%;
        max-width: 360px;
      }

      .swl-modal {
        padding: 16px;
      }

      .swl-dialog {
        width: min(430px, 100%);
      }

      .swl-close {
        top: -10px;
        right: -6px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .swl-section, .swl-section *, .swl-section *::before, .swl-section *::after,
      .swl-modal, .swl-modal *, .swl-modal *::before, .swl-modal *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
      }
    }
