/* ==========================================================================
   CSS VARIABLES & THEMES
   ========================================================================== */
:root {
    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* Theme Independent Constants */
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA7C11;
    --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA7C11 100%);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.25);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
}

/* Dark Theme (Default) */
body.dark-theme {
    --bg-primary: #0b0e17;
    --bg-secondary: #141b2d;
    --bg-tertiary: #1b243b;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #6b7280;
    --border-color: rgba(212, 175, 55, 0.2);
    --border-color-soft: rgba(255, 255, 255, 0.05);
    --card-bg: rgba(20, 27, 45, 0.7);
    --card-hover-bg: rgba(27, 36, 59, 0.95);
    --input-bg: rgba(11, 14, 23, 0.8);
    --overlay-bg: rgba(11, 14, 23, 0.95);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Light Theme */
body.light-theme {
    --bg-primary: #f7fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #edf2f7;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: rgba(170, 124, 17, 0.25);
    --border-color-soft: rgba(0, 0, 0, 0.05);
    --card-bg: #ffffff;
    --card-hover-bg: #fcfcfc;
    --input-bg: #ffffff;
    --overlay-bg: rgba(255, 255, 255, 0.98);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-primary);
    border-radius: var(--border-radius-lg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   REUSABLE UTILITIES & LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid var(--border-color-soft);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

/* Section Header */
.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}
.section-header.text-center {
    text-align: center;
}
.section-subtitle {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 12px;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.section-lead {
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #1a202c !important;
    border: none;
    box-shadow: var(--gold-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.45);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}
.btn-secondary:active {
    transform: translateY(0);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.site-header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(11, 14, 23, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color-soft);
    transition: all var(--transition-normal);
}
body.light-theme .site-header {
    background: rgba(255, 255, 255, 0.85);
}
.site-header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

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

/* Logo design */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.monogram {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    background: var(--gold-gradient);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--gold-glow);
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}
.logo-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    color: var(--gold-primary);
    font-weight: 600;
    margin-top: -2px;
}

/* Navigation Links */
.nav-menu {
    height: 100%;
}
.nav-list {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 32px;
}
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width var(--transition-fast);
}
.nav-link:hover {
    color: var(--text-primary);
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link.active-link {
    color: var(--gold-primary);
}
.nav-link.active-link::after {
    width: 100%;
}

/* Header Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-primary);
}
.phone-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}
.theme-toggle:hover {
    background: var(--border-color-soft);
}

/* Sun/Moon visibility depending on active theme */
body.dark-theme .sun-icon { display: block; }
body.dark-theme .moon-icon { display: none; }
body.light-theme .sun-icon { display: none; }
body.light-theme .moon-icon { display: block; }

/* Burger Menu Trigger */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}
.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.burger-menu.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger-menu.open span:nth-child(2) {
    opacity: 0;
}
.burger-menu.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--overlay-bg);
    z-index: 95;
    padding: 120px 40px 40px 40px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
}
.mobile-nav.open {
    right: 0;
}
.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mobile-nav-link {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 600;
}
.mobile-nav-action {
    margin-top: 24px;
}
.mobile-nav-action .phone-btn {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 160px 0 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle at 75% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.hero-badge {
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--border-radius-sm);
}
.gold-badge {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.dark-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-color-soft);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    background: linear-gradient(to right, var(--text-primary) 70%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.light-theme .hero-title {
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-lead {
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.hero-credentials {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
    border-top: 1px solid var(--border-color-soft);
    border-bottom: 1px solid var(--border-color-soft);
    padding: 24px 0;
}
.cred-item {
    display: flex;
    flex-direction: column;
}
.cred-value {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 4px;
}
.cred-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-actions-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Lawyer Image and decoration in Hero */
.hero-image-wrapper {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
.hero-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    transition: transform var(--transition-slow);
}
.hero-image-wrapper:hover .hero-img {
    transform: scale(1.03);
}

.hero-floating-card {
    position: absolute;
    bottom: 24px;
    left: -30px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.card-icon-circle {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-floating-card h4 {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
}
.hero-floating-card p {
    font-size: 0.75rem;
}

/* ==========================================================================
   SERVICES (PRACTICE AREAS) SECTION
   ========================================================================== */
.services-section {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color-soft);
    border-radius: var(--border-radius-md);
    padding: 40px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-icon {
    color: var(--gold-primary);
    margin-bottom: 24px;
    display: inline-block;
    transition: transform var(--transition-fast);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-text {
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.service-features {
    border-top: 1px solid var(--border-color-soft);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.service-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}
.service-features li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--gold-primary);
    font-size: 1.1rem;
    line-height: 1;
}

.service-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-8px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-lg);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    background-color: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stats-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 12px;
}
.stat-text {
    font-size: 1.05rem;
    font-weight: 600;
}

.experience-quote {
    border-left: 3px solid var(--gold-primary);
    padding: 8px 0 8px 24px;
}
.experience-quote p {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.5;
}
.quote-author {
    font-size: 0.85rem;
    color: var(--gold-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-content p {
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.principles-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}
.principle-item {
    display: flex;
    gap: 20px;
}
.principle-icon {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.principle-desc strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.principle-desc p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ==========================================================================
   WORKFLOW / PROCESS SECTION
   ========================================================================== */
.process-section {
    background-color: var(--bg-secondary);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    position: relative;
}

.timeline-step {
    position: relative;
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color-soft);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.2);
    line-height: 1;
    margin-bottom: 20px;
    transition: color var(--transition-fast);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.step-desc {
    font-size: 0.9rem;
}

.timeline-step:hover {
    border-color: var(--border-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.timeline-step:hover .step-number {
    color: var(--gold-primary);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    background-color: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color-soft);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}
.faq-item:hover {
    border-color: var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--gold-primary);
    transition: transform var(--transition-normal);
}
/* Horizontal line */
.faq-icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}
/* Vertical line */
.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}
.faq-answer p {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Open State Accordion */
.faq-item.open {
    border-color: var(--border-color);
    background: var(--card-hover-bg);
}
.faq-item.open .faq-icon::after {
    transform: rotate(90deg);
}
.faq-item.open .faq-icon::before {
    transform: rotate(180deg);
}

/* ==========================================================================
   CONTACTS SECTION
   ========================================================================== */
.contacts-section {
    background-color: var(--bg-secondary);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
}

.contact-info-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color-soft);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}
.info-intro {
    font-size: 1rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.detail-icon {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.detail-content {
    display: flex;
    flex-direction: column;
}
.detail-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.detail-link {
    font-size: 1.15rem;
    font-weight: 600;
}
.detail-link:hover {
    color: var(--gold-primary);
}
.detail-address {
    font-style: normal;
    font-size: 1.15rem;
    font-weight: 600;
}
.detail-text {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.messenger-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color-soft);
    padding-top: 32px;
}
.messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    color: #ffffff !important;
}

.tg-btn {
    background: #0088cc;
}
.tg-btn:hover {
    background: #0077b5;
    transform: translateY(-2px);
}

.wa-btn {
    background: #25d366;
}
.wa-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

/* Contact Form styling */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color-soft);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}
.form-subtitle {
    font-size: 0.95rem;
    margin-bottom: 36px;
}

