/* ================================================
   Travelabo - ハイエンド旅行プロデュースサイト
   カラーパレット:
   - Deep Navy: #1A2332
   - Platinum Gold: #C9AB81
   - Pure White: #FFFFFF
   - Charcoal Grey: #2C3E50
   - Soft Grey: #F8F9FA
   - Accent Gold: #D4AF37
   - Midnight Blue: #0F1419
   ================================================ */

/* ================================================
   Reset & Base Styles
   ================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --color-navy: #1A2332;
    --color-gold: #C9AB81;
    --color-white: #FFFFFF;
    --color-charcoal: #2C3E50;
    --color-soft-grey: #F8F9FA;
    --color-accent-gold: #D4AF37;
    --color-midnight: #0F1419;
    
    /* Typography */
    --font-primary: 'Inter', 'Noto Sans JP', sans-serif;
    --font-secondary: 'Playfair Display', 'Noto Serif JP', serif;
    
    /* Spacing */
    --spacing-section: 120px;
    --spacing-container: 60px;
    
    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-charcoal);
    background: var(--color-white);
    overflow-x: hidden;
}

/* ================================================
   Typography
   ================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-navy);
}

h1 {
    font-size: 56px;
    line-height: 1.2;
}

h2 {
    font-size: 42px;
    line-height: 1.3;
}

h3 {
    font-size: 32px;
    line-height: 1.4;
}

/* ================================================
   Layout
   ================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: var(--spacing-section) 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white) !important;
}

/* ================================================
   Navigation
   ================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-text {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: -0.03em;
}

.nav-logo .logo-image {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity 0.3s var(--transition-smooth);
}

.nav-logo .logo-image:hover {
    opacity: 0.8;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-button span {
    width: 100%;
    height: 3px;
    background-color: var(--color-navy);
    transition: all 0.3s var(--transition-smooth);
    border-radius: 2px;
}

.mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu-list {
    display: flex;
    gap: 40px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-list > li {
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-charcoal);
    text-decoration: none;
    position: relative;
    transition: color 0.3s var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-gold);
    transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-accent-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    padding: 12px 28px;
    background: var(--color-navy);
    color: var(--color-white);
    border-radius: 4px;
    transition: all 0.3s var(--transition-smooth);
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: var(--color-accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 背景画像はPHPテンプレート側でインラインスタイルとして指定 */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-background > * {
    width: 100%;
    height: 100%;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(201, 171, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    animation: heroGradient 15s ease-in-out infinite;
}

@keyframes heroGradient {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
    max-width: none;
    padding-left: calc((100vw - min(1200px, 100vw)) / 2 + 40px);
    padding-right: 24px;
    margin-bottom: clamp(320px, 34vh, 410px);
}

.hero-title {
    color: var(--color-white);
    font-size: clamp(28px, 3.2vw, 50px);
    line-height: 1.25;
    margin-bottom: clamp(10px, 1.6vw, 22px);
    white-space: nowrap;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(16px, 1.8vw, 28px);
    font-weight: 400;
    margin-bottom: 0;
    white-space: nowrap;
    opacity: 0.95;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.28);
}

.hero-mobile-break {
    display: none;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 24px;
    opacity: 0.6;
    animation: scrollBounce 2s ease-in-out infinite;
    cursor: pointer;
    transition: opacity 0.3s var(--transition-smooth);
}

.hero-scroll:hover {
    opacity: 1;
}

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

/* ================================================
   Front manifesto (editorial strip below hero)
   ================================================ */
.front-manifesto {
    background: linear-gradient(180deg, #faf9f7 0%, #ffffff 55%, #ffffff 100%);
    border-top: 1px solid rgba(201, 171, 129, 0.18);
    padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6.5vw, 80px);
}

