/*
Theme Name: AGELESS Innovative Theme
Theme URI: https://agelessek.com/
Author: Antigravity
Description: AGELESSのための革新的でプレミアムなダークモードテーマ。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ageless-v2
*/

:root {
    /* カラーパレット */
    --bg-color: #0a0b10;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary: #7c3aed;
    --primary-glow: rgba(124, 58, 237, 0.5);
    --secondary: #2dd4bf;
    --secondary-glow: rgba(45, 212, 191, 0.5);
    --accent: #f472b6;

    /* ブランディングカラー */
    --brand-blue: #004aad;
    --brand-red: #ff3131;
    --brand-green: #00bf63;

    /* タイポグラフィ */
    --font-heading: 'Outfit', 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* スペーシング */
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

/* カーソルグロー効果 */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

/* ヘッダー & ナビゲーション */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background 0.3s, backdrop-filter 0.3s;
    display: flex;
    align-items: center;
}

.header.scrolled {
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* ブランディングクラス */
.l-a {
    color: var(--brand-blue) !important;
}

.l-g {
    color: var(--brand-red) !important;
}

.l-e {
    color: var(--brand-green) !important;
}

.logo {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.logo .dot {
    color: var(--primary);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--primary);
}

.btn-contact {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    color: white;
}

/* ナビゲーション切り替えボタン */
.nav-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

/* アクティブ時のアニメーション */
.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    will-change: transform;
}

@keyframes move-1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(100px, 50px) scale(1.2) rotate(120deg);
    }

    66% {
        transform: translate(-50px, 150px) scale(0.8) rotate(240deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

@keyframes move-2 {
    0% {
        transform: translate(0, 0) scale(1.2) rotate(0deg);
    }

    33% {
        transform: translate(-150px, 100px) scale(1) rotate(-120deg);
    }

    66% {
        transform: translate(50px, -50px) scale(1.4) rotate(-240deg);
    }

    100% {
        transform: translate(0, 0) scale(1.2) rotate(-360deg);
    }
}

@keyframes move-3 {
    0% {
        transform: translate(0, 0) scale(0.8) rotate(0deg);
    }

    50% {
        transform: translate(100px, -150px) scale(1.3) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) scale(0.8) rotate(360deg);
    }
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -150px;
    right: -150px;
    animation: move-1 15s infinite linear !important;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation: move-2 18s infinite linear !important;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 50%;
    left: 40%;
    animation: move-3 12s infinite linear !important;
}

.hero-tagline {
    display: block;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 2rem;
}

.hero-title span.just {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary-glow);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 500;
}

.mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: var(--secondary);
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ガラスカード */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

/* アバウトセクション */
.section-title-wrap {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    line-height: 1.3;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.about-image {
    position: relative;
    padding: 2rem;
}

.image-placeholder {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 400px !important;
    background: radial-gradient(circle at center, #1e293b 0%, #0a0b10 100%) !important;
    border-radius: 40px !important;
    overflow: hidden !important;
    position: relative !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5) !important;
}

.tech-lines {
    position: absolute !important;
    width: 200% !important;
    height: 200% !important;
    background-image:
        linear-gradient(rgba(45, 212, 191, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 191, 0.15) 1px, transparent 1px) !important;
    background-size: 40px 40px !important;
    top: -50% !important;
    left: -50% !important;
    transform: rotate(15deg) !important;
    animation: grid-move 20s infinite linear !important;
}

/* スキャンエフェクトをより目立たせる */
.image-placeholder::before {
    content: '' !important;
    position: absolute !important;
    top: -100% !important;
    left: 0 !important;
    width: 100% !important;
    height: 150px !important;
    /* 太くする */
    background: linear-gradient(to bottom,
            transparent,
            rgba(45, 212, 191, 0.3),
            var(--secondary),
            rgba(45, 212, 191, 0.3),
            transparent) !important;
    filter: blur(3px) !important;
    z-index: 2 !important;
    animation: scan 3s infinite ease-in-out !important;
}

/* 浮遊するデータドット */
.image-placeholder::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--secondary) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.3;
    z-index: 1;
    animation: pulse 4s infinite alternate;
}

