/* =====================================================
   フロンはしもと - メインスタイルシート
   Change The Air - Corporate Website
   ===================================================== */

/* --- CSS Variables --- */
:root {
    --primary: #0e7490;
    --primary-dark: #065666;
    --primary-light: #22d3ee;
    --secondary: #059669;
    --secondary-light: #34d399;
    --accent: #d97706;
    --accent-light: #fbbf24;
    --dark: #1e293b;
    --dark-2: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lighter: #e2e8f0;
    --bg: #f8fafc;
    --bg-alt: #f0f9ff;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --font-main: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    --font-en: 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    color: var(--dark);
    background: var(--bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.pc-only {
    display: inline;
}

/* --- Header --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

#header.scrolled {
    background: rgba(255,255,255,0.98);
    border-bottom-color: var(--gray-lighter);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}



.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    gap: 1px;
}

.company-name-header {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--dark);
    letter-spacing: 1px;
}

.tagline-header {
    font-family: var(--font-en);
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
}

.nav-link {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-2);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--bg-alt);
}

.nav-ig {
    font-size: 1.2rem !important;
    padding: 8px 10px !important;
    color: var(--dark-2) !important;
    transition: var(--transition);
}

.nav-ig:hover {
    color: #E1306C !important;
    background: rgba(225,48,108,0.08) !important;
}

.nav-link.cta-btn {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
    margin-left: 8px;
}

.nav-link.cta-btn:hover {
    background: var(--primary-dark);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c4a6e 0%, #0e7490 30%, #047857 70%, #065f46 100%);
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(14,116,144,0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(5,150,105,0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(217,119,6,0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 110px 24px 80px;
    width: 100%;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-text-side {
    text-align: left;
    animation: fadeInUp 0.8s ease;
}

.hero-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
}

.badge i {
    color: var(--accent-light);
}

.hero-title {
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title-sub {
    display: block;
    font-family: var(--font-main);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.hero-title-main {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    line-height: 1.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-points {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-point {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-point i {
    color: var(--accent-light);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* --- Hero Photo --- */
.hero-photo-side {
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-photo-card {
    position: relative;
    width: 300px;
}

.hero-photo-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    border: 4px solid rgba(255,255,255,0.2);
}

.hero-photo-caption {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.hero-photo-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--dark);
}

.hero-photo-msg {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-photo-msg::before {
    content: '💬 ';
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s ease infinite;
}

.hero-scroll-indicator a {
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
}

.hero-scroll-indicator a:hover {
    color: var(--white);
}

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

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Section Styles --- */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 0 auto 20px;
}

.section-desc {
    color: var(--gray);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Card --- */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

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

.about-info {
    padding: 36px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--gray-lighter);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table th {
    text-align: left;
    padding: 16px 16px 16px 0;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-2);
    white-space: nowrap;
    vertical-align: top;
    width: 140px;
}

.info-table th i {
    color: var(--primary);
    margin-right: 6px;
    width: 16px;
}

.info-table td {
    padding: 16px 0;
    color: var(--gray);
    font-size: 0.95rem;
}

.reg-badge {
    display: inline-block;
    background: var(--bg-alt);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 2px 0;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

/* --- Services Section --- */
.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.service-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--bg-alt), #e0f2fe);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    text-align: left;
}

.service-list li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--dark-2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li i {
    color: var(--secondary);
    font-size: 0.8rem;
}

/* --- Service Flow --- */
.service-flow {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow);
}

.flow-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark);
}

.flow-title i {
    color: var(--primary);
    margin-right: 8px;
}

.flow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.flow-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-number {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 8px;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
}

.flow-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.flow-step p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

.flow-arrow {
    display: flex;
    align-items: center;
    padding-top: 72px;
    color: var(--gray-light);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* --- Results Section --- */
.results-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat-card {
    padding: 40px 24px;
    text-align: center;
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.stat-number {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    display: inline;
    margin-left: 4px;
}

.stat-label {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

.stat-label small {
    font-size: 0.75rem;
    color: var(--gray-light);
}

.results-details {
    padding: 40px;
}

.results-details h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

.results-details h3 i {
    color: var(--accent);
    margin-right: 8px;
}

.results-list {
    list-style: none;
    margin-bottom: 24px;
}

.results-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-lighter);
    font-size: 0.95rem;
    color: var(--dark-2);
    line-height: 1.6;
}

.results-list li:last-child {
    border-bottom: none;
}

.results-list li i {
    color: var(--secondary);
    margin-top: 5px;
    flex-shrink: 0;
}

.results-list li strong {
    color: var(--primary);
}

.results-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
}

.results-note i {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.results-note p {
    font-size: 0.9rem;
    color: var(--dark-2);
}

/* --- Greeting Section --- */
.greeting-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding: 48px;
    align-items: start;
}

.greeting-photo {
    display: flex;
    justify-content: center;
}

.greeting-photo-img {
    width: 260px;
    height: 340px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.greeting-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.name-reading {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray);
    margin-left: 4px;
}

.greeting-message p {
    font-size: 0.95rem;
    color: var(--dark-2);
    margin-bottom: 16px;
    line-height: 2;
}

.greeting-sign {
    margin-top: 24px;
    font-weight: 700;
    color: var(--dark) !important;
    text-align: right;
    line-height: 1.6 !important;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.contact-form-wrap {
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-2);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--primary);
    margin-right: 4px;
    width: 16px;
}

.required {
    display: inline-block;
    background: #fee2e2;
    color: #dc2626;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--dark);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14,116,144,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 60px 40px;
}

.form-success i {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.form-success p {
    color: var(--gray);
    line-height: 1.8;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    padding: 24px;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-card h3 i {
    color: var(--primary);
    margin-right: 6px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

.contact-card small {
    color: var(--gray-light);
}

.map-wrap {
    overflow: hidden;
    padding: 0;
}

.map-wrap iframe {
    display: block;
}

/* --- Footer --- */
#footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}



.footer-company {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.footer-tagline {
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: var(--primary-light);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.footer-address {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-social {
    margin-top: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    transition: var(--transition);
}

.social-link:hover {
    color: #fff;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
}

.social-link i {
    font-size: 1.1rem;
}

.footer-nav h4,
.footer-services h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-nav ul,
.footer-services ul {
    list-style: none;
}

.footer-nav li,
.footer-services li {
    margin-bottom: 8px;
}

.footer-nav a,
.footer-services a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-services a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-law {
    margin-top: 4px;
    font-size: 0.75rem;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* --- Scroll Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-cards {
        grid-template-columns: 1fr 1fr;
    }

    .greeting-content {
        grid-template-columns: 1fr;
    }

    .greeting-photo {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .pc-only {
        display: none;
    }

    /* Header Mobile */
    .hamburger {
        display: flex;
    }

    #nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 24px 40px;
    }

    #nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
        width: 100%;
        font-size: 1rem;
    }

    .nav-link.cta-btn {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
    }

    /* Mobile Overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-overlay.visible {
        opacity: 1;
        visibility: visible;
    }

    /* Hero Mobile */
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-text-side {
        text-align: center;
        order: 1;
    }

    .hero-photo-side {
        order: 0;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-title-main {
        font-size: 2rem;
    }

    .hero-title-sub {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-points {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-photo-card {
        width: 220px;
        margin: 0 auto;
    }

    .hero-photo-img {
        height: 280px;
    }

    .hero-photo-caption {
        padding: 8px 16px;
        gap: 8px;
    }

    .hero-photo-name,
    .hero-photo-msg {
        font-size: 0.75rem;
    }

    /* Sections Mobile */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Services Mobile */
    .services-cards {
        grid-template-columns: 1fr;
    }

    .service-flow {
        padding: 32px 24px;
    }

    .flow-steps {
        flex-direction: column;
        gap: 24px;
    }

    .flow-arrow {
        display: none;
    }

    .flow-step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
        padding: 0;
    }

    .step-number {
        display: none;
    }

    .step-icon {
        margin: 0;
        width: 52px;
        height: 52px;
        flex-shrink: 0;
    }

    /* Results Mobile */
    .results-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 24px;
        text-align: left;
    }

    .stat-icon {
        margin-bottom: 0;
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        margin-top: 4px;
    }

    .results-details {
        padding: 28px;
    }

    /* Greeting Mobile */
    .greeting-content {
        padding: 32px 24px;
        gap: 32px;
    }

    .greeting-photo-img {
        width: 200px;
        height: 260px;
    }

    /* Contact Mobile */
    .contact-form-wrap {
        padding: 28px;
    }

    /* Footer Mobile */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title-main {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .badge {
        font-size: 0.8rem;
    }

    .btn-lg {
        padding: 12px 28px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .info-table th {
        display: block;
        padding-bottom: 4px;
        width: 100%;
    }

    .info-table td {
        display: block;
        padding-top: 0;
        padding-bottom: 16px;
    }
}
