/* =========================================================
   ARABIAN LEGAL ADVISOR
   Main Stylesheet
========================================================= */


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #ffffff;
    color: #243043;
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

button {
    border: 0;
    background: none;
    cursor: pointer;
}

:root {
    --navy: #07192f;
    --navy-light: #0d2748;
    --navy-soft: #14365d;
    --gold: #c6a15b;
    --gold-dark: #ae8740;
    --gold-light: #e0c487;
    --white: #ffffff;
    --off-white: #f7f6f2;
    --light-bg: #f4f6f8;
    --text: #243043;
    --muted: #6d7785;
    --border: #e3e7eb;
    --shadow: 0 20px 50px rgba(7, 25, 47, 0.09);
    --shadow-small: 0 10px 30px rgba(7, 25, 47, 0.08);
    --radius: 14px;
    --transition: all 0.3s ease;
}

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

.section {
    padding: 100px 0;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4 {
    font-family: "Playfair Display", serif;
    color: var(--navy);
    line-height: 1.2;
}

p {
    color: var(--muted);
}

.section-heading {
    max-width: 680px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading.light h2,
.section-heading.light p {
    color: var(--white);
}

.section-heading h2,
.about-content h2,
.contact-info-side h2 {
    font-size: clamp(34px, 4vw, 50px);
    margin: 12px 0 18px;
}

.section-heading p {
    font-size: 17px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--gold-dark);
}

.section-tag::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--gold);
}

.lead-text {
    font-size: 19px;
    line-height: 1.75;
    color: #404d5e;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 6px;
    font-weight: 700;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(198, 161, 91, 0.25);
}

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

.btn-dark:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

.btn-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline-light:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.btn-outline-dark {
    border-color: var(--navy);
    color: var(--navy);
}

.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-large {
    min-height: 56px;
    padding-left: 28px;
    padding-right: 28px;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    background: #041224;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.top-bar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-left a,
.top-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-left i {
    color: var(--gold);
}

.top-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.17);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}


/* =========================================================
   HEADER
========================================================= */

.main-header {
    position: relative;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid rgba(7, 25, 47, 0.08);
    transition: var(--transition);
}

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 10px 30px rgba(7, 25, 47, 0.08);
    animation: headerSlide 0.35s ease;
}

@keyframes headerSlide {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    border: 1px solid var(--gold);
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 21px;
    transform: rotate(45deg);
}

.logo-icon i {
    transform: rotate(-45deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text strong {
    font-family: "Playfair Display", serif;
    font-size: 19px;
    color: var(--navy);
}

.logo-text span {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-dark);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    position: relative;
    font-size: 15px;
    font-weight: 700;
    color: #384354;
    padding: 32px 0;
    transition: var(--transition);
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--navy);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--gold-dark);
}

.phone-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.phone-info span {
    font-size: 11px;
    color: var(--muted);
}

.phone-info strong {
    font-size: 13px;
    color: var(--navy);
}

.header-btn {
    min-height: 46px;
    padding: 0 18px;
}

.menu-toggle {
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 5px;
    background: var(--navy);
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 899;
    background: rgba(1, 10, 22, 0.65);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    background: var(--navy);
    color: var(--white);
    min-height: 720px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 25, 47, 0.98) 0%,
            rgba(7, 25, 47, 0.88) 48%,
            rgba(7, 25, 47, 0.65) 100%
        ),
        url("../images/hero-lawyer.png") center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 20%, rgba(198, 161, 91, 0.15), transparent 30%),
        linear-gradient(to bottom, transparent 60%, rgba(2, 11, 24, 0.45));
}

.hero-decoration {
    position: absolute;
    border: 1px solid rgba(198, 161, 91, 0.15);
    border-radius: 50%;
}

.hero-decoration-one {
    width: 450px;
    height: 450px;
    right: -120px;
    top: -140px;
}

.hero-decoration-two {
    width: 260px;
    height: 260px;
    left: -100px;
    bottom: 10px;
}

.hero-container {
    position: relative;
    z-index: 2;
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.2fr 0.7fr;
    align-items: center;
    gap: 75px;
    padding-top: 65px;
    padding-bottom: 95px;
}

