@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
    --primary-color: #0f1f2f;
    --secondary-color: #183852;
    --accent-color: #cfa349;
    --accent-soft: #f4dea9;
    --text-dark: #0f1621;
    --text-light: #5d6c7c;
    --surface: #f5f7fb;
    --surface-alt: #e9eef5;
    --white: #ffffff;
    --border-color: #d8e0ea;
    --shadow-soft: 0 20px 50px rgba(3, 16, 34, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--surface);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 24px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(207, 163, 73, 0.12);
    color: var(--accent-color);
    font-weight: 600;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 12px;
    font-size: 0.85rem;
    background: var(--surface-alt);
    color: var(--text-light);
    font-weight: 600;
}

.eyebrow {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section {
    padding: 5rem 0;
}

.section.dark {
    background: var(--primary-color);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section.dark .section-header h2 {
    color: var(--white);
}

.section-header p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.05rem;
}

.section.dark .section-header p {
    color: rgba(255, 255, 255, 0.75);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 31, 47, 0.06);
    box-shadow: 0 8px 24px rgba(15, 31, 47, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo img {
    height: 44px;
    width: auto;
    display: block;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: var(--primary-color);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.75rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 0.4rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--accent-color);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--primary-color);
    transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

/* Hero */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: var(--white);
    background: radial-gradient(circle at top left, rgba(207, 163, 73, 0.14), transparent 45%),
        linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: -10% auto auto 60%;
    width: 420px;
    height: 420px;
    background: rgba(207, 163, 73, 0.15);
    filter: blur(60px);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.15;
    margin: 1rem 0;
}

.hero-subtitle {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.4rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(207, 163, 73, 0.35);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-3px);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.metric {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.metric strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
}

.metric span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-signature {
    margin-top: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(12, 22, 34, 0.35);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    flex-wrap: wrap;
}

.hero-signature img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.hero-signature-text p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--white);
}

.hero-signature-text small {
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
}

@media (max-width: 640px) {
    .hero-signature {
        width: 100%;
        border-radius: 24px;
        justify-content: flex-start;
    }

    .hero-signature img {
        width: 50px;
        height: 50px;
    }
}

/* Cards & grids */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid.cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: var(--white);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 31, 47, 0.04);
}

.feature-card svg,
.service-detail-icon svg,
.value-icon svg,
.contact-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3,
.service-card h3,
.value-card h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.feature-card p,
.service-card p,
.value-card p {
    color: var(--text-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.info-card {
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
}

.info-card small {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.08em;
}

.info-card strong {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Services */
.services-grid,
.values-grid,
.team-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card ul {
    margin-left: 1rem;
    color: var(--text-light);
}

.link-arrow {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 600;
}

/* Service detail */
.service-detail {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "content"
        "media";
    gap: 2.5rem;
    align-items: center;
}

.service-detail-content {
    grid-area: content;
}

.service-detail-image {
    grid-area: media;
}

.service-detail-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.service-list {
    list-style: none;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-light);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

/* Projects */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.page-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 22px;
    padding: 2rem;
    border: 1px solid rgba(15, 31, 47, 0.08);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.project-gallery img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(15, 31, 47, 0.05);
}

.project-gallery img:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Lightbox */
.media-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 2rem;
}

.media-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: #05090f;
    border-radius: 20px;
    padding: 1.25rem;
}

.lightbox-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(15, 31, 47, 0.85);
    color: var(--white);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    top: -20px;
    right: -20px;
}

.lightbox-nav.prev {
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav.next {
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

/* CTA */
.cta-section {
    background: linear-gradient(120deg, var(--secondary-color), #0d111a);
    color: var(--white);
    text-align: center;
    padding: 4.5rem 0;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    margin: 1rem auto 2rem;
    max-width: 560px;
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.values-grid .value-card {
    text-align: left;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(207, 163, 73, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(207, 163, 73, 0.4);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    display: none;
}

.form-message.success {
    display: block;
    background: #ecfdf2;
    color: #0f7b3f;
}

.form-message.error {
    display: block;
    background: #fff2f2;
    color: #a91515;
}

.contact-hero {
    text-align: left;
}

.contact-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    font-weight: 600;
}

.contact-summary span {
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(5, 9, 15, 0.2);
}

.contact-locations {
    background: var(--surface-alt);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.location-card {
    background: var(--white);
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid rgba(15, 31, 47, 0.08);
    box-shadow: var(--shadow-soft);
}

.location-card h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.location-card ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    color: var(--text-light);
}

.location-card li+li {
    margin-top: 0.35rem;
}

.contact-cta {
    padding: 0 0 4rem;
}

.contact-cta-card {
    background: linear-gradient(120deg, var(--secondary-color), var(--primary-color));
    border-radius: 26px;
    padding: 3rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.contact-cta-card p {
    margin: 1rem auto 2rem;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: #05090f;
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        right: 0;
        background: var(--white);
        flex-direction: column;
        width: 100%;
        padding: 2rem 1.5rem;
        transform: translateY(-200%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(15, 31, 47, 0.1);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-summary {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 3.25rem 0;
    }

    .service-detail {
        gap: 1.5rem;
    }

    .project-gallery {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .lightbox-content {
        padding: 1rem;
    }

    .lightbox-nav.prev,
    .lightbox-nav.next {
        display: none;
    }
}

@media (min-width: 900px) {
    .service-detail {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        grid-template-areas: "content media";
    }

    .service-detail.reverse {
        grid-template-areas: "media content";
    }
}