:root {
    --primary: #701c1c;
    --primary-dark: #501313;
    --cream: #f7f4ef;
    --paper: #fffaf4;
    --ink: #2b1d16;
    --muted: #6d5c52;
    --dark: #21150f;
    --panel: #332219;
    --panel-soft: #3d2a20;
    --border: #51392d;
    --gold: #c5a059;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(20, 10, 6, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--dark);
    color: var(--ink);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 9px max(16px, 5vw);
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
}

.top-bar__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.top-bar a,
.top-bar span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 244, 239, 0.96);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
}

.navbar {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 82px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.site-logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex: 0 0 auto;
}

.logo-text {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.brand-name {
    color: var(--primary);
    font-weight: 800;
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.2;
}

.sub-brand {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(112, 28, 28, 0.2);
    border-radius: 8px;
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
}

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

.nav-links a {
    color: var(--ink);
    font-weight: 700;
    font-size: 15px;
    padding: 28px 0;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    border-color: var(--gold);
}

.hero-section,
.inner-hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 72vh;
    padding: 96px 20px;
    color: var(--white);
    text-align: center;
    background: url("../images/wedding.jpg") center/cover no-repeat;
}

.inner-hero {
    min-height: 42vh;
    background-image: url("../images/Court-Marriage.jpg");
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(33, 21, 15, 0.82), rgba(112, 28, 28, 0.58));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(850px, 100%);
}

.eyebrow {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.08;
    margin-bottom: 18px;
}

.inner-hero h1 {
    font-size: clamp(30px, 5vw, 48px);
}

.hero-content p {
    color: #f3e8df;
    font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gold);
    color: var(--ink);
    box-shadow: 0 12px 26px rgba(197, 160, 89, 0.22);
}

.btn-primary:hover {
    background: #d2ad64;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.section-dark,
.section-dark-alt,
.section-light,
.section-light-muted,
.process-section {
    padding: clamp(58px, 8vw, 92px) 0;
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-dark-alt {
    background: #1a100c;
    color: var(--white);
}

.section-light {
    background: var(--paper);
    color: var(--ink);
}

.section-light-muted {
    background: var(--cream);
    color: var(--ink);
}

.process-section {
    background: #180f0b;
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title.align-left {
    text-align: left;
}

.section-title h2 {
    color: var(--white);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.18;
}

.section-title-dark h2,
.section-title.align-left h2 {
    color: var(--ink);
}

.section-dark .section-title.align-left h2 {
    color: var(--white);
}

.divider {
    width: 72px;
    height: 3px;
    margin: 16px auto 0;
    background: var(--gold);
    border-radius: 999px;
}

.align-left .divider {
    margin-left: 0;
}

.services-grid,
.services-large-grid,
.testimonial-grid,
.process-grid,
.features-grid-options {
    display: grid;
    gap: 22px;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-large-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.service-large-card,
.feature-option-box,
.expert-card,
.testimonial-card,
.process-step,
.contact-info-panel,
.enquiry-form {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.service-card,
.service-large-card {
    padding: 28px;
}

.service-card {
    text-align: center;
}

.icon-box,
.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    background: rgba(197, 160, 89, 0.12);
    color: var(--gold);
    border: 1px solid rgba(197, 160, 89, 0.45);
    font-size: 21px;
}

.service-card .icon-box {
    margin-bottom: 18px;
}

.service-card h3,
.service-large-card h3,
.feature-option-box h4,
.expert-card h3,
.process-step h3 {
    color: var(--white);
    line-height: 1.3;
}

.service-card p,
.service-sub-list,
.feature-option-box p,
.expert-card p,
.process-step p,
.contact-info-panel p {
    color: #ded0c5;
}

.service-icon-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.service-sub-list {
    list-style: none;
    display: grid;
    gap: 11px;
}

.service-sub-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-sub-list i {
    color: var(--gold);
    font-size: 12px;
    margin-top: 7px;
}

.expert-wrapper {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: stretch;
}

.expert-card {
    position: relative;
    padding: 30px;
    text-align: center;
}

.expert-photo {
    width: 138px;
    height: 138px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold);
    margin: 14px auto 18px;
}

.badge-lawyer {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.expert-desig {
    color: var(--gold) !important;
    font-weight: 700;
    margin: 4px 0 12px;
}

.features-grid-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-option-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
}

.light-features .feature-option-box {
    background: var(--white);
    border-color: #e8ded4;
}

.light-features h4,
.light-features p {
    color: var(--ink);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 40px;
    align-items: start;
}

.about-copy > p {
    color: #e7d9ce;
    margin-bottom: 18px;
    font-size: 17px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.mission-grid article {
    padding: 24px;
    border-radius: 8px;
    background: var(--panel);
    border: 1px solid var(--border);
}

.mission-grid i {
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 12px;
}

.mission-grid h3,
.mission-grid p {
    color: var(--white);
}

.gallery-grid {
    display: grid;
    gap: 18px;
}

.preview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid img,
.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-item {
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
}

.gallery-item[hidden] {
    display: none;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-btn {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel);
    color: var(--white);
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gold);
    color: var(--ink);
}

.testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
    background: var(--white);
    border-color: #eadfd6;
    padding: 28px;
}

.testimonial-card p {
    color: #4b3d36;
    font-style: italic;
    margin-bottom: 18px;
}

.testimonial-card strong {
    color: var(--primary);
}

.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
    padding: 28px 22px;
    text-align: center;
}

.process-step span {
    display: block;
    color: rgba(197, 160, 89, 0.35);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: start;
}

.contact-info-panel,
.enquiry-form {
    padding: 30px;
}

.contact-info-panel {
    display: grid;
    gap: 16px;
}

.contact-info-panel h3 {
    color: var(--gold);
    font-size: 24px;
}

.contact-info-panel a,
.contact-info-panel span {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #efe5dc;
}

.contact-info-panel i {
    color: var(--gold);
    margin-top: 4px;
}

.enquiry-form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.enquiry-form label {
    display: grid;
    gap: 8px;
    color: var(--white);
    font-weight: 700;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #1b110d;
    color: var(--white);
    padding: 13px 14px;
    outline: none;
}

.enquiry-form textarea {
    resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.14);
}