.hero-content {
    max-width: 700px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.hero-tag span {
    width: 35px;
    height: 2px;
    background: var(--gold);
}

.hero h1 {
    color: var(--white);
    font-size: clamp(48px, 5.5vw, 76px);
    max-width: 780px;
    letter-spacing: -1.5px;
}

.hero h1 span {
    display: block;
    color: var(--gold-light);
    font-style: italic;
    font-weight: 500;
}

.hero-description {
    max-width: 650px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.77);
    font-size: 18px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 44px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(198, 161, 91, 0.4);
    display: grid;
    place-items: center;
    color: var(--gold-light);
}

.hero-feature div:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.hero-feature strong {
    color: var(--white);
    font-size: 14px;
}

.hero-feature span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}


/* =========================================================
   HERO FORM CARD
========================================================= */

.hero-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.hero-card-top {
    padding: 30px 30px 20px;
}

.small-label {
    display: block;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
}

.hero-card h2 {
    font-size: 27px;
    margin-bottom: 10px;
}

.hero-card-top p {
    font-size: 14px;
}

.quick-form {
    padding: 5px 30px 28px;
}

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

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #293647;
    font-size: 13px;
    font-weight: 700;
}

.input-wrap {
    position: relative;
}

.input-wrap > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-dark);
    pointer-events: none;
    z-index: 2;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #dce2e8;
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: var(--transition);
}

input,
select {
    min-height: 49px;
    padding: 0 14px;
}

textarea {
    padding: 13px 14px;
    resize: vertical;
}

.input-wrap input,
.input-wrap select {
    padding-left: 42px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.12);
}

input::placeholder,
textarea::placeholder {
    color: #9ca5af;
}

.form-submit {
    width: 100%;
}

