/* =========================================================
   موقع المحامي حبيب محمود
   الهوية البصرية:
   أخضر زمردي + ذهبي + عاجي
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {

    --green-dark: #092f2a;
    --green-deep: #061f1c;
    --green: #0d5b50;
    --green-light: #147566;

    --gold: #c8a45d;
    --gold-light: #e0c783;
    --gold-dark: #a88643;

    --cream: #f8f5ed;
    --cream-dark: #eee9dc;

    --white: #ffffff;

    --text: #27302e;
    --text-light: #69716e;

    --border: rgba(9, 47, 42, 0.12);

    --shadow:
        0 18px 50px rgba(6, 31, 28, 0.10);

    --shadow-heavy:
        0 25px 70px rgba(6, 31, 28, 0.18);

    --radius: 18px;

    --transition: 0.35s ease;

}


/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    direction: rtl;

    font-family: "Cairo", sans-serif;

    background: var(--cream);

    color: var(--text);

    line-height: 1.8;

    overflow-x: hidden;

}


body.lightbox-open {

    overflow: hidden;

}


img {

    max-width: 100%;

    display: block;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
textarea {

    font-family: inherit;

}


button {

    border: none;

}


.container {

    width: min(1180px, calc(100% - 40px));

    margin: auto;

}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {

    background: var(--green-deep);

    color: rgba(255,255,255,0.82);

    font-size: 13px;

    border-bottom: 1px solid rgba(200,164,93,0.18);

}


.top-bar-inner {

    min-height: 42px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

}


.top-right,
.top-left {

    display: flex;

    align-items: center;

    gap: 14px;

}


.top-right i,
.top-left i {

    color: var(--gold);

    margin-left: 5px;

}


.top-left a {

    transition: var(--transition);

}


.top-left a:hover {

    color: var(--gold-light);

}


.top-divider {

    width: 1px;

    height: 18px;

    background: rgba(255,255,255,0.15);

}


/* =========================================================
   HEADER
========================================================= */

.main-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(248,245,237,0.96);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(9,47,42,0.08);

    transition: var(--transition);

}


.main-header.scrolled {

    box-shadow: 0 8px 35px rgba(6,31,28,0.09);

}


.header-inner {

    min-height: 88px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;

}


.brand-symbol {

    width: 50px;

    height: 50px;

    border: 1px solid var(--gold);

    color: var(--gold-dark);

    display: grid;

    place-items: center;

    border-radius: 50%;

    font-size: 20px;

    position: relative;

}


.brand-symbol::before {

    content: "";

    position: absolute;

    inset: 5px;

    border: 1px solid rgba(200,164,93,0.35);

    border-radius: 50%;

}


.brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.35;

}


.brand-text strong {

    color: var(--green-dark);

    font-size: 13px;

    font-weight: 500;

}


.brand-text span {

    color: var(--green-dark);

    font-family: "Amiri", serif;

    font-size: 22px;

    font-weight: 700;

}


.main-nav {

    display: flex;

    align-items: center;

    gap: 24px;

}


.main-nav a {

    position: relative;

    color: var(--green-dark);

    font-size: 14px;

    font-weight: 600;

    padding: 30px 0;

    transition: var(--transition);

}


.main-nav a::after {

    content: "";

    position: absolute;

    right: 0;

    bottom: 18px;

    width: 0;

    height: 2px;

    background: var(--gold);

    transition: var(--transition);

}


.main-nav a:hover,
.main-nav a.active {

    color: var(--gold-dark);

}


.main-nav a:hover::after,
.main-nav a.active::after {

    width: 100%;

}


.header-button {

    background: var(--green-dark);

    color: var(--white);

    padding: 11px 18px;

    border-radius: 6px;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    font-size: 13px;

    font-weight: 600;

    transition: var(--transition);

    white-space: nowrap;

}


.header-button:hover {

    background: var(--gold-dark);

    transform: translateY(-2px);

}


.menu-toggle {

    display: none;

    width: 44px;

    height: 44px;

    background: var(--green-dark);

    border-radius: 6px;

    cursor: pointer;

    padding: 10px;

}


.menu-toggle span {

    display: block;

    height: 2px;

    background: var(--white);

    margin: 5px 0;

    transition: var(--transition);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 700px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: var(--green-deep);

}


