/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --bg-primary: #0A0D14;
    --bg-secondary: #121724;
    --bg-glass: rgba(18, 23, 36, 0.7);
    --bg-glass-heavy: rgba(10, 13, 20, 0.95);
    
    --accent-gold: #D4AF37;
    --accent-gold-hover: #F3CF65;
    --accent-gold-rgb: 212, 175, 55;
    
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --border-color: rgba(212, 175, 55, 0.15);
    --border-color-hover: rgba(212, 175, 55, 0.4);
    --gold-glow: 0 10px 30px rgba(212, 175, 55, 0.1);
    
    /* Fonts */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Symmetrical Grid lines running vertically */
.bg-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
}

.bg-lines .line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(212, 175, 55, 0.01) 0%, 
        rgba(212, 175, 55, 0.04) 50%, 
        rgba(212, 175, 55, 0.01) 100%
    );
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

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

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

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

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Section Header Styles for Perfect Symmetry */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    display: inline-block;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.section-divider {
    width: 60px;
    height: 1px;
    background-color: var(--accent-gold);
    margin: 0 auto;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    background-color: var(--bg-primary);
    border: 1px solid var(--accent-gold);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    border-radius: 0; /* Symmetrical sharp edges for legal/editorial look */
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #000;
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

/* Large Quick Contact Buttons */
.btn-whatsapp-large {
    background-color: #128c7e;
    color: #fff;
    border: 1px solid #128c7e;
    width: 100%;
    padding: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-whatsapp-large:hover {
    background-color: #075e54;
    border-color: #075e54;
    box-shadow: 0 8px 20px rgba(18, 140, 126, 0.3);
    transform: translateY(-2px);
}

.btn-email-large {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    width: 100%;
    padding: 1.1rem;
    font-weight: 600;
}

.btn-email-large:hover {
    border-color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.05);
    box-shadow: var(--gold-glow);
    transform: translateY(-2px);
}

/* Mobile Navigation Overlay Backdrop */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 13, 20, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 101;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

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

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.main-header.scrolled .nav-logo {
    height: 42px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

.nav-btn {
    border: 1px solid var(--accent-gold);
    padding: 0.6rem 1.5rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    background-color: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 110;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
    background-image: linear-gradient(to right, rgba(10, 13, 20, 0.95) 45%, rgba(10, 13, 20, 0.6) 100%), url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-container {
    margin-bottom: 1.5rem;
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    display: inline-block;
}

.hero-title {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Symmetrical Editorial Frame for Portrait */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-frame {
    position: relative;
    padding: 15px;
    background-color: rgba(212, 175, 55, 0.03);
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.hero-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: cover;
    filter: grayscale(15%) contrast(105%);
    transition: var(--transition-smooth);
}

.image-frame:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.1);
}

.image-frame:hover .hero-img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.02);
}

/* Symmetrical Corners Decoration */
.frame-decoration {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 2px solid var(--accent-gold);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.frame-decoration.top-left {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.frame-decoration.bottom-right {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.image-frame:hover .frame-decoration.top-left {
    top: -10px;
    left: -10px;
}

.image-frame:hover .frame-decoration.bottom-right {
    bottom: -10px;
    right: -10px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition-smooth);
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.mouse-icon {
    width: 18px;
    height: 30px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    position: relative;
}

.mouse-icon .wheel {
    width: 2px;
    height: 6px;
    background-color: var(--accent-gold);
    border-radius: 1px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.6s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 14px; opacity: 0.3; }
    100% { top: 6px; opacity: 1; }
}

/* ==========================================================================
   ABOUT / CREDENTIALS SECTION
   ========================================================================== */
.about-section {
    padding: 8rem 0;
    background-color: #0B0E15;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.credential-card {
    background-color: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.credential-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: var(--gold-glow);
}

.card-icon {
    width: 60px;
    height: 60px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    position: relative;
    background-color: rgba(212, 175, 55, 0.05);
}

.credential-card:hover .card-icon {
    border-color: var(--accent-gold);
    background-color: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.credential-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.credential-card p {
    font-size: 0.92rem;
    line-height: 1.7;
}

.credential-card strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* ==========================================================================
   SPECIALTIES / AREAS SECTION
   ========================================================================== */
.specialties-section {
    padding: 8rem 0;
    background-color: #111622;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.specialty-card {
    background-color: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 3.5rem 2.5rem;
    position: relative;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.specialty-card.featured {
    border-color: rgba(212, 175, 55, 0.3);
    background-color: rgba(18, 23, 36, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.specialty-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-gold);
}

.specialty-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #000;
    background-color: var(--accent-gold);
    padding: 0.2rem 0.6rem;
}

.specialty-icon {
    font-size: 2.25rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.specialty-card h3 {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.specialty-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.specialty-details {
    list-style: none;
    margin-top: auto;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    padding-top: 1.5rem;
}

.specialty-details li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.specialty-details li:last-child {
    margin-bottom: 0;
}

.specialty-details li i {
    font-size: 0.65rem;
    color: var(--accent-gold);
}

.specialty-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: var(--gold-glow);
}

.specialty-card:hover .specialty-icon {
    transform: scale(1.05);
    transition: var(--transition-fast);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 8rem 0;
    background-color: #0B0E15;
    border-top: 1px solid var(--border-color);
}

.contact-box {
    background-color: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 4.5rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.contact-box::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(212, 175, 55, 0.05);
    pointer-events: none;
}

.contact-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.02);
}

.info-text span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-link {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 400;
}

.contact-link:hover {
    color: var(--accent-gold);
}

/* Right Column: CTA Panel */
.contact-cta-form {
    background-color: rgba(10, 13, 20, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.08);
    padding: 3rem;
    text-align: center;
}

.form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.form-wrapper p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background-color: rgba(212, 175, 55, 0.05);
    padding: 0.4rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.08);
}

