:root {
    --renewal-ink: #183239;
    --renewal-navy: #12333c;
    --renewal-navy-deep: #0b252c;
    --renewal-forest: #3e6658;
    --renewal-gold: #b68a52;
    --renewal-gold-soft: #e8d7bb;
    --renewal-cream: #f7f3eb;
    --renewal-paper: #fffdf9;
    --renewal-mist: #edf3f0;
    --renewal-line: rgba(24, 50, 57, 0.12);
    --renewal-shadow: 0 22px 70px rgba(21, 48, 55, 0.12);
    --renewal-shadow-soft: 0 12px 34px rgba(21, 48, 55, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.renewal {
    margin: 0;
    color: var(--renewal-ink);
    background:
        radial-gradient(circle at 10% 5%, rgba(232, 215, 187, 0.28), transparent 25rem),
        var(--renewal-paper);
    font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    line-height: 1.75;
    letter-spacing: -0.015em;
    word-break: keep-all;
}

body.renewal img { max-width: 100%; }

body.renewal a { text-underline-offset: 0.18em; }

body.renewal header {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    min-height: 76px;
    padding: 0 5vw !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: #fff;
    background: rgba(11, 37, 44, 0.94) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 28px rgba(7, 28, 34, 0.13);
    backdrop-filter: blur(16px);
}

body.renewal .logo {
    position: relative;
    flex: 0 0 auto;
    padding: 19px 0 17px;
    color: #f4ddb7 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.1rem, 2vw, 1.42rem) !important;
    font-weight: 700;
    letter-spacing: 0.11em !important;
    text-decoration: none;
}

body.renewal .logo::after {
    content: "LIFE · MEMORY · HERITAGE";
    display: block;
    margin-top: -4px;
    color: rgba(255,255,255,.62);
    font-family: Arial, sans-serif;
    font-size: .56rem;
    font-weight: 600;
    letter-spacing: .18em;
}

body.renewal header nav {
    width: min(680px, 100%);
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem !important;
    margin-left: auto;
}

body.renewal header nav a {
    position: relative;
    width: auto;
    flex: 0 0 auto;
    padding: 10px 15px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.78) !important;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .96rem;
    font-weight: 650 !important;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

body.renewal header nav .nav-dropdown {
    position: relative;
    width: auto;
    flex: 0 0 auto;
}

body.renewal header nav .nav-dropdown summary {
    width: auto;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.78);
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .96rem;
    font-weight: 650;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    list-style: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

body.renewal header nav .nav-dropdown summary::-webkit-details-marker { display: none; }

body.renewal header nav .nav-dropdown summary:hover,
body.renewal header nav .nav-dropdown[open] summary,
body.page-church header nav .nav-memory summary,
body.page-temple header nav .nav-memory summary,
body.page-digital header nav .nav-digital summary {
    color: #fff;
    background: rgba(255,255,255,.1);
    border-color: rgba(244, 221, 183, .38);
}

body.renewal header nav .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 50%;
    z-index: 1100;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-width: 0;
    padding: 0;
    gap: 6px !important;
    transform: translateX(-50%);
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.renewal header nav .nav-dropdown-menu a {
    display: block;
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 7px 10px !important;
    color: rgba(255,255,255,.9) !important;
    background: #17363a;
    border: 1px solid rgba(244, 221, 183, .32);
    border-radius: 999px;
    font-size: .875rem;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

body.renewal header nav .nav-dropdown-menu a:hover,
body.renewal header nav .nav-dropdown-menu a[aria-current="page"] {
    color: #17363a !important;
    background: #f4ddb7;
    border-color: #f4ddb7;
}

body.renewal header nav a:hover,
body.page-home header nav a[href="#home"],
body.page-church header nav a[href="교회페이지.html"],
body.page-pet header nav a[href="반려동물.html"],
body.page-dna header nav a[href="DNA파크.html"] {
    color: #fff !important;
    background: rgba(255,255,255,.1);
    border-color: rgba(244, 221, 183, .38);
}

body.renewal .hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: clamp(430px, 52vw, 680px);
    margin: 0 !important;
    padding: clamp(110px, 12vw, 165px) max(6vw, 24px) 90px !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center !important;
    color: #fff;
    text-align: left !important;
    background-position: center !important;
    background-size: cover !important;
}

body.renewal .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 28, 34, .86) 0%, rgba(7, 28, 34, .58) 48%, rgba(7, 28, 34, .12) 100%),
        linear-gradient(0deg, rgba(7, 28, 34, .25), transparent 48%);
}

