/*
Theme Name: Intego
Theme URI: https://intego-official.com
Author: Intego Inc.
Author URI: https://intego-official.com
Description: 株式会社Intego公式テーマ - スワヒリ語で「目的」を意味する。宿泊事業・不動産事業・AI & テクノロジー
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: intego
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ============================================
   CSS Variables & Reset
============================================ */
:root {
    --color-primary: #0a0a0a;
    --color-secondary: #0c2e1e;
    --color-accent: #5fb88d;
    --color-accent-light: #7ecba4;
    --color-gold: #c8a855;
    --color-gold-light: #dbb96a;
    --color-gold-pale: #e8d194;
    --color-text: #333333;
    --color-text-light: #777777;
    --color-white: #ffffff;
    --color-off-white: #f8f7f4;
    --color-border: #e0ddd5;
    --font-heading: 'Noto Serif JP', 'Times New Roman', serif;
    --font-body: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    --font-accent: 'Cormorant Garamond', 'Noto Serif JP', serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(200, 168, 85, 0.15);
    --max-width: 1200px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.8;
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

/* ============================================
   Typography
============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.section-title {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 400;
}

.section-heading {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease 0.1s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.section-heading.heading-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-desc {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 2;
    max-width: 680px;
}

/* ============================================
   Layout
============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.section--gray {
    background: var(--color-off-white);
}

.section--dark {
    background: var(--color-secondary);
    color: var(--color-white);
}

.section--dark .section-heading {
    color: var(--color-white);
}

.section--dark .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

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

.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Header / Navigation
============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.site-logo {
    font-family: var(--font-accent);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-white);
    text-transform: uppercase;
    transition: var(--transition);
}

.site-header.scrolled .site-logo {
    color: var(--color-primary);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.site-nav a {
    font-size: 0.82rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    position: relative;
    padding: 0.3rem 0;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition);
}

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

.site-nav a:hover {
    color: var(--color-white);
}

.site-header.scrolled .site-nav a {
    color: var(--color-text-light);
}

.site-header.scrolled .site-nav a:hover {
    color: var(--color-primary);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

.site-header.scrolled .nav-toggle span {
    background: var(--color-primary);
}

/* ============================================
   Hero Section
============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #061a11;
    overflow: hidden;
    cursor: default;
    --mouse-x: 50%;
    --mouse-y: 50%;
}

/* Mouse-follow glow */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(95, 184, 141, 0.10), transparent 40%);
    z-index: 4;
    pointer-events: none;
}

/* Base gradient bg */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 20%, #0f3d28 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, #0c3320 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, #0a2818 0%, #061a11 100%);
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(95, 184, 141, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(40, 160, 120, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(60, 200, 160, 0.10) 0%, transparent 45%);
    animation: waterDrift 18s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 70%, rgba(95, 184, 141, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 75% 30%, rgba(40, 180, 130, 0.06) 0%, transparent 35%);
    animation: waterPulse 10s ease-in-out infinite alternate;
}

/* ============================================
   Water Animation Layers
============================================ */
.hero-water {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.water-layer {
    position: absolute;
    border-radius: 45%;
    opacity: 0;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    filter: blur(40px);
}

/* Large slow-moving blob - top left */
.water-layer--1 {
    width: 120%;
    height: 120%;
    top: -30%;
    left: -20%;
    background: radial-gradient(ellipse, rgba(95, 184, 141, 0.12) 0%, rgba(40, 160, 120, 0.04) 40%, transparent 70%);
    animation: waterBlob1 20s ease-in-out infinite;
}

/* Medium flowing blob - center right */
.water-layer--2 {
    width: 80%;
    height: 80%;
    top: 10%;
    right: -15%;
    background: radial-gradient(ellipse, rgba(60, 200, 160, 0.10) 0%, rgba(30, 140, 100, 0.03) 45%, transparent 70%);
    animation: waterBlob2 15s ease-in-out infinite;
    animation-delay: -5s;
}

/* Small fast shimmer - bottom center */
.water-layer--3 {
    width: 60%;
    height: 50%;
    bottom: -10%;
    left: 20%;
    background: radial-gradient(ellipse, rgba(95, 220, 170, 0.08) 0%, transparent 60%);
    animation: waterBlob3 12s ease-in-out infinite;
    animation-delay: -3s;
}

/* Diagonal streak - caustic light */
.water-layer--4 {
    width: 150%;
    height: 40%;
    top: 30%;
    left: -25%;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(95, 184, 141, 0.04) 35%,
        rgba(120, 220, 170, 0.07) 50%,
        rgba(95, 184, 141, 0.04) 65%,
        transparent 80%
    );
    animation: waterCaustic 14s ease-in-out infinite;
    animation-delay: -7s;
    filter: blur(20px);
    border-radius: 0;
}

