:root {
 --primary-color: #ca8a04; /* Gold */
 --primary-dark: #a16207;
 --secondary-color: #374151; /* Elegant Charcoal */
 --bg-light: #fefce8; /* Warm Beige variant */
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-white: #ffffff;
 --border-color: #e5e7eb;

 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 16px;
 
 --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
 
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
 scroll-behavior: smooth;
}

body {
 font-family: var(--font-main);
 font-size: 16px;
 line-height: 1.6;
 color: var(--text-light);
 background-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 line-height: 1.2;
 color: var(--text-dark);
 margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

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

a:hover {
 color: var(--primary-dark);
}

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

.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

.section-header {
 text-align: center;
 max-width: 750px;
 margin: 0 auto 50px;
}

.section-label, .badge {
 display: inline-block;
 background-color: var(--primary-color);
 color: white;
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.85rem;
 font-weight: 600;
 margin-bottom: 16px;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; line-height: 1.7; color: var(--text-muted); }

/* Header & Nav */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.85);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--border-color);
 transition: var(--transition);
}

.header.scrolled {
 background: white;
 box-shadow: var(--shadow-md);
}

.nav {
 height: 80px;
 display: flex;
 align-items: center;
 justify-content: space-between;
}

.nav-logo {
 font-size: 1.75rem;
 font-weight: 700;
 color: var(--text-dark);
}

.nav-links {
 display: flex;
 list-style: none;
 gap: 32px;
}

.nav-links a {
 font-weight: 500;
 color: var(--text-dark);
 padding: 8px 0;
 position: relative;
 font-size: 1rem;
}

.nav-links a::after {
 content: '';
 position: absolute;
 bottom: -2px;
 left: 0;
 width: 0;
 height: 2px;
 background: var(--primary-color);
 transition: width 0.3s;
}

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

.nav-actions { display: flex; }

.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding: 12px 24px;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
 text-decoration: none;
}

.btn-primary {
 background-color: var(--primary-color);
 color: white;
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}
.btn-secondary {
 background-color: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover {
 background-color: var(--primary-color);
 color: white;
}
/* Mobile Menu */
.nav-toggle { display: none; }

@media (max-width: 992px) {
 .nav-links, .nav-actions {
 display: none;
 }
 .nav-toggle {
 display: block;
 background: none;
 border: none;
 cursor: pointer;
 z-index: 1001;
 }
 .nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 background: var(--text-dark);
 margin: 6px 0;
 transition: var(--transition);
 }
 
 .nav-links.active {
 display: flex;
 position: absolute;
 top: 80px;
 left: 0;
 right: 0;
 background: white;
 flex-direction: column;
 padding: 20px;
 box-shadow: var(--shadow-md);
 text-align: center;
 gap: 1rem;
 }
}

/* App Hero Section */
.hero-app {
 padding-top: 160px;
 padding-bottom: 80px;
 background: var(--bg-light);
}

.hero-app-inner {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 48px;
}

.hero-app-content h1 {
 margin-bottom: 1.5rem;
}
.hero-app-content p {
 font-size: 1.1rem;
 color: var(--text-muted);
 max-width: 500px;
 margin-bottom: 2rem;
}

.hero-ratings {
 display: flex;
 align-items: center;
 gap: 12px;
 margin-bottom: 2rem;
}
.stars {
 color: var(--primary-color);
 font-size: 1.5rem;
}
.hero-ratings span {
 font-weight: 500;
 color: var(--text-muted);
}

.app-buttons {
 display: flex;
 gap: 16px;
 flex-wrap: wrap;
 margin-top: 2rem;
}
.app-store-btn img {
 height: 54px;
 transition: var(--transition);
}

.app-store-btn:hover img{
 transform: scale(1.05);
}

.hero-app-visual img {
 width: 100%;
 max-width: 400px;
 margin: 0 auto;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}

/* Page Header */
.page-header-section {
 padding: 160px 0 80px;
 text-align: center;
 background: var(--bg-light);
}
.page-header-section h1 {
 color: var(--text-dark);
}
.page-header-section p {
 font-size: 1.2rem;
 color: var(--text-muted);
 max-width: 600px;
 margin: 0 auto;
}

/* Gallery Grid */
.gallery-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
}
.gallery-item img {
 width: 100%;
 height: 600px;
 object-fit: cover;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.gallery-item img:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}

/* Features */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.feature-card {
 background: var(--bg-white);
 padding: 32px;
 border-radius: var(--radius-lg);
 text-align: center;
 border: 1px solid var(--border-color);
 transition: var(--transition);
}
.feature-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}
.feature-icon {
 display: inline-flex;
 justify-content: center;
 align-items: center;
 width: 64px;
 height: 64px;
 background: var(--bg-light);
 color: var(--primary-color);
 border-radius: 50%;
 margin-bottom: 20px;
}
.feature-icon svg { width: 32px; height: 32px; }