.hero-background {

    position: absolute;

    inset: 0;

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

    opacity: 0.48;

    transform: scale(1.02);

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(6,31,28,0.94) 0%,
            rgba(6,31,28,0.83) 42%,
            rgba(6,31,28,0.58) 100%
        );

}


.hero-decoration {

    position: absolute;

    inset: 0;

    pointer-events: none;

}


.decoration-line {

    position: absolute;

    left: 8%;

    top: 0;

    height: 100%;

    width: 1px;

    background: rgba(200,164,93,0.16);

}


.decoration-circle {

    position: absolute;

    left: 4%;

    bottom: -200px;

    width: 520px;

    height: 520px;

    border: 1px solid rgba(200,164,93,0.14);

    border-radius: 50%;

}


.decoration-balance {

    position: absolute;

    left: 12%;

    top: 22%;

    color: rgba(200,164,93,0.12);

    font-size: 170px;

    transform: rotate(-7deg);

}


.hero-content {

    position: relative;

    z-index: 2;

    color: var(--white);

    padding: 100px 0;

}


.hero-small-title {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--gold-light);

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 22px;

}


.small-line {

    width: 45px;

    height: 2px;

    background: var(--gold);

}


.hero h1 {

    font-family: "Amiri", serif;

    font-size: clamp(55px, 7vw, 88px);

    line-height: 1.05;

    font-weight: 700;

    max-width: 800px;

    margin-bottom: 20px;

}


.hero h1 span {

    color: var(--gold-light);

}


.hero-subtitle {

    font-size: 22px;

    font-weight: 600;

    color: rgba(255,255,255,0.94);

    margin-bottom: 12px;

}


.hero-description {

    max-width: 650px;

    color: rgba(255,255,255,0.72);

    font-size: 16px;

    line-height: 2;

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 32px;

}


.btn {

    min-height: 52px;

    padding: 0 25px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border-radius: 5px;

    font-size: 14px;

    font-weight: 700;

    transition: var(--transition);

    cursor: pointer;

}


.btn-gold {

    background: var(--gold);

    color: var(--green-deep);

}


.btn-gold:hover {

    background: var(--gold-light);

    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(200,164,93,0.22);

}


.btn-outline-light {

    color: var(--white);

    border: 1px solid rgba(255,255,255,0.35);

    background: transparent;

}


.btn-outline-light:hover {

    border-color: var(--gold);

    color: var(--gold-light);

}


.hero-trust {

    display: flex;

    align-items: center;

    gap: 30px;

    margin-top: 55px;

}


.trust-item {

    display: flex;

    align-items: center;

    gap: 9px;

    color: rgba(255,255,255,0.68);

    font-size: 13px;

}


.trust-item i {

    color: var(--gold);

}


.hero-scroll {

    position: absolute;

    z-index: 3;

    bottom: 28px;

    left: 50%;

    transform: translateX(-50%);

    color: rgba(255,255,255,0.65);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    font-size: 11px;

    animation: scrollDown 2s infinite;

}


.hero-scroll i {

    color: var(--gold);

}


@keyframes scrollDown {

    0%, 100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 8px);
    }

}


/* =========================================================
   INTRO
========================================================= */

.intro-section {

    background: var(--white);

    padding: 75px 0;

    border-bottom: 1px solid var(--border);

}


.intro-grid {

    display: grid;

    grid-template-columns: 130px 1fr;

    gap: 30px;

    align-items: start;

}


.intro-number span {

    color: var(--gold-dark);

    font-family: "Amiri", serif;

    font-size: 70px;

    line-height: 1;

    opacity: 0.65;

}


.section-label {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--gold-dark);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.2px;

}


.section-label > span {

    width: 35px;

    height: 2px;

    background: var(--gold);

}


.intro-description {

    max-width: 780px;

    color: var(--text-light);

    font-size: 18px;

    line-height: 2.1;

    margin: 18px 0;

}


.text-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--green);

    font-size: 14px;

    font-weight: 700;

    transition: var(--transition);

}


.text-link:hover {

    color: var(--gold-dark);

    gap: 15px;

}


/* =========================================================
   SECTIONS
========================================================= */

.section-padding {

    padding: 105px 0;

}


.about-section {

    background: var(--cream);

}


.section-heading {

    margin-bottom: 55px;

}


