/* ===============================================================
   Plan Index Page Styles - Externalized from inline <style>
   Phase C Day 7 - 2025-11-20
   Source: plan/index.html

   ⚠️ IMPORTANT: Wedding Navigation (Lines 640+)
   Contains critical Swiper hybrid layout implementation
   Do not modify without careful testing
   =============================================================== */

/* =============================================================================
   MODERN PLAN INDEX PAGE - 2025 EDITION
   Theme: Minimal Gallery - Ultra-clean, photo-centric design
   ============================================================================= */

/* Modern CSS Layout System */
.page-container {
  container-type: inline-size;
  container-name: page;
  min-height: 100vh;
  display: block;
}

/* Hero Section - Minimal & Impactful */
.hero {
  container-type: size;
  container-name: hero;
  min-height: clamp(60vh, 70vh, 80vh);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/pic1.webp') center/cover no-repeat;
  opacity: 1;
  z-index: 1;
  animation: subtle-float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

@keyframes subtle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-content {
  position: relative;
  z-index: 20;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #f5f5f5;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
  font-weight: 300;
}

/* Common Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: #9ca896;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.section-title {
  font-size: 1.5rem;
  color: #3a3633;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-description {
  font-size: 1rem;
  color: #6b6461;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   SCREEN6/SCREEN7 COMPONENTS
   ======================================== */

/* Screen6 Hero */
.screen6-hero {
  padding-top: clamp(5rem, 12vw, 8.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.screen6-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/pic1.webp') center/cover no-repeat;
  opacity: 1;
  z-index: -2;
}

.screen6-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: -1;
}

.screen6-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: end;
}

.screen6-hero__title {
  font-size: clamp(2.7rem, 5.8vw, 3.6rem);
  letter-spacing: 0.24em;
  margin-bottom: 0.5rem;
  color: #3a3633;
}

.screen6-hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.95;
  letter-spacing: 0.05em;
  color: #2a2a2a;
  margin-bottom: 0.5rem;
}

.screen6-hero__caption {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(42, 42, 42, 0.8);
  max-width: 25rem;
}

.screen6-hero__visual {
  position: relative;
}

.screen6-hero__visual img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14.4px;
  object-fit: cover;
  object-position: center top;
}

.screen6-hero__visual::before {
  content: "";
  position: absolute;
  top: clamp(-2.5rem, -6vw, -1.5rem);
  right: clamp(-2.25rem, -5vw, -1rem);
  width: calc(100% + clamp(2.5rem, 6vw, 4rem));
  height: calc(100% + clamp(2rem, 5vw, 3.5rem));
  background: rgba(200, 184, 161, 0.22);
  border-radius: 17.4px;
  z-index: -1;
}

/* Mobile: Hide hero image */
@media (max-width: 767px) {
  .screen6-hero__visual {
    display: none;
  }
}

/* Screen6 Breadcrumb */
.u-breadcrumb {
  background-color: #f5f5f5;
  padding-block: 0.75rem;
  font-size: 0.85rem;
}