/* Timeline */
.timeline {
 display: flex;
 justify-content: space-between;
 gap: 30px;
 position: relative;
 max-width: 1000px;
 margin: 0 auto;
}
.timeline::before {
 content: '';
 position: absolute;
 top: 24px;
 left: 10%;
 right: 10%;
 height: 2px;
 background-color: var(--border-color);
 z-index: -1;
}

.timeline-step {
 text-align: center;
 flex: 1;
}
.timeline-number {
 width: 50px;
 height: 50px;
 border-radius: 50%;
 background-color: var(--primary-color);
 color: white;
 font-size: 1.5rem;
 font-weight: 700;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 margin-bottom: 20px;
 border: 4px solid var(--bg-light);
}

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-card {
 background: var(--bg-white);
 padding: 24px;
 border-radius: var(--radius-lg);
 border: 1px solid var(--border-color);
 display: flex;
 flex-direction: column;
}
.review-header {
 display: flex;
 align-items: center;
 gap: 16px;
 margin-bottom: 16px;
}
.avatar {
 width: 50px;
 height: 50px;
 border-radius: 50%;
 object-fit: cover;
}
.review-header h4 { margin-bottom: 4px; }
.review-stars { color: var(--primary-color); }

/* CTA Section */
.cta-section {
 background-color: var(--secondary-color);
 color: white;
 text-align: center;
}
.cta-section .section-title, .cta-section .section-subtitle {
 color: white;
}
.cta-section .app-buttons {
 justify-content: center;
}

/* Services Page */
.grid-2-services {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 32px;
}
.card {
 background: white;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 overflow: hidden;
 display: flex;
 flex-direction: column;
 transition: var(--transition);
}
.card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.card-img {
 width: 100%;
 height: 220px;
 object-fit: cover;
}
.card-body {
 padding: 24px;
 flex-grow: 1;
 display: flex;
 flex-direction: column;
}
.card-title { font-size: 1.35rem; }
.card-text { margin-bottom: 1rem; flex-grow: 1; }
.service-price {
 font-size: 1.1rem;
 font-weight: 700;
 color: var(--primary-color);
 margin-bottom: 1.5rem;
}
.card-btn { align-self: flex-start; }

.features-list {
 list-style: none;
 padding: 0;
 column-count: 2;
 column-gap: 40px;
}
.features-list li {
 margin-bottom: 1rem;
 padding-left: 28px;
 position: relative;
 font-size: 1.05rem;
}
.features-list li::before {
 content: '';
 color: var(--primary-color);
 position: absolute;
 left: 0;
 font-weight: 700;
}

/* Media Object */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 48px;
 align-items: center;
}
.media-object.reverse {
 grid-template-columns: 1.2fr 1fr;
}
.media-object.reverse .media-visual { grid-column: 2; grid-row: 1; }
.media-copy ul {
 list-style-type: none;
 padding-left: 0;
 margin-top: 1.5rem;
}
.media-copy ul li {
 position: relative;
 padding-left: 25px;
 margin-bottom: 10px;
}
.media-copy ul li::before {
 content: '';
 position: absolute;
 left: 0;
 color: var(--primary-color);
 font-weight: bold;
}
.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}

/* About Page - Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-card {
 text-align: center;
 background: white;
 padding: 24px;
 border-radius: var(--radius-lg);
 border: 1px solid var(--border-color);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 margin: 0 auto 20px;
 object-fit: cover;
 border: 4px solid var(--bg-white);
 box-shadow: var(--shadow-md);
}
.team-name { font-size: 1.2rem; }
.team-title { color: var(--primary-color); font-weight: 600; margin-bottom: 8px; }
.team-bio { font-size: 0.9rem; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value-item {
 background: var(--bg-light);
 padding: 24px;
 border-radius: var(--radius-md);
 text-align: center;
 border-left: 4px solid var(--primary-color);
}
.value-item h3 { color: var(--secondary-color); }

/* Blog Page */
.review-card-large {
 background: var(--bg-white);
 border-radius: var(--radius-md);
 padding: 24px;
 box-shadow: var(--shadow-md);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.faq-container {
 max-width: 800px;
 margin: 0 auto;
}
.faq-item {
 background: white;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 margin-bottom: 1rem;
 padding: 20px;
}
.faq-question {
 cursor: pointer;
 font-size: 1.2rem;
 position: relative;
 margin-bottom: 0;
}
.faq-question::after {
 content: '+';
 position: absolute;
 right: 0;
 font-weight: 300;
 font-size: 1.5rem;
 transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
 transform: rotate(45deg);
}
.faq-answer {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.3s ease-out;
}
.faq-item.active .faq-answer {
 max-height: 200px;
 padding-top: 1rem;
}

/* Contact Page */
.contact-grid {
 display: grid;
 grid-template-columns: 2fr 1.5fr;
 gap: 48px;
}
.form-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 20px;
}
.form-group {
 display: flex;
 flex-direction: column;
}
.form-group-full {
 grid-column: 1 / -1;
}
.form-group label {
 font-weight: 500;
 margin-bottom: 8px;
 color: var(--text-dark);
}
.form-group input, .form-group textarea {
 width: 100%;
 padding: 12px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-family: inherit;
 font-size: 1rem;
}
.form-group textarea {
 resize: vertical;
 min-height: 120px;
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.2);
}
.checkbox-group {
 flex-direction: row;
 align-items: center;
 gap: 10px;
}
.checkbox-group input { width: auto; }

