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

:root {
    --primary: #1e3a5f;
    --primary-dark: #152d4a;
    --primary-light: #2a5a8f;
    --accent: #b08d57;
    --accent-light: #c9a96e;
    --text: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #7a7a8a;
    --bg: #ffffff;
    --bg-subtle: #f7f8fa;
    --border: #e5e7eb;
    --border-strong: #d1d5db;
    --success: #047050;
    --error: #dc2626;
    --radius: 12px;
    --radius-sm: 8px;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --primary: #5b8ab5;
        --primary-dark: #4a7a9f;
        --primary-light: #7aa5cc;
        --accent: #c9a96e;
        --accent-light: #dbbe85;
        --text: #e8e8ec;
        --text-secondary: #b0b0bc;
        --text-muted: #808090;
        --bg: #111827;
        --bg-subtle: #1f2937;
        --border: #374151;
        --border-strong: #4b5563;
        --success: #10b981;
    }
}

@media (prefers-color-scheme: dark) {
    .section-label {
        color: var(--accent);
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
}

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

/* Section Labels */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8a6c2f;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    margin-bottom: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.25);
}

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

.btn-secondary:hover {
    background: var(--bg-subtle);
    border-color: var(--text-muted);
}

.btn-accent {
    background: var(--primary);
    color: #ffffff;
    padding: 18px 40px;
    font-weight: 600;
}

.btn-accent:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-bottom-color 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

@media (prefers-color-scheme: dark) {
    .navbar.scrolled {
        background: rgba(17, 24, 39, 0.92);
    }
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand-name {
    font-family: Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: var(--bg-subtle);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-phone:hover {
    color: var(--text);
}

.nav-phone svg {
    width: 16px;
    height: 16px;
}

.nav-btn {
    background: var(--primary) !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    padding: 10px 20px !important;
}

.nav-btn:hover {
    background: var(--primary-dark) !important;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.25) !important;
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
    margin: 0 8px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.mobile-menu-btn.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu-panel {
    display: none;
}

/* Hero Section */
.hero {
    padding: 140px 0 0;
    background: var(--bg-subtle);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(30, 58, 95, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(176, 141, 87, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-accent-line {
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto 32px;
    border-radius: 1px;
}

.hero-headline {
    font-family: Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 400;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: -0.01em;
    max-width: 640px;
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.hero-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.hero-link:hover svg {
    transform: translateX(3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 56px;
    padding-top: 40px;
    padding-bottom: 60px;
    border-top: 1px solid var(--border);
}

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

.hero-stat-value {
    font-family: Georgia, serif;
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .hero {
        padding: 110px 0 0;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* Section Dividers */
.hero::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border);
    position: relative;
    z-index: 1;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg);
}

.about::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about .section-label {
    margin: 0 0 12px 0;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 16px 0;
    padding: 0;
}

/* Value Pillars */
.value-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.value-pillar {
    text-align: center;
    padding: 24px 16px;
}

.value-pillar-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
    background: rgba(30, 58, 95, 0.06);
    border-radius: 50%;
}

@media (prefers-color-scheme: dark) {
    .value-pillar-icon {
        background: rgba(91, 138, 181, 0.12);
    }
}

.value-pillar-icon svg {
    width: 22px;
    height: 22px;
}

.value-pillar h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.value-pillar p {
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .value-pillars {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-subtle);
}

.services::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 40px 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

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

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary);
    background: rgba(30, 58, 95, 0.06);
    border-radius: 50%;
    transition: background 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .service-icon {
        background: rgba(91, 138, 181, 0.12);
    }
}

.service-card:hover .service-icon {
    background: rgba(30, 58, 95, 0.1);
}

@media (prefers-color-scheme: dark) {
    .service-card:hover .service-icon {
        background: rgba(91, 138, 181, 0.18);
    }
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.service-card h3 {
    margin-bottom: 12px;
    text-align: center;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
    background: var(--bg-subtle);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-quote::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 3rem;
    color: var(--accent);
    line-height: 0;
    position: relative;
    top: 16px;
    margin-right: 4px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-subtle);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    text-align: left;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-text {
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.contact-response-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(5, 150, 105, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 500;
    margin-bottom: 32px;
}

@media (prefers-color-scheme: dark) {
    .contact-response-time {
        background: rgba(5, 150, 105, 0.15);
    }
}

.contact-response-time svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 95, 0.06);
    border-radius: 50%;
    color: var(--primary);
    flex-shrink: 0;
}

@media (prefers-color-scheme: dark) {
    .contact-detail-icon {
        background: rgba(91, 138, 181, 0.12);
    }
}

.contact-detail-icon svg {
    width: 18px;
    height: 18px;
}

.contact-detail-item a,
.contact-detail-item p {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.contact-detail-item a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form {
    background: var(--bg);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a7a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

@media (prefers-color-scheme: dark) {
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        box-shadow: 0 0 0 3px rgba(91, 138, 181, 0.15);
    }
}

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

.contact-form .btn {
    width: 100%;
    background: var(--primary);
    color: #ffffff;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.25);
}

.contact-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-status {
    margin-top: 16px;
    font-size: 0.95rem;
    text-align: center;
}

.form-status.success {
    color: var(--success);
}

.form-status.error {
    color: var(--error);
}

/* Footer */
.footer {
    padding: 60px 0 32px;
    background: #1a1a2e;
    color: #e8e8ec;
}

@media (prefers-color-scheme: dark) {
    .footer {
        background: #0a0e1a;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-name {
    font-family: Georgia, serif;
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand-reg {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--accent-light);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.footer-contact-item:hover {
    color: var(--accent-light);
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.5;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-bottom a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-right {
        display: none;
    }

    .mobile-menu-panel {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-top: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .mobile-menu-panel.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar:has(.mobile-menu-panel.active) {
        background: var(--bg);
    }

    .mobile-menu-panel ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        padding: 12px 0 16px;
    }

    .mobile-menu-panel a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 14px 24px;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-secondary);
        text-decoration: none;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .mobile-menu-panel a:hover {
        color: var(--text);
        background: var(--bg-subtle);
    }

    .mobile-menu-panel .nav-phone svg {
        width: 16px;
        height: 16px;
    }

    .mobile-menu-panel .mobile-menu-cta {
        margin: 4px 24px 8px;
        text-align: center;
        justify-content: center;
        background: var(--primary);
        color: #ffffff;
        border-radius: 50px;
        font-size: 0.9rem;
        padding: 12px 24px;
    }

    .mobile-menu-panel .mobile-menu-cta:hover {
        background: var(--primary-dark);
        color: #ffffff;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

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

    .contact-info {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-detail-item {
        justify-content: center;
    }

    .contact-form {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-accent {
        width: 100%;
    }

    .service-card {
        padding: 32px 24px;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat {
        min-width: 0;
    }
}

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

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

.testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-pillar {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
}

.value-pillar.visible {
    opacity: 1;
    transform: translateY(0);
}