.front-manifesto-inner {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.front-manifesto-title {
    font-family: var(--font-secondary);
    font-size: clamp(1.35rem, 2.1vw, 1.75rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0.03em;
    color: #222a38;
    margin: 0 0 1.25rem;
}

.front-manifesto-accent {
    width: 48px;
    height: 1px;
    margin: 0 auto 1.75rem;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 171, 129, 0.65) 20%,
        rgba(201, 171, 129, 0.65) 80%,
        transparent
    );
}

.front-manifesto-body {
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
    line-height: 2;
    color: rgba(44, 62, 80, 0.88);
    text-align: justify;
    text-justify: inter-ideograph;
}

.front-manifesto-body p {
    margin: 0 0 1.35em;
}

.front-manifesto-body p:last-child {
    margin-bottom: 0;
}

/* ================================================
   Buttons
   ================================================ */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-accent-gold);
    color: var(--color-navy);
}

.btn-primary:hover {
    background: var(--color-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.btn-gold {
    background: var(--color-accent-gold);
    color: var(--color-navy);
}

.btn-gold:hover {
    background: var(--color-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.btn-large {
    padding: 20px 56px;
    font-size: 18px;
}

/* ================================================
   Philosophy Section
   ================================================ */
.philosophy {
    background: var(--color-soft-grey);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 80px;
    align-items: center;
}

.philosophy-image {
    position: relative;
}

.philosophy-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    filter: grayscale(20%);
    transition: all 0.6s var(--transition-smooth);
}

.philosophy-image img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-charcoal) 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.image-placeholder p {
    margin-top: 20px;
    font-size: 16px;
    font-family: var(--font-primary);
    opacity: 0.8;
}

.philosophy-content {
    padding-left: 20px;
}

.section-title {
    margin-bottom: 24px;
}

.accent-line {
    width: 80px;
    height: 3px;
    background: var(--color-accent-gold);
    margin-bottom: 32px;
}

.accent-line-center {
    width: 80px;
    height: 3px;
    background: var(--color-accent-gold);
    margin: 24px auto 32px;
}

.accent-line-gold {
    background: var(--color-gold);
}

.philosophy-text {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 48px;
    color: var(--color-charcoal);
}

.philosophy-text--tail {
    margin-bottom: 0;
}

.philosophy-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-charcoal);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================================
   Services Section
   ================================================ */
.services {
    background: var(--color-white);
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-charcoal);
    opacity: 0.8;
    margin-bottom: 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
}

.service-card {
    background: var(--color-white);
    padding: 0;
    border: none;
    border-radius: 12px;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: flex-end;
}

/* 背景画像はPHPテンプレート側でインラインスタイルとして指定 */
.service-card-business,
.service-card-wilderness,
.service-card-concert {
    background-size: cover;
    background-position: center;
}

/* オーバーレイ（グラデーション） */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 35, 50, 0.95) 0%, rgba(26, 35, 50, 0.7) 50%, rgba(26, 35, 50, 0.3) 100%);
    z-index: 1;
    transition: all 0.4s var(--transition-smooth);
}

.service-card:hover .service-overlay {
    background: linear-gradient(to top, rgba(26, 35, 50, 0.98) 0%, rgba(26, 35, 50, 0.8) 50%, rgba(26, 35, 50, 0.4) 100%);
}

/* コンテンツ */
.service-content {
    position: relative;
    z-index: 2;
    padding: 48px 36px;
    width: 100%;
}

.service-card::before {
    display: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 48px;
    color: var(--color-gold);
    margin-bottom: 24px;
}

.service-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-white);
}

.service-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-white);
    opacity: 0.95;
    margin-bottom: 24px;
}

.service-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent-gold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s var(--transition-smooth);
}

.service-link:hover {
    gap: 12px;
    color: var(--color-gold);
}