/* Canvas for particle effect */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* Water ripple layers */
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(6, 26, 17, 0.6), transparent);
    z-index: 4;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -10%;
    width: 120%;
    height: 250px;
    background: radial-gradient(ellipse at center, rgba(95, 184, 141, 0.06) 0%, transparent 70%);
    animation: waterRipple 7s ease-in-out infinite;
    border-radius: 50%;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: -80px;
    left: -5%;
    width: 110%;
    height: 180px;
    background: radial-gradient(ellipse at center, rgba(95, 184, 141, 0.04) 0%, transparent 70%);
    animation: waterRipple 9s ease-in-out infinite reverse;
    animation-delay: -2s;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: var(--color-white);
    padding: 0 2rem;
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-title {
    font-family: var(--font-accent);
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-desc {
    font-size: 1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.9s forwards;
}

.hero-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 0 auto 2rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--color-gold);
    color: var(--color-gold-light);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 1.2s forwards;
}

.hero-cta:hover {
    background: var(--color-gold);
    color: var(--color-primary);
    box-shadow: 0 0 30px rgba(200, 168, 85, 0.4);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* ============================================
   About Section
============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #0c2e1e 0%, #1a4a32 100%);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold);
    z-index: -1;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image:hover::before {
    top: -10px;
    right: -10px;
    border-color: var(--color-gold-light);
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.stat-number {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    color: var(--color-gold);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: var(--transition-bounce);
}

.stat-number:hover {
    transform: scale(1.15);
    color: var(--color-gold-light);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   Services Section
============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 4rem;
}

.service-card {
    padding: 3rem 2rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, rgba(95, 184, 141, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.service-card:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-10px);
    border-color: rgba(95, 184, 141, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

/* Staggered animation delays for cards */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }

.service-card.fade-in:nth-child(1) { animation-delay: 0s; }
.service-card.fade-in:nth-child(2) { animation-delay: 0.15s; }
.service-card.fade-in:nth-child(3) { animation-delay: 0.3s; }

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 2rem;
    color: var(--color-accent);
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotateZ(-5deg);
    color: var(--color-gold);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    transition: var(--transition);
}

.service-card:hover .service-icon svg {
    stroke-dashoffset: 0;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--color-gold);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.service-link:hover {
    gap: 1rem;
}

/* ============================================
   Features / Highlights Section
============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 4rem;
}

.feature-item {
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(95, 184, 141, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(95, 184, 141, 0.15);
    transform: translateY(-5px);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-number {
    font-family: var(--font-accent);
    font-size: 3rem;
    color: var(--color-gold);
    font-weight: 300;
    opacity: 0.5;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.feature-item:hover .feature-number {
    opacity: 1;
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 400;
    color: var(--color-white);
    transition: var(--transition);
}

.feature-item:hover h3 {
    transform: translateX(5px);
}

.feature-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

/* ============================================
   CTA Banner
============================================ */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #1a4a32 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(200, 168, 85, 0.08) 0%, transparent 50%);
    animation: floatBlob 15s ease-in-out infinite;
    pointer-events: none;
}

.cta-banner h2 {
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--color-white);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    position: relative;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    position: relative;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--color-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn:hover {
    background: var(--color-gold);
    color: var(--color-primary);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(200, 168, 85, 0.3);
}

/* ============================================
   Company Info Section
============================================ */
.company-table {
    width: 100%;
    max-width: 800px;
    margin: 3rem auto 0;
}

.company-table dl {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-top: 1px solid var(--color-border);
}

.company-table dt,
.company-table dd {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.company-table dt {
    font-weight: 500;
    color: var(--color-primary);
    background: var(--color-off-white);
}

.company-table dd {
    color: var(--color-text-light);
}

/* ============================================
   Contact Section
============================================ */
.contact-intro {
    max-width: 640px;
    margin: 0 auto;
}

.contact-intro .section-desc {
    max-width: 32rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 32px;
    align-items: start;
    margin-top: 3.5rem;
}

.contact-info {
    padding: 3rem;
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form {
    padding: 3rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    min-height: 100%;
}

.contact-form form {
    width: 100%;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    font-weight: 400;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-detail:first-of-type {
    padding-top: 0;
}

.contact-detail:last-of-type {
    padding-bottom: 0;
    border-bottom: none;
}

.contact-detail-icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-detail-icon svg {
    width: 100%;
    height: 100%;
}

.contact-detail-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.contact-detail-text strong {
    display: block;
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.contact-form .form-group {
    margin-bottom: 1.4rem;
}

.contact-form label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text);
    transition: var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--color-accent);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .submit-btn {
    display: inline-block;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.contact-form .submit-btn:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(95, 184, 141, 0.3);
}

/* ============================================
   Footer
============================================ */
.site-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.5);
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    color: var(--color-white);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.4);
    max-width: 300px;
}