body.renewal .hero h1 {
    max-width: 840px;
    margin: 0 0 22px !important;
    color: #fff !important;
    font-family: Georgia, "Noto Serif KR", serif;
    font-size: clamp(2.35rem, 5.5vw, 4.65rem) !important;
    font-weight: 650 !important;
    line-height: 1.18 !important;
    letter-spacing: -.045em !important;
    text-shadow: 0 8px 34px rgba(0,0,0,.24);
}

body.renewal .hero > p {
    max-width: 720px;
    margin: 0 0 26px !important;
    color: rgba(255,255,255,.88) !important;
    font-size: clamp(1rem, 1.5vw, 1.22rem) !important;
    line-height: 1.8;
}

body.page-church .hero {
    background-image: url("../images/pray.jpg") !important;
}

body.page-pet .hero {
    background-image: url("../images/petmemorywall.png") !important;
    background-position: center 45% !important;
}

body.renewal .hero-highlights {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    gap: 9px !important;
    margin-top: 4px !important;
}

body.renewal .hero-chip {
    padding: 9px 14px !important;
    color: #fff !important;
    background: rgba(255,255,255,.11) !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px);
    font-size: .9rem !important;
    font-weight: 600;
}

body.page-home .hero,
body.page-dna .hero {
    min-height: 0;
    padding: 0 !important;
    display: block !important;
    background: var(--renewal-navy-deep) !important;
}

body.page-home .hero::before,
body.page-dna .hero::before { display: none; }

body.page-home .hero img,
body.page-dna .hero img {
    width: 100%;
    min-height: clamp(300px, 32vw, 550px);
    max-height: 650px;
    display: block;
    object-fit: cover;
    object-position: center;
}

body.page-home .home-process-hero {
    position: relative;
    min-height: clamp(430px, 40vw, 570px) !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    isolation: isolate;
}

body.page-home .home-process-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    background:
        linear-gradient(90deg, rgba(7, 28, 34, .95) 0%, rgba(7, 28, 34, .83) 42%, rgba(7, 28, 34, .38) 72%, rgba(7, 28, 34, .42) 100%),
        linear-gradient(180deg, rgba(7, 28, 34, 1) 0%, rgba(7, 28, 34, .98) 34%, rgba(7, 28, 34, .72) 54%, rgba(7, 28, 34, .64) 100%);
}

body.page-home .home-process-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    max-height: none;
    object-fit: cover;
    object-position: center 72% !important;
    transform: scale(1.42);
    transform-origin: center bottom;
    filter: brightness(.72) saturate(.82);
}

body.page-home .home-process-hero-copy {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 38px 0;
    color: #fff;
    text-align: left;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .42);
}

body.page-home .home-process-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #efd7a4;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .22em;
}

body.page-home .home-process-hero-copy h1 {
    max-width: 900px;
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(2.35rem, 3.7vw, 3.25rem);
    line-height: 1.17;
    letter-spacing: -.035em;
}

body.page-home .home-process-hero-copy p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(.94rem, 1.25vw, 1.08rem);
    line-height: 1.75;
}