.service-link i {
    transition: transform 0.3s var(--transition-smooth);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* ================================================
   Services Carousel (Front Page)
   ================================================ */
.services-carousel {
    margin-top: 64px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding-bottom: 10px;
}

/* IE/Edgeは対象外でOK。見た目だけスクロールバー非表示 */
.services-carousel::-webkit-scrollbar {
    display: none;
}
.services-carousel {
    scrollbar-width: none;
}

.services-track {
    display: flex;
    gap: 40px;
}

/* カード幅（見た目優先）。既存 .service-card を上書きして横スクロール用にする */
.services-carousel .service-card,
.services-carousel .service-view-all-card {
    flex: 0 0 clamp(260px, 32vw, 420px);
    scroll-snap-align: start;
}

.service-view-all-card {
    background: linear-gradient(135deg, rgba(15, 20, 25, 1) 0%, rgba(26, 35, 50, 1) 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    height: 500px;
}

.service-view-all-btn {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent-gold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s var(--transition-smooth);
}

.service-view-all-btn:hover {
    gap: 12px;
    color: var(--color-gold);
}

.service-view-all-btn i {
    transition: transform 0.3s var(--transition-smooth);
}

.service-view-all-btn:hover i {
    transform: translateX(4px);
}

/* ================================================
   Trips Section (Front Page)
   ================================================ */
.trips {
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
}

.trips::before {
    content: "";
    position: absolute;
    top: -180px;
    left: -180px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.10) 0%, transparent 60%);
    pointer-events: none;
}

.trips-layout {
    display: flex;
    align-items: flex-start;
    gap: 64px;
    position: relative;
    z-index: 1;
}

.trips-intro {
    flex: 0 0 320px;
    padding-top: 32px;
}

.trips-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 18px;
}

.accent-line-accent {
    width: 80px;
    height: 3px;
    background: var(--color-accent-gold);
    margin-bottom: 18px;
}

.trips-subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.trips-carousel {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-right: 24px;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding-bottom: 10px;
}

.trips-carousel::-webkit-scrollbar {
    display: none;
}

.trips-carousel {
    scrollbar-width: none;
}

.trips-track {
    display: flex;
    gap: 28px;
    padding-right: 20px;
}

.trip-card {
    flex: 0 0 clamp(240px, 26vw, 420px);
    scroll-snap-align: start;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.trip-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 18, 0.98) 0%, rgba(10, 14, 18, 0.72) 55%, rgba(10, 14, 18, 0.25) 100%);
    z-index: 1;
    transition: all 0.4s var(--transition-smooth);
}

.trip-card:hover .trip-card-overlay {
    background: linear-gradient(to top, rgba(10, 14, 18, 1) 0%, rgba(10, 14, 18, 0.82) 55%, rgba(10, 14, 18, 0.32) 100%);
}

.trip-card-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 28px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trip-card-hitarea {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
}

.trip-card-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.trip-card-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.25;
    font-size: 18px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trip-card-desc {
    margin: 0;
    font-size: 12px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    opacity: 0.98;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trip-card-cta {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent-gold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    padding: 10px 14px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.12);
    transition: all 0.3s var(--transition-smooth);
    align-self: flex-start;
}

.trip-card-cta:hover {
    transform: translateY(-2px);
    color: var(--color-gold);
    border-color: rgba(212, 175, 55, 0.85);
    background: rgba(212, 175, 55, 0.14);
}

.trip-card-cta i {
    transition: transform 0.3s var(--transition-smooth);
}

.trip-card-cta:hover i {
    transform: translateX(4px);
}

.trip-card-create .trip-card-overlay {
    background: linear-gradient(180deg, rgba(36, 158, 186, 0.70) 0%, rgba(26, 35, 50, 0.92) 65%, rgba(26, 35, 50, 1) 100%);
}

.trip-card-create-top {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 3;
}

.trip-card-create-content {
    /* Create タイルは本文を上方向にもっていく（CTA を下に寄せる） */
    min-height: 310px;
}

.trip-card-pill {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.12);
    padding: 10px 14px;
    border-radius: 2px;
    transition: all 0.3s var(--transition-smooth);
}

.trip-card-pill:hover {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.10);
}

.trip-card-title-create {
    font-size: 20px;
    line-height: 1.18;
}

.trip-card-cta-create {
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.70);
    background: rgba(255, 255, 255, 0.06);
}

