/* ===================================
   Variables
   =================================== */
:root {
    /* Colors */
    --primary-color: #1a5490;
    --primary-dark: #0f3a63;
    --secondary-color: #e63946;
    --accent-orange: #ff8c42;
    --accent-green: #06d6a0;
    --accent-yellow: #ffd23f;
    --text-dark: #2b2d42;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --line-green: #00B900;
    
    /* Typography */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-accent: 'Roboto', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-base: 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
}

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

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===================================
   Container
   =================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Header
   =================================== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 900;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-light);
    font-family: var(--font-accent);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-yellow);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--accent-yellow);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price-emphasis {
    color: var(--accent-yellow);
    font-weight: 700;
    font-size: 1.8rem;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent-yellow);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-accent);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg-white), transparent);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
    justify-content: center;
}

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

.btn-primary:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-success {
    background: var(--line-green);
    color: var(--bg-white);
    border-color: var(--line-green);
}

.btn-success:hover {
    background: #009900;
    transform: translateY(-2px);
}

.btn-emergency {
    background: var(--accent-yellow);
    color: var(--text-dark);
    border-color: var(--accent-yellow);
    font-weight: 900;
    animation: pulse 2s infinite;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* ===================================
   Emergency Banner
   =================================== */
.emergency-banner {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 20px 0;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.emergency-content i {
    font-size: 2.5rem;
    color: var(--accent-yellow);
}

.emergency-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.emergency-content p {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* ===================================
   Section Styles
   =================================== */
.section {
    padding: var(--section-padding);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

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

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

.section-vehicle-info {
    background: var(--bg-light);
}

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

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

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

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

/* ===================================
   Service Cards
   =================================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
}

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

.service-card.highlight-card {
    border: 3px solid var(--accent-yellow);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--bg-white);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-time {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.service-time i {
    margin-right: 5px;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.service-features i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.certified-badge {
    display: inline-block;
    background: var(--accent-yellow);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* ===================================
   Price Section
   =================================== */
.repair-price {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 50px;
}

.repair-price h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.repair-price h3 i {
    margin-right: 10px;
}

.price-large {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-accent);
    color: var(--accent-yellow);
    margin-bottom: 10px;
}

.price-note {
    font-size: 0.95rem;
    opacity: 0.9;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.price-card {
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-base);
    position: relative;
}

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

.price-card.featured {
    border: 3px solid var(--accent-yellow);
}

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-yellow);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.price-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    padding: 25px;
    text-align: center;
}

.price-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.price-body {
    padding: 30px 25px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.price-row.reference {
    opacity: 0.6;
    font-size: 0.9rem;
}

.price-label {
    font-weight: 500;
}

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-accent);
}

.price-notes {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.price-notes li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.price-notes li::before {
    content: '•';
    margin-right: 8px;
    color: var(--primary-color);
}

.price-card .btn {
    margin: 20px 25px;
    width: calc(100% - 50px);
}

.price-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--accent-yellow);
    padding: 20px;
    border-radius: 10px;
}

.price-notice i {
    font-size: 1.5rem;
    color: var(--text-dark);
    flex-shrink: 0;
}

.price-notice p {
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.7;
}

/* ===================================
   Vehicle Info Section
   =================================== */
.vehicle-info-content {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.vehicle-info-content .info-list.centered {
    max-width: 600px;
    margin: 0 auto;
}

.info-list h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.info-list h3 i {
    margin-right: 10px;
}

.info-list ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-white);
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.info-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-white);
    border-radius: 10px;
}

.info-list .number {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}



.info-tips {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.info-tips h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.info-tips h3 i {
    margin-right: 10px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tip-card {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition-base);
}

.tip-card:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.tip-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tip-card:hover i {
    color: var(--accent-yellow);
}

.tip-card p {
    font-size: 0.95rem;
}

.tip-card a {
    color: var(--secondary-color);
    font-weight: 700;
}

.tip-card:hover a {
    color: var(--accent-yellow);
}

/* ===================================
   Flow Section
   =================================== */
.flow-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.flow-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.flow-item::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 70px;
    width: 2px;
    height: calc(100% + 20px);
    background: var(--border-color);
}