.section-heading h2 {

    color: var(--green-dark);

    font-family: "Amiri", serif;

    font-size: clamp(38px, 4vw, 54px);

    line-height: 1.25;

    margin-top: 12px;

}


.section-heading h2 strong {

    color: var(--gold-dark);

    font-weight: 700;

}


.section-heading p {

    max-width: 680px;

    color: var(--text-light);

    margin-top: 12px;

}


.section-heading.centered {

    text-align: center;

}


.section-heading.centered .section-label {

    justify-content: center;

}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {

    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    gap: 85px;

    align-items: center;

}


.about-visual {

    position: relative;

}


.about-image-wrapper {

    position: relative;

    width: min(100%, 470px);

    margin: auto;

    padding: 15px;

}


.about-image {

    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    position: relative;

    z-index: 2;

    border-radius: 4px;

    box-shadow: var(--shadow-heavy);

}


.image-placeholder {

    width: 100%;

    aspect-ratio: 4 / 5;

    background: var(--green-dark);

    color: var(--gold);

    display: grid;

    place-items: center;

    font-size: 100px;

    position: relative;

    z-index: 2;

}


.image-frame {

    position: absolute;

    top: 0;

    left: 0;

    width: 92%;

    height: 92%;

    border: 1px solid var(--gold);

    z-index: 1;

}


.about-badge {

    position: absolute;

    z-index: 4;

    bottom: 35px;

    right: -25px;

    width: 125px;

    height: 125px;

    background: var(--green-dark);

    color: var(--white);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    border: 6px solid var(--cream);

    box-shadow: var(--shadow);

}


.about-badge strong {

    font-family: "Amiri", serif;

    font-size: 36px;

    color: var(--gold-light);

    line-height: 1;

}


.about-badge span {

    font-size: 11px;

    text-align: center;

    line-height: 1.5;

}


.about-content {

    position: relative;

}


.gold-number {

    color: var(--gold);

    font-family: "Amiri", serif;

    font-size: 26px;

    margin-bottom: 4px;

}


.about-content h3 {

    color: var(--green-dark);

    font-family: "Amiri", serif;

    font-size: 38px;

    margin-bottom: 20px;

}


.about-content p {

    color: var(--text-light);

    margin-bottom: 18px;

    line-height: 2;

}


.about-points {

    margin-top: 30px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;

}


.about-points div {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--green-dark);

    font-size: 13px;

    font-weight: 600;

}


.about-points i {

    width: 23px;

    height: 23px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: rgba(200,164,93,0.15);

    color: var(--gold-dark);

    font-size: 10px;

}


/* =========================================================
   SERVICES
========================================================= */

.services-section {

    background: var(--white);

}


.services-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

}


.service-card {

    position: relative;

    background: var(--cream);

    padding: 40px 30px 35px;

    border: 1px solid rgba(9,47,42,0.08);

    transition: var(--transition);

    overflow: hidden;

}


.service-card::before {

    content: "";

    position: absolute;

    top: 0;

    right: 0;

    width: 4px;

    height: 0;

    background: var(--gold);

    transition: var(--transition);

}


.service-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow);

    border-color: rgba(200,164,93,0.35);

}


.service-card:hover::before {

    height: 100%;

}


.service-number {

    position: absolute;

    top: 20px;

    left: 25px;

    color: rgba(9,47,42,0.10);

    font-family: "Amiri", serif;

    font-size: 42px;

}


.service-icon {

    width: 60px;

    height: 60px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(200,164,93,0.55);

    color: var(--gold-dark);

    font-size: 22px;

    margin-bottom: 25px;

    transition: var(--transition);

}


.service-card:hover .service-icon {

    background: var(--green-dark);

    color: var(--gold-light);

    border-color: var(--green-dark);

}


.service-card h3 {

    color: var(--green-dark);

    font-family: "Amiri", serif;

    font-size: 25px;

    margin-bottom: 10px;

}


.service-card p {

    color: var(--text-light);

    font-size: 13px;

    line-height: 2;

    min-height: 84px;

}


.service-card a {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--green);

    font-size: 12px;

    font-weight: 700;

    margin-top: 22px;

    transition: var(--transition);

}


.service-card a:hover {

    color: var(--gold-dark);

    gap: 14px;

}