.u-breadcrumb__trail ol {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.u-breadcrumb__trail li {
  color: #8a8072;
}

.u-breadcrumb__trail li:not(:last-child)::after {
  content: '>';
  margin-left: 0.5rem;
  color: #8a8072;
  font-size: 0.75em;
  opacity: 0.7;
}

.u-breadcrumb__trail a {
  color: inherit;
  text-decoration: none;
}

.u-breadcrumb__trail a:hover,
.u-breadcrumb__trail a:focus {
  text-decoration: underline;
}

/* Screen7 Main Profile Section */
.s7-main {
  background: #fff;
}

.s7-main:first-of-type {
  margin-top: 0;
}

.s7-main-grid {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 0;
  min-height: 85vh;
}

.s7-portrait {
  position: relative;
  overflow: hidden;
  background: #f5f3f0;
}

.s7-portrait-image {
  width: 100%;
  height: 85vh;
  object-fit: cover;
  display: block;
}

.s7-content {
  background: #fff;
  overflow-y: auto;
  max-height: 85vh;
}

.s7-content-wrapper {
  padding: 12% 10% 8%;
}

.s7-content-category {
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  color: #4a4a4a;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.5rem;
}

.s7-content-name {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: #1a1a1a;
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.s7-content-subtitle {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 400;
  color: #666;
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.s7-content-instagram-btn {
  display: block;
  width: fit-content;
  margin: 0 auto 3rem;
  padding: 0.75rem 2rem;
  border: 1px solid #1a1a1a;
  border-radius: 50px;
  color: #1a1a1a;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.s7-content-instagram-btn:hover {
  background: #1a1a1a;
  color: #fff;
}

.s7-content-section {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.s7-content-section:last-of-type {
  border-bottom: none;
}

.s7-content-section-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.s7-content-section-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9ca896;
  margin-bottom: 1rem;
}

.s7-content-text p {
  margin-bottom: 0.75rem;
  line-height: 1.8;
  color: #4a4a4a;
}

.s7-content-career-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.s7-content-career-item {
  font-size: 0.95rem;
  color: #4a4744;
  line-height: 1.6;
}

/* Screen7 Main Reverse (左右反転) */
.s7-main--reverse .s7-main-grid {
  grid-template-columns: 52% 48%;
}

.s7-main--reverse .s7-portrait {
  grid-column: 2;
  grid-row: 1;
}

.s7-main--reverse .s7-content {
  grid-column: 1;
  grid-row: 1;
}

/* モバイル対応: 縦並び（写真が上、コンテンツが下） */
@media (max-width: 768px) {
  .s7-main-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }

  .s7-portrait {
    grid-column: 1;
    grid-row: 1;
  }

  .s7-portrait-image {
    height: 60vh;
    min-height: 400px;
  }

  .s7-content {
    grid-column: 1;
    grid-row: 2;
    max-height: none;
    overflow-y: visible;
  }

  .s7-content-wrapper {
    padding: 8% 6%;
  }

  /* Reverseクラスでも同じ順序（写真が上） */
  .s7-main--reverse .s7-main-grid {
    grid-template-columns: 1fr;
  }

  .s7-main--reverse .s7-portrait {
    grid-column: 1;
    grid-row: 1;
  }

  .s7-main--reverse .s7-content {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Screen7 Navigation Tiles */
.s7-nav {
  background: #f8f6f3;
}

.s7-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  height: 280px;
}

.s7-nav-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.s7-nav-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
  z-index: 1;
}

.s7-nav-tile:hover::before {
  opacity: 0.6;
}

.s7-nav-tile-label {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 1.5; /* 改行時の行間を調整 */
  text-align: center; /* 複数行時の中央揃え */
}

/* Video tile - オープニングムービー用動画背景 */
.s7-nav-tile--video {
  overflow: hidden;
  position: relative;
}

.s7-nav-tile-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: contain !important;
  z-index: 0;
}

/* Memorial Navigation - 3列レイアウト */
.s7-nav--memorial .s7-nav-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Family navigation spacing & height control */
.s7-nav.s7-nav--family {
  margin-top: 0;
  margin-bottom: 0;
}

.s7-nav.s7-nav--family .s7-nav-grid {
  height: auto;
  min-height: 240px;
  padding-bottom: 0;
}

.s7-nav--family .s7-nav-tile {
  height: 100%;
}

/* Family Navigation - ハイブリッドレイアウト */
/* 大画面（1024px以上）: 1段Grid表示 (4パネル) */
@media (min-width: 1024px) {
  .s7-nav--family .s7-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 240px;
    gap: 0;
    height: auto;
    padding-bottom: 0;
  }

  .s7-nav--family .swiper-wrapper {
    display: contents; /* Gridの子要素として直接配置 */
  }

  .s7-nav--family .s7-nav-tile {
    width: 100%;
    height: 100%;
  }
}