.hero-card-footer {
    min-height: 42px;
    background: #f5f2eb;
    color: #6a6254;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

.hero-card-footer i {
    color: var(--gold-dark);
}

.form-message {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   HERO BOTTOM
========================================================= */

.hero-bottom {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 18, 36, 0.83);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-bottom-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
}

.hero-bottom-inner > div:not(.hero-bottom-divider) {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-bottom-number {
    color: var(--gold-light);
    font-size: 18px;
    font-weight: 800;
}

.hero-bottom-inner span:last-child {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

.hero-bottom-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    background: var(--off-white);
}

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

.service-card {
    position: relative;
    background: var(--white);
    min-height: 360px;
    padding: 38px 32px;
    border: 1px solid #ece9e2;
    overflow: hidden;
    transition: var(--transition);
}

.service-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 4px;
    background: var(--gold);
    transition: width 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-card:hover::after {
    width: 100%;
}

.service-number {
    position: absolute;
    right: 25px;
    top: 20px;
    font-family: "Playfair Display", serif;
    font-size: 50px;
    color: rgba(7, 25, 47, 0.05);
    font-weight: 700;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    color: var(--gold-dark);
    font-size: 24px;
    background: #f6f2e9;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 23px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    line-height: 1.8;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.service-link i {
    color: var(--gold-dark);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

.section-button-center {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}


/* =========================================================
   ABOUT
========================================================= */

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

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
    padding: 0 25px 30px 0;
}

.about-image {
    position: relative;
    z-index: 2;
}

.about-image img {
    width: 100%;
    height: 590px;
    object-fit: cover;
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.experience-box {
    position: absolute;
    z-index: 4;
    right: -5px;
    bottom: 0;
    width: 185px;
    min-height: 155px;
    padding: 25px;
    background: var(--gold);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experience-box strong {
    font-family: "Playfair Display", serif;
    font-size: 50px;
    color: var(--navy);
    line-height: 1;
}

.experience-box span {
    margin-top: 8px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.about-pattern {
    position: absolute;
    width: 180px;
    height: 180px;
    left: -28px;
    bottom: 0;
    opacity: 0.12;
    background-image:
        radial-gradient(var(--gold-dark) 1.3px, transparent 1.3px);
    background-size: 12px 12px;
}

.about-content > p {
    margin-bottom: 17px;
}

.about-points {
    margin: 30px 0;
    display: grid;
    gap: 20px;
}

.about-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.about-point-icon {
    margin-top: 3px;
    flex: 0 0 33px;
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    background: #f1eadb;
    color: var(--gold-dark);
    border-radius: 50%;
    font-size: 12px;
}

.about-point h4 {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    margin-bottom: 3px;
}

.about-point p {
    font-size: 13px;
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-section {
    position: relative;
    background:
        linear-gradient(rgba(7, 25, 47, 0.96), rgba(7, 25, 47, 0.96)),
        url("../images/hero-lawyer.jpg") center / cover fixed;
}

.why-section .section-tag {
    color: var(--gold-light);
}

.why-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.why-card {
    background: rgba(255, 255, 255, 0.045);
    padding: 38px 28px;
    min-height: 275px;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(198, 161, 91, 0.12);
}

.why-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(198, 161, 91, 0.45);
    color: var(--gold-light);
    font-size: 21px;
    margin-bottom: 24px;
}

.why-card h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 13px;
}

.why-card p {
    color: rgba(255, 255, 255, 0.63);
    font-size: 13px;
}


/* =========================================================
   TEAM
========================================================= */

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

.team-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.team-heading-button {
    padding-bottom: 10px;
}

.team-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.team-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    background: var(--off-white);
    min-height: 400px;
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.team-image {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.04);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 25, 47, 0.72);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-overlay a {
    color: var(--white);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
    font-size: 13px;
    font-weight: 700;
}

.team-content {
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-position {
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-content h3 {
    font-size: 30px;
    margin: 8px 0 14px;
}

.team-content p {
    font-size: 14px;
}

.team-practice {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.team-practice span {
    padding: 6px 9px;
    background: var(--white);
    border: 1px solid #e4e0d8;
    color: #697281;
    font-size: 11px;
}


/* =========================================================
   CONSULTATION CTA
========================================================= */

.consultation-cta {
    background: var(--gold);
    padding: 62px 0;
}

.consultation-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 50px;
}

.consultation-content {
    max-width: 720px;
}

.consultation-content .section-tag {
    color: var(--navy);
}

.consultation-content .section-tag::before {
    background: var(--navy);
}

.consultation-content h2 {
    font-size: clamp(34px, 4vw, 48px);
    margin: 10px 0 12px;
}

.consultation-content p {
    color: rgba(7, 25, 47, 0.72);
}

.consultation-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.consultation-cta .btn-gold {
    background: var(--navy);
    color: var(--white);
}

.consultation-cta .btn-gold:hover {
    background: var(--navy-light);
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 11px;
}

.cta-phone > i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(7, 25, 47, 0.09);
    display: grid;
    place-items: center;
    color: var(--navy);
}

.cta-phone div {
    display: flex;
    flex-direction: column;
}

.cta-phone span {
    color: rgba(7, 25, 47, 0.65);
    font-size: 12px;
}

.cta-phone strong {
    color: var(--navy);
    font-size: 14px;
}


/* =========================================================
   CONTACT PREVIEW
========================================================= */

.contact-preview {
    background: var(--light-bg);
}

.contact-preview-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 70px;
    align-items: start;
}

.contact-info-side > p {
    max-width: 470px;
}

.contact-info-list {
    margin-top: 35px;
    display: grid;
    gap: 18px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold-light);
}

.contact-info-item div:last-child {
    display: flex;
    flex-direction: column;
}

.contact-info-item span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #929ba5;
}

.contact-info-item strong,
.contact-info-item a {
    color: var(--navy);
    font-weight: 700;
}

.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-top: 4px solid var(--gold);
    box-shadow: var(--shadow-small);
}

.contact-form-heading {
    margin-bottom: 25px;
}

.contact-form-heading h3 {
    font-size: 29px;
    margin-bottom: 6px;
}

.contact-form-heading p {
    font-size: 14px;
}

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


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #041224;
    color: rgba(255, 255, 255, 0.7);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.35fr 0.7fr 1fr 1fr;
    gap: 55px;
    padding-top: 75px;
    padding-bottom: 65px;
}

.footer-logo .logo-text strong {
    color: var(--white);
}

.footer-about p {
    max-width: 300px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 9px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.footer-column h4 {
    color: var(--white);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    margin-bottom: 22px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.57);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-contact {
    display: grid;
    gap: 12px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 5px;
}

.footer-consultation-btn {
    margin-top: 22px;
    min-height: 43px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.46);
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

.footer-disclaimer {
    padding: 17px 0;
    background: #020c19;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 10px;
    line-height: 1.7;
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 28px;
    z-index: 800;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    right: 27px;
    bottom: 100px;
    z-index: 800;
    width: 42px;
    height: 42px;
    background: var(--navy);
    color: var(--white);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--navy);
}


/* =========================================================
   SCROLL REVEAL SUPPORT
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-phone {
        display: none;
    }

    .main-nav ul {
        gap: 20px;
    }

    .hero-container {
        grid-template-columns: 1fr 0.72fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 56px;
    }

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

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-card {
        grid-template-columns: 1fr;
    }

    .team-image {
        height: 390px;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE NAV / TABLET
========================================================= */

@media (max-width: 900px) {

    .top-right {
        display: none;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .main-nav {
        position: fixed;
        z-index: 900;
        top: 0;
        right: -330px;
        width: 310px;
        height: 100vh;
        background: var(--white);
        padding: 110px 28px 40px;
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.13);
        transition: right 0.35s ease;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        display: grid;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--border);
    }

    .main-nav a {
        display: block;
        padding: 17px 0;
        font-size: 16px;
    }

    .main-nav a::after {
        bottom: 10px;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    .header-btn {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-container {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 80px;
        padding-bottom: 130px;
    }

    .hero-content {
        max-width: 750px;
    }

    .hero-card {
        max-width: 620px;
    }

    .hero-bottom-inner {
        justify-content: flex-start;
        overflow-x: auto;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .hero-bottom-inner > div:not(.hero-bottom-divider) {
        min-width: max-content;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image-wrap {
        max-width: 650px;
    }

    .consultation-inner {
        grid-template-columns: 1fr;
    }

    .contact-preview-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 72px 0;
    }

    .top-bar {
        display: none;
    }

    .header-inner {
        min-height: 74px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .logo-text strong {
        font-size: 16px;
    }

    .logo-text span {
        font-size: 10px;
        letter-spacing: 2.4px;
    }

    .main-nav {
        width: 290px;
    }

    .hero-background {
        background:
            linear-gradient(
                rgba(7, 25, 47, 0.94),
                rgba(7, 25, 47, 0.97)
            ),
            url("../images/hero-lawyer.jpg") center / cover no-repeat;
    }

    .hero-container {
        padding-top: 65px;
        padding-bottom: 125px;
        gap: 45px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -0.7px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        display: grid;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-card-top,
    .quick-form {
        padding-left: 21px;
        padding-right: 21px;
    }

    .hero-card h2 {
        font-size: 24px;
    }

    .hero-bottom {
        position: relative;
    }

    .hero-bottom-inner {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 18px 0;
    }

    .hero-bottom-divider {
        display: none;
    }

    .hero-bottom-inner > div:not(.hero-bottom-divider) {
        justify-content: center;
    }

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

    .service-card {
        min-height: auto;
        padding: 30px 25px;
    }

    .about-image-wrap {
        padding-right: 12px;
        padding-bottom: 45px;
    }

    .about-image img {
        height: 430px;
    }

    .experience-box {
        width: 150px;
        min-height: 130px;
        padding: 20px;
    }

    .experience-box strong {
        font-size: 40px;
    }

    .section-heading h2,
    .about-content h2,
    .contact-info-side h2 {
        font-size: 34px;
    }

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

    .team-heading-row {
        display: block;
    }

    .team-heading-button {
        margin-top: 25px;
    }

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

    .team-card {
        grid-template-columns: 1fr;
    }

    .team-image {
        height: 400px;
        min-height: 0;
    }

    .team-content {
        padding: 30px 25px;
    }

    .consultation-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cta-phone {
        justify-content: flex-start;
    }

    .contact-form-card {
        padding: 26px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 55px;
        padding-bottom: 50px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 18px 0;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 25px;
        right: 16px;
        bottom: 18px;
    }

    .back-to-top {
        right: 21px;
        bottom: 82px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 36px;
    }

    .hero-tag {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .hero-card-top {
        padding-top: 24px;
    }

    .about-image img {
        height: 370px;
    }

    .team-image {
        height: 350px;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 5px;
    }

}