/* =========================================================
   PRACTICE
========================================================= */

.practice-section {

    background: var(--green-dark);

    color: var(--white);

    position: relative;

    overflow: hidden;

}


.practice-section::before {

    content: "";

    position: absolute;

    width: 600px;

    height: 600px;

    border: 1px solid rgba(200,164,93,0.08);

    border-radius: 50%;

    left: -300px;

    top: -200px;

}


.practice-grid {

    display: grid;

    grid-template-columns: 1fr 0.9fr;

    gap: 100px;

    align-items: center;

}


.practice-content .section-label {

    color: var(--gold-light);

}


.practice-content h2 {

    font-family: "Amiri", serif;

    font-size: clamp(40px, 4vw, 58px);

    line-height: 1.2;

    margin: 15px 0 20px;

}


.practice-content h2 strong {

    display: block;

    color: var(--gold-light);

}


.practice-content > p {

    color: rgba(255,255,255,0.68);

    max-width: 600px;

    line-height: 2;

}


.practice-list {

    margin-top: 38px;

    border-top: 1px solid rgba(255,255,255,0.10);

}


.practice-item {

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 18px 0;

    border-bottom: 1px solid rgba(255,255,255,0.10);

}


.practice-item > span {

    color: var(--gold);

    font-family: "Amiri", serif;

    font-size: 22px;

    width: 35px;

}


.practice-item strong {

    display: block;

    font-family: "Amiri", serif;

    font-size: 21px;

    color: var(--white);

}


.practice-item small {

    display: block;

    color: rgba(255,255,255,0.52);

    font-size: 11px;

}


.practice-visual {

    min-height: 500px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

}


.law-emblem {

    width: 320px;

    height: 320px;

    border: 1px solid rgba(200,164,93,0.45);

    border-radius: 50%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    position: relative;

}


.law-emblem::before {

    content: "";

    position: absolute;

    inset: 15px;

    border: 1px solid rgba(200,164,93,0.18);

    border-radius: 50%;

}


.emblem-circle {

    width: 100px;

    height: 100px;

    border: 1px solid var(--gold);

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: var(--gold-light);

    font-size: 42px;

    margin-bottom: 18px;

}


.law-emblem > span {

    color: var(--gold);

    font-size: 11px;

    letter-spacing: 4px;

}


.law-emblem > strong {

    font-family: "Amiri", serif;

    font-size: 32px;

    color: var(--white);

}


.law-emblem > small {

    color: rgba(255,255,255,0.4);

    font-size: 7px;

    letter-spacing: 2px;

}


.practice-quote {

    position: absolute;

    bottom: 15px;

    right: 0;

    width: 250px;

    padding: 22px;

    background: var(--gold);

    color: var(--green-deep);

    box-shadow: var(--shadow);

}


.practice-quote i {

    font-size: 20px;

    margin-bottom: 7px;

}


.practice-quote p {

    font-family: "Amiri", serif;

    font-size: 20px;

    line-height: 1.6;

}


/* =========================================================
   PRINCIPLES
========================================================= */

.principles-section {

    background: var(--cream);

}


.principles-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

}


.principle {

    text-align: center;

    padding: 35px 22px;

    background: var(--white);

    border: 1px solid var(--border);

    transition: var(--transition);

}


.principle:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow);

}


.principle-icon {

    width: 65px;

    height: 65px;

    border-radius: 50%;

    border: 1px solid rgba(200,164,93,0.5);

    color: var(--gold-dark);

    display: grid;

    place-items: center;

    margin: 0 auto 18px;

    font-size: 21px;

}


.principle h3 {

    color: var(--green-dark);

    font-family: "Amiri", serif;

    font-size: 24px;

    margin-bottom: 7px;

}


.principle p {

    color: var(--text-light);

    font-size: 12px;

    line-height: 1.9;

}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {

    background: var(--white);

}


.gallery-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

}


.gallery-item {

    position: relative;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    cursor: pointer;

    background: var(--cream);

}


.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;

}


.gallery-item:hover img {

    transform: scale(1.08);

}


.gallery-overlay {

    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;

    background: rgba(6,31,28,0.58);

    color: var(--gold-light);

    opacity: 0;

    transition: var(--transition);

    font-size: 22px;

}


.gallery-item:hover .gallery-overlay {

    opacity: 1;

}


.gallery-empty {

    text-align: center;

    padding: 80px 20px;

    border: 1px dashed rgba(9,47,42,0.18);

    color: var(--text-light);

}


.gallery-empty i {

    font-size: 55px;

    color: var(--gold);

    margin-bottom: 15px;

}


.gallery-empty h3 {

    font-family: "Amiri", serif;

    font-size: 28px;

    color: var(--green-dark);

}


/* =========================================================
   CTA
========================================================= */

.cta-section {

    background: var(--green);

    color: var(--white);

    padding: 65px 0;

}


.cta-content {

    display: grid;

    grid-template-columns: 100px 1fr auto;

    align-items: center;

    gap: 30px;

}


.cta-symbol {

    width: 85px;

    height: 85px;

    border: 1px solid rgba(200,164,93,0.65);

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: var(--gold-light);

    font-size: 30px;

}


.cta-content .section-label {

    color: var(--gold-light);

}


.cta-content h2 {

    font-family: "Amiri", serif;

    font-size: 38px;

    line-height: 1.3;

    margin-top: 8px;

}


.cta-content h2 strong {

    color: var(--gold-light);

}


.cta-content p {

    color: rgba(255,255,255,0.62);

    font-size: 13px;

}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {

    background: var(--cream);

}


.contact-grid {

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 50px;

    align-items: start;

}


.contact-info {

    background: var(--green-dark);

    color: var(--white);

    padding: 38px;

}


.contact-card-top {

    display: flex;

    align-items: center;

    gap: 15px;

    padding-bottom: 28px;

    border-bottom: 1px solid rgba(255,255,255,0.10);

}


.mini-scale {

    width: 55px;

    height: 55px;

    border: 1px solid var(--gold);

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: var(--gold-light);

    font-size: 20px;

}


.contact-card-top span {

    display: block;

    color: var(--gold);

    font-size: 11px;

}


.contact-card-top strong {

    font-family: "Amiri", serif;

    font-size: 22px;

}


.contact-items {

    margin-top: 20px;

}


.contact-item {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px 0;

    border-bottom: 1px solid rgba(255,255,255,0.08);

}


.contact-item:last-child {

    border-bottom: none;

}


.contact-icon {

    width: 42px;

    height: 42px;

    flex-shrink: 0;

    border: 1px solid rgba(200,164,93,0.4);

    display: grid;

    place-items: center;

    color: var(--gold-light);

}


.contact-item span {

    display: block;

    color: rgba(255,255,255,0.48);

    font-size: 10px;

}


.contact-item strong {

    display: block;

    color: rgba(255,255,255,0.9);

    font-size: 12px;

    font-weight: 600;

}


.contact-form-wrapper {

    background: var(--white);

    padding: 42px;

    box-shadow: var(--shadow);

}


.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}


.form-group {

    margin-bottom: 20px;

}


.form-group label {

    display: block;

    color: var(--green-dark);

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 8px;

}


.form-group input,
.form-group textarea {

    width: 100%;

    border: 1px solid #dfe1dd;

    background: #fbfbf9;

    padding: 13px 15px;

    outline: none;

    color: var(--text);

    font-size: 13px;

    border-radius: 4px;

    transition: var(--transition);

}


.form-group input {

    height: 50px;

}


.form-group textarea {

    resize: vertical;

    min-height: 150px;

}


.form-group input:focus,
.form-group textarea:focus {

    border-color: var(--gold);

    background: var(--white);

    box-shadow: 0 0 0 3px rgba(200,164,93,0.08);

}


.form-submit {

    border: none;

    width: 100%;

}


.form-message {

    margin-top: 15px;

    font-size: 13px;

    text-align: center;

    min-height: 22px;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background: var(--green-deep);

    color: var(--white);

}


.footer-main {

    padding: 70px 0;

    display: grid;

    grid-template-columns: 1.5fr 0.8fr 1fr;

    gap: 70px;

}


.footer-logo {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

}


.footer-brand > p {

    color: rgba(255,255,255,0.50);

    font-size: 12px;

    line-height: 2;

    max-width: 400px;

}


.footer-links,
.footer-contact {

    display: flex;

    flex-direction: column;

    gap: 9px;

}


.footer h4 {

    color: var(--gold-light);

    font-family: "Amiri", serif;

    font-size: 22px;

    margin-bottom: 8px;

}


.footer-links a,
.footer-contact a,
.footer-contact span {

    color: rgba(255,255,255,0.55);

    font-size: 12px;

    transition: var(--transition);

}


.footer-links a:hover,
.footer-contact a:hover {

    color: var(--gold-light);

    transform: translateX(-4px);

}


.footer-contact i {

    color: var(--gold);

    margin-left: 7px;

}


.footer-bottom {

    border-top: 1px solid rgba(255,255,255,0.08);

}


.footer-bottom .container {

    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: rgba(255,255,255,0.36);

    font-size: 10px;

}


/* =========================================================
   WHATSAPP
========================================================= */

.floating-whatsapp {

    position: fixed;

    z-index: 900;

    left: 25px;

    bottom: 25px;

    width: 57px;

    height: 57px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: #168c69;

    color: var(--white);

    font-size: 27px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.20);

    transition: var(--transition);

}


.floating-whatsapp:hover {

    transform: translateY(-5px) scale(1.05);

}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {

    position: fixed;

    z-index: 900;

    left: 25px;

    bottom: 95px;

    width: 43px;

    height: 43px;

    border-radius: 50%;

    background: var(--gold);

    color: var(--green-deep);

    cursor: pointer;

    display: grid;

    place-items: center;

    opacity: 0;

    visibility: hidden;

    transform: translateY(15px);

    transition: var(--transition);

}


.back-to-top.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.back-to-top:hover {

    background: var(--green-dark);

    color: var(--gold-light);

}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {

    position: fixed;

    z-index: 3000;

    inset: 0;

    background: rgba(3,16,15,0.96);

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transition: var(--transition);

}


.lightbox.open {

    opacity: 1;

    visibility: visible;

}


.lightbox-content {

    max-width: 88vw;

    max-height: 86vh;

}


.lightbox-content img {

    max-width: 88vw;

    max-height: 82vh;

    object-fit: contain;

    box-shadow: 0 20px 70px rgba(0,0,0,0.4);

}


.lightbox-close,
.lightbox-prev,
.lightbox-next {

    position: absolute;

    z-index: 2;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    cursor: pointer;

    background: rgba(255,255,255,0.08);

    color: var(--white);

    border: 1px solid rgba(255,255,255,0.15);

    transition: var(--transition);

}


.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {

    background: var(--gold);

    color: var(--green-deep);

}


.lightbox-close {

    top: 25px;

    left: 25px;

}


.lightbox-prev {

    right: 25px;

    top: 50%;

    transform: translateY(-50%);

}


.lightbox-next {

    left: 25px;

    top: 50%;

    transform: translateY(-50%);

}


/* =========================================================
   ANIMATIONS
========================================================= */

.reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;

}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);

}


/* =========================================================
   SELECTION
========================================================= */

::selection {

    background: var(--gold);

    color: var(--green-deep);

}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {

    width: 9px;

}


::-webkit-scrollbar-track {

    background: var(--cream);

}


::-webkit-scrollbar-thumb {

    background: var(--green);

    border-radius: 10px;

}


::-webkit-scrollbar-thumb:hover {

    background: var(--gold-dark);

}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1050px) {


    .main-nav {

        gap: 14px;

    }


    .main-nav a {

        font-size: 12px;

    }


    .header-button {

        display: none;

    }


    .services-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .practice-grid {

        gap: 50px;

    }


    .principles-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .gallery-grid {

        grid-template-columns: repeat(3, 1fr);

    }


    .footer-main {

        gap: 35px;

    }

}


/* =========================================================
   RESPONSIVE - MOBILE MENU
========================================================= */

@media (max-width: 850px) {


    .top-bar {

        display: none;

    }


    .header-inner {

        min-height: 75px;

    }


    .menu-toggle {

        display: block;

    }


    .main-nav {

        position: absolute;

        top: 100%;

        right: 20px;

        left: 20px;

        background: var(--white);

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px;

        box-shadow: var(--shadow-heavy);

        border: 1px solid var(--border);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition: var(--transition);

    }


    .main-nav.open {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);

    }


    .main-nav a {

        padding: 13px 15px;

        border-bottom: 1px solid var(--border);

    }


    .main-nav a:last-child {

        border-bottom: none;

    }


    .main-nav a::after {

        display: none;

    }


    .hero {

        min-height: 650px;

    }


    .hero-content {

        padding: 80px 0;

    }


    .hero h1 {

        font-size: clamp(46px, 12vw, 68px);

    }


    .hero-trust {

        flex-wrap: wrap;

        gap: 15px 25px;

    }


    .about-grid {

        grid-template-columns: 1fr;

        gap: 60px;

    }


    .about-visual {

        max-width: 500px;

        width: 100%;

        margin: auto;

    }


    .practice-grid {

        grid-template-columns: 1fr;

    }


    .practice-visual {

        min-height: 420px;

    }


    .cta-content {

        grid-template-columns: 80px 1fr;

    }


    .cta-content .btn {

        grid-column: 1 / -1;

        justify-self: start;

    }


    .contact-grid {

        grid-template-columns: 1fr;

    }


    .footer-main {

        grid-template-columns: 1fr 1fr;

    }


    .footer-brand {

        grid-column: 1 / -1;

    }

}


/* =========================================================
   RESPONSIVE - SMALL MOBILE
========================================================= */

@media (max-width: 600px) {


    .container {

        width: min(100% - 28px, 1180px);

    }


    .brand-text span {

        font-size: 19px;

    }


    .brand-symbol {

        width: 44px;

        height: 44px;

    }


    .hero {

        min-height: 620px;

    }


    .hero-content {

        padding: 65px 0;

    }


    .hero-description {

        font-size: 13px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .hero-buttons .btn {

        width: 100%;

    }


    .hero-trust {

        margin-top: 35px;

        display: grid;

        grid-template-columns: 1fr 1fr;

    }


    .hero-scroll {

        display: none;

    }


    .intro-section {

        padding: 50px 0;

    }


    .intro-grid {

        grid-template-columns: 60px 1fr;

        gap: 15px;

    }


    .intro-number span {

        font-size: 45px;

    }


    .intro-description {

        font-size: 14px;

    }


    .section-padding {

        padding: 75px 0;

    }


    .section-heading {

        margin-bottom: 38px;

    }


    .section-heading h2 {

        font-size: 38px;

    }


    .about-image-wrapper {

        padding: 8px;

    }


    .about-badge {

        right: -5px;

        bottom: 20px;

        width: 100px;

        height: 100px;

    }


    .about-content h3 {

        font-size: 31px;

    }


    .about-points {

        grid-template-columns: 1fr;

    }


    .services-grid {

        grid-template-columns: 1fr;

    }


    .service-card {

        padding: 32px 25px;

    }


    .principles-grid {

        grid-template-columns: 1fr;

    }


    .gallery-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 8px;

    }


    .law-emblem {

        width: 260px;

        height: 260px;

    }


    .practice-quote {

        right: 0;

        bottom: 0;

        width: 205px;

    }


    .cta-content {

        grid-template-columns: 1fr;

        text-align: center;

    }


    .cta-symbol {

        margin: auto;

    }


    .cta-content .section-label {

        justify-content: center;

    }


    .cta-content .btn {

        justify-self: center;

    }


    .contact-info {

        padding: 28px 20px;

    }


    .contact-form-wrapper {

        padding: 25px 18px;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .footer-main {

        grid-template-columns: 1fr;

        gap: 35px;

        padding: 55px 0;

    }


    .footer-brand {

        grid-column: auto;

    }


    .footer-bottom .container {

        flex-direction: column;

        justify-content: center;

        padding: 15px 0;

        text-align: center;

    }


    .floating-whatsapp {

        left: 15px;

        bottom: 15px;

        width: 52px;

        height: 52px;

    }


    .back-to-top {

        left: 15px;

        bottom: 80px;

    }


    .lightbox-prev {

        right: 10px;

    }


    .lightbox-next {

        left: 10px;

    }


}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 380px) {


    .hero h1 {

        font-size: 42px;

    }


    .hero-subtitle {

        font-size: 18px;

    }


    .hero-trust {

        grid-template-columns: 1fr;

    }


    .about-badge {

        width: 85px;

        height: 85px;

    }


    .about-badge strong {

        font-size: 27px;

    }


    .about-badge span {

        font-size: 9px;

    }


}