.form-group {
    position: relative;
    margin-bottom: 28px;
}

.form-control {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border-color-soft);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: all var(--transition-fast);
}
.form-control:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Material Outline label style */
.form-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: var(--card-bg);
    padding: 0 6px;
}
textarea.form-control ~ .form-label {
    top: 24px;
    transform: none;
}

/* Scale label down when input has content or focus */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    left: 12px;
    color: var(--gold-primary);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
}
select.form-control ~ .select-label {
    top: 50%;
    transform: translateY(-50%);
}
select.form-control:focus ~ .select-label,
select.form-control:valid ~ .select-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    left: 12px;
    color: var(--gold-primary);
}

/* Custom Dropdown arrow */
.form-group::after {
    content: '';
}
.form-group:has(select)::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-30%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    pointer-events: none;
    transition: transform var(--transition-fast);
}
.form-group:has(select:focus)::after {
    transform: translateY(-60%) rotate(-135deg);
    border-color: var(--gold-primary);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
}
.form-consent input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--gold-primary);
}
.form-consent label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.form-consent a {
    color: var(--gold-primary);
    text-decoration: underline;
}

/* Success Card Overlay inside contact-form-wrapper */
.form-success-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-bg);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    z-index: 10;
}
.form-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.success-message-card {
    text-align: center;
    max-width: 400px;
}
.success-icon-circle {
    width: 64px;
    height: 64px;
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}
.success-message-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.success-message-card p {
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
    background-color: #06080e;
    color: #ffffff;
    padding: 80px 0;
    border-top: 1px solid var(--border-color-soft);
}
body.light-theme .site-footer {
    background-color: #1a202c;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
}

.footer-brand .logo {
    margin-bottom: 24px;
}
.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-links h4, .footer-legal h4 {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 4px;
}

.footer-legal p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .hero-content {
        order: 1;
    }
    .hero-image-wrapper {
        order: 2;
        max-width: 450px;
        margin: 0 auto;
    }
    .badge-row, .hero-credentials, .hero-actions-row {
        justify-content: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: max-content;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    section {
        padding: 70px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    /* Show mobile burger menu */
    .burger-menu {
        display: flex;
    }
    .nav-menu {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 30px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-info-card, .contact-form {
        padding: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-credentials {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .hero-actions-row .btn {
        width: 100%;
    }
    .hero-floating-card {
        display: none;
    }
    .messenger-row {
        flex-direction: column;
    }
    .messenger-btn {
        width: 100%;
        justify-content: center;
    }
}