.availability-badge .dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

/* ==========================================================================
   METHODOLOGY SECTION
   ========================================================================== */
.methodology-section {
    padding: 8rem 0;
    background-color: #0B0E15;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.step-card {
    background-color: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 3.5rem 2.5rem;
    position: relative;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: var(--gold-glow);
}

.step-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-weight: 300;
    position: relative;
    display: inline-block;
}

.step-num::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 25px;
    height: 1px;
    background-color: var(--accent-gold);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-card p {
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    padding: 8rem 0;
    background-color: #111622;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.faq-item {
    background-color: var(--bg-glass);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.05);
}

.faq-item details {
    width: 100%;
}

.faq-item summary {
    padding: 1.75rem 2rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    font-size: 0.85rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item details[open] summary {
    color: var(--accent-gold);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.faq-item details[open] summary i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 1.5rem 2rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 90;
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* Pulsing effect for Whatsapp */
.floating-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.4;
    z-index: -1;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 5rem 0 3rem;
    border-top: 1px solid var(--border-color);
    background-color: #06080d;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(212, 175, 55, 0.08);
    margin-bottom: 2.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom p {
    color: var(--text-muted);
}

.credits {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-studio-link {
    color: var(--accent-gold);
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-studio-link:hover {
    color: var(--accent-gold-hover);
    text-decoration: underline;
}

/* ==========================================================================
   ANIMATIONS & TRANSITIONS (SCROLL EFFECT)
   ========================================================================== */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   MEDIA QUERIES (MOBILE OPTIMIZED)
   ========================================================================== */

/* Tablet & Mobile Landscape */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-container {
        gap: 2rem;
    }
    
    .about-grid, .specialties-grid, .methodology-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Make third card span full width for symmetry */
    .about-grid .credential-card:last-child,
    .methodology-grid .step-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .specialties-grid .specialty-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-box {
        padding: 3rem;
    }
    
    .contact-grid {
        gap: 3rem;
    }
}

/* Mobile Portrait (Crucial Optimization) */
@media (max-width: 768px) {
    /* Base Settings */
    html {
        font-size: 15px;
    }
    
    .section-container {
        padding: 0 1.5rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    /* Navigation Bar */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-glass-heavy);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-color);
        padding: 7rem 2.5rem 3rem;
        z-index: 105;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.15rem;
        width: 100%;
        padding: 0.8rem 0; /* Touch comfort vertical padding */
        display: block;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
    
    /* Header menu open animation */
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Section (Reordered for Mobile: Title -> Image -> Details) */
    .hero-section {
        padding-top: 90px;
        padding-bottom: 40px;
        min-height: auto;
        background-image: linear-gradient(to bottom, rgba(10, 13, 20, 0.95) 35%, rgba(10, 13, 20, 0.75) 100%), url('assets/hero_bg.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
        order: 1; /* Title first in flex/grid */
    }
    
    .hero-visual {
        order: 2; /* Image after Title/Badge */
    }
    
    .hero-content p.hero-subtitle {
        order: 3; /* Subtitle after Image */
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        order: 4; /* Actions last */
        justify-content: center;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.85rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-img {
        max-width: 320px;
    }
    
    .scroll-indicator {
        display: none; /* Hide mouse indicator on touch screens */
    }
    
    /* Sections general padding */
    .about-section, .specialties-section, .methodology-section, .faq-section, .contact-section {
        padding: 5rem 0;
    }
    
    /* Grid adjustments to single column */
    .about-grid, .specialties-grid, .methodology-grid, .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-grid .credential-card:last-child,
    .specialties-grid .specialty-card:last-child,
    .methodology-grid .step-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .credential-card, .specialty-card, .step-card {
        padding: 2.5rem 1.5rem;
    }

    .faq-item summary {
        padding: 1.5rem;
        font-size: 1.15rem;
    }

    .faq-answer {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    /* Contact Section */
    .contact-box {
        padding: 2.5rem 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-cta-form {
        padding: 2rem 1.5rem;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .info-item {
        align-items: flex-start;
    }
    
    .info-icon {
        flex-shrink: 0;
    }
    
    .contact-link {
        font-size: 1.05rem;
        word-break: break-all;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
    }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .section-title {
        font-size: 1.95rem;
    }
}
