﻿/*
Theme Name: Ahmed Moussa Law Firm
Theme URI: https://ahmedmossa.com
Author: Ahmed Abdelraouf Moussa Law Firm
Author URI: https://ahmedmossa.com
Description: One-page law firm theme — typography, gold palette, hero, services, team, clients, and contact.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ahmed-moussa-lawfirm
*/
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --gold: #B8974A;
    --gold-light: #D4B46A;
    --gold-pale: #F5EDD8;
    --ink: #0E0D0B;
    --ink-mid: #2A2820;
    --ink-soft: #5C5847;
    --cream: #FAF7F2;
    --cream-dark: #F0EBE0;
    --white: #FFFFFF;
    --border: rgba(184,151,74,0.25);
    --border-strong: rgba(184,151,74,0.5);
    --ff-display: 'Cormorant Garamond', Georgia, serif;
    --ff-body: 'Jost', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--ff-body);
    background: var(--cream);
    color: var(--ink);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 4rem;
    height: 72px;
    background: rgba(14,13,11,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--gold-light);
    letter-spacing: 0.04em;
    text-decoration: none;
  }
  .nav-logo span { color: var(--white); font-weight: 300; }

  .nav-links {
    display: flex; align-items: center; gap: 2.5rem;
    list-style: none;
  }
  .nav-links a {
    font-family: var(--ff-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--gold-light); }

  .nav-cta {
    font-family: var(--ff-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    border: 1px solid var(--gold);
    padding: 0.5rem 1.4rem;
    transition: background 0.2s, color 0.2s;
  }
  .nav-cta:hover { background: var(--gold); color: var(--ink); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute; inset: 0;
    background:
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 79px,
        rgba(184,151,74,0.04) 79px,
        rgba(184,151,74,0.04) 80px
      ),
      repeating-linear-gradient(
        90deg,
        transparent,
        transparent 79px,
        rgba(184,151,74,0.04) 79px,
        rgba(184,151,74,0.04) 80px
      );
  }

  .hero-accent {
    position: absolute;
    right: -80px; top: 10%;
    width: 500px; height: 500px;
    border: 1px solid rgba(184,151,74,0.12);
    border-radius: 50%;
  }
  .hero-accent-2 {
    position: absolute;
    right: 40px; top: 18%;
    width: 340px; height: 340px;
    border: 1px solid rgba(184,151,74,0.08);
    border-radius: 50%;
  }
  .hero-accent-3 {
    position: absolute;
    left: -120px; bottom: 10%;
    width: 400px; height: 400px;
    border: 1px solid rgba(184,151,74,0.06);
    border-radius: 50%;
  }

  .hero-inner {
    position: relative; z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 4rem 6rem;
    max-width: 820px;
  }

  .hero-eyebrow {
    font-family: var(--ff-body);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.8rem;
    display: flex; align-items: center; gap: 1rem;
  }
  .hero-eyebrow::before {
    content: '';
    display: block; width: 40px; height: 1px;
    background: var(--gold);
  }

  .hero-title {
    font-family: var(--ff-display);
    font-size: clamp(3.2rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 0.3em;
  }
  .hero-title em {
    font-style: italic;
    color: var(--gold-light);
  }

  .hero-subtitle {
    font-family: var(--ff-display);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    color: rgba(255,255,255,0.45);
    font-style: italic;
    margin-bottom: 2.8rem;
    letter-spacing: 0.02em;
  }

  .hero-divider {
    width: 60px; height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-bottom: 2rem;
  }

  .hero-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    max-width: 480px;
    line-height: 1.9;
    margin-bottom: 3rem;
    letter-spacing: 0.02em;
  }

  .hero-actions {
    display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  }

  .btn-primary {
    font-family: var(--ff-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    background: var(--gold);
    padding: 1rem 2.2rem;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

  .btn-ghost {
    font-family: var(--ff-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
  }
  .btn-ghost:hover { color: var(--gold-light); border-color: var(--gold-light); }

  /* ── STATS BAR ── */
  .stats-bar {
    background: var(--ink-mid);
    border-top: 1px solid var(--border);
    display: flex;
    position: relative; z-index: 2;
  }

  .stat-item {
    flex: 1;
    padding: 2rem 3rem;
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    gap: 0.3rem;
  }
  .stat-item:last-child { border-right: none; }

  .stat-number {
    font-family: var(--ff-display);
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--gold-light);
    line-height: 1;
  }
  .stat-label {
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
  }

  /* ── SECTION BASE ── */
  section { padding: 7rem 4rem; }

  .section-eyebrow {
    font-family: var(--ff-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
    display: flex; align-items: center; gap: 1rem;
  }
  .section-eyebrow::before {
    content: ''; display: block; width: 30px; height: 1px; background: var(--gold);
  }

  .section-title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 1.5rem;
  }
  .section-title em { font-style: italic; color: var(--ink-soft); }

  /* ── ABOUT ── */
  .about { background: var(--white); }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
  }

  .about-left {}

  .about-body {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.95;
    margin-bottom: 1.5rem;
  }

  .about-tags {
    display: flex; flex-wrap: wrap; gap: 0.6rem;
    margin-top: 2rem;
  }
  .tag {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--border-strong);
    padding: 0.4rem 0.9rem;
    background: var(--gold-pale);
  }

  .about-right {}

  .about-quote {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    color: var(--ink-mid);
    line-height: 1.6;
    border-left: 2px solid var(--gold);
    padding-left: 2rem;
    margin-bottom: 3rem;
  }

  .credentials-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 1rem;
  }
  .credentials-list li {
    display: flex; align-items: flex-start; gap: 1rem;
    font-size: 0.85rem; font-weight: 300; color: var(--ink-soft);
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .credentials-list li:last-child { border-bottom: none; }
  .cred-dot {
    width: 6px; height: 6px;
    background: var(--gold); border-radius: 50%;
    flex-shrink: 0; margin-top: 0.6rem;
  }

  /* ── SERVICES ── */
  .services { background: var(--cream); }

  .services-header {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    margin-bottom: 4rem; align-items: end;
  }

  .services-intro {
    font-size: 0.9rem; font-weight: 300; color: var(--ink-soft);
    line-height: 1.9;
  }

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

  .service-card {
    background: var(--cream);
    padding: 2.5rem 2rem;
    transition: background 0.25s;
    cursor: default;
  }
  .service-card:hover { background: var(--white); }

  .service-number {
    font-family: var(--ff-display);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
  }

  .service-name {
    font-family: var(--ff-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .service-desc {
    font-size: 0.8rem; font-weight: 300; color: var(--ink-soft);
    line-height: 1.9;
  }

  /* ── HOW WE WORK ── */
  .process { background: var(--ink); padding: 7rem 4rem; }

  .process-header { margin-bottom: 4rem; }
  .process-header .section-title { color: var(--white); }

  .process-steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border: 1px solid var(--border);
  }

  .process-step {
    padding: 3rem 2rem;
    border-right: 1px solid var(--border);
    position: relative;
  }
  .process-step:last-child { border-right: none; }

  .step-num {
    font-family: var(--ff-display);
    font-size: 4rem; font-weight: 300;
    color: rgba(184,151,74,0.15);
    line-height: 1; margin-bottom: 1.5rem;
  }

  .step-title {
    font-family: var(--ff-display);
    font-size: 1.2rem; font-weight: 500;
    color: var(--gold-light); margin-bottom: 0.8rem;
  }

  .step-desc {
    font-size: 0.8rem; font-weight: 300;
    color: rgba(255,255,255,0.45);
    line-height: 1.9;
  }

  /* ── OVERVIEW DARK ── */
  .overview-dark {
    background: var(--ink-mid);
    padding: 7rem 4rem;
  }

  .overview-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  }

  .overview-text .section-title { color: var(--white); }

  .overview-body {
    font-size: 0.88rem; font-weight: 300;
    color: rgba(255,255,255,0.5); line-height: 1.95;
    margin-bottom: 2rem;
  }

  .overview-links {
    display: flex; gap: 1.5rem; flex-wrap: wrap;
  }

  .overview-right {
    border: 1px solid var(--border);
    padding: 3rem;
  }

  .overview-principle {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    display: flex; gap: 1.5rem; align-items: flex-start;
  }
  .overview-principle:first-child { padding-top: 0; }
  .overview-principle:last-child { border-bottom: none; padding-bottom: 0; }

  .principle-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
  }
  .principle-icon svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.5; }

  .principle-title {
    font-family: var(--ff-display);
    font-size: 1rem; font-weight: 500; color: var(--gold-light);
    margin-bottom: 0.3rem;
  }
  .principle-desc {
    font-size: 0.78rem; font-weight: 300; color: rgba(255,255,255,0.4); line-height: 1.8;
  }

  /* ── TEAM ── */
  .team { background: var(--white); }

  .team-intro {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    margin-bottom: 4rem; align-items: end;
  }

  .team-body {
    font-size: 0.88rem; font-weight: 300; color: var(--ink-soft); line-height: 1.95;
  }

  .team-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  }

  .team-card {
    border: 1px solid rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
    position: relative;
    transition: border-color 0.2s;
  }
  .team-card:hover { border-color: var(--border-strong); }

  .team-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--gold-pale); border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--ff-display); font-size: 1.4rem;
    color: var(--gold); font-weight: 500; margin-bottom: 1.5rem;
  }

  .team-name {
    font-family: var(--ff-display); font-size: 1.15rem;
    font-weight: 500; color: var(--ink); margin-bottom: 0.3rem;
  }
  .team-role {
    font-size: 0.7rem; font-weight: 400; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
  }
  .team-bio {
    font-size: 0.8rem; font-weight: 300; color: var(--ink-soft); line-height: 1.85;
  }

  /* ── CLIENTS ── */
  .clients { background: var(--cream-dark); padding: 5rem 4rem; }

  .clients-title {
    font-family: var(--ff-display); font-size: 0.75rem;
    font-weight: 400; color: var(--ink-soft);
    letter-spacing: 0.2em; text-transform: uppercase;
    text-align: center; margin-bottom: 3rem;
  }

  .client-logos {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 1px; background: var(--border);
  }

  .client-logo {
    background: var(--cream-dark);
    padding: 1.8rem 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--ff-display); font-size: 0.95rem;
    font-weight: 500; color: var(--ink-soft);
    text-align: center; line-height: 1.3;
    transition: background 0.2s, color 0.2s;
    cursor: default;
  }
  .client-logo:hover { background: var(--white); color: var(--ink); }

  /* ── CONTACT ── */
  .contact { background: var(--ink); padding: 7rem 4rem; }

  .contact-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start;
  }

  .contact-left .section-title { color: var(--white); }

  .contact-tagline {
    font-size: 0.88rem; font-weight: 300;
    color: rgba(255,255,255,0.45); line-height: 1.95;
    margin-bottom: 3rem;
  }

  .contact-details { display: flex; flex-direction: column; gap: 1.5rem; }

  .contact-detail {
    display: flex; gap: 1.2rem; align-items: flex-start;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .contact-detail:last-child { border-bottom: none; padding-bottom: 0; }

  .detail-label {
    font-size: 0.65rem; font-weight: 400; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--gold);
    min-width: 80px; padding-top: 0.15rem;
  }
  .detail-value {
    font-size: 0.85rem; font-weight: 300;
    color: rgba(255,255,255,0.6); line-height: 1.7;
  }
  .detail-value a { color: var(--gold-light); text-decoration: none; }
  .detail-value a:hover { text-decoration: underline; }

  .contact-form { display: flex; flex-direction: column; gap: 1rem; }

  .form-field {
    display: flex; flex-direction: column; gap: 0.4rem;
  }
  .form-label {
    font-size: 0.65rem; font-weight: 400; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(255,255,255,0.4);
  }
  .form-input {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--white);
    padding: 0.85rem 1rem;
    font-family: var(--ff-body); font-size: 0.85rem; font-weight: 300;
    outline: none; transition: border-color 0.2s;
  }
  .form-input:focus { border-color: var(--gold); }
  .form-input::placeholder { color: rgba(255,255,255,0.2); }
  textarea.form-input { resize: vertical; min-height: 120px; }

  .form-submit {
    margin-top: 0.5rem;
    background: var(--gold);
    color: var(--ink);
    border: none;
    padding: 1rem;
    font-family: var(--ff-body); font-size: 0.72rem;
    font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase;
    cursor: pointer; transition: background 0.2s;
  }
  .form-submit:hover { background: var(--gold-light); }

  /* ── FOOTER ── */
  footer {
    background: var(--ink-mid);
    border-top: 1px solid var(--border);
    padding: 2.5rem 4rem;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1.5rem;
  }

  .footer-logo {
    font-family: var(--ff-display); font-size: 1rem;
    font-weight: 500; color: var(--gold-light);
    letter-spacing: 0.03em;
  }
  .footer-logo span { color: rgba(255,255,255,0.4); font-weight: 300; }

  .footer-links {
    display: flex; gap: 2rem; list-style: none;
  }
  .footer-links a {
    font-size: 0.68rem; font-weight: 400; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255,255,255,0.35);
    text-decoration: none; transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--gold-light); }

  .footer-copy {
    font-size: 0.72rem; font-weight: 300;
    color: rgba(255,255,255,0.25);
  }

  /* ── CONSULTATION BAND ── */
  .consult-band {
    background: var(--gold);
    padding: 2.5rem 4rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
  }

  .consult-text {
    font-family: var(--ff-display);
    font-size: 1.5rem; font-weight: 400;
    color: var(--ink);
  }
  .consult-text em { font-style: italic; }

  .consult-link {
    font-family: var(--ff-body); font-size: 0.72rem;
    font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink); text-decoration: none;
    border-bottom: 1px solid var(--ink-mid);
    padding-bottom: 2px; white-space: nowrap;
    transition: opacity 0.2s;
  }
  .consult-link:hover { opacity: 0.65; }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-eyebrow { animation: fadeUp 0.7s ease both; }
  .hero-title { animation: fadeUp 0.7s 0.12s ease both; }
  .hero-subtitle { animation: fadeUp 0.7s 0.22s ease both; }
  .hero-divider { animation: fadeUp 0.7s 0.3s ease both; }
  .hero-desc { animation: fadeUp 0.7s 0.38s ease both; }
  .hero-actions { animation: fadeUp 0.7s 0.46s ease both; }

  /* ── RESPONSIVE ── */
  @media (max-width: 1024px) {
    nav { padding: 0 2rem; }
    .nav-links { gap: 1.5rem; }
    section, .process, .overview-dark, .contact, .clients, .consult-band { padding: 5rem 2rem; }
    footer { padding: 2rem; }
    .hero-inner { padding: 100px 2rem 4rem; }
    .stats-bar { flex-wrap: wrap; }
    .stat-item { flex: 1 1 50%; border-right: none; border-bottom: 1px solid var(--border); }
    .about-grid, .services-header, .team-intro, .overview-inner, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
    .services-grid, .team-cards { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-step:nth-child(2) { border-right: none; }
    .process-step:nth-child(1), .process-step:nth-child(2) { border-bottom: 1px solid var(--border); }
    .client-logos { grid-template-columns: repeat(3, 1fr); }
    .consult-band { padding: 2rem; }
  }

  @media (max-width: 640px) {
    nav { padding: 0 1.2rem; }
    .nav-links { display: none; }
    .hero-inner { padding: 90px 1.2rem 3rem; }
    section, .process, .overview-dark, .contact, .clients, .consult-band { padding: 4rem 1.2rem; }
    footer { padding: 1.5rem 1.2rem; flex-direction: column; text-align: center; }
    .services-grid, .team-cards, .process-steps { grid-template-columns: 1fr; }
    .client-logos { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2.5rem; }
    .stat-item { flex: 1 1 100%; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  }

 /* ── WordPress / Elementor wrappers ── */
  .site-main--page,
  .site-main--singular {
    padding: 100px 2rem 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .site-main--elementor {
    min-height: 50vh;
  }

  .site-main--elementor .elementor {
    max-width: none;
  }

  .aml-home-from-page {
    max-width: none;
    margin: 0;
    padding: 0;
  }