.footer-heading {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.3rem 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 0.5rem;
    text-shadow: 0 0 8px rgba(95, 184, 141, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
}

/* ============================================
   Animations
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scrollLine {
    0% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform-origin: bottom;
    }
    100% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Water Animations */
@keyframes waterDrift {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    20% { transform: translate(-3%, 2%) rotate(1deg) scale(1.02); }
    40% { transform: translate(2%, -1%) rotate(-0.5deg) scale(0.98); }
    60% { transform: translate(-1%, 3%) rotate(0.8deg) scale(1.03); }
    80% { transform: translate(3%, -2%) rotate(-0.3deg) scale(0.99); }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

@keyframes waterPulse {
    0% { opacity: 0.5; transform: scale(1); }
    30% { opacity: 0.8; transform: scale(1.05); }
    60% { opacity: 0.6; transform: scale(0.98); }
    100% { opacity: 0.5; transform: scale(1); }
}

@keyframes waterBlob1 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    20% {
        transform: translate(5%, 3%) rotate(5deg) scale(1.05);
        opacity: 0.8;
    }
    40% {
        transform: translate(-3%, 8%) rotate(-3deg) scale(0.95);
        opacity: 0.5;
    }
    60% {
        transform: translate(8%, -2%) rotate(8deg) scale(1.1);
        opacity: 0.9;
    }
    80% {
        transform: translate(-5%, 5%) rotate(-5deg) scale(0.98);
        opacity: 0.6;
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.6;
    }
}

@keyframes waterBlob2 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(-6%, -4%) rotate(-8deg) scale(1.08);
        opacity: 0.8;
    }
    50% {
        transform: translate(4%, 6%) rotate(5deg) scale(0.92);
        opacity: 0.6;
    }
    75% {
        transform: translate(-3%, -8%) rotate(-3deg) scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.5;
    }
}

@keyframes waterBlob3 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    33% {
        transform: translate(8%, -5%) scale(1.15);
        opacity: 0.7;
    }
    66% {
        transform: translate(-6%, 3%) scale(0.9);
        opacity: 0.5;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
}

@keyframes waterCaustic {
    0% {
        transform: translateX(-10%) rotate(-2deg);
        opacity: 0.3;
    }
    30% {
        transform: translateX(5%) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateX(15%) rotate(1deg);
        opacity: 0.5;
    }
    70% {
        transform: translateX(0%) rotate(-1deg);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-10%) rotate(-2deg);
        opacity: 0.3;
    }
}

