/* ============================================================
   HOME.CSS — 首頁 (index02.html)
   ============================================================ */

/* ── HERO ── */
.hero {
    position: relative;
    height: 100vh; min-height: 600px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    overflow: hidden;
    padding-top: var(--nav-h);
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('../assets/oregon-sky.jpg') center center / cover no-repeat;
    filter: brightness(0.82) saturate(1.05);
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.55));
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(160deg,
        rgba(135,195,245,0.55) 0%,
        rgba(180,220,255,0.35) 50%,
        rgba(255,255,255,0.20) 100%
    );
}
.hero-center {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    width: 60%;
}

/* Logo animation */
.hero-logo-wrap {
    width: 60%; margin-bottom: 32px; position: relative;
}
.hero-logo-wrap svg { width: 100%; height: auto; display: block; }
.logo-clip-rect {
    animation: logoSweep 1.8s cubic-bezier(0.4,0,0.2,1) forwards,
               logoPulse 3s ease-in-out 2s infinite;
}

.hero-btns {
    display: flex; gap: 12px; align-items: center; justify-content: center;
}
.hero-btn-main {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--y); color: var(--black);
    font-weight: 600; font-size: 16px;
    padding: 13px 30px; border-radius: 100px;
    transition: all .2s;
    box-shadow: 0 4px 20px rgba(243,191,13,0.4);
}
.hero-btn-main:hover { background: #ffd000; transform: translateY(-1px); }
.hero-btn-sub {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 16px; font-weight: 600; color: var(--black);
    padding: 12px 24px; border-radius: 100px;
    background: rgba(255,255,255,0.75); backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255,255,255,0.8); transition: all .2s;
}
.hero-btn-sub:hover { background: rgba(255,255,255,0.95); }

/* ── SERVICE ── */
.service { background: var(--white); padding: 90px 0 80px; }
.service-head { text-align: center; margin-bottom: 56px; }
.service-features {
    display: flex; flex-direction: column; gap: 0;
    max-width: var(--max); margin: 0 auto;
}
.sf-row {
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; min-height: 420px;
}
.sf-row.alt { direction: rtl; }
.sf-row.alt > * { direction: ltr; }
.sf-text { padding: 60px 56px; }
.sf-feature-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px; font-weight: 600; letter-spacing: 0.2em;
    color: var(--y); text-transform: uppercase; margin-bottom: 6px;
    display: flex; align-items: center; gap: 8px;
}
.sf-feature-label span { font-size: 48px; color: var(--y); line-height: 1; }
.sf-h {
    font-size: clamp(22px,2.5vw,34px); font-weight: 600; color: var(--y);
    line-height: 1.3; margin-bottom: 16px;
}
.sf-p { font-size: 16px; color: var(--text); line-height: 1.95; }
.sf-img {
    height: 100%; min-height: 360px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    background: var(--white);
}
.sf-img::before {
    content: '';
    position: absolute;
    width: 340px; height: 340px; border-radius: 50%;
    background: var(--y); z-index: 0;
}
.sf-img img {
    position: relative; z-index: 1;
    width: 280px; height: 280px; object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
    transition: transform .4s;
}
.sf-row:hover .sf-img img { transform: scale(1.04) translateY(-4px); }
.sf-row:nth-child(1) .sf-text { background: var(--white); }
.sf-row:nth-child(1) .sf-img  { background: var(--white); }
.sf-row:nth-child(2) .sf-text { background: var(--white); }
.sf-row:nth-child(2) .sf-img  { background: var(--white); }
.sf-row:nth-child(3) .sf-text { background: var(--white); }
.sf-row:nth-child(3) .sf-img  { background: var(--white); }

/* ── HOW TO USE ── */
.how { background: var(--y); padding: 88px 0; }
.how-head { text-align: center; margin-bottom: 56px; }
.how-head .section-en  { color: rgba(0,0,0,0.45); }
.how-head .section-ja  { color: var(--black); }
.steps-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.step-card {
    background: var(--white); border-radius: 24px;
    padding: 36px 20px 32px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform .3s, box-shadow .3s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.step-badge {
    display: inline-block;
    background: var(--y); color: var(--black);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px; font-weight: 600; letter-spacing: 0.15em;
    text-transform: uppercase; padding: 4px 14px; border-radius: 100px;
    margin-bottom: 24px;
}
.step-img  { width: 100%; height: auto; object-fit: contain; margin-bottom: 22px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.07)); }
.step-title { font-size: 18px; font-weight: 600; color: var(--black); margin-bottom: 8px; }
.step-desc  { font-size: 16px; color: var(--muted); line-height: 1.75; }

/* ── OREGON ── */
.oregon { position: relative; overflow: hidden; padding: 90px 0; }
.oregon-bg {
    position: absolute; inset: 0;
    background: url('../assets/oregon-sky.jpg') center 30% / cover no-repeat;
    filter: brightness(0.88) saturate(0.9);
}
.oregon-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(135,195,245,0.88) 0%, rgba(165,215,250,0.80) 40%, rgba(200,232,255,0.85) 100%);
}
.oregon .wrap {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between; gap: 80px;
}
.oregon-left h2 {
    font-size: clamp(26px,3vw,44px); font-weight: 600; color: var(--black);
    line-height: 1.35; margin-bottom: 14px;
}
.oregon-left p { font-size: 16px; color: var(--text); line-height: 1.9; max-width: 480px; }
.oregon-cards  { display: flex; gap: 16px; flex-shrink: 0; }
.oregon-card {
    background: var(--white); border-radius: 20px;
    padding: 28px 28px 22px; text-align: center; min-width: 130px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.oregon-card-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 40px; font-weight: 600; color: var(--black); line-height: 1; margin-bottom: 6px;
}
.oregon-card-lbl { font-size: 16px; font-weight: 600; color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .service-features .sf-row { grid-template-columns: 1fr; min-height: auto; }
    .service-features .sf-row.alt { direction: ltr; }
    .sf-text { padding: 44px 32px; }
    .sf-img  { min-height: 300px; }
    .sf-img img { width: 220px; height: 220px; }
    .sf-img::before { width: 280px; height: 280px; }
    .sf-row:nth-child(2) .sf-img { order: -1; }
    .steps-grid { grid-template-columns: repeat(2,1fr); }
    .oregon .wrap { flex-direction: column; gap: 40px; }
    .oregon-cards { justify-content: flex-start; }
}
@media (max-width: 640px) {
    .hero-center { width: 90%; }
    .hero-logo-wrap { width: 80%; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns a { width: 100%; justify-content: center; }
    .sf-img img { width: 180px; height: 180px; }
    .sf-img::before { width: 220px; height: 220px; }
    .steps-grid { grid-template-columns: 1fr; }
    .oregon-cards { flex-wrap: wrap; gap: 12px; }
}