.map-container {
    margin-top: 34px;
}

.map-container h3 {
    color: var(--gold);
    margin-bottom: 14px;
}

.map-container iframe {
    width: 100%;
    height: min(420px, 70vh);
    border: 0;
    border-radius: 8px;
}

.site-footer {
    background: #130c09;
    color: #a99384;
    text-align: center;
    padding: 25px 16px;
    border-top: 1px solid var(--border);
}

.floating-buttons {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: var(--white);
    font-size: 26px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.whatsapp-float {
    background: #25d366;
}

.call-float {
    background: var(--primary);
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
}

.lightbox-modal.is-open {
    display: grid;
}

.lightbox-content {
    width: min(900px, 100%);
    max-height: 78vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-caption {
    color: var(--white);
    margin-top: 12px;
    text-align: center;
}

.close-lightbox {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .services-grid,
    .services-large-grid,
    .testimonial-grid,
    .gallery-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid,
    .preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .expert-wrapper,
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .top-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .navbar {
        min-height: 74px;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
        flex: 0 0 auto;
    }

    .nav-links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: var(--cream);
        border: 1px solid rgba(112, 28, 28, 0.18);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 12px;
        border-bottom: 0;
        border-radius: 6px;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(197, 160, 89, 0.16);
    }

    .hero-section {
        min-height: 66vh;
    }
}

@media (max-width: 640px) {
    .container,
    .navbar {
        width: min(100% - 24px, 1160px);
    }

    .site-logo {
        width: 48px;
        height: 48px;
    }

    .sub-brand {
        font-size: 10px;
    }

    .hero-section,
    .inner-hero {
        padding: 72px 14px;
    }

    .services-grid,
    .services-large-grid,
    .testimonial-grid,
    .process-grid,
    .features-grid-options,
    .mission-grid,
    .preview-grid,
    .gallery-page-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .service-icon-header,
    .feature-option-box {
        align-items: flex-start;
    }

    .gallery-grid img,
    .gallery-item img {
        height: 230px;
    }

    .contact-info-panel,
    .enquiry-form,
    .service-card,
    .service-large-card,
    .expert-card {
        padding: 22px;
    }

    .floating-buttons {
        right: 12px;
        bottom: 12px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

@media (max-width: 380px) {
    .brand-name {
        font-size: 14px;
    }

    .top-bar,
    .top-bar__links {
        font-size: 12px;
    }
}