.trust-strip {
    position: relative;
    z-index: 3;
    width: min(1120px, calc(100% - 32px));
    margin: -34px auto 24px;
    padding: 22px clamp(22px, 4vw, 42px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    color: var(--renewal-ink);
    background: rgba(255,253,249,.96);
    border: 1px solid rgba(182,138,82,.23);
    border-radius: 22px;
    box-shadow: var(--renewal-shadow);
    backdrop-filter: blur(12px);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.trust-item + .trust-item {
    padding-left: 24px;
    border-left: 1px solid var(--renewal-line);
}

.trust-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--renewal-navy);
    background: var(--renewal-gold-soft);
    border-radius: 50%;
    font-size: 1.05rem;
    font-weight: 800;
}

.trust-item strong { display: block; font-size: 1rem; line-height: 1.35; }
.trust-item span:last-child { display: block; margin-top: 2px; color: #65777a; font-size: .84rem; line-height: 1.45; }

.religion-switch {
    padding: 34px max(5vw, 24px) !important;
    background: var(--renewal-paper) !important;
}

.religion-switch-grid {
    width: min(920px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.religion-switch-card {
    min-height: 98px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--renewal-ink) !important;
    background: #fff;
    border: 1px solid var(--renewal-line);
    border-radius: 18px;
    box-shadow: var(--renewal-shadow-soft);
    text-decoration: none;
}

.religion-switch-card strong {
    display: block;
    color: var(--renewal-navy);
    font-size: 1.08rem;
}

.religion-switch-card span {
    display: block;
    margin-top: 3px;
    color: #68797c;
    font-size: .9rem;
}

.religion-switch-card.active {
    color: #fff !important;
    background: var(--renewal-navy);
    border-color: var(--renewal-navy);
}

.religion-switch-card.active strong,
.religion-switch-card.active span { color: #fff; }

.religion-switch-card::after {
    content: "보기";
    flex: 0 0 auto;
    padding: 7px 11px;
    color: var(--renewal-navy);
    background: var(--renewal-gold-soft);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 750;
}

.religion-switch-card.active::after {
    content: "현재 페이지";
    color: #fff;
    background: rgba(255,255,255,.14);
}

body.renewal section {
    position: relative;
    padding: clamp(72px, 8vw, 112px) max(5vw, 24px) !important;
    overflow: hidden;
}

body.renewal section:nth-of-type(odd) { background-color: var(--renewal-paper) !important; }
body.renewal section:nth-of-type(even) { background-color: var(--renewal-cream) !important; }

body.renewal section > * {
    width: min(1180px, 100%);
    margin-left: auto;
    margin-right: auto;
}

body.renewal .section-title,
body.renewal section > h2,
body.renewal section h2 {
    color: var(--renewal-navy) !important;
    font-family: Georgia, "Noto Serif KR", serif;
    font-size: clamp(2rem, 3.6vw, 3.15rem) !important;
    line-height: 1.28 !important;
    letter-spacing: -.04em !important;
}

body.renewal .section-title::before,
body.renewal section > h2::before {
    content: "GENE FOREVER";
    display: block;
    margin-bottom: 10px;
    color: var(--renewal-gold);
    font-family: Arial, sans-serif;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .22em;
}

body.renewal .section-subtitle,
body.renewal section > p {
    color: #5b6d70 !important;
    font-size: clamp(1rem, 1.4vw, 1.13rem) !important;
    line-height: 1.85 !important;
}

body.page-home section > div:first-child[style*="grid"] {
    padding: clamp(28px, 4vw, 56px) !important;
    gap: clamp(28px, 5vw, 72px) !important;
    background: rgba(255,255,255,.72);
    border: 1px solid var(--renewal-line);
    border-radius: 28px;
    box-shadow: var(--renewal-shadow-soft);
}

body.page-home section:nth-of-type(even) > div:first-child[style*="grid"] {
    background: rgba(255,253,249,.82);
}

body.page-home section h2[style] {
    color: var(--renewal-navy) !important;
    font-family: Georgia, "Noto Serif KR", serif;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem) !important;
    line-height: 1.3 !important;
}

body.page-home section p[style] { color: #536568 !important; line-height: 1.85 !important; }

body.page-home section a[style*="background-color"] {
    padding: 13px 24px !important;
    color: #fff !important;
    background: var(--renewal-navy) !important;
    border: 1px solid var(--renewal-navy) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 22px rgba(18, 51, 60, .16);
}

body.page-home section img {
    border-radius: 20px;
}

body.renewal .intro-grid,
body.renewal .viewer-custom-layout {
    gap: clamp(28px, 5vw, 64px) !important;
    align-items: center !important;
}

body.renewal .intro-text,
body.renewal .viewer-box {
    color: #41575b;
}

body.renewal .quick-grid,
body.renewal .card-container,
body.renewal .step-grid,
body.renewal .process-container {
    gap: 20px !important;
}

body.renewal .quick-card,
body.renewal .card,
body.renewal .step-card,
body.renewal .process-step,
body.renewal .viewer-item {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 3vw, 38px) !important;
    color: var(--renewal-ink) !important;
    background: rgba(255,255,255,.88) !important;
    border: 1px solid var(--renewal-line) !important;
    border-radius: 22px !important;
    box-shadow: var(--renewal-shadow-soft) !important;
    transform: none !important;
    transition: transform .25s ease, box-shadow .25s ease !important;
}

body.renewal .quick-card:hover,
body.renewal .card:hover,
body.renewal .step-card:hover,
body.renewal .process-step:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--renewal-shadow) !important;
}

