/* =========================================
   MetropolVisa UAE Landing Page
   Institutional Voice Design System
   ========================================= */

/* --- Design Tokens --- */
:root {
    /* Colors */
    --primary-navy: #0f172a;
    --navy-light: #1e293b;
    --accent-gold: #c9a961;
    --soft-gold: #dfcc9b;
    --gold-glow: rgba(201, 169, 97, 0.3);
    
    /* Text */
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-off-white: #fcfcfc;
    --bg-cream: #fffdf9;
    --bg-light: #f8fafc;
    
    /* Glass Effects */
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(201, 169, 97, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --section-padding: clamp(60px, 10vw, 100px);
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .serif {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary-navy);
    font-weight: 500;
}

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

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

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-base);
}

.header.scrolled {
    padding: 1rem 5%;
    box-shadow: var(--glass-shadow);
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary-navy);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-gold);
}

.logo small {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition-base);
}

.nav-links a:hover {
    color: var(--primary-navy);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-top {
    background: var(--primary-navy);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.cta-top:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--gold-glow);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6)),
        url('assets/images/hero-london.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201, 169, 97, 0.15), transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(201, 169, 97, 0.2);
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--soft-gold);
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    color: white;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.section-tag.light {
    color: var(--soft-gold);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Services Section --- */
.services-section {
    padding: var(--section-padding) 5%;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.service-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.service-icon {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

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

.service-card > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

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

/* --- Audience Tabs Section --- */
.audience-section {
    padding: var(--section-padding) 5%;
    background: var(--bg-light);
}

.tabs-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-base);
}

.tab-btn:hover {
    border-color: var(--accent-gold);
    color: var(--primary-navy);
}

.tab-btn.active {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: white;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.tab-main h3 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.tab-main > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.tab-list {
    list-style: none;
    margin-bottom: 2rem;
}

.tab-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

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

.side-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.side-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.steps-list {
    list-style: none;
    counter-reset: none;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.steps-list li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(201, 169, 97, 0.15);
    color: var(--accent-gold);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.btn-gold {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.btn-gold:hover {
    background: var(--primary-navy);
    color: white;
    transform: translateY(-2px);
}

/* --- Trust Section --- */
.trust-section {
    padding: var(--section-padding) 5%;
    background: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.trust-tile {
    text-align: center;
    padding: 2rem 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.trust-tile.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.trust-icon {
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
}

.trust-tile h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.trust-tile p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- UAE Presence Section --- */
.uae-presence-section {
    padding: var(--section-padding) 5%;
    background: var(--bg-light);
}

.presence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--container-max);
    margin: 0 auto 2rem;
}

.presence-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid transparent;
    transition: var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

.presence-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.presence-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.presence-icon {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.presence-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

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

.emirates-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.emirate-tag {
    background: rgba(201, 169, 97, 0.1);
    color: var(--accent-gold);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- Representative Section --- */
.rep-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px var(--section-padding);
}

.rep-card {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    background: white;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.rep-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.rep-image {
    background: 
        linear-gradient(to bottom, transparent 60%, rgba(15, 23, 42, 0.2)),
        url('assets/images/aslikamaz.png');
    background-size: cover;
    background-position: center top;
    min-height: 500px;
}

.rep-content {
    padding: clamp(2rem, 5vw, 3.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rep-tag {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.rep-name {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.rep-bio {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.rep-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* --- Compliance Box --- */
.compliance-wrapper {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 2rem 2.5rem;
    border: 1px solid var(--soft-gold);
    background: var(--bg-cream);
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.compliance-icon {
    color: var(--accent-gold);
    flex-shrink: 0;
}

.compliance-wrapper h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.compliance-wrapper p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Testimonial Section --- */
.testimonial-section {
    padding: 4rem 5%;
    background: var(--primary-navy);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-card blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    color: white;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-card cite {
    font-style: normal;
    color: var(--soft-gold);
    font-size: 0.95rem;
}

/* --- Contact Section --- */
.contact-section {
    padding: var(--section-padding) 5%;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: var(--container-max);
    margin: 0 auto;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.contact-info > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(201, 169, 97, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1rem;
    color: var(--text-main);
}

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

/* --- Contact Form --- */
.contact-form {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: white;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

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

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

.btn-submit {
    width: 100%;
    padding: 1.15rem 2rem;
    background: var(--accent-gold);
    color: var(--primary-navy);
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition-base);
}

.btn-submit:hover {
    background: var(--primary-navy);
    color: white;
    transform: translateY(-2px);
}

.btn-submit.success {
    background: #10b981;
    color: white;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1.5rem;
}

/* --- Footer --- */
.footer {
    background: var(--primary-navy);
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: 1rem;
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.footer-brand .logo span {
    color: var(--accent-gold);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
    line-height: 1.7;
}

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

.footer-links h5 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Modal Styles --- */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    margin: 3% auto;
    padding: 0;
    border-radius: 12px;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--text-muted);
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--primary-navy);
    background: rgba(0, 0, 0, 0.05);
}

.modal-header {
    background: var(--bg-light);
    padding: 2.5rem 3rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.modal-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.modal-body {
    padding: 2.5rem 3rem;
    max-height: calc(85vh - 150px);
    overflow-y: auto;
}

.modal-body h3 {
    font-size: 1.25rem;
    color: var(--primary-navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.modal-body h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.modal-body p {
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modal-body ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-main);
}

.modal-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.modal-body strong {
    color: var(--primary-navy);
    font-weight: 600;
}

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

/* Modal responsive */
@media (max-width: 968px) {
    .modal-content {
        margin: 5% 20px;
        max-width: calc(100% - 40px);
    }
    
    .modal-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .modal-body {
        padding: 2rem 1.5rem;
    }
    
    .modal-close {
        right: 15px;
        top: 15px;
    }
    
    .rep-image {
        min-height: 380px;
        background-size: cover;
        background-position: center top;
    }
}

@media (max-width: 640px) {
    .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
        padding-right: 40px;
    }
    
    .modal-body {
        padding: 1.5rem 1rem;
    }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .presence-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .cta-top {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rep-card {
        grid-template-columns: 1fr;
    }
    
    .rep-image {
        min-height: 450px;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-color: #f8fafc;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-nav {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 0.75rem 4%;
    }
    
    .cta-top {
        font-size: 0.7rem;
        padding: 0.45rem 0.8rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo small {
        font-size: 0.6rem;
    }
    
    .hero {
        padding: 120px 5% 60px;
        min-height: auto;
    }
    
    .hero-badge {
        margin-top: 1rem;
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        letter-spacing: 1px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .tab-list li {
        font-size: 0.95rem;
    }
    
    .compliance-wrapper {
        flex-direction: column;
        text-align: center;
        margin: 0 20px 4rem;
    }
    
    .rep-actions {
        flex-direction: column;
    }
    
    .rep-image {
        min-height: 380px;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-color: #f8fafc;
    }
    
    .btn-gold,
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
}
