:root {
    --navy: #13264b;
    --navy-soft: #1b325f;
    --gold: #b78652;
    --gold-soft: #d5b08a;
    --ink: #1d2433;
    --muted: #5a6474;
    --line: #e6dfd7;
    --cream: #f7f3ee;
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(8, 20, 44, 0.12);
    --radius: 24px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.94rem;
}

.topbar-inner {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(19, 38, 75, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 82px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand img{
height:50px;
width:auto;
display:block;
}

.brand-text {
    min-width: 0;
}

.brand-name {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--navy);
}

.footer-brand img{
height:80px;
width:auto;
display:block;
margin-bottom:12px;
}
.brand-sub {
    font-size: 0.84rem;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 150px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 600;
    color: var(--navy);
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 14px 22px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: 0.25s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), #9d7045);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(183, 134, 82, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(14, 29, 58, 0.92), rgba(19, 38, 75, 0.78)),
        url('../images/hero.jpg') center/cover no-repeat;
    color: var(--white);
}

.hero::before {
    content: "AIB";
    position: absolute;
    right: 5%;
    bottom: -18px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(7rem, 17vw, 16rem);
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 34px;
    align-items: end;
    padding: 92px 0 72px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 22px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-soft);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.1;
    color: var(--navy);
}

.hero h1 {
    color: var(--white);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.hero p {
    max-width: 720px;
    margin: 0;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px rgba(4, 10, 26, 0.22);
}

.hero-card h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 14px;
}

.hero-card .contact-line {
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 10px;
}

.contact-line{
display:flex;
align-items:center;
gap:10px;
margin-bottom:10px;
}

.contact-line a{
display:flex;
align-items:center;
gap:10px;
text-decoration:none;
color:inherit;
}

.hero-card .small {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.74);
}
.footer-grid p {
  color: rgba(255, 255, 255, 0.84) !important;
}

.location-line{
display:flex;
align-items:flex-start;
gap:10px;
margin-bottom:10px;
}
.paddingBas {
  padding-bottom: 50px;
}
.location-line a{
display:flex;
align-items:center;
gap:10px;
text-decoration:none;
color:inherit;
}
.section {
    padding: 96px 0;
}