.contact-info-container {
 background: var(--bg-light);
 padding: 32px;
 border-radius: var(--radius-lg);
}
.contact-details {
 list-style: none;
 padding-left: 0;
 margin-top: 1.5rem;
}
.contact-details li {
 display: flex;
 align-items: flex-start;
 gap: 16px;
 margin-bottom: 24px;
}
.contact-details svg {
 width: 24px;
 height: 24px;
 color: var(--primary-color);
 flex-shrink: 0;
 margin-top: 4px;
}
.contact-details strong {
 display: block;
 color: var(--text-dark);
 margin-bottom: 4px;
}
.map-container {
 width: 100%;
 height: 450px;
 border-radius: 12px;
 overflow: hidden;
 box-shadow: var(--shadow-lg);
 margin-top: 60px;
}
.map-container iframe {
 width: 100%;
 height: 100%;
 border: none;
}
/* Form Validation */
.input-error { border-color: #dc2626 !important; }
.field-error { color: #dc2626; font-size: 0.875rem; margin-top: 5px; }

/* Legal Pages */
.legal-page main { padding-top: 120px; }
.legal-content h1, .legal-content h2, .legal-content h3 { color: var(--secondary-color); margin-top: 2rem; margin-bottom: 1rem; }
.legal-content p, .legal-content ul, .legal-content li { margin-bottom: 1rem; }
.legal-content ul { padding-left: 20px; }
.legal-content strong { color: var(--text-dark); }
.legal-content a { font-weight: 500; }
.legal-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.legal-content th, .legal-content td { padding: 12px; border: 1px solid var(--border-color); text-align: left; }
.legal-content th { background-color: var(--bg-light); }

/* Footer */
.footer {
 background-color: var(--secondary-color);
 color: #d1d5db;
 padding: 60px 0 20px;
 margin-top: 80px;
 font-size: 0.9rem;
}
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1.5fr;
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: white;
 margin-bottom: 16px;
 display: block;
}
.footer-description { margin-bottom: 20px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background: rgba(255, 255, 255, 0.1);
 display: flex;
 align-items: center;
 justify-content: center;
 color: white;
}
.footer-social a:hover {
 background: var(--primary-color);
 transform: translateY(-2px);
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: white;
 margin-bottom: 20px;
 text-transform: uppercase;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a, .footer-contact-item a { color: #d1d5db; }
.footer-links a:hover, .footer-contact-item a:hover { color: white; }
.footer-contact-list { list-style: none; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-item svg { width: 18px; margin-top: 4px; color: var(--primary-color); flex-shrink: 0;}
.footer-hours { color: #d1d5db; line-height: 1.6; }

.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: 20px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 color: #9ca3af;
 font-size: 0.85rem;
}
.footer-legal-links a { margin-left: 20px; color: #9ca3af; }
.footer-legal-links a:hover { color: white; }

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--secondary-color);
 color: white;
 padding: 16px 24px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
}
#cookie-banner p { margin: 0; }
#cookie-banner a { color: var(--primary-color); font-weight: 500; }
#cookie-banner div { display: flex; gap: 12px; }

/* Spinner for form submission */
.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; }

/* Responsive Adjustments */
@media (max-width: 992px) {
 .hero-app-inner, .media-object, .contact-grid { grid-template-columns: 1fr; }
 .hero-app-content { text-align: center; }
 .hero-app-content p { margin-left: auto; margin-right: auto; }
 .app-buttons { justify-content: center; }
 .hero-app-visual { grid-row: 1; margin-bottom: 40px; }
 .gallery-grid { grid-template-columns: 1fr; }
 .gallery-item img { height: 400px; }
 .grid-3, .reviews-grid, .team-grid, .values-grid { grid-template-columns: 1fr; }
 .timeline { flex-direction: column; align-items: center; }
 .timeline::before { display: none; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .grid-2, .grid-2-services { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
 body { font-size: 15px; }
 .section { padding: 60px 0; }
 .hero-app { padding-top: 120px; }
 h1 { font-size: 2rem; }
 h2 { font-size: 1.75rem; }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
 .footer-legal-links { margin-top: 10px; }
 .form-grid { grid-template-columns: 1fr; }
 #cookie-banner { flex-direction: column; text-align: center; }
 .features-list { column-count: 1; }
}