body.renewal .quick-card::before,
body.renewal .card::before,
body.renewal .step-card::before,
body.renewal .process-step::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(var(--renewal-gold), var(--renewal-forest));
}

body.renewal .quick-card h4,
body.renewal .card h4,
body.renewal .step-card h4,
body.renewal .process-step h4 {
    color: var(--renewal-navy) !important;
    font-size: 1.2rem !important;
}

body.renewal .quick-card p,
body.renewal .card p,
body.renewal .step-card p,
body.renewal .process-step p { color: #5a6a6d !important; }

body.page-church .quick-grid,
body.page-temple .quick-grid {
    width: min(880px, 100%);
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px !important;
}

body.page-church .quick-card,
body.page-temple .quick-card {
    padding: 18px 17px !important;
    border-radius: 16px !important;
    text-align: left;
}

body.page-church .quick-card h4,
body.page-temple .quick-card h4 {
    margin-bottom: 7px;
    font-size: 1rem !important;
}

body.page-church .quick-card p,
body.page-temple .quick-card p {
    font-size: .9rem;
    line-height: 1.55;
}

body.page-temple #meaning .card-container,
body.page-temple #preservation .card-container {
    width: min(760px, 100%);
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px !important;
}

body.page-temple #meaning .card,
body.page-temple #preservation .card {
    padding: 16px 22px !important;
    border-radius: 16px !important;
}

body.page-temple #meaning .card h4,
body.page-temple #preservation .card h4 {
    margin: 0 0 6px;
    font-size: 1.2rem !important;
}

body.page-temple #meaning .card p,
body.page-temple #preservation .card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

body.renewal .card-icon,
body.renewal .step-number {
    color: var(--renewal-navy) !important;
    background: var(--renewal-gold-soft) !important;
    border-color: rgba(182,138,82,.35) !important;
}

body.renewal .featured-video-block {
    margin-top: clamp(44px, 7vw, 84px) !important;
    padding: clamp(24px, 4vw, 48px) !important;
    color: var(--renewal-ink) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,243,235,.93)) !important;
    border: 1px solid rgba(182,138,82,.26) !important;
    border-radius: 28px !important;
    box-shadow: var(--renewal-shadow) !important;
}

body.renewal .featured-video-block h2,
body.renewal .featured-video-block h3 {
    color: var(--renewal-navy) !important;
    font-family: Georgia, "Noto Serif KR", serif;
    font-size: clamp(1.75rem, 3vw, 2.45rem) !important;
}