.section-cream {
    background: var(--cream);
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-kicker {
    color: var(--gold);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-head h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.about-grid,
.presence-grid,
.contact-grid,
.cta-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 34px;
    align-items: stretch;
}

.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.about-image,
.presence-image,
.cta-visual {
    min-height: 440px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.about-image {
    background:
        linear-gradient(180deg, rgba(19, 38, 75, 0.14), rgba(19, 38, 75, 0.24)),
        url('../images/cabinet.jpg') center/cover no-repeat;
}

.presence-image {
    background:
        linear-gradient(180deg, rgba(19, 38, 75, 0.16), rgba(19, 38, 75, 0.34)),
        url('../images/paris.jpg') center/cover no-repeat;
}

.cta-visual {
    background:
        linear-gradient(180deg, rgba(19, 38, 75, 0.14), rgba(19, 38, 75, 0.34)),
        url('../images/famille.jpg') center/cover no-repeat;
}

.image-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
    font-weight: 700;
    max-width: 280px;
}

.lead {
    color: var(--muted);
    margin: 0 0 18px;
}

.key-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.key-point {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}

.key-point strong {
    display: block;
    color: var(--navy);
    margin-bottom: 6px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.card {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(183, 134, 82, 0.44);
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: 18px;
    color: var(--navy);
    background: linear-gradient(135deg, rgba(183, 134, 82, 0.18), rgba(19, 38, 75, 0.08));
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.card a {
    color: var(--gold);
    font-weight: 800;
}

.stats{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-top:30px;
}

.stat{
background:#0b3a6a;
color:white;
padding:20px;
border-radius:6px;
font-size:14px;
line-height:1.6;
word-break:break-word;
}

.stat-number{
display:block;
font-size:20px;
font-weight:600;
margin-bottom:8px;
}

.locations {
    display: grid;
    gap: 18px;
}

.location {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    background: var(--white);
}

.location.primary {
    background: linear-gradient(180deg, rgba(19, 38, 75, 0.02), rgba(183, 134, 82, 0.08));
    border-color: rgba(183, 134, 82, 0.38);
}

.location .tag {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(183, 134, 82, 0.14);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.location h3 {
    margin-bottom: 10px;
}

.location p {
    margin: 0;
    color: var(--muted);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.footer-grid p {
  color: rgba(255, 255, 255, 0.84);
}




.why-item {
    background: var(--white);
    border-radius: 22px;
    padding: 24px;
    border: 1px solid var(--line);
}

.why-item h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.why-item p,
.news-card p,
.contact-card p {
    margin: 0;
    color: var(--muted);
}

.footer p {
    margin: 0;
    color: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.news-card {
    border-radius: 22px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.form-message{
  margin-top:16px;
  padding:14px 16px;
  border-radius:14px;
  font-weight:600;
  border:1px solid transparent;
}

.form-message.success{
  background:#eef8f1;
  color:#1f6b3b;
  border-color:#b7e0c2;
}

.form-message.error{
  background:#fff1f1;
  color:#a12626;
  border-color:#f0b9b9;
}
.news-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.news-card:nth-child(1) .news-image {
    background-image: url('../images/succession.jpg');
}

.news-card:nth-child(2) .news-image {
    background-image: url('../images/mediation.jpg');
}

.news-card:nth-child(3) .news-image {
    background-image: url('../images/casablanca.jpg');
}

.news-body {
    padding: 24px;
}

.news-meta {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.news-body h3 {
    margin-bottom: 12px;
    font-size: 1.16rem;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.contact-list {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.contact-item {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.contact-value {
    font-weight: 700;
    color: var(--navy);
}

.contact-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--cream);
    color: var(--muted);
}

.contact-form {
    display: grid;
    gap: 14px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    font-weight: 700;
    color: var(--navy);
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    color: var(--ink);
    background: var(--white);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.cta-box {
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: var(--white);
    border-radius: 30px;
    padding: 34px;
    box-shadow: 0 24px 54px rgba(9, 21, 46, 0.26);
}

.cta-box h2 {
    color: var(--white);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    margin-bottom: 16px;
}

.cta-box p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.82);
}

.footer {
    background: #0f1e3d;
    color: rgba(255, 255, 255, 0.84);
    padding: 72px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
    gap: 26px;
    margin-bottom: 30px;
}

.topbar-link{
display:flex;
align-items:center;
gap:8px;
text-decoration:none;
color:inherit;
font-weight:500;
}

.icon{
width:16px;
height:16px;
fill:currentColor;
flex-shrink:0;
}

.footer h3,
.footer h4 {
    color: var(--white);
    margin-bottom: 14px;
}

.footer-brand {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 16px;
}


.footer-links {
    display: grid;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(19, 38, 75, 0.12);
    border-radius: 14px;
    background: var(--white);
    color: var(--navy);
    font-size: 1.2rem;
}

@media (max-width: 1080px) {

    .hero-grid,
    .about-grid,
    .presence-grid,
    .contact-grid,
    .cta-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cards,
    .why-grid,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-links {
        gap: 16px;
        font-size: 0.95rem;
    }
}

@media (max-width: 860px) {
    .mobile-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav {
        position: relative;
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: calc(100% + 14px);
        width: min(320px, calc(100vw - 32px));
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 22px;
        box-shadow: var(--shadow);
        padding: 16px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links.open {
        display: flex;
    }

    .nav .btn-primary {
        display: none;
    }

    .hero-grid {
        padding-top: 72px;
    }

    .cards,
    .why-grid,
    .news-grid,
    .key-points,
    .stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hero h1 {
        font-size: 2.55rem;
    }

    .section {
        padding: 78px 0;
    }

    .panel,
    .hero-card,
    .contact-card,
    .cta-box,
    .card,
    .why-item,
    .location,
    .news-body {
        padding: 22px;
    }

    .topbar-inner,
    .nav-wrap {
        gap: 12px;
    }

    @media (max-width:768px){

.topbar-left{
display:none;
}

.topbar-right{
justify-content:center;
gap:16px;
font-size:13px;
}
.icon{
width:14px;
height:14px;
}

.topbar-right span{
display:none;
}

.topbar-right a{
white-space:nowrap;
}


}
}