.flow-item:last-child::after {
    display: none;
}

.flow-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.flow-content {
    flex: 1;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.flow-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.flow-content h3 i {
    margin-right: 10px;
}

.flow-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.flow-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.flow-list {
    margin-top: 15px;
    padding-left: 0;
}

.flow-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-dark);
}

.flow-list i {
    color: var(--accent-green);
}

/* ===================================
   Reason Section
   =================================== */
.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.reason-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-base);
}

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

.reason-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-orange), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.reason-icon i {
    font-size: 2.2rem;
    color: var(--bg-white);
}

.reason-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.reason-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Access Section
   =================================== */
.access-content {
    display: flex;
    justify-content: center;
}

.access-content.centered {
    max-width: 700px;
    margin: 0 auto;
}

.access-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.access-info h3 i {
    margin-right: 10px;
}

.info-list {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.info-list dt {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-list dt:first-child {
    margin-top: 0;
}

.info-list dd {
    color: var(--text-light);
    margin-left: 30px;
    line-height: 1.8;
}

.phone-link {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.phone-link:hover {
    color: var(--primary-color);
}



/* ===================================
   Contact Section
   =================================== */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-base);
}

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

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 2.2rem;
    color: var(--bg-white);
}

.contact-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin: 15px 0;
    font-family: var(--font-accent);
}

.contact-email {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 15px 0;
}

.contact-hours {
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.contact-form-wrapper h3 i {
    margin-right: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 8px;
}

.required {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition-base);
}

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

.form-divider {
    margin: 30px 0 20px;
    text-align: center;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.form-divider span {
    position: relative;
    background: var(--bg-white);
    padding: 0 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

/* ===================================
   Privacy Policy & Legal Section
   =================================== */
.section-privacy {
    background: var(--bg-white);
}

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

.policy-content,
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
    padding: 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.policy-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.section-legal .policy-section {
    background: var(--bg-light);
}

.policy-section h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-section h3 i {
    font-size: 1.2rem;
}

.policy-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-section ul {
    margin-left: 20px;
    color: var(--text-dark);
}

.policy-section ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.policy-section ul li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
    margin-right: 10px;
}

.contact-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.contact-box p {
    margin-bottom: 5px;
}

.contact-box strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-box a {
    color: var(--secondary-color);
    font-weight: 700;
}

.contact-box a:hover {
    color: var(--primary-color);
}

/* Legal Table */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.legal-table tr {
    border-bottom: 1px solid var(--border-color);
}

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

.legal-table th {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 15px 20px;
    text-align: left;
    font-weight: 700;
    width: 30%;
    vertical-align: top;
}

.legal-table th i {
    margin-right: 8px;
}

.legal-table td {
    padding: 15px 20px;
    color: var(--text-dark);
    line-height: 1.8;
}

.legal-table td a {
    color: var(--secondary-color);
    font-weight: 700;
}

.legal-table td a:hover {
    color: var(--primary-color);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-info a {
    color: var(--accent-yellow);
}

.footer-info a:hover {
    color: var(--bg-white);
}

.footer-hours h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-hours p {
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

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

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

.footer-links a {
    color: var(--bg-white);
    opacity: 0.9;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--accent-yellow);
    opacity: 1;
}

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

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}



/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .price-cards {
        grid-template-columns: 1fr;
    }
    

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

    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .legal-table th,
    .legal-table td {
        display: block;
        width: 100%;
    }
    
    .legal-table th {
        padding: 10px 15px;
    }
    
    .legal-table td {
        padding: 10px 15px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        transition: left var(--transition-base);
        box-shadow: var(--shadow-lg);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 30px;
        gap: 10px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        width: 100%;
        font-size: 0.9rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .price-large {
        font-size: 2.2rem;
    }
    
    .contact-number {
        font-size: 1.5rem;
    }
    
    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .service-card,
    .price-card,
    .reason-card {
        padding: 20px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll Reveal */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-scroll].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Utilities
   =================================== */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }