:root {
 --color-charcoal: #374151;
 --color-gold: #ca8a04;
 --color-beige: #fef3c7;
 --color-text: #E0E6F7;
 --color-heading: #FFFFFF;
 --color-bg-dark: #111827;
 --color-glass-bg: rgba(255, 255, 255, 0.05);
 --color-glass-border: rgba(255, 255, 255, 0.15);
 --gradient-1: #4f46e5;
 --gradient-2: #a855f7;
 --gradient-3: #ec4899;
 --font-main: 'Inter', sans-serif;
 --radius: 12px;
 --shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
 --transition: all 0.3s ease-in-out;
}

/* BASE RESET & TYPOGRAPHY */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

.background-animation {
 position: fixed;
 top: 0;
 left: 0;
 width: 100vw;
 height: 100vh;
 overflow: hidden;
 z-index: -1;
 background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 50%, var(--gradient-3) 100%);
 animation: gradient-animation 15s ease infinite alternate;
}

@keyframes gradient-animation {
 0% { background-position: 0% 50%; }
 100% { background-position: 100% 50%; }
}

.shape {
 position: absolute;
 border-radius: 50%;
 background: rgba(255, 255, 255, 0.05);
 filter: blur(80px);
}

.shape1 { width: 400px; height: 400px; top: 10%; left: 15%; animation: move 20s infinite alternate; }
.shape2 { width: 300px; height: 300px; top: 50%; right: 10%; animation: move 25s infinite alternate-reverse; }
.shape3 { width: 250px; height: 250px; bottom: 5%; left: 25%; animation: move 30s infinite alternate; }

@keyframes move {
 from { transform: translate(0, 0) rotate(0deg); }
 to { transform: translate(100px, -50px) rotate(90deg); }
}

h1, h2, h3, h4 {
 font-weight: 700;
 color: var(--color-heading);
 line-height: 1.2;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

a { color: var(--color-gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-beige); }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }

/* HEADER & NAVIGATION */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(17, 24, 39, 0.5);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--color-glass-border);
 transition: var(--transition);
}
.nav { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.5rem; font-weight: 700; color: var(--color-heading); }
.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-links a { color: var(--color-text); font-weight: 500; position: relative; padding: 5px 0; }
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: -2px; left: 0;
 width: 0; height: 2px;
 background: var(--color-gold);
 transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--color-heading); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; background: transparent; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 25px; height: 2px; background-color: var(--color-heading); margin: 6px 0; transition: var(--transition); }

/* HERO SECTION */
.hero {
 min-height: 100vh;
 display: flex;
 align-items: center;
 text-align: center;
 position: relative;
 padding-top: 80px;
}
.hero-content { z-index: 1; }
.hero-title { margin-bottom: 20px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 1.25rem; max-width: 700px; margin: 0 auto 40px; color: #d1d5db; }

/* BUTTONS */
.btn {
 display: inline-block;
 padding: 14px 32px;
 border-radius: 50px;
 font-weight: 600;
 font-size: 1rem;
 border: 2px solid transparent;
 cursor: pointer;
 transition: var(--transition);
 text-align: center;
}
.btn-primary { 
 background-color: var(--color-gold); 
 color: var(--color-charcoal);
 box-shadow: 0 4px 15px rgba(202, 138, 4, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(202, 138, 4, 0.5); }
.btn-secondary {
 background-color: transparent;
 color: var(--color-beige);
 border-color: var(--color-beige);
}
.btn-secondary:hover { background-color: var(--color-beige); color: var(--color-charcoal); }
.btn.full-width { width: 100%; }

/* WAVE DIVIDER */
.wave-divider {
 position: relative;
 bottom: 0;
 left: 0;
 width: 100%;
 overflow: hidden;
 line-height: 0;
 transform: rotate(180deg);
}

.wave-divider svg {
 position: relative;
 display: block;
 width: calc(100% + 1.3px);
 height: 100px;
}

.wave-divider .shape-fill {
 fill: var(--color-bg-dark);
}

/* SECTION STYLING */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
 display: inline-block;
 padding: 6px 16px;
 border-radius: 20px;
 background: var(--color-glass-bg);
 border: 1px solid var(--color-glass-border);
 color: var(--color-gold);
 font-weight: 600;
 font-size: 0.9rem;
 margin-bottom: 16px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle { max-width: 700px; margin: 0 auto; font-size: 1.1rem; color: #9ca3af; }

.bg-light-gradient {
 background: linear-gradient(180deg, rgba(17, 24, 39, 0) 0%, rgba(30,41,59, 1) 50%, rgba(17, 24, 39, 0) 100%);
}

/* CARD & GRID */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card.glass {
 background: var(--color-glass-bg);
 backdrop-filter: blur(12px);
 border: 1px solid var(--color-glass-border);
 border-radius: var(--radius);
 padding: 30px;
 text-align: center;
 transition: var(--transition);
 box-shadow: var(--shadow);
}
.card.glass:hover { transform: translateY(-10px); border-color: rgba(202, 138, 4, 0.5); }
.card-icon {
 width: 60px; height: 60px;
 margin: 0 auto 20px;
 background: linear-gradient(135deg, var(--color-gold), var(--gradient-2));
 border-radius: 50%;
 display: flex; align-items: center; justify-content: center;
}
.card-icon svg { color: white; width: 30px; height: 30px; }
.card-title { margin-bottom: 15px; }
.card-text { color: #d1d5db; }
.card-link { display: inline-block; margin-top: 20px; font-weight: 600; }

/* MEDIA OBJECT */
.media-object { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.media-visual img { box-shadow: var(--shadow); }
.media-content .section-title { font-size: 2.5rem; }
.checklist { list-style: none; margin-top: 20px; margin-bottom: 30px; }
.checklist li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 1rem; }
.checklist svg { color: var(--color-gold); width: 20px; height: 20px; flex-shrink: 0; }

/* TIMELINE */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::after {
 content: ''; position: absolute;
 width: 3px; background: var(--color-glass-border);
 top: 0; bottom: 0; left: 50%; margin-left: -1.5px;
}
.timeline-item { padding: 10px 40px; position: relative; width: 50%; }
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item .timeline-step {
 position: absolute; width: 50px; height: 50px;
 right: -25px; top: 32px;
 background: linear-gradient(135deg, var(--gradient-2), var(--gradient-3));
 border: 3px solid var(--color-bg-dark);
 border-radius: 50%; z-index: 1;
 display: flex; align-items: center; justify-content: center;
 font-size: 1.5rem; font-weight: 700; color: white;
}
.timeline-item:nth-child(even) .timeline-step { left: -25px; }
.timeline-content {
 background: var(--color-glass-bg);
 border: 1px solid var(--color-glass-border);
 padding: 20px 30px; border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.timeline-item:nth-child(odd) .timeline-content { text-align: right; }

/* TESTIMONIALS */
.testimonial-card {
 background: var(--color-glass-bg);
 backdrop-filter: blur(12px);
 border: 1px solid var(--color-glass-border);
 border-radius: var(--radius);
 padding: 30px;
 position: relative;
 box-shadow: var(--shadow);
}
.testimonial-card::before {
 content: '“';
 position: absolute;
 top: 10px; left: 20px;
 font-size: 4rem; color: var(--color-gold);
 opacity: 0.3;
}
.testimonial-text { margin-bottom: 20px; font-style: italic; color: #d1d5db; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-author h4 { margin: 0; font-size: 1rem; color: var(--color-heading); }
.testimonial-author span { font-size: 0.9rem; color: #9ca3af; }

/* CTA SECTION */
.cta-section { text-align: center; }
.cta-title { font-size: 2.5rem; margin-bottom: 20px; }
.cta-text { max-width: 600px; margin: 0 auto 30px; color: #9ca3af; font-size: 1.1rem; }

/* FOOTER */
.footer {
 background-color: #111827;
 padding: 80px 0 30px;
 margin-top: 100px;
 border-top: 1px solid var(--color-glass-border);
 position: relative;
}
.footer::before {
 content: '';
 position: absolute;
 top: 0; left: 0; right: 0; height: 2px;
 background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { font-size: 1.5rem; font-weight: 700; color: white; display: block; margin-bottom: 20px; }
.footer-description { color: #9ca3af; margin-bottom: 20px; }
.footer-social { display: flex; gap: 15px; }
.footer-social a {
 color: #9ca3af; display: block; width: 40px; height: 40px;
 border: 1px solid var(--color-glass-border);
 border-radius: 50%;
 display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { color: white; background: var(--color-gold); border-color: var(--color-gold);}
.footer-heading { font-size: 1.1rem; color: white; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links, .footer-contact { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 12px; }
.footer-links a, .footer-contact a, .footer-contact li { color: #9ca3af; }
.footer-links a:hover, .footer-contact a:hover { color: white; }
.footer-bottom {
 border-top: 1px solid var(--color-glass-border);
 padding-top: 30px; text-align: center;
 color: #9ca3af; display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom a { color: #9ca3af; margin: 0 10px; }
.footer-bottom a:hover { color: white; }

/* PAGES */
.page-header-section { min-height: 50vh; display: flex; align-items: center; text-align: center; padding-top: 80px; }
.page-header-section h1 { margin-bottom: 15px; }

.service-details { display: grid; gap: 60px; }
.service-item { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; }
.service-item:nth-child(even) { grid-template-columns: 1.5fr 1fr; }
.service-item:nth-child(even) img { grid-column: 2; grid-row: 1;}
.service-item h3 { font-size: 2rem; margin-bottom: 20px; color: var(--color-gold); }

.team-card { text-align: center; }
.team-card img { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 20px; object-fit: cover; border: 3px solid var(--color-gold); }
.team-card h4 { margin-bottom: 5px; }
.team-card span { display: block; color: var(--color-gold); margin-bottom: 10px; font-weight: 500; }
.team-card p { font-size: 0.9rem; color: #9ca3af; }

.blog-card {
 background: var(--color-glass-bg);
 border: 1px solid var(--color-glass-border);
 border-radius: var(--radius);
 overflow: hidden;
 transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-content { padding: 25px; }
.blog-card-category { font-size: 0.8rem; font-weight: 600; color: var(--color-gold); margin-bottom: 10px; display: block; }
.blog-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.blog-card p { color: #9ca3af; margin-bottom: 20px; }
.blog-card a { font-weight: 600; }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 50px; }
.pagination a {
 display: flex; align-items: center; justify-content: center;
 width: 40px; height: 40px;
 border: 1px solid var(--color-glass-border);
 border-radius: 50%;
}
.pagination a.active, .pagination a:hover { background-color: var(--color-gold); color: var(--color-charcoal); border-color: var(--color-gold); }

.legal-page { padding-top: 120px; }
.legal-page h1 { margin-bottom: 20px; }
.legal-page p { margin-bottom: 15px; }
.legal-page section { margin-bottom: 40px; }
.legal-page h2 { margin-bottom: 15px; font-size: 1.8rem; color: var(--color-gold); }
.legal-page ul { margin-left: 20px; margin-bottom: 15px; }
.legal-page li { margin-bottom: 10px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.legal-page th, .legal-page td { padding: 12px; border: 1px solid var(--color-glass-border); text-align: left; }
.legal-page th { background: var(--color-glass-bg); }

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.contact-form-wrapper { padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea {
 width: 100%;
 padding: 14px;
 background: rgba(17, 24, 39, 0.7);
 border: 1px solid var(--color-glass-border);
 border-radius: 8px;
 color: var(--color-text);
 font-family: inherit;
 font-size: 1rem;
 transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-gold); box-shadow: 0 0 0 2px rgba(202, 138, 4, 0.3); }
textarea { resize: vertical; min-height: 120px; }
.checkbox-group { display: flex; align-items: center; gap: 10px; }
.checkbox-group input { width: auto; }
.checkbox-group label { margin: 0; font-size: 0.9rem; }
.checkbox-group a { text-decoration: underline; }

.contact-info-wrapper h3 { margin-bottom: 20px; }
.contact-info-wrapper p { margin-bottom: 30px; color: #9ca3af; }
.contact-info-item { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 25px; }
.contact-info-item svg { color: var(--color-gold); width: 24px; height: 24px; flex-shrink: 0; margin-top: 5px; }
.contact-info-item h4 { font-size: 1rem; margin-bottom: 5px; color: var(--color-heading); }
.contact-info-item p, .contact-info-item a { color: #9ca3af; margin: 0; }
.contact-info-item a:hover { color: var(--color-gold); }
.map-container { margin-top: 60px; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); }

/* Form validation */
.input-error { border-color: #ef4444 !important; }
.field-error { color: #f87171; font-size: 0.85rem; margin-top: 5px; }

/* Spinner */
.spinner {
 display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3);
 border-radius: 50%; border-top-color: #fff; animation: spin 0.8s linear infinite;
 margin-right: 8px; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
button[disabled] { opacity: 0.7; cursor: not-allowed; }

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 20px;
 left: 50%;
 transform: translateX(-50%);
 width: 90%;
 max-width: 800px;
 background: var(--color-glass-bg);
 backdrop-filter: blur(12px);
 border: 1px solid var(--color-glass-border);
 border-radius: var(--radius);
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
 box-shadow: var(--shadow);
}
#cookie-banner p { margin: 0; font-size: 0.9rem; }
.cookie-buttons { display: flex; gap: 10px; }
#cookie-banner button {
 padding: 8px 16px;
 border-radius: 50px;
 border: 1px solid var(--color-gold);
 background: transparent;
 color: var(--color-gold);
 cursor: pointer;
}
#cookie-banner #accept-cookies { background: var(--color-gold); color: var(--color-charcoal); }

/* Animations on scroll */
.animate-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-in.is-visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 992px) {
 .grid-3 { grid-template-columns: repeat(2, 1fr); }
 .footer-grid { grid-template-columns: repeat(2, 1fr); }
 .media-object { grid-template-columns: 1fr; }
 .contact-grid { grid-template-columns: 1fr; }
 .timeline::after { left: 30px; }
 .timeline-item { width: 100%; padding-left: 80px; padding-right: 20px; }
 .timeline-item:nth-child(even) { left: 0; }
 .timeline-item .timeline-step, .timeline-item:nth-child(even) .timeline-step { left: 15px; }
 .timeline-item:nth-child(odd) .timeline-content { text-align: left; }
}

@media (max-width: 768px) {
 .grid-3 { grid-template-columns: 1fr; }
 .nav-toggle { display: block; z-index: 1001; }
 .nav-links {
 position: fixed;
 top: 0; right: -100%;
 width: 70%;
 height: 100vh;
 background: rgba(17, 24, 39, 0.9);
 backdrop-filter: blur(20px);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: 30px;
 transition: right 0.4s ease-in-out;
 }
 .nav-links.active { right: 0; }
 #cookie-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 10px; }
 .service-item, .service-item:nth-child(even) { grid-template-columns: 1fr; }
 .service-item:nth-child(even) img { grid-column: 1; }
}