/* ===================================================
   社会保険労務士法人横田事務所 - 共通スタイルシート
   Modern & Stylish Design 2026
   =================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Noto+Serif+JP:wght@400;700&family=Inter:wght@300;400;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --primary: #0a2540;
    --primary-light: #1a3a5c;
    --accent: #c0392b;
    --accent-warm: #e67e22;
    --gold: #c9a84c;
    --kurumin: #e91e8c;
    --eruboshi: #7b2d8b;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --bg: #f8f9fc;
    --bg-card: #ffffff;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.10), 0 8px 16px rgba(0,0,0,0.06);
    --radius: 12px;
    --radius-sm: 6px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.75;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* --- Container --- */
.container {
    width: min(90%, 1080px);
    margin-inline: auto;
    padding-inline: 1rem;
}

/* ===================================================
   HEADER
   =================================================== */
.site-header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.header-tel-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
}

.header-tel {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.03em;
}

.header-tel-label {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.btn-header {
    background: var(--accent);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-header:hover {
    background: #a93226;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(192,57,43,0.3);
}

@media (max-width: 900px) {
    .nav-links, .header-tel-wrap { display: none; }
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(192,57,43,0.25);
}

.btn-primary:hover {
    background: #a93226;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192,57,43,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================================
   SECTION COMMONS
   =================================================== */
section { padding: 6rem 0; }

.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

.section-lead {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.8;
}

.section-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
    border-radius: 2px;
    margin: 1rem auto 2.5rem;
}

/* ===================================================
   HERO
   =================================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1e5799 100%);
    display: flex;
    align-items: center;
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero h1 em {
    font-style: normal;
    color: #fbbf24;
    position: relative;
}

.hero-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2.5rem;
    color: #fff;
    max-width: 380px;
    width: 100%;
}

.hero-card-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 1rem;
}

.hero-stat-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-stat-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.hero-stat-text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

.hero-stat-text span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
}

/* ===================================================
   PROBLEMS
   =================================================== */
.problems {
    background: #fff;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.problem-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.problem-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================================
   ABOUT CARDS (くるみん・えるぼし)
   =================================================== */
.about-section {
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.about-card-header {
    padding: 2rem 2rem 1.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-card-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.about-card-header.kurumin {
    background: linear-gradient(135deg, #e91e8c, #c2185b);
}

.about-card-header.eruboshi {
    background: linear-gradient(135deg, #7b2d8b, #4a148c);
}

.about-card-mark {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.about-card-header h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.about-card-header p {
    font-size: 0.82rem;
    opacity: 0.85;
}

.about-card-body {
    padding: 1.75rem 2rem;
}

.about-card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

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

/* ===================================================
   SERVICES
   =================================================== */
.services {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.services .section-eyebrow { color: #fbbf24; }
.services .section-title { color: #fff; }
.services .section-lead { color: rgba(255,255,255,0.7); }

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 2rem;
    color: #fff;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.service-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.25);
}

.service-number {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.service-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
}

/* ===================================================
   PRICE
   =================================================== */
.price-section {
    background: #fff;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.price-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.price-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.price-card.featured {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.price-card.featured .price-label { color: rgba(255,255,255,0.75); }
.price-card.featured .price-amount { color: #fbbf24; }
.price-card.featured .price-note { color: rgba(255,255,255,0.6); }

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    white-space: nowrap;
}

.price-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.price-amount span {
    font-size: 0.9rem;
    font-weight: 500;
}

.price-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.price-disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===================================================
   FLOW
   =================================================== */
.flow-section {
    background: var(--bg);
}

.flow-list {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.flow-list::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--border) 100%);
}

.flow-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.flow-item:last-child { margin-bottom: 0; }

.flow-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--primary);
}

.flow-content {
    padding-top: 0.75rem;
    flex: 1;
}

.flow-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.flow-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ===================================================
   FAQ
   =================================================== */
.faq-section {
    background: #fff;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-q {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    cursor: default;
}

.faq-q-icon {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 1px;
}

.faq-a {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-a-icon {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ===================================================
   PROFILE
   =================================================== */
.profile-section {
    background: var(--bg);
}

.profile-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
}

.profile-photo-wrap {
    text-align: center;
}

.profile-photo {
    width: 100%;
    max-width: 260px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin: 0 auto 1.25rem;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.profile-title {
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.profile-message {
    background: var(--bg-card);
    border-left: 4px solid var(--accent);
    padding: 1.5rem 2rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.7;
}

.profile-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 2rem;
}

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

.profile-table th,
.profile-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    text-align: left;
}

.profile-table th {
    width: 120px;
    font-weight: 700;
    color: var(--primary);
    background: transparent;
}

.profile-table td {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .profile-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .profile-photo { max-width: 200px; }
}

/* ===================================================
   CONTACT CTA
   =================================================== */
.contact-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 5rem 0;
}

.contact-cta .section-eyebrow { color: #fbbf24; }
.contact-cta .section-title { color: #fff; margin-bottom: 1rem; }
.contact-cta .section-lead { color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; }

.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.tel-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.tel-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1;
}

.tel-hours {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
}

.contact-cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
    background: #0d1b2a;
    color: rgba(255,255,255,0.6);
    padding: 3rem 0 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-address {
    font-size: 0.82rem;
    line-height: 1.8;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.footer-nav a:hover { color: #fff; }

.footer-copy {
    font-size: 0.78rem;
    text-align: center;
    color: rgba(255,255,255,0.4);
}

/* ===================================================
   PAGE HEADER (subpages)
   =================================================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 9rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: #fff;
    position: relative;
    z-index: 1;
}

.page-hero p {
    color: rgba(255,255,255,0.75);
    margin-top: 0.75rem;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }

/* ===================================================
   BLOG
   =================================================== */
.blog-section {
    background: var(--bg);
    padding: 5rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blog-thumb-wrap {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--primary);
}

.blog-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb { transform: scale(1.05); }

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.blog-category {
    background: var(--primary);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.blog-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.blog-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex: 1;
}

.blog-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
}

/* ===================================================
   CONTACT FORM
   =================================================== */
.contact-section {
    background: var(--bg);
    padding: 5rem 0;
}

.form-container {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.form-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.form-group { margin-bottom: 1.75rem; }

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--primary);
}

.badge-required {
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-weight: 700;
}

.badge-optional {
    background: var(--text-muted);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    transition: var(--transition);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10,37,64,0.08);
}

.form-textarea {
    height: 180px;
    resize: vertical;
}

.form-submit {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 2.5rem auto 0;
    padding: 1rem 2rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(192,57,43,0.25);
}

.form-submit:hover {
    background: #a93226;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192,57,43,0.35);
}

.contact-tel-box {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.contact-tel-box p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.5rem; }

.contact-tel-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.contact-tel-hours {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ===================================================
   BLOG POST (article)
   =================================================== */
.article-wrap {
    background: var(--bg);
    padding: 4rem 0 6rem;
}

.article-container {
    max-width: 780px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 3rem;
    border: 1px solid var(--border);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.article-h1 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.article-body {
    font-size: 0.97rem;
    line-height: 1.9;
    color: var(--text);
}

.article-body h2 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
    margin: 2.5rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary);
}

.article-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 2rem 0 0.75rem;
}

.article-body p { margin-bottom: 1.25rem; }

.article-body ul, .article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.article-body strong { color: var(--primary); }

.article-cta {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.article-cta h3 {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.article-cta p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.article-cta .highlight {
    color: var(--accent);
    font-weight: 700;
}

.article-cta-tel {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

.article-cta-tel a {
    color: var(--primary);
    font-weight: 700;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    .article-container { padding: 1.5rem; }
    .form-container { padding: 1.5rem; }
}

/* ===================================================
   SCROLL ANIMATION
   =================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===================================================
   CHATBOT WIDGET
   =================================================== */
#chatbot-toggle_button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
}

#chatbot-toggle_button img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

#chatbot-toggle_button img:hover { transform: scale(1.1); }

#chatbot {
    position: fixed;
    bottom: 104px;
    right: 24px;
    width: 360px;
    height: 520px;
    z-index: 2000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 480px) {
    #chatbot { width: 92%; height: 70%; right: 4%; }
}