body.renewal .featured-video-shell {
    overflow: hidden;
    border: 1px solid rgba(18,51,60,.14) !important;
    border-radius: 20px !important;
    box-shadow: 0 18px 50px rgba(18,51,60,.15) !important;
}

body.renewal .featured-video {
    width: 100%;
    display: block;
    background: #071b20;
}

body.renewal .featured-video-play {
    padding: 14px 22px !important;
    color: #fff !important;
    background: rgba(11,37,44,.9) !important;
    border: 1px solid rgba(255,255,255,.42) !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 36px rgba(0,0,0,.26) !important;
    backdrop-filter: blur(10px);
}

body.renewal .featured-video-note { color: #738083 !important; }

body.renewal .comparison-container,
body.renewal .mission-table,
body.renewal .qa-container {
    overflow: hidden;
    background: rgba(255,255,255,.92) !important;
    border: 1px solid var(--renewal-line) !important;
    border-radius: 24px !important;
    box-shadow: var(--renewal-shadow-soft) !important;
}

body.renewal .comparison-title,
body.renewal .comp-th,
body.renewal .qa-question {
    color: var(--renewal-navy) !important;
    background: var(--renewal-mist) !important;
}

body.renewal .highlight-badge {
    display: inline-block;
    padding: 14px 24px !important;
    color: var(--renewal-navy) !important;
    background: linear-gradient(135deg, #f3e6cf, #e5d0ad) !important;
    border: 1px solid rgba(182,138,82,.42) !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 30px rgba(18,51,60,.1) !important;
    font-size: clamp(1rem, 2vw, 1.35rem) !important;
    font-weight: 750 !important;
}

body.renewal .new-tech,
body.renewal .comp-new-val {
    color: var(--renewal-navy) !important;
    background: #f1ede3 !important;
}

body.renewal .cta-section {
    margin: 0 !important;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(182,138,82,.3), transparent 24rem),
        linear-gradient(135deg, var(--renewal-navy-deep), var(--renewal-navy)) !important;
}

body.renewal .cta-section h2,
body.renewal .cta-card h2 { color: #fff !important; }

body.renewal .cta-section h2::before { color: #f4ddb7 !important; }

body.renewal .cta-card {
    padding: clamp(34px, 6vw, 70px) !important;
    background: rgba(255,255,255,.07) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 28px !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px);
}

body.renewal .cta-button,
body.renewal .cta-actions a {
    padding: 13px 22px !important;
    border-radius: 999px !important;
    font-weight: 750 !important;
}

body.renewal .cta-button.primary,
body.renewal .cta-actions .primary {
    color: var(--renewal-navy-deep) !important;
    background: #f4ddb7 !important;
    border-color: #f4ddb7 !important;
}

body.renewal .cta-button.secondary,
body.renewal .cta-actions .secondary {
    color: #fff !important;
    background: transparent !important;
    border-color: rgba(255,255,255,.45) !important;
}

body.renewal footer {
    padding: 50px max(5vw, 24px) 46px !important;
    color: rgba(255,255,255,.72) !important;
    background: #081e24 !important;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
}

body.renewal footer a { color: #f4ddb7 !important; }

body.renewal .modal-overlay { backdrop-filter: blur(9px); }

body.renewal .modal-content {
    color: var(--renewal-ink);
    background: var(--renewal-paper) !important;
    border: 1px solid var(--renewal-line);
    border-radius: 24px !important;
    box-shadow: var(--renewal-shadow);
}

/* 디지털관 */
body.page-digital {
    background: var(--renewal-cream);
}

.digital-main {
    min-height: calc(100vh - 170px);
    padding: clamp(42px, 7vw, 82px) max(5vw, 22px) 80px;
}

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

.digital-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.digital-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--renewal-gold);
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.digital-heading h1 {
    margin: 0;
    color: var(--renewal-navy);
    font-family: Georgia, "Noto Serif KR", serif;
    font-size: clamp(2.25rem, 5vw, 4.4rem);
    line-height: 1.13;
    letter-spacing: -.05em;
}

.digital-heading p {
    margin: 16px 0 0;
    color: #596c70;
    font-size: 1.05rem;
    line-height: 1.8;
}

.digital-frame {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--renewal-line);
    border-radius: 24px;
    box-shadow: var(--renewal-shadow);
}

.digital-frame iframe {
    width: 100%;
    height: min(1050px, 82vh);
    min-height: 720px;
    display: block;
    border: 0;
    background: #fff;
}

.digital-frame-note {
    margin: 14px 4px 0;
    color: #66777a;
    font-size: .9rem;
    text-align: right;
}

.digital-frame-note a { color: var(--renewal-navy); font-weight: 750; }

.signup-intro {
    padding: clamp(28px, 5vw, 52px);
    color: #fff;
    background: linear-gradient(135deg, var(--renewal-navy-deep), var(--renewal-navy));
    border-radius: 28px;
    box-shadow: var(--renewal-shadow);
}

.signup-intro h1 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Noto Serif KR", serif;
    font-size: clamp(2.1rem, 4.5vw, 3.7rem);
    line-height: 1.2;
}

.signup-intro p {
    max-width: 840px;
    margin: 15px 0 0;
    color: rgba(255,255,255,.8);
    font-size: 1.05rem;
    line-height: 1.8;
}

.signup-points {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.signup-point {
    padding: 18px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
}

.signup-point strong { display: block; color: #f4ddb7; font-size: 1rem; }
.signup-point span { display: block; margin-top: 6px; color: rgba(255,255,255,.74); font-size: .9rem; line-height: 1.55; }

.membership-fees {
    margin-top: 28px;
    padding: clamp(24px, 4vw, 38px);
    background: #fff;
    border: 1px solid var(--renewal-line);
    border-radius: 24px;
    box-shadow: var(--renewal-shadow-soft);
}

.membership-fees-heading h2 { margin: 5px 0 0 !important; font-size: clamp(1.55rem, 3vw, 2.2rem) !important; }
.membership-fees-heading p { margin: 8px 0 0; color: #607174; line-height: 1.7; }
.membership-fee-grid { margin-top: 22px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.membership-fee-card { padding: 22px; background: #f7f8f6; border: 1px solid #dfe5e2; border-radius: 20px; }
.membership-fee-card.is-organization { background: #f7f1e6; border-color: #e4d1ad; }
.membership-fee-type { display: inline-block; padding: 6px 11px; color: #fff; background: var(--renewal-navy); border-radius: 999px; font-size: .82rem; font-weight: 800; }
.membership-fee-card h3 { margin: 13px 0 !important; color: var(--renewal-ink); font-size: 1.15rem !important; }
.membership-fee-card dl { margin: 0; }
.membership-fee-card dl div { padding: 10px 0; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #dfe5e2; }
.membership-fee-card dt { font-weight: 750; }
.membership-fee-card dd { margin: 0; color: #55696c; text-align: right; }
.membership-fee-price { margin: 0; color: #344a4d; font-size: 1rem; line-height: 1.7; }
.membership-fee-price strong { color: var(--renewal-navy); font-size: 1.15rem; }
.membership-fee-note { margin: 12px 0 0; color: #6a7473; font-size: .9rem; line-height: 1.6; }
.membership-link-note { margin: 16px 0 0; padding: 14px 16px; color: #43595c; background: #eef3f1; border-radius: 14px; line-height: 1.65; }

.signup-choice {
    margin: 34px auto 0;
    padding: clamp(24px, 4vw, 38px);
    background: #fff;
    border: 1px solid var(--renewal-line);
    border-radius: 24px;
    box-shadow: var(--renewal-shadow-soft);
    text-align: center;
}

.signup-choice h2 {
    margin: 0 !important;
    font-size: clamp(1.55rem, 3vw, 2.2rem) !important;
}

.signup-choice p { margin: 10px 0 22px; color: #607174; line-height: 1.7; }

.signup-choice-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.signup-choice-button {
    min-width: 190px;
    padding: 13px 22px;
    color: #fff;
    background: var(--renewal-navy);
    border: 1px solid var(--renewal-navy);
    border-radius: 999px;
    font: inherit;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.signup-choice-button:hover,
.signup-choice-button[aria-pressed="true"] {
    color: var(--renewal-navy-deep);
    background: #f4ddb7;
    border-color: #d6b577;
}

.application-panel {
    margin-top: 24px;
    padding: clamp(24px, 4vw, 42px);
    background: #fff;
    border: 1px solid var(--renewal-line);
    border-radius: 24px;
    box-shadow: var(--renewal-shadow-soft);
}

.application-panel.is-hidden { display: none; }

.application-panel h2 {
    margin: 0 0 8px !important;
    font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
}

.application-panel > p { margin: 0 0 26px; color: #607174; line-height: 1.65; }

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

.application-field.full { grid-column: 1 / -1; }

.application-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--renewal-ink);
    font-size: .95rem;
    font-weight: 750;
}

.application-field input,
.application-field select,
.application-field textarea {
    width: 100%;
    padding: 13px 14px;
    color: var(--renewal-ink);
    background: #fff;
    border: 1px solid #ccd7d5;
    border-radius: 12px;
    font: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

.application-field textarea { min-height: 120px; resize: vertical; }
.application-field input[readonly] { color: #53676a; background: #f3f5f4; }
.application-field input[type="file"] { padding: 10px; background: #fbfcfb; }
.application-field small { display: block; margin-top: 7px; color: #6b7a7d; font-size: .84rem; line-height: 1.55; }
.field-optional { color: #78888a; font-size: .83rem; font-weight: 600; }
.application-field input:focus,
.application-field select:focus,
.application-field textarea:focus { outline: 3px solid rgba(182,138,82,.2); border-color: var(--renewal-gold); }

.application-consent {
    margin-top: 22px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #526568;
    background: var(--renewal-mist);
    border-radius: 14px;
    font-size: .9rem;
    line-height: 1.6;
}

.application-consent input { margin-top: 4px; }

.application-autopay {
    margin-top: 22px;
    padding: 16px;
    display: flex;
    gap: 10px;
    color: #42585b;
    background: #f7f1e6;
    border: 1px solid #e4d1ad;
    border-radius: 14px;
    line-height: 1.6;
}

.application-autopay input { margin-top: 4px; }

.application-notice {
    margin: 18px 0 0;
    color: #6b7a7d;
    font-size: .85rem;
    line-height: 1.6;
}

.application-submit {
    width: 100%;
    margin-top: 22px;
    padding: 15px 24px;
    color: #fff;
    background: var(--renewal-navy);
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
}

.application-submit:hover { background: var(--renewal-navy-deep); }

.signup-complete {
    max-width: 720px;
    margin: 8vh auto;
    padding: clamp(32px, 6vw, 62px);
    background: #fff;
    border: 1px solid var(--renewal-line);
    border-radius: 28px;
    box-shadow: var(--renewal-shadow);
    text-align: center;
}

.signup-complete h1 { margin: 0; color: var(--renewal-navy); font-size: clamp(2rem, 4vw, 3rem); }
.signup-complete p { margin: 16px 0 26px; color: #5f7174; font-size: 1.05rem; line-height: 1.75; }
.signup-complete a { display: inline-block; padding: 13px 22px; color: #fff; background: var(--renewal-navy); border-radius: 999px; font-weight: 800; text-decoration: none; }

@media (max-width: 900px) {
    body.renewal header {
        min-height: auto;
        padding: 8px 16px 10px !important;
        flex-direction: column;
        gap: 3px;
    }

    body.renewal .logo { padding: 4px 0 2px; text-align: center; }

    body.renewal header nav {
        width: 100%;
        justify-content: center;
        margin-left: auto;
        overflow: visible;
        padding: 4px 0 2px;
        gap: 8px !important;
        flex-wrap: wrap;
        scrollbar-width: none;
    }

    body.renewal header nav::-webkit-scrollbar { display: none; }
    body.renewal header nav a { padding: 8px 10px !important; font-size: .86rem; }
    body.renewal header nav .nav-dropdown summary { padding: 8px 10px; font-size: .86rem; white-space: nowrap; }
    body.renewal header nav .nav-dropdown-menu { left: 50%; transform: translateX(-50%); }

    .signup-points { grid-template-columns: 1fr; }
    .membership-fee-grid { grid-template-columns: 1fr; }
    .membership-fee-card dl div { display: block; }
    .membership-fee-card dd { margin-top: 3px; text-align: left; }
    .application-grid { grid-template-columns: 1fr; }
    .application-field.full { grid-column: auto; }
    .digital-frame iframe { min-height: 640px; height: 78vh; }

    body.renewal .hero {
        min-height: 540px;
        padding: 100px 24px 72px !important;
        background-position: 58% center !important;
    }

    body.renewal .hero::before {
        background: linear-gradient(90deg, rgba(7,28,34,.86), rgba(7,28,34,.46)),
                    linear-gradient(0deg, rgba(7,28,34,.3), transparent 50%);
    }

    body.renewal.page-home .hero,
    body.renewal.page-dna .hero {
        min-height: 0;
        padding: 0 !important;
    }

    body.page-home .hero img,
    body.page-dna .hero img {
        min-height: 300px;
        object-position: center;
    }

    .trust-strip { grid-template-columns: 1fr; gap: 14px; margin-top: -20px; }
    .trust-item + .trust-item { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--renewal-line); }

    body.page-home section > div:first-child[style*="grid"] {
        grid-template-columns: 1fr !important;
        padding: 22px !important;
    }

    body.page-home section:nth-of-type(2n) > div:first-child[style*="grid"] > div:first-child {
        order: 0 !important;
    }
}

@media (max-width: 640px) {
    body.renewal { word-break: keep-all; }
    body.renewal section { padding: 62px 18px !important; }
    body.renewal .section-title::before,
    body.renewal section > h2::before { font-size: .63rem; }
    body.renewal .hero h1 br { display: none; }
    body.renewal .hero-chip { font-size: .8rem !important; }
    body.page-home .hero img { min-height: 250px; }
    body.page-home .home-process-hero { min-height: 420px !important; }
    body.page-home .home-process-hero > img { transform: scale(1.65); object-position: 60% 72% !important; }
    body.page-home .home-process-hero-copy { width: calc(100% - 36px); padding: 34px 0; }
    body.page-home .home-process-hero-copy h1 { font-size: clamp(2rem, 10vw, 2.6rem); line-height: 1.18; }
    body.page-home .home-process-hero-copy p { font-size: .93rem; line-height: 1.7; }
    body.renewal .quick-card,
    body.renewal .card,
    body.renewal .step-card,
    body.renewal .process-step { padding: 24px 22px !important; }
    body.page-church .quick-grid,
    body.page-temple .quick-grid { grid-template-columns: 1fr; gap: 10px !important; }
    body.page-church .quick-card,
    body.page-temple .quick-card { padding: 17px 16px !important; }
    body.renewal .featured-video-block { padding: 16px !important; border-radius: 20px !important; }
    body.renewal .featured-video-shell { border-radius: 14px !important; }
    body.renewal .comparison-container { overflow-x: auto; }
    body.renewal .comparison-table { min-width: 720px; }
    .religion-switch-grid { grid-template-columns: 1fr; }
    .religion-switch-card { min-height: 86px; padding: 17px 18px; }
}

@media (max-width: 420px) {
    body.renewal header nav { gap: 10px !important; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