@keyframes grid-move {
    0% {
        transform: rotate(15deg) translate(0, 0);
    }

    100% {
        transform: rotate(15deg) translate(40px, 40px);
    }
}

@keyframes scan {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }

    100% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.about-glass {
    position: absolute !important;
    bottom: -20px !important;
    right: -20px !important;
    padding: 2.5rem !important;
    z-index: 10 !important;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(45, 212, 191, 0.4) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7) !important;
    min-width: 260px !important;
}

.experience {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
}

.experience .number {
    display: block !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    background: linear-gradient(to right, var(--secondary), var(--primary)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 0 !important;
    line-height: 1 !important;
}

.experience .text {
    display: block !important;
    font-size: 0.85rem !important;
    color: var(--text-secondary) !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: 0.4s;
    list-style: none;
}

.about-features li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--secondary);
    transform: translateX(10px);
}

.about-features .dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--primary-glow);
    position: relative;
    display: block;
}

.about-features .dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    opacity: 0.3;
}

/* 会社概要セクション */
.company-info {
    margin-top: 5rem;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 32px;
}

.company-info h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-info h3::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.company-table {
    display: grid;
    gap: 1.5rem;
}

.company-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.company-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.company-row .label {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.company-row .value {
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* サービスセクション */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 3.5rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    transition: 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-12px);
    background: rgba(124, 58, 237, 0.05);
    border-color: var(--primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* フィロソフィーセクション */
.philosophy {
    position: relative;
    padding: 15rem 0;
    text-align: center;
    background: linear-gradient(rgba(10, 11, 16, 0.8), rgba(10, 11, 16, 0.8)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.philosophy h2 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 2rem;
}

.philosophy p {
    font-size: 1.6rem;
    max-width: 900px;
    margin: 0 auto 3.5rem;
    color: var(--text-secondary);
}

/* お問い合わせセクション */
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
    border-radius: 32px;
}

.contact-info {
    padding: 5rem;
    background: linear-gradient(135deg, var(--primary), #4c1d95);
    color: white;
}

.contact-info h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.contact-details {
    margin-top: 3rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.detail-item .label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.3rem;
}

.detail-item .value {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Map Styles */
.company-map {
    margin-top: 5rem;
}

.company-map h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.map-container {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.contact-form-wrap {
    padding: 5rem !important;
    background: var(--card-bg) !important;
    backdrop-filter: blur(20px) !important;
}

.form-group {
    margin-bottom: 1.8rem !important;
}

.contact-form-wrap input,
.contact-form-wrap textarea {
    width: 100% !important;
    padding: 1.2rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    color: white !important;
    font-family: inherit !important;
    outline: none !important;
    transition: 0.3s !important;
    display: block !important;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
    border-color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2) !important;
}

.btn-block {
    width: 100% !important;
    display: block !important;
}

/* フッター */
.footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 80px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.footer h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: 0.3s;
}

.social-link::before {
    content: '→';
    font-size: 0.8rem;
    color: var(--secondary);
    opacity: 0.5;
}

.social-link:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 下層ページスタイル */
.page-header {
    padding: 180px 0 80px;
    background: linear-gradient(to bottom, #161a2b, var(--bg-color));
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-content {
    padding: 80px 0;
}

.content-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.content-card h3 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.2rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* レスポンシブ */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }

    .container {
        max-width: 720px;
    }

    .section {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
        padding: 1rem;
        margin-bottom: 2rem;
    }

    .about-content h3 {
        text-align: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-wrap {
        padding: 3rem;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 11, 16, 0.98);
        backdrop-filter: blur(20px);
        padding: 8rem 2rem;
        transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-content {
        padding: 40px 0;
    }

    .philosophy h2 {
        font-size: 3rem;
    }

    .company-info {
        padding: 2rem;
    }

    .experience {
        align-items: center !important;
    }

    .experience .number {
        font-size: 1.5rem !important;
    }

    .about-glass {
        right: 0 !important;
        left: 0 !important;
        bottom: -10px !important;
        margin: 0 1rem !important;
        min-width: 0 !important;
        padding: 1rem !important;
        text-align: center;
    }

    .content-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .company-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .philosophy p {
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-info,
    .contact-form-wrap {
        padding: 2rem 1.5rem;
    }
}