/* 中小画面（1024px未満）: Swiperスライド式 */
@media (max-width: 1023px) {
  .s7-nav.s7-nav--family .s7-nav-grid {
    overflow: hidden; /* スライドエリアをクリップ */
    position: relative;
    padding-bottom: 40px; /* ページネーション用スペース */
  }

  .s7-nav--family .swiper-wrapper {
    display: flex;
  }

  .s7-nav--family .s7-nav-tile {
    height: 240px;
  }

  /* ナビゲーション矢印（一旦非表示 - 復活させる場合は下の display: none; を削除） */
  .s7-nav--family .swiper-button-prev,
  .s7-nav--family .swiper-button-next {
    display: none; /* 矢印を非表示 */
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
  }

  .s7-nav--family .swiper-button-prev::after,
  .s7-nav--family .swiper-button-next::after {
    font-size: 20px;
  }

  .s7-nav--family .swiper-button-prev {
    left: 10px;
  }

  .s7-nav--family .swiper-button-next {
    right: 10px;
  }

  /* ページネーション */
  .s7-nav--family .swiper-pagination {
    bottom: 12px;
  }

  .s7-nav--family .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
    width: 10px;
    height: 10px;
  }

  .s7-nav--family .swiper-pagination-bullet-active {
    opacity: 1;
    background: #d4af37;
  }
}

/* 大画面ではナビゲーションとページネーションを非表示 */
@media (min-width: 1024px) {
  .s7-nav--family .swiper-button-prev,
  .s7-nav--family .swiper-button-next,
  .s7-nav--family .swiper-pagination {
    display: none;
  }
}

/* Others Navigation - 3列レイアウト */
.s7-nav--others .s7-nav-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Wedding Section Layout Adjustments */
/* ウェディングセクション（最初のs7-main）のみ85vh固定を解除 */
.s7-main:first-of-type .s7-main-grid {
  min-height: auto;
  height: auto;
}

.s7-main:first-of-type .s7-content {
  max-height: none;
  overflow-y: visible;
}

.s7-main:first-of-type .s7-content-wrapper {
  padding: clamp(2rem, 6vh, 4rem) 10% clamp(1rem, 3vh, 2rem);
}

/* Wedding navigation spacing & height control */
.s7-nav.s7-nav--wedding {
  margin-top: 0;
  margin-bottom: 0;
}

/* Memorial Main (Wedding直後) の上余白も削除 */
.s7-nav--wedding + .s7-main {
  margin-top: 0;
}

.s7-nav.s7-nav--wedding .s7-nav-grid {
  height: auto;
  min-height: 240px;
  padding-bottom: 0;
}

.s7-nav--wedding .s7-nav-tile {
  height: 100%;
}

/* Wedding Navigation - ハイブリッドレイアウト */
/* 大画面（1024px以上）: 1段Grid表示 (4パネル) */
@media (min-width: 1024px) {
  .s7-nav--wedding .s7-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 240px;
    gap: 0;
    height: auto;
    padding-bottom: 0;
  }

  .s7-nav--wedding .swiper-wrapper {
    display: contents; /* Gridの子要素として直接配置 */
  }

  .s7-nav--wedding .s7-nav-tile {
    width: 100%;
    height: 100%;
  }
}

/* 中小画面（1024px未満）: Swiperスライド式 */
@media (max-width: 1023px) {
  .s7-nav.s7-nav--wedding .s7-nav-grid {
    overflow: hidden; /* スライドエリアをクリップ */
    position: relative;
    padding-bottom: 40px; /* ページネーション用スペース */
  }

  .s7-nav--wedding .swiper-wrapper {
    display: flex;
  }

  .s7-nav--wedding .s7-nav-tile {
    height: 240px;
  }

  /* ナビゲーション矢印（一旦非表示 - 復活させる場合は下の display: none; を削除） */
  .s7-nav--wedding .swiper-button-prev,
  .s7-nav--wedding .swiper-button-next {
    display: none; /* 矢印を非表示 */
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
  }

  .s7-nav--wedding .swiper-button-prev::after,
  .s7-nav--wedding .swiper-button-next::after {
    font-size: 20px;
  }

  .s7-nav--wedding .swiper-button-prev {
    left: 10px;
  }

  .s7-nav--wedding .swiper-button-next {
    right: 10px;
  }

  /* ページネーション */
  .s7-nav--wedding .swiper-pagination {
    bottom: 12px;
  }

  .s7-nav--wedding .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
    width: 10px;
    height: 10px;
  }

  .s7-nav--wedding .swiper-pagination-bullet-active {
    opacity: 1;
    background: #d4af37;
  }
}

/* 大画面ではナビゲーションとページネーションを非表示 */
@media (min-width: 1024px) {
  .s7-nav--wedding .swiper-button-prev,
  .s7-nav--wedding .swiper-button-next,
  .s7-nav--wedding .swiper-pagination {
    display: none;
  }
}

/* ========================================
   SECTION 1: Hero Plans (Wedding & Family)
   ======================================== */

.hero-plans-section {
  padding: clamp(3rem, 8vw, 6rem) 1rem;
  background: linear-gradient(135deg, #faf8f3 0%, #f5f3f0 100%);
  position: relative;
}

.hero-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
  min-height: clamp(400px, 50vh, 600px);
}

.hero-plan-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.hero-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.hero-plan-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.hero-plan-card.wedding .hero-plan-background {
  background-image: linear-gradient(rgba(58, 54, 51, 0.4), rgba(58, 54, 51, 0.6)), url('../img/pic1.webp');
}

.hero-plan-card.family .hero-plan-background {
  background-image: linear-gradient(rgba(58, 54, 51, 0.4), rgba(58, 54, 51, 0.6)), url('../img/pic5.webp');
}

.hero-plan-card:hover .hero-plan-background {
  transform: scale(1.05);
}

.hero-plan-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  min-height: clamp(400px, 50vh, 600px);
}

.hero-plan-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

.hero-plan-badge.luxury {
  background: linear-gradient(135deg, #d4c5b0, #c8b8a1);
  color: #3a3633;
  box-shadow: 0 2px 12px rgba(200, 184, 161, 0.3);
}

.hero-plan-badge.popular {
  background: linear-gradient(135deg, #e67e7e, #d56565);
  color: white;
  box-shadow: 0 2px 12px rgba(213, 101, 101, 0.3);
}

.hero-plan-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-plan-description {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-plan-price {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 500;
  color: #d4c5b0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========================================
   SECTION 2: Contrast Plans (Traditional vs Modern)
   ======================================== */

.contrast-plans-section {
  padding: clamp(3rem, 8vw, 6rem) 1rem;
  background: white;
}

.contrast-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 1400px;
  margin: 0 auto;
}

.contrast-plan-card {
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contrast-plan-card:hover {
  transform: translateY(-6px);
}

.contrast-plan-inner {
  border-radius: 16px;
  overflow: hidden;
  height: clamp(450px, 50vh, 550px);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Traditional Style */
.contrast-plan-card.traditional .contrast-plan-inner {
  background: linear-gradient(135deg, #faf8f3 0%, #f5f3f0 100%);
  border: 2px solid #c8b8a1;
}

.contrast-plan-card.traditional .contrast-plan-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: url('../img/pic6.webp') center/cover no-repeat;
  border-radius: 14px 14px 0 0;
}

.contrast-plan-card.traditional .contrast-plan-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(58, 54, 51, 0.1) 100%);
}

.contrast-plan-card.traditional::before {
  content: '🌸';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.25rem;
  z-index: 3;
  animation: gentle-float 4s ease-in-out infinite;
}

/* Modern Style - Brand-Aligned */
.contrast-plan-card.modern .contrast-plan-inner {
  background: linear-gradient(135deg, #3a3633 0%, #6b6360 100%);
  border: 2px solid #d4c5b0;
  position: relative;
}

.contrast-plan-card.modern .contrast-plan-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4c5b0, transparent);
  animation: scan-line 3s linear infinite;
  z-index: 4;
}

@keyframes scan-line {
  0% { left: -100%; }
  100% { left: 100%; }
}

.contrast-plan-card.modern .contrast-plan-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: url('../img/pic4.webp') center/cover no-repeat;
  border-radius: 14px 14px 0 0;
  filter: brightness(0.9) contrast(1.1);
}

.contrast-plan-card.modern .contrast-plan-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(58, 54, 51, 0.4) 100%);
}

.contrast-plan-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contrast-plan-card.traditional .contrast-plan-content {
  color: #3a3633;
}

.contrast-plan-card.modern .contrast-plan-content {
  color: #faf8f3;
}

.contrast-plan-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.contrast-plan-card.modern .contrast-plan-title {
  color: #d4c5b0;
}

.contrast-plan-description {
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
  line-height: 1.5;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.contrast-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  font-size: clamp(0.8rem, 2vw, 0.85rem);
}

.contrast-plan-features li {
  margin-bottom: 0.25rem;
  padding-left: 1rem;
  position: relative;
}

.contrast-plan-card.traditional .contrast-plan-features li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: #c8b8a1;
}

.contrast-plan-card.modern .contrast-plan-features li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: #d4c5b0;
}

.contrast-plan-price {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
}

.contrast-plan-card.traditional .contrast-plan-price {
  color: #c8b8a1;
}

.contrast-plan-card.modern .contrast-plan-price {
  color: #d4c5b0;
}

/* ========================================
   SECTION 3: Story Plans (Variety & Premium)
   ======================================== */

.story-plans-section {
  padding: clamp(3rem, 8vw, 6rem) 1rem;
  background: linear-gradient(135deg, #f5f3f0 0%, #fdfcfa 100%);
}

.story-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 1400px;
  margin: 0 auto;
}

.story-plan-card {
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: clamp(400px, 45vh, 500px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.story-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Variety Card - Mosaic Layout */
.story-plan-card.variety {
  background: white;
  position: relative;
}

.story-plan-mosaic {
  height: 60%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  padding: 1rem;
}

.mosaic-item {
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.mosaic-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 0%, rgba(200, 184, 161, 0.2) 100%);
}

.mosaic-item.m1 {
  background-image: url('../img/pic3.webp');
}

.mosaic-item.m2 {
  background-image: url('../img/pic2.webp');
}

.mosaic-item.m3 {
  background-image: url('../img/pic1.webp');
}

.mosaic-item.m4 {
  background-image: url('../img/pic4.webp');
}

/* Premium Card - Elegant Brand-Aligned Design */
.story-plan-card.premium {
  background: linear-gradient(135deg, #3a3633 0%, #2a2522 100%);
  color: #faf8f3;
  position: relative;
  border: 2px solid #c8b8a1;
  overflow: hidden;
}

.story-plan-card.premium::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #c8b8a1, #d4c5b0, #c8b8a1, #d4c5b0);
  background-size: 400% 400%;
  border-radius: 18px;
  z-index: -1;
  animation: premium-border 4s ease-in-out infinite;
}

@keyframes premium-border {
  0%, 100% { 
    background-position: 0% 50%; 
  }
  50% { 
    background-position: 100% 50%; 
  }
}

.premium-plan-wrapper {
  position: relative;
  height: 100%;
  background: inherit;
  border-radius: 14px;
}

.story-plan-content {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.premium-icon {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #d4c5b0;
  text-align: center;
  margin-bottom: 1rem;
  animation: gentle-float 3s ease-in-out infinite;
}

@keyframes gentle-float {
  0%, 100% { 
    transform: translateY(0px); 
  }
  50% { 
    transform: translateY(-3px); 
  }
}

.story-plan-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-align: center;
}

.story-plan-card.premium .story-plan-title {
  color: #d4c5b0;
}

.story-plan-card.variety .story-plan-title {
  color: #3a3633;
}

.story-plan-description {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
}

.story-plan-card.variety .story-plan-description {
  color: #6b6461;
}

.premium-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.premium-features li {
  margin-bottom: 0.5rem;
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
  color: #faf8f3;
  position: relative;
}

.premium-features li::before {
  content: '✦';
  color: #d4c5b0;
  margin-right: 0.5rem;
}

.story-plan-price {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  font-weight: 500;
  text-align: center;
}

.story-plan-card.variety .story-plan-price {
  color: #c8b8a1;
  font-weight: 600;
}

.story-plan-card.premium .story-plan-price {
  color: #d4c5b0;
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
}

@keyframes shimmer {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* Process Section */
.process-section {
  padding: clamp(3rem, 8vw, 6rem) 1rem;
  background: #f5f3f0;
}

.process-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1400px;
  margin: 0 auto;
}

@container (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #c8b8a1;
  color: #faf8f3;
  border-radius: 50%;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1rem;
  font-weight: 500;
  color: #3a3633;
  margin-bottom: 0.5rem;
}

.step-description {
  font-size: 0.875rem;
  color: #6b6461;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: clamp(3rem, 8vw, 6rem) 1rem;
  background: linear-gradient(135deg, #3a3633 0%, #2a2522 100%);
  color: #faf8f3;
  text-align: center;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-description {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Modern Buttons */
.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease-out;
  cursor: pointer;
}

.btn-primary {
  background: #c8b8a1;
  color: #faf8f3;
  border: none;
}

.btn-primary:hover {
  background: #d4c5b0;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #faf8f3;
  border: 2px solid #faf8f3;
}

.btn-outline:hover {
  background: #faf8f3;
  color: #3a3633;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .hero-plans-section,
  .contrast-plans-section,
  .story-plans-section,
  .process-section,
  .cta-section {
    padding: 3rem 1rem;
  }
  
  .hero-plans-grid,
  .contrast-plans-grid,
  .story-plans-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-plan-content {
    min-height: 350px;
    padding: 1.5rem;
  }
  
  .contrast-plan-inner {
    height: 400px;
  }
  
  .story-plan-card {
    min-height: 350px;
  }
  
  .story-plan-mosaic {
    height: 180px;
    padding: 0.75rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-large {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-plans-section,
  .contrast-plans-section,
  .story-plans-section {
    padding: 2rem 0.75rem;
  }
  
  .hero-plan-content,
  .contrast-plan-content,
  .story-plan-content {
    padding: 1rem;
  }
  
  .hero-plan-content {
    min-height: 300px;
  }
  
  .contrast-plan-inner {
    height: 350px;
  }
  
  .story-plan-card {
    min-height: 300px;
  }
  
  .story-plan-mosaic {
    height: 150px;
    padding: 0.5rem;
  }
  
  .hero-plan-badge,
  .contrast-plan-badge,
  .story-plan-badge {
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .plan-badge.luxury {
    animation: none;
  }
  
  .plan-card:hover {
    transform: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .plan-card {
    border: 2px solid #3a3633;
  }
  
  .plan-image::after {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.3) 60%,
      rgba(0, 0, 0, 0.6) 100%
    );
  }
}

/* =============================================================================
   OPTIONS SECTION - 2025-12-01
   4-column on large screens, 2-column on smaller screens
   ============================================================================= */

.options-section {
    padding: 5rem 0;
    background: var(--cream-white, #faf8f3);
}

.options-header {
    text-align: center;
    margin-bottom: 3rem;
}

.options-header .section-tag {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--muted-gold, #c8b8a1);
    margin-bottom: 0.5rem;
}

.options-header .section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--charcoal, #3a3633);
    margin: 0;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
}

.option-image {
    aspect-ratio: 16 / 9;
    overflow: visible;
}

.option-image img {
    transition: transform 0.4s ease;
}

.option-image:hover img {
    transform: scale(1.02);
}

.option-detail {
    padding: 1rem;
}

.option-title {
    font-size: 1.4rem;
    color: var(--charcoal, #3a3633);
    margin-bottom: 0.75rem;
}

.option-description {
    font-size: 0.95rem;
    color: var(--warm-gray, #6b6461);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.option-price {
    font-size: 1.1rem;
    color: var(--charcoal, #3a3633);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.option-tax {
    font-size: 0.8rem;
    color: var(--warm-gray, #6b6461);
    font-weight: 400;
}

.options-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--warm-gray, #6b6461);
    margin-top: 2rem;
}

/* Tablet and below: 2 columns */
@media (max-width: 991px) {
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile: stack image and detail */
@media (max-width: 575px) {
    .options-section {
        padding: 3rem 0;
    }

    .options-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .option-title {
        font-size: 1.2rem;
    }

    .option-description {
        font-size: 0.9rem;
    }

    .option-price {
        font-size: 1rem;
    }
}