.trip-card-cta-create:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.95);
}

/* PC: カルーセル内で 2.5 枚分の幅が見えるようにする（続きがスクロール可能と分かる） */
@media (min-width: 1025px) {
    .trips-carousel {
        container-type: inline-size;
    }

    .trips-track .trip-card {
        /* 2.5 枚 + カード間ギャップ 2 本分（28px × 2） */
        flex: 0 0 calc((100cqw - 56px) / 2.5);
    }
}

@media (max-width: 1024px) {
    .trips-layout {
        flex-direction: column;
        gap: 24px;
    }

    .trips-intro {
        flex: 0 0 auto;
        padding-top: 0;
    }

    .trip-card {
        height: 480px;
        flex: 0 0 clamp(240px, 34vw, 380px);
    }

    .trips-track {
        gap: 22px;
    }
}

@media (max-width: 640px) {
    .trips-carousel {
        margin-right: 0;
        padding-right: 0;
        /* モバイルでは吸着スクロールを無効化して、末尾位置へ戻らないようにする */
        scroll-snap-type: none;
        scroll-padding-right: 24px;
    }

    .trips-track {
        gap: 16px;
        padding-right: 24px;
    }

    .trips-track::after {
        content: "";
        /* カード外に出した VIEW ALL 分までスクロール可能にする */
        flex: 0 0 280px;
    }

    .trips-title {
        font-size: 18px;
        letter-spacing: 0.14em;
    }

    .trips-subtitle {
        font-size: 13px;
    }

    .trip-card-content {
        padding: 24px 16px 18px;
        gap: 12px;
    }

    .trip-card {
        height: 420px;
        flex: 0 0 74vw;
        max-width: 320px;
        scroll-snap-align: none;
    }

    .trip-card-create-top {
        top: 50%;
        right: -130px;
        transform: translateY(-50%);
        z-index: 5;
    }

    .trip-card-create-content {
        min-height: 250px;
    }

    .trip-card-create {
        /* VIEW ALL をカード外に出すために可視化 */
        overflow: visible;
    }

    .trip-card-pill {
        padding: 12px 18px;
        font-size: 12px;
        letter-spacing: 0.1em;
    }
}

/* ================================================
   Trip Single (CPT: trip)
   ================================================ */
.trip-single {
    background: var(--color-white);
}

.trip-header {
    position: relative;
    width: 100%;
    padding: 110px 0 46px;
    background: var(--color-white);
}

.trip-breadcrumbs {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: none;
    color: rgba(44, 62, 80, 0.65);
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}

.trip-breadcrumbs a {
    color: rgba(44, 62, 80, 0.75);
    text-decoration: none;
    border-bottom: 1px solid rgba(44, 62, 80, 0.20);
    transition: color 0.2s var(--transition-smooth), border-color 0.2s var(--transition-smooth);
}

.trip-breadcrumbs a:hover {
    color: var(--color-accent-gold);
    border-color: rgba(212, 175, 55, 0.55);
}

.trip-breadcrumbs-sep {
    margin: 0 8px;
    opacity: 0.55;
}

.trip-breadcrumbs-current {
    color: rgba(44, 62, 80, 0.90);
}

.trip-header-inner {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.trip-header-kicker {
    font-family: 'Noto Serif JP', var(--font-secondary);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #b85c7a;
    margin-bottom: 14px;
}

.trip-header-title {
    font-family: 'Noto Serif JP', var(--font-secondary);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-navy);
    line-height: 1.18;
    font-size: clamp(32px, 4vw, 56px);
    margin-bottom: 28px;
    text-transform: uppercase;
}

.trip-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(26, 35, 50, 0.10);
}

.trip-highlights-item {
    padding: 0;
    text-align: center;
}

.trip-highlights-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: 'Inter', var(--font-primary);
    font-weight: 700;
}

.trip-highlights-item:nth-child(1) .trip-highlights-label {
    color: #c17a4a;
}

