/* Core Stylesheet for Lawyer Landing Page */

/* CSS Reset & Variables */
:root {
    --bg-main: #e2e8f0;      /* Soft light-grey background (Slate-200) */
    --bg-darker: #cbd5e1;    /* Slightly darker grey for section alternating (Slate-300) */
    --bg-glass: rgba(226, 232, 240, 0.85);
    --border-glass: rgba(217, 119, 6, 0.15);
    
    /* Card & Element Styles */
    --card-bg: #ffffff;
    --card-border: rgba(15, 23, 42, 0.06);
    --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(15, 23, 42, 0.02);
    --card-hover-bg: #ffffff;
    --card-hover-border: rgba(217, 119, 6, 0.3);
    --card-hover-shadow: 0 20px 40px rgba(15, 23, 42, 0.06), 0 1px 5px rgba(15, 23, 42, 0.03);
    
    /* Input Fields */
    --input-bg: #ffffff;
    --input-border: rgba(15, 23, 42, 0.12);
    --input-focus-bg: #ffffff;
    --input-focus-border: var(--primary-light);
    
    /* Theme Colors */
    --primary: #c26100;      /* Dark gold for accessibility on light bg */
    --primary-hover: #9e4e00;
    --primary-light: #d97706; /* Classic accent gold */
    --primary-glow: rgba(194, 97, 0, 0.15);
    
    --text-light: #0f172a;
    --text-muted: #475569;
    --text-dark: #ffffff;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --container-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

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

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

/* Common Components */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-light);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

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

.title-underline {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(217, 119, 6, 0.5);
}

.btn-secondary {
    background-color: var(--bg-darker);
    color: var(--text-light);
    border: 1px solid var(--card-border);
}

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

.btn-block {
    width: 100%;
}

.badge {
    background: rgba(219, 122, 6, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary-light);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--card-border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text span {
    font-family: var(--font-heading);
    color: var(--primary-light);
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.radial-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 80%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, rgba(0,0,0,0) 70%);
    filter: blur(80px);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 40%, transparent 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(to right, var(--text-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
}

.visual-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.main-visual-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
}

.abstract-shield {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shield-svg {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(217, 119, 6, 0.3));
}

.abstract-shield h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.abstract-shield p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.floating-card-1 {
    position: absolute;
    top: 15%;
    left: -15%;
    transform: rotate(-3deg);
}

.floating-card-2 {
    position: absolute;
    bottom: 15%;
    right: -12%;
    transform: rotate(4deg);
}

.mini-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: max-content;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.mini-card-icon {
    font-size: 1.3rem;
}

.mini-card-text {
    display: flex;
    flex-direction: column;
}

.mini-card-text strong {
    font-size: 0.85rem;
    color: var(--text-light);
}

.mini-card-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Values Section */
.values-section {
    padding: 8rem 0;
    background-color: var(--bg-darker);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.value-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover-bg);
    border-color: var(--card-hover-border);
    box-shadow: var(--card-hover-shadow);
}

.value-icon {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services Section */
.services-section {
    padding: 8rem 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

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

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-list {
    border-top: 1px solid var(--card-border);
    padding-top: 1.5rem;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    padding-left: 1.25rem;
    position: relative;
}

.service-list li::before {
    content: "•";
    color: var(--primary-light);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* Document Magic Section */
.document-magic-section {
    padding: 8rem 0;
    background-color: var(--bg-darker);
}

.document-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 3rem;
}

.document-paper {
    background-color: #fff;
    color: #1e293b;
    padding: 4rem 3.5rem;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06), 0 0 30px rgba(217, 119, 6, 0.02);
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.doc-header {
    text-align: right;
    margin-bottom: 2.5rem;
    font-size: 0.85rem;
}

.doc-header p {
    margin-bottom: 0.25rem;
}

.doc-title {
    text-align: center;
    margin-bottom: 2rem;
}

.doc-title h3 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.doc-subtitle {
    font-style: italic;
    font-size: 0.9rem;
}

.doc-body p {
    margin-bottom: 1.5rem;
    text-indent: 1.5rem;
    text-align: justify;
}

.interactive-text {
    background-color: rgba(245, 158, 11, 0.12);
    border-bottom: 2px dashed var(--primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0.15rem 0.25rem;
}

.interactive-text:hover, .interactive-text.active {
    background-color: rgba(245, 158, 11, 0.25);
    color: #000;
}

.doc-footer {
    margin-top: 3rem;
    text-align: right;
}

.document-explanation {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 120px;
}

.explanation-placeholder {
    text-align: center;
    padding: 3rem 1rem;
}

.ex-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.explanation-placeholder h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.explanation-placeholder p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.explanation-content {
    animation: fadeIn 0.4s ease-out;
}

.explanation-content h4 {
    font-size: 1.4rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.explanation-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

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

/* About Section */
.about-section {
    padding: 8rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: visible;
}

.about-svg-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px var(--primary-glow);
    z-index: 10;
}

.exp-years {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.85);
    text-align: center;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--text-light) !important;
}

.about-bullets {
    margin-top: 2rem;
}

.about-bullet-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.bullet-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(217, 119, 6, 0.15);
    border: 1px solid var(--primary);
    border-radius: 50%;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.about-bullet-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.about-bullet-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Cases Section */
.cases-section {
    padding: 8rem 0;
    background-color: var(--bg-darker);
}

.cases-carousel {
    max-width: 900px;
    margin: 0 auto;
}

.carousel-track-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card {
    min-width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.case-category {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.case-status {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid #059669;
    color: #047857;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.case-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.case-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.case-meta {
    border-top: 1px solid var(--card-border);
    padding-top: 1.5rem;
    display: flex;
    gap: 3rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.meta-val {
    font-weight: 600;
    color: var(--text-light);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-dot.active {
    background-color: var(--primary-light);
    width: 24px;
    border-radius: 4px;
}

/* Contacts & Form Section */
.contacts-section {
    padding: 8rem 0;
    position: relative;
}

.contacts-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: center;
}

.contacts-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.25rem;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: rgba(217, 119, 6, 0.08);
    border: 1px solid var(--border-glass);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.info-item p {
    font-size: 1.05rem;
    color: var(--text-light);
}

.contact-form-wrapper {
    position: relative;
}

.form-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.03) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.contact-form {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: var(--card-hover-shadow);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-form p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--input-focus-border);
    background-color: var(--input-focus-bg);
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.08);
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: #f87171;
    margin-top: 0.35rem;
}

.form-group.invalid input {
    border-color: #f87171;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Success Overlay */
.success-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border-radius: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.4s ease-out;
}

.success-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(16, 185, 129, 0.12);
    border: 1px solid #059669;
    color: #047857;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-message h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--text-muted);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
.main-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--card-border);
    padding: 3rem 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.25rem;
}

.social-links a:hover {
    color: var(--primary-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-container, .document-container, .about-container, .contacts-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .values-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-darker);
        border-left: 1px solid var(--card-border);
        padding: 6rem 2.5rem;
        transition: var(--transition-smooth);
        z-index: 99;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 1.75rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .phone-link span {
        display: none;
    }
    
    .phone-link {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255,255,255,0.03);
        justify-content: center;
    }
    
    .main-header.scrolled {
        padding: 0.75rem 0;
    }
    
    .document-paper {
        padding: 2.5rem 1.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
