/* ========================================
   佐々井公認会計士・税理士事務所
   Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0d1f3c;
    --accent-color: #c9a227;
    --accent-light: #d4b23a;
    --accent-dark: #a6851c;
    --text-color: #2d3748;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --bg-dark: #edf2f7;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --error-color: #e53e3e;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
    --font-family: 'Hiragino Kaku Gothic Pro', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

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

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

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

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

a:hover {
    color: var(--accent-color);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    text-align: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: var(--accent-dark);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--bg-color);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
}

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.header-phone svg {
    width: 18px;
    height: 18px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

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

.nav-mobile {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/financial-services.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: var(--bg-color);
}

.hero h1 {
    color: var(--bg-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

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

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

.hero .btn-outline {
    border-color: var(--bg-color);
    color: var(--bg-color);
}

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

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 5rem 0;
}

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

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-header p {
    margin-top: 1rem;
}

/* ========================================
   Services Grid
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

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

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

.service-card-image {
    height: 200px;
    overflow: hidden;
}

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

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

.service-card-content {
    padding: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.service-card .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* ========================================
   Features / Why Choose Us
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent-color);
}

.feature-item:hover .feature-icon {
    background-color: var(--accent-color);
}

.feature-item:hover .feature-icon svg {
    color: var(--bg-color);
}

.feature-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.feature-item p {
    font-size: 0.9375rem;
}

/* ========================================
   Lead Form
   ======================================== */
.lead-form-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 5rem 0;
}

.lead-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.lead-form-content {
    color: var(--bg-color);
}

.lead-form-content h2 {
    color: var(--bg-color);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.lead-form-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.lead-form {
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group label .required {
    color: var(--error-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
    background-color: var(--bg-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

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

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.consent-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.consent-group label {
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.consent-group label a {
    color: var(--accent-color);
    text-decoration: underline;
}

.form-submit {
    width: 100%;
}

/* ========================================
   About Page
   ======================================== */
.about-hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-text h1 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color);
}

.value-card h3 {
    margin-bottom: 0.75rem;
}

/* ========================================
   Services Page
   ======================================== */
.services-hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
    background-color: var(--bg-light);
    text-align: center;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-detail-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-detail-content ul {
    margin: 1rem 0;
}

.service-detail-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-detail-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
    background-color: var(--bg-light);
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

.contact-item-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item-content p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.contact-item-content a {
    color: var(--primary-color);
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form-container {
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.contact-form-container h2 {
    margin-bottom: 1.5rem;
}

/* ========================================
   Legal Pages (Privacy, Terms, etc.)
   ======================================== */
.legal-page {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 5rem;
}

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

.legal-content h1 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content ul {
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.legal-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.last-updated {
    margin-top: 3rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ========================================
   Business Model Page
   ======================================== */
.business-model-hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
    background-color: var(--bg-light);
    text-align: center;
}

.model-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.model-section:last-child {
    border-bottom: none;
}

.model-section h2 {
    margin-bottom: 1.5rem;
}

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

.model-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.model-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.model-card h3 svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

/* ========================================
   Cookie Consent Banner
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-banner-content {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-content h3 {
    color: var(--bg-color);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.cookie-banner-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.cookie-banner-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-banner .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.cookie-banner .btn-primary {
    background-color: var(--accent-color);
}

.cookie-banner .btn-outline {
    border-color: var(--bg-color);
    color: var(--bg-color);
}

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

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal.active {
    display: flex;
}

.cookie-modal-content {
    background-color: var(--bg-color);
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-modal-header h3 {
    margin-bottom: 0;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cookie-category-header h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.cookie-category-header label {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-category-header input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: var(--transition);
    border-radius: 26px;
}

.cookie-toggle::before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--bg-color);
    transition: var(--transition);
    border-radius: 50%;
}

.cookie-category-header input:checked + .cookie-toggle {
    background-color: var(--accent-color);
}

.cookie-category-header input:checked + .cookie-toggle::before {
    transform: translateX(24px);
}

.cookie-category-header input:disabled + .cookie-toggle {
    background-color: var(--primary-light);
    cursor: not-allowed;
}

.cookie-category p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--primary-dark);
    color: var(--bg-color);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--bg-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-links h4 {
    color: var(--bg-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: var(--transition);
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
}

.footer-legal-links a:hover {
    color: var(--accent-color);
}

/* ========================================
   Accessibility
   ======================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 0.5rem 1rem;
    z-index: 10001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .lead-form-container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
    }
    
    .service-detail:nth-child(even) {
        direction: ltr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-phone {
        display: none;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .lead-form {
        padding: 1.5rem;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .footer {
        display: none;
    }
    
    main {
        padding-top: 0;
    }
    
    .section {
        padding: 1rem 0;
    }
    
    a {
        color: var(--text-color);
    }
    
    a[href]::after {
        content: ' (' attr(href) ')';
        font-size: 0.875rem;
        color: var(--text-muted);
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

/* Form Success/Error States */
.form-success {
    background-color: #c6f6d5;
    border: 1px solid var(--success-color);
    color: #22543d;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.form-error {
    background-color: #fed7d7;
    border: 1px solid var(--error-color);
    color: #742a2a;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.input-error {
    border-color: var(--error-color) !important;
}

.input-error:focus {
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.2) !important;
}

/* ========================================
   Legal Pages (Privacy, Terms, Cookie, etc.)
   ======================================== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 3rem) 0 4rem;
}

.legal-content h1 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.legal-content ul,
.legal-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.legal-content li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

.legal-content ol li {
    list-style: decimal;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--accent-color);
}

.legal-content .last-updated {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.legal-content .contact-info-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.legal-content .contact-info-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.legal-content .contact-info-box p {
    margin-bottom: 0.5rem;
}

/* Cookie Table Styles */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    text-align: left;
}

.cookie-table th {
    background-color: var(--primary-color);
    color: var(--bg-color);
    font-weight: 600;
}

.cookie-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

.cookie-table tr:hover {
    background-color: var(--bg-dark);
}

/* Accessibility Page Styles */
.accessibility-content {
    max-width: 900px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 3rem) 0 4rem;
}

.accessibility-content h1 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.accessibility-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.accessibility-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.accessibility-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.accessibility-content li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

.accessibility-statement {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
}

.accessibility-statement p {
    margin-bottom: 0;
}

/* Business Model Page Styles */
.business-model-content {
    max-width: 900px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 3rem) 0 4rem;
}

.business-model-content h1 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.business-model-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.business-model-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.business-model-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.business-model-content li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

.business-model-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
}

.business-model-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.business-model-card p {
    margin-bottom: 0;
}