.trip-highlights-item:nth-child(2) .trip-highlights-label {
    color: #2a9d8f;
}

.trip-highlights-item:nth-child(3) .trip-highlights-label {
    color: #457b9d;
}

.trip-highlights-value {
    font-family: 'Noto Serif JP', var(--font-secondary);
    font-size: 14px;
    letter-spacing: 0.06em;
    color: rgba(26, 35, 50, 0.72);
    line-height: 1.5;
    word-break: break-word;
    font-style: italic;
}

.trip-hero-image {
    width: 100%;
    padding: 0 0 6px;
    background: var(--color-white);
}

.trip-hero-image img {
    width: 100%;
    height: clamp(320px, 52vw, 640px);
    object-fit: cover;
    display: block;
}

.trip-content {
    padding: 90px 0 120px;
    background: var(--color-white);
}

.trip-content-inner {
    max-width: 980px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.95;
    color: var(--color-charcoal);
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Keep single-trip content safe for future Elementor editing */
.trip-content-inner .elementor,
.trip-content-inner .elementor-section,
.trip-content-inner .elementor-container,
.trip-content-inner .elementor-widget-wrap,
.trip-content-inner .elementor-widget,
.trip-content-inner .elementor-widget-container,
.trip-content-inner .wp-block-group,
.trip-content-inner .wp-block-columns,
.trip-content-inner .wp-block-column {
    min-width: 0;
    max-width: 100%;
}

.trip-content-inner :where(p, li, dd, dt, blockquote, figcaption, span, a) {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.trip-content-inner :where(img, video, iframe, embed, object, svg, table, pre, code) {
    max-width: 100%;
}

.trip-content-inner :where(img, video, iframe, embed, object, svg) {
    height: auto;
    display: block;
}

.trip-content-inner table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.trip-content-inner pre {
    white-space: pre-wrap;
}

.trip-content-inner h1,
.trip-content-inner h2,
.trip-content-inner h3 {
    font-family: 'Noto Serif JP', var(--font-secondary);
    font-weight: 600;
    color: var(--color-navy);
    letter-spacing: -0.02em;
}

.trip-content-inner h1 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.25;
    margin: 0 0 24px;
}

.trip-content-inner h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.3;
    margin: 48px 0 20px;
}

.trip-content-inner h2:first-child {
    margin-top: 0;
}

.trip-content-inner h3 {
    font-size: clamp(18px, 2.35vw, 26px);
    line-height: 1.42;
    margin: 40px 0 16px;
}

.trip-content-inner h3:first-child {
    margin-top: 0;
}

.trip-content-inner h4:first-child {
    margin-top: 0;
}

.trip-content-inner h4 {
    font-family: var(--font-primary);
    font-weight: 500;
    font-style: italic;
    font-size: clamp(13px, 1.65vw, 15px);
    line-height: 1.55;
    letter-spacing: 0.06em;
    color: #4a7c8c;
    margin: 20px 0 6px;
}

/* Elementor: match theme typography inside trip body */
.trip-content-inner .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100%;
}

.trip-content-inner .elementor-top-section.elementor-section {
    padding-left: 0;
    padding-right: 0;
}

.trip-content-inner .elementor-widget-heading .elementor-heading-title {
    font-family: 'Noto Serif JP', var(--font-secondary) !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    margin: 0 !important;
}

.trip-content-inner .elementor-widget-heading h1.elementor-heading-title,
.trip-content-inner .elementor-widget-heading h2.elementor-heading-title,
.trip-content-inner .elementor-widget-heading h3.elementor-heading-title {
    color: var(--color-navy) !important;
}

.trip-content-inner .elementor-widget-heading h1.elementor-heading-title {
    font-size: clamp(32px, 4vw, 48px) !important;
    line-height: 1.25 !important;
}

.trip-content-inner .elementor-widget-heading h2.elementor-heading-title {
    font-size: clamp(28px, 3.5vw, 42px) !important;
    line-height: 1.3 !important;
}

.trip-content-inner .elementor-widget-heading h3.elementor-heading-title {
    font-size: clamp(18px, 2.35vw, 26px) !important;
    line-height: 1.42 !important;
}

.trip-content-inner .elementor-widget-heading h4.elementor-heading-title {
    font-family: var(--font-primary) !important;
    font-weight: 500 !important;
    font-style: italic !important;
    font-size: clamp(13px, 1.65vw, 15px) !important;
    line-height: 1.55 !important;
    letter-spacing: 0.06em !important;
    color: #4a7c8c !important;
}

.trip-content-inner .elementor-widget-heading h5.elementor-heading-title,
.trip-content-inner .elementor-widget-heading h6.elementor-heading-title {
    font-family: var(--font-primary) !important;
    font-weight: 500 !important;
    font-style: italic !important;
    font-size: clamp(12px, 1.5vw, 14px) !important;
    line-height: 1.5 !important;
    letter-spacing: 0.05em !important;
    color: #4a7c8c !important;
}

.trip-content-inner .elementor-widget-heading:has(+ .elementor-widget-heading) {
    margin-bottom: 12px;
}

.trip-content-inner .elementor-widget.elementor-widget-heading {
    margin-bottom: 20px;
}

.trip-content-inner .elementor-widget.elementor-widget-heading:has(h4.elementor-heading-title),
.trip-content-inner .elementor-widget.elementor-widget-heading:has(h5.elementor-heading-title),
.trip-content-inner .elementor-widget.elementor-widget-heading:has(h6.elementor-heading-title) {
    margin-bottom: 10px;
}

.trip-content-inner .elementor-widget.elementor-widget-heading:last-child {
    margin-bottom: 0;
}

.trip-content-inner .elementor-widget-text-editor .elementor-widget-container,
.trip-content-inner .elementor-widget-text-editor .elementor-widget-container p {
    font-family: var(--font-primary) !important;
    font-size: 18px !important;
    line-height: 1.95 !important;
    color: var(--color-charcoal) !important;
}

.trip-content-inner .elementor-widget-text-editor p {
    margin: 0 0 22px !important;
}

.trip-content-inner .elementor-widget-text-editor p:last-child {
    margin-bottom: 0 !important;
}

.trip-content-inner .elementor-widget-text-editor ul,
.trip-content-inner .elementor-widget-text-editor ol {
    margin: 0 0 22px;
    padding-left: 1.35em;
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.95;
    color: var(--color-charcoal);
}

.trip-content-inner .elementor-widget-text-editor li {
    margin-bottom: 0.4em;
}

.trip-content-inner .elementor-widget-text-editor li:last-child {
    margin-bottom: 0;
}

.trip-content-inner p {
    margin: 0 0 22px;
}

.trip-content-inner a {
    color: var(--color-navy);
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 35, 50, 0.25);
    transition: border-color 0.2s var(--transition-smooth), color 0.2s var(--transition-smooth);
}

.trip-content-inner a:hover {
    color: var(--color-accent-gold);
    border-color: rgba(212, 175, 55, 0.55);
}

@media (max-width: 1024px) {
    .trip-header {
        padding: 110px 0 42px;
    }
    .trip-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .trip-header {
        padding: 105px 0 38px;
    }
    .trip-highlights {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* ================================================
   Expertise Section
   ================================================ */
.expertise {
    position: relative;
    background: var(--color-navy);
    overflow: hidden;
}

.expertise-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(201, 171, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.expertise .container {
    position: relative;
    z-index: 1;
}

.expertise-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    margin-top: 80px;
}

.expertise-stat {
    text-align: center;
}

.expertise-number {
    font-family: var(--font-secondary);
    font-size: 72px;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    display: inline-block;
}

.expertise-plus,
.expertise-unit {
    font-family: var(--font-secondary);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-gold);
    opacity: 0.8;
    display: inline-block;
    margin-left: 8px;
}

.expertise-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-white);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 16px;
    line-height: 1.45;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-overview-cta {
    display: flex;
    justify-content: center;
    margin-top: 64px;
    padding-bottom: 8px;
}

.expertise-overview-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 22px 48px;
    min-width: 240px;
    text-decoration: none;
    color: var(--color-white);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.35s var(--transition-smooth), background 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth), transform 0.25s var(--transition-smooth);
}

.expertise-overview-btn:hover {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
    color: var(--color-white);
}

.expertise-overview-btn:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}

.expertise-overview-btn-en {
    font-family: var(--font-secondary);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.expertise-overview-btn-ja {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.28em;
    opacity: 0.82;
    color: rgba(255, 255, 255, 0.88);
}

/* ================================================
   CTA Section
   ================================================ */
.cta-section {
    background: var(--color-navy);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(201, 171, 129, 0.03) 10px, rgba(201, 171, 129, 0.03) 20px);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 48px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--color-gold);
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ================================================
   Footer
   ================================================ */
.footer {
    background: var(--color-midnight);
    color: var(--color-white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-title {
    font-family: var(--font-secondary);
    font-size: 32px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    opacity: 0.95;
}

.footer-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-accent-gold);
    transform: translateX(4px);
}

.footer-links i {
    margin-right: 8px;
    color: var(--color-gold);
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-col--connect {
    text-align: right;
}

.footer-col--connect .footer-heading {
    margin-bottom: 16px;
    width: 96px;
    margin-left: auto;
    text-align: left;
}

.footer-social--connect {
    margin-top: 0;
    width: 96px;
    margin-left: auto;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
}

.social-link:hover {
    background: var(--color-accent-gold);
    color: var(--color-navy);
    transform: translateY(-4px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================================
   Animations
   ================================================ */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s var(--transition-smooth) forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

.delay-4 {
    animation-delay: 1.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--transition-smooth);
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 1024px) {
    :root {
        --spacing-section: 80px;
    }
    
    h1 {
        font-size: 48px;
    }
    
    h2 {
        font-size: 36px;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .service-card {
        height: 450px;
    }
    
    .expertise-stats {
        gap: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col--connect {
        text-align: right;
    }

    .footer-col--connect .footer-heading,
    .footer-social--connect {
        width: 96px;
        margin-left: auto;
    }

    .footer-social--connect {
        justify-content: flex-end;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        height: 700px;
        min-height: 700px;
    }

    .hero-content {
        position: absolute;
        left: 0;
        right: 0;
        bottom: clamp(180px, 24vh, 280px);
        padding-left: clamp(28px, 4vw, 40px);
        padding-right: 24px;
        margin-bottom: 0;
    }

    .hero-title {
        font-size: clamp(28px, 3.1vw, 34px);
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: clamp(15px, 1.7vw, 20px);
        white-space: nowrap;
    }

    .hero-mobile-break {
        display: none;
    }
}

@media (max-width: 1024px) and (orientation: portrait) {
    .nav-container {
        padding: 16px 24px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        animation: slideDown 0.3s ease-out;
        z-index: 1000;
    }

    .nav-menu.active .nav-menu-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.active .nav-link {
        padding: 16px 24px;
        border-bottom: 1px solid var(--color-soft-grey);
        text-align: left;
    }

    .nav-menu.active .nav-link:last-child {
        border-bottom: none;
    }

    .nav-menu.active .nav-link-cta {
        margin: 10px 24px 0;
        text-align: center;
        border: none;
        border-radius: 4px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 60px;
    }
    
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 24px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        animation: slideDown 0.3s ease-out;
    }

    .nav-menu.active .nav-menu-list {
        flex-direction: column;
        width: 100%;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu.active .nav-link {
        padding: 16px 40px;
        border-bottom: 1px solid var(--color-soft-grey);
        text-align: left;
    }
    
    .nav-menu.active .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-menu.active .nav-link-cta {
        margin: 10px 40px 0;
        text-align: center;
        border: none;
        border-radius: 4px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .hero-content {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        padding-left: 24px;
        padding-right: 20px;
        margin-bottom: 268px;
    }
    
    .hero-title {
        font-size: clamp(26px, 7.3vw, 36px);
    }
    
    .hero-subtitle {
        font-size: clamp(17px, 5.1vw, 24px);
    }
    
    .hero-mobile-break {
        display: inline;
    }
    
    .hero-title,
    .hero-subtitle {
        white-space: normal;
    }

    .front-manifesto-inner {
        max-width: 100%;
    }

    .front-manifesto-body {
        text-align: left;
    }
    
    .philosophy-stats {
        flex-direction: column;
        gap: 32px;
    }
    
    .expertise-stats {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .expertise-number {
        font-size: 56px;
    }

    .expertise-overview-cta {
        margin-top: 48px;
    }

    .expertise-overview-btn {
        padding: 18px 36px;
        min-width: 0;
        width: 100%;
        max-width: 320px;
    }

    .expertise-overview-btn-en {
        font-size: 19px;
    }
    
    .cta-title {
        font-size: 36px;
    }
}

/* ================================================
   Print Styles for PDF Export
   ================================================ */
@media print {
    /* Page Setup */
    @page {
        size: A4;
        margin: 15mm;
    }
    
    /* Reset animations and transitions */
    * {
        animation: none !important;
        transition: none !important;
        box-shadow: none !important;
    }
    
    /* Body adjustments */
    body {
        font-size: 11pt;
        line-height: 1.6;
        color: #000;
        background: white;
    }
    
    /* Hide navigation */
    .nav,
    .hero-scroll {
        display: none !important;
    }
    
    /* Hero Section adjustments */
    .hero {
        height: auto;
        min-height: 400px;
        page-break-after: always;
        padding: 60px 0;
    }
    
    .hero-background {
        position: static;
        background: var(--color-navy) !important;
        padding: 60px 40px;
    }
    
    .hero-title {
        font-size: 36pt;
        color: white;
    }
    
    .hero-subtitle {
        font-size: 14pt;
        color: var(--color-gold);
    }
    
    /* Section spacing */
    .section {
        padding: 40px 0;
        page-break-inside: avoid;
    }
    
    /* Philosophy Section */
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .image-placeholder {
        height: 300px;
        page-break-inside: avoid;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        border: 2px solid var(--color-navy);
        padding: 30px 24px;
        page-break-inside: avoid;
        margin-bottom: 15px;
    }
    
    .service-card::before {
        display: none;
    }
    
    /* Expertise Section */
    .expertise {
        background: var(--color-navy);
        color: white;
        padding: 40px 0;
        page-break-inside: avoid;
    }
    
    .expertise-background {
        display: none;
    }
    
    .expertise-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    /* CTA Section */
    .cta-section {
        background: var(--color-navy);
        color: white;
        padding: 40px 0;
        page-break-inside: avoid;
    }
    
    .cta-section::before {
        display: none;
    }
    
    .btn {
        border: 2px solid var(--color-accent-gold);
        background: transparent;
        color: var(--color-accent-gold);
    }
    
    /* Footer */
    .footer {
        background: var(--color-midnight);
        color: white;
        padding: 40px 0 20px;
        page-break-inside: avoid;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    
    /* Links */
    a {
        color: inherit;
        text-decoration: none;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #666;
    }
    
    a[href^="#"]:after,
    a[href^="mailto"]:after,
    a[href^="tel"]:after {
        content: "";
    }
    
    /* Typography adjustments */
    h1 {
        font-size: 28pt;
    }
    
    h2 {
        font-size: 22pt;
        margin-bottom: 16px;
    }
    
    h3 {
        font-size: 16pt;
        margin-bottom: 12px;
    }
    
    p {
        font-size: 11pt;
        margin-bottom: 12px;
    }
    
    /* Ensure visibility of colored backgrounds */
    .hero-background,
    .expertise,
    .cta-section,
    .footer {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        color-adjust: exact;
    }
}