@keyframes waterRipple {
    0% { transform: translateX(0) scaleX(1) scaleY(1); opacity: 0.5; }
    25% { transform: translateX(2%) scaleX(1.05) scaleY(1.2); opacity: 0.8; }
    50% { transform: translateX(-1%) scaleX(0.98) scaleY(1.4); opacity: 0.6; }
    75% { transform: translateX(3%) scaleX(1.03) scaleY(1.1); opacity: 0.7; }
    100% { transform: translateX(0) scaleX(1) scaleY(1); opacity: 0.5; }
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale-in animation */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Reveal from below with clip */
.reveal-up {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible {
    clip-path: inset(0 0 0 0);
}

/* Line draw animation for decorative elements */
@keyframes drawLine {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Gentle pulse for accent elements */
@keyframes gentlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Rotate in */
@keyframes rotateIn {
    from { transform: rotate(-10deg) scale(0.9); opacity: 0; }
    to { transform: rotate(0) scale(1); opacity: 1; }
}

/* Gradient shift animation for backgrounds */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   Page Templates
============================================ */
.page-hero {
    padding: 180px 0 80px;
    background: var(--color-secondary);
    text-align: center;
    color: var(--color-white);
}

.page-hero h1 {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.page-content {
    padding: 80px 0;
}

.page-content .entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-content .entry-content p {
    margin-bottom: 1.5rem;
    line-height: 2;
}

.page-content .entry-content h2 {
    font-size: 1.6rem;
    margin: 3rem 0 1.5rem;
}

.page-content .entry-content h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
}

/* ============================================
   Blog / Posts
============================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.post-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    overflow: hidden;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.post-card-image {
    aspect-ratio: 16/10;
    background: var(--color-off-white);
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-body {
    padding: 1.5rem;
}

.post-card-date {
    font-size: 0.75rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.post-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.post-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Single Post */
.single-post-header {
    padding: 180px 0 60px;
    background: var(--color-secondary);
    color: var(--color-white);
    text-align: center;
}

.single-post-header .post-meta {
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.single-post-header h1 {
    font-size: 2rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

.single-post-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 2rem;
}

.single-post-content p {
    margin-bottom: 1.5rem;
    line-height: 2;
}

/* ============================================
   WordPress Core Styles
============================================ */
.wp-block-image {
    margin: 2rem 0;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
    text-align: center;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    font-size: 0.85rem;
    transition: var(--transition);
}

.pagination .current,
.pagination a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* ============================================
   Responsive Design
============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .section {
        padding: 88px 0;
    }

    .container {
        padding: 0 2.5rem;
    }

    .site-header {
        padding: 1rem 0;
    }

    .site-header.scrolled {
        padding: 0.8rem 0;
    }

    .header-inner {
        padding: 0 2rem;
    }

    .hero-content {
        padding: 0 2.5rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-desc {
        max-width: 34rem;
    }

    .about-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 42px;
        align-items: start;
    }

    .about-image {
        max-width: none;
        margin: 0;
        aspect-ratio: 4 / 5;
    }

    .about-image::before {
        top: -12px;
        right: -12px;
    }

    .about-grid .fade-in-right {
        padding-top: 0.6rem;
    }

    .about-grid .fade-in-right .section-heading {
        font-size: 1.95rem;
        line-height: 1.5;
    }

    .about-grid .fade-in-right .section-desc {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .about-stats {
        gap: 1rem;
        margin-top: 2.2rem;
        padding-top: 2.2rem;
    }

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

    .service-card {
        padding: 2.25rem 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .feature-item {
        padding: 3rem 2.4rem;
    }

    .contact-intro {
        max-width: 560px;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 24px;
        max-width: none;
        margin-top: 2.8rem;
        margin-left: 0;
        margin-right: 0;
    }

    .contact-info {
        padding: 2.25rem;
    }

    .contact-form {
        padding: 2.25rem;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .site-footer {
        padding: 60px 0 30px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: 70px 0;
    }

    .container {
        padding: 0 1.8rem;
    }

    .hero-content,
    .about-grid .fade-in-right,
    .text-center .section-desc {
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-intro {
        max-width: 32rem;
    }

    /* --- Typography --- */
    .section-title {
        font-size: 0.68rem;
        letter-spacing: 0.28em;
        margin-bottom: 0.7rem;
    }

    .section-heading {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
        line-height: 1.55;
        letter-spacing: 0.04em;
    }

    .section-desc {
        font-size: 0.9rem;
        line-height: 2.1;
        max-width: 100%;
    }

    /* --- Header / Mobile Nav --- */
    .site-header {
        padding: 0.65rem 0;
    }

    .site-header.scrolled {
        padding: 0.5rem 0;
    }

    .header-inner {
        padding: 0 1rem;
        gap: 0;
    }

    .site-logo {
        font-size: 1.15rem;
        letter-spacing: 0.12em;
    }

    .nav-toggle {
        margin-left: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(82vw, 320px);
        max-width: 320px;
        height: 100vh;
        background: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        padding: 2.5rem 2rem;
        gap: 1.8rem;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .site-nav.active {
        right: 0;
    }

    .site-nav a {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.95rem;
        letter-spacing: 0.12em;
    }

    .site-nav a::after {
        display: none;
    }

    /* --- Hero --- */
    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero-title {
        font-size: 2.6rem;
        letter-spacing: 0.12em;
    }

    .hero-subtitle {
        font-size: 0.68rem;
        letter-spacing: 0.3em;
        margin-bottom: 1.5rem;
    }

    .hero-desc {
        font-size: 0.85rem;
        margin-bottom: 2rem;
        max-width: 360px;
        line-height: 2;
    }

    .hero-line {
        width: 40px;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        padding: 0.8rem 2.2rem;
        font-size: 0.72rem;
    }

    .hero-scroll {
        bottom: 1.5rem;
    }

    .hero-scroll-line {
        height: 30px;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    /* --- About --- */
    .about-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-image {
        aspect-ratio: 16/10;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .about-image::before {
        display: none;
    }

    .about-image-placeholder {
        font-size: 1.8rem;
        letter-spacing: 0.2em;
    }

    .about-grid .fade-in-right {
        padding: 2.8rem 0 0;
        text-align: left;
    }

    .about-grid .fade-in-right .section-title {
        text-align: center;
    }

    .about-grid .fade-in-right .section-heading {
        text-align: center;
        font-size: 1.5rem;
        line-height: 1.55;
        margin-bottom: 1.4rem;
    }

    .about-grid .fade-in-right .section-desc {
        text-align: left;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .about-copy-secondary {
        margin-top: 1.5rem;
    }

    .about-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        margin-top: 3rem;
        border-top: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
        padding: 1.8rem 0;
        text-align: center;
    }

    .about-stats > div {
        padding: 0.6rem 0.5rem;
        border-right: 1px solid var(--color-border);
    }

    .about-stats > div:last-child {
        border-right: none;
    }

    .stat-number {
        font-size: 2rem;
        margin-bottom: 0.35rem;
        color: var(--color-gold);
    }

    .stat-label {
        font-size: 0.65rem;
        color: var(--color-text-light);
        letter-spacing: 0.08em;
    }

    /* --- Services --- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 2.5rem;
    }

    .service-card {
        padding: 2.2rem 2rem;
        display: flex;
        flex-direction: column;
    }

    .service-card:hover {
        transform: translateY(-3px);
    }

    .service-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 1.4rem;
    }

    .service-card h3 {
        font-size: 1.05rem;
        margin-bottom: 0.9rem;
    }

    .service-card p {
        font-size: 0.85rem;
        line-height: 1.9;
    }

    /* --- Features --- */
    .features-grid {
        margin-top: 2.5rem;
        gap: 0;
    }

    .feature-item {
        padding: 2.8rem 2rem;
        text-align: center;
    }

    .feature-item:hover {
        transform: none;
    }

    .feature-number {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .feature-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.9rem;
    }

    .feature-item:hover h3 {
        transform: none;
    }

    .feature-item p {
        font-size: 0.85rem;
        line-height: 1.95;
        max-width: 440px;
        margin: 0 auto;
    }

    /* --- CTA Banner --- */
    .cta-banner {
        padding: 60px 0;
    }

    .cta-banner h2 {
        font-size: 1.4rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }

    .cta-banner p {
        font-size: 0.88rem;
        line-height: 1.9;
        margin-bottom: 2rem;
    }

    .cta-btn {
        padding: 0.9rem 2.8rem;
        font-size: 0.75rem;
    }

    /* --- Company --- */
    .company-table {
        margin-top: 2.5rem;
    }

    .company-table dl {
        grid-template-columns: 1fr;
    }

    .company-table dt {
        border-bottom: none;
        padding: 1.2rem 1.2rem 0.3rem;
        font-size: 0.78rem;
        text-align: left;
    }

    .company-table dd {
        padding: 0 1.2rem 1.2rem;
        font-size: 0.88rem;
        border-bottom: 1px solid var(--color-border);
        text-align: left;
    }

    /* --- Contact --- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 2.2rem;
        background: var(--color-white);
        border: 1px solid var(--color-border);
        box-shadow: var(--shadow-sm);
    }

    .contact-info,
    .contact-form {
        width: 100%;
        max-width: none;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .contact-info {
        padding: 1.5rem 1.5rem 1.2rem;
        border-bottom: 1px solid var(--color-border);
    }

    .contact-form {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .contact-info h3 {
        font-size: 1.02rem;
        margin-bottom: 0.9rem;
    }

    .contact-detail {
        padding: 0.7rem 0;
    }

    .contact-detail-text {
        font-size: 0.83rem;
        line-height: 1.75;
    }

    .contact-form .form-group {
        margin-bottom: 1.1rem;
    }

    .contact-form label {
        font-size: 0.72rem;
        margin-bottom: 0.4rem;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 0.72rem 0.85rem;
        font-size: 16px; /* prevents iOS zoom */
    }

    .contact-form textarea {
        min-height: 120px;
    }

    .contact-form .submit-btn {
        width: 100%;
        text-align: center;
        padding: 0.9rem;
        font-size: 0.78rem;
    }

    /* --- Footer --- */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand {
        font-size: 1.15rem;
    }

    .footer-desc {
        max-width: 100%;
        font-size: 0.8rem;
        line-height: 1.9;
        margin: 0.6rem auto 0;
    }

    .footer-heading {
        margin-bottom: 1.2rem;
    }

    .footer-links a {
        font-size: 0.82rem;
    }

    .site-footer {
        padding: 52px 0 24px;
    }

    .footer-bottom {
        padding-top: 24px;
        font-size: 0.68rem;
    }

    /* --- Posts --- */
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* --- Page Template --- */
    .page-hero {
        padding: 120px 0 40px;
    }

    .page-hero h1 {
        font-size: 1.6rem;
    }

    .page-content {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1.2rem;
    }

    .section {
        padding: 60px 0;
    }

    /* --- Hero --- */
    .hero-title {
        font-size: 2rem;
        letter-spacing: 0.06em;
    }

    .hero-subtitle {
        font-size: 0.6rem;
        margin-bottom: 1rem;
    }

    .hero-desc {
        font-size: 0.82rem;
        line-height: 2;
        margin-bottom: 2rem;
        max-width: 300px;
    }

    .hero-line {
        width: 30px;
        margin-bottom: 1.2rem;
    }

    .hero-cta {
        padding: 0.75rem 2rem;
        font-size: 0.7rem;
        width: 100%;
        max-width: 260px;
        text-align: center;
    }

    /* --- Typography --- */
    .section-title {
        font-size: 0.65rem;
        margin-bottom: 0.6rem;
    }

    .section-heading {
        font-size: 1.3rem;
        margin-bottom: 1.1rem;
    }

    .section-desc {
        font-size: 0.85rem;
        line-height: 2;
    }

    /* --- About --- */
    .about-image {
        aspect-ratio: 5/3;
    }

    .about-image-placeholder {
        font-size: 1.4rem;
    }

    .about-grid .fade-in-right {
        padding-top: 2.2rem;
    }

    .about-grid .fade-in-right .section-heading {
        font-size: 1.3rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        border-top: none;
        border-bottom: none;
        padding: 0;
        margin-top: 2.5rem;
    }

    .about-stats > div {
        padding: 1rem 0.9rem;
        border: 1px solid var(--color-border);
        background: var(--color-off-white);
    }

    .about-stats > div:last-child {
        border-right: 1px solid var(--color-border);
    }

    .stat-number {
        font-size: 1.7rem;
        margin-bottom: 0.2rem;
    }

    .stat-label {
        font-size: 0.58rem;
    }

    /* --- Services --- */
    .services-grid {
        gap: 16px;
        margin-top: 2rem;
    }

    .service-card {
        padding: 2rem 1.6rem;
    }

    .service-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 1.2rem;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .service-card p {
        font-size: 0.82rem;
        line-height: 1.85;
    }

    /* --- Features --- */
    .features-grid {
        margin-top: 2rem;
    }

    .feature-item {
        padding: 2.2rem 1.8rem;
    }

    .feature-number {
        font-size: 1.8rem;
        margin-bottom: 0.9rem;
    }

    .feature-item h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .feature-item p {
        font-size: 0.82rem;
        line-height: 1.9;
    }

    /* --- CTA --- */
    .cta-banner {
        padding: 50px 0;
    }

    .cta-banner h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .cta-banner p {
        font-size: 0.82rem;
        margin-bottom: 1.8rem;
    }

    .cta-btn {
        padding: 0.8rem 2rem;
        font-size: 0.7rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* --- Company --- */
    .company-table {
        margin-top: 2rem;
    }

    .company-table dt {
        padding: 1rem 1rem 0.25rem;
        font-size: 0.72rem;
    }

    .company-table dd {
        padding: 0 1rem 1rem;
        font-size: 0.85rem;
    }

    /* --- Contact --- */
    .contact-grid {
        margin-top: 1.8rem;
    }

    .contact-info {
        padding: 1.2rem 1.2rem 1rem;
    }

    .contact-form {
        padding: 1rem 1.2rem 1.2rem;
    }

    .contact-info h3 {
        font-size: 0.98rem;
    }

    .contact-detail-text {
        font-size: 0.8rem;
    }

    .contact-form .form-group {
        margin-bottom: 1rem;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 0.68rem 0.78rem;
    }

    .contact-form textarea {
        min-height: 110px;
    }

    /* --- Footer --- */
    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    /* --- Page Template --- */
    .page-hero {
        padding: 110px 0 35px;
    }

    .page-hero h1 {
        font-size: 1.3rem;
    }
}

/* ============================================
   Recruit Page
============================================ */
.recruit-hero {
    position: relative;
    padding: 200px 0 100px;
    background: var(--color-secondary);
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.recruit-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(95, 184, 141, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(200, 168, 85, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #061a11 0%, #0c2e1e 40%, #0a2518 100%);
}

.recruit-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(6, 26, 17, 0.6) 100%);
}

.recruit-hero .container {
    position: relative;
    z-index: 2;
}

.recruit-hero-label {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.recruit-hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.recruit-hero-line {
    width: 40px;
    height: 1px;
    background: var(--color-gold);
    margin: 0 auto 1.5rem;
}

.recruit-hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.08em;
}

/* Recruit Message */
.recruit-message {
    background: var(--color-white);
}

.recruit-message-copy {
    max-width: 700px;
    margin: 0 auto;
}

/* Recruit Card */
.recruit-card {
    max-width: 800px;
    margin: 3rem auto 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.recruit-card-header {
    padding: 2.5rem 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.recruit-card-badge {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 0.3rem 1rem;
    margin-bottom: 1rem;
}

.recruit-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.recruit-card-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.recruit-card-body {
    padding: 2.5rem 3rem;
}

.recruit-detail-list {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0;
}

.recruit-detail-list dt {
    padding: 1rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gold);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.05em;
}

.recruit-detail-list dd {
    padding: 1rem 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.8;
}

.recruit-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.recruit-tags li {
    font-size: 0.8rem;
    background: rgba(95, 184, 141, 0.1);
    color: var(--color-accent);
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(95, 184, 141, 0.2);
}

/* Merits */
.recruit-merits {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.recruit-merits h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
}

.recruit-merits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.recruit-merit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.recruit-merit-item:hover {
    background: rgba(95, 184, 141, 0.06);
    border-color: rgba(95, 184, 141, 0.15);
}

.recruit-merit-item svg {
    color: var(--color-accent);
}

.recruit-merit-item span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
}

/* Card Footer */
.recruit-card-footer {
    padding: 2rem 3rem 2.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.recruit-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-accent);
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--color-secondary);
    background: var(--color-gold);
    padding: 1rem 3rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.recruit-apply-btn:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(200, 168, 85, 0.3);
}

/* Recruit CTA */
.recruit-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #061a11 0%, #0c2e1e 50%, #0a2518 100%);
    color: var(--color-white);
}

.recruit-cta h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
}

.recruit-cta p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

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

.cta-btn--outline {
    background: transparent !important;
    color: var(--color-gold) !important;
    border: 1px solid var(--color-gold) !important;
}

.cta-btn--outline::before {
    display: none;
}

.cta-btn--outline:hover {
    background: rgba(200, 168, 85, 0.1) !important;
}

/* Recruit Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .recruit-hero {
        padding: 170px 0 84px;
    }

    .recruit-hero .container {
        max-width: 780px;
    }

    .recruit-hero-title {
        font-size: 2.3rem;
        letter-spacing: 0.12em;
    }

    .recruit-hero-desc {
        font-size: 0.95rem;
    }

    .recruit-message-copy {
        max-width: 620px;
    }

    .recruit-card {
        max-width: 100%;
        margin-top: 2.5rem;
    }

    .recruit-card-header {
        padding: 2.2rem 2.4rem;
    }

    .recruit-card-body {
        padding: 2.2rem 2.4rem;
    }

    .recruit-card-footer {
        padding: 1.8rem 2.4rem 2.2rem;
    }

    .recruit-card-title {
        font-size: 1.6rem;
    }

    .recruit-detail-list {
        grid-template-columns: 110px 1fr;
    }

    .recruit-detail-list dt {
        font-size: 0.8rem;
        padding-right: 1rem;
    }

    .recruit-detail-list dd {
        font-size: 0.9rem;
    }

    .recruit-merits {
        margin-top: 2.2rem;
        padding-top: 1.8rem;
    }

    .recruit-merits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .recruit-merit-item {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 1rem 1.1rem;
    }

    .recruit-merit-item span {
        font-size: 0.82rem;
    }

    .recruit-apply-btn {
        min-width: 320px;
        justify-content: center;
    }

    .recruit-cta {
        padding: 68px 0;
    }

    .recruit-cta h2 {
        font-size: 1.55rem;
    }

    .recruit-cta p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .recruit-hero {
        padding: 132px 0 64px;
    }

    .recruit-hero .container {
        max-width: 34rem;
    }

    .recruit-hero-title {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
        margin-bottom: 1.1rem;
    }

    .recruit-hero-label {
        font-size: 0.72rem;
        margin-bottom: 0.8rem;
    }

    .recruit-hero-desc {
        font-size: 0.88rem;
        line-height: 1.9;
    }

    .recruit-message .section-desc {
        text-align: left;
    }

    .recruit-message-copy {
        max-width: 100%;
    }

    .recruit-card {
        margin-top: 2rem;
        max-width: 100%;
        border-radius: 0;
    }

    .recruit-card-header {
        padding: 1.8rem 1.6rem 1.4rem;
    }

    .recruit-card-body {
        padding: 1.6rem;
    }

    .recruit-card-footer {
        padding: 1.4rem 1.6rem 1.8rem;
    }

    .recruit-card-title {
        font-size: 1.3rem;
        line-height: 1.45;
    }

    .recruit-card-subtitle {
        font-size: 0.82rem;
        line-height: 1.8;
    }

    .recruit-card-badge {
        font-size: 0.68rem;
        padding: 0.28rem 0.8rem;
        margin-bottom: 0.9rem;
    }

    .recruit-detail-list {
        grid-template-columns: 1fr;
    }

    .recruit-detail-list dt {
        padding-bottom: 0.2rem;
        border-bottom: none;
        font-size: 0.72rem;
        padding-top: 0.95rem;
        letter-spacing: 0.08em;
    }

    .recruit-detail-list dd {
        padding-top: 0;
        margin-bottom: 0;
        padding-bottom: 0.95rem;
        font-size: 0.84rem;
        line-height: 1.85;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .recruit-tags {
        gap: 0.45rem;
    }

    .recruit-tags li {
        font-size: 0.74rem;
        padding: 0.28rem 0.7rem;
    }

    .recruit-merits {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .recruit-merits h4 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        text-align: left;
    }

    .recruit-merits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .recruit-merit-item {
        padding: 0.95rem 0.8rem;
    }

    .recruit-merit-item svg {
        width: 22px;
        height: 22px;
    }

    .recruit-merit-item span {
        font-size: 0.75rem;
    }

    .recruit-apply-btn {
        padding: 0.95rem 1.4rem;
        font-size: 0.82rem;
        width: 100%;
        justify-content: center;
        letter-spacing: 0.08em;
    }

    .recruit-cta {
        padding: 56px 0;
    }

    .recruit-cta h2 {
        font-size: 1.28rem;
        line-height: 1.5;
    }

    .recruit-cta p {
        font-size: 0.84rem;
        line-height: 1.9;
    }

    .recruit-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .recruit-cta-buttons .cta-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .recruit-hero {
        padding: 118px 0 52px;
    }

    .recruit-hero-title {
        font-size: 1.45rem;
        margin-bottom: 1rem;
    }

    .recruit-hero-desc {
        font-size: 0.82rem;
    }

    .recruit-message-copy {
        text-align: left;
    }

    .recruit-card-header {
        padding: 1.45rem 1.2rem 1.2rem;
    }

    .recruit-card-body {
        padding: 1.3rem 1.2rem;
    }

    .recruit-card-footer {
        padding: 1.15rem 1.2rem 1.35rem;
    }

    .recruit-card-title {
        font-size: 1.18rem;
    }

    .recruit-card-subtitle {
        font-size: 0.78rem;
    }

    .recruit-detail-list dt {
        font-size: 0.7rem;
        padding-top: 0.85rem;
    }

    .recruit-detail-list dd {
        font-size: 0.82rem;
        padding-bottom: 0.85rem;
    }

    .recruit-merits-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .recruit-merit-item {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.7rem;
        padding: 0.9rem 0.85rem;
    }

    .recruit-merit-item span {
        font-size: 0.76rem;
    }

    .recruit-apply-btn {
        font-size: 0.8rem;
    }

    .recruit-cta {
        padding: 50px 0;
    }

    .recruit-cta h2 {
        font-size: 1.18rem;
    }

    .recruit-cta p {
        font-size: 0.82rem;
    }
}
