:root {
  --accent: #0073b4;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
@media(max-width:600px){ .container { padding: 0 20px; } }

body{
  margin:0;
  font-family:"Prompt",sans-serif;
  color:#111;
  background:#0c0f13;
}

.branches-cinematic{position:relative;height:90vh;overflow:hidden;background:#0c0f13;color:#fff}
.branches-bg{position:absolute;inset:0;background:url("/assets/logo/bg.png") center/cover no-repeat;filter:brightness(1.08) contrast(1.08) saturate(1.1);transform:scale(1.05);transition:background-image 1.4s ease,opacity .6s ease,transform 3s ease}
.branches-cinematic::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,15,19,.95),rgba(12,15,19,.35) 55%,rgba(12,15,19,.05)),radial-gradient(circle at 70% 45%,rgba(255,255,255,.12),transparent 55%)}
.branches-content{position:relative;z-index:2;height:100%;display:flex;align-items:center;padding-left:10%}
.branches-text span{font-size:12px;letter-spacing:.45em;opacity:.6}
.branches-text h2{font-size:64px;font-weight:600;line-height:1.1;margin:0 0 70px}
.branch-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:36px}
.branch{position:relative;cursor:pointer;opacity:.42;padding-left:44px;transition:opacity .4s ease,transform .4s ease}
.branch::before{content:"";position:absolute;left:0;top:8px;width:10px;height:10px;border-radius:50%;background:#fff;opacity:.25;transform:scale(.6);transition:.4s ease}
.branch strong{font-size:20px;font-weight:500}
.branch em{display:block;font-size:13px;letter-spacing:.2em;margin-top:6px;opacity:.55}
.branch:hover{opacity:.75;transform:translateX(6px)}
.branch:hover::before{opacity:.6;transform:scale(1)}
.branch.active{opacity:1;transform:translateX(14px)}
.branch.active::before{opacity:1;transform:scale(1.25);box-shadow:0 0 0 6px rgba(255,255,255,.15)}
.branch-address{
  max-height:0;
  opacity:0;
  overflow:hidden;
  transform:translateY(-6px);
  transition:max-height .45s ease,opacity .35s ease,transform .35s ease;
}

/* SHOW WHEN ACTIVE */
.branch.active .branch-address{
  max-height:90px;
  opacity:.9;
  transform:translateY(0);
}

.branch:hover,
.branch:hover::before,
.branch:hover .branch-address{
  opacity:inherit;
  transform:none;
}

/* ===== CONTACT IDENTITY ===== */
.contact-royal{position:relative;padding:130px 0;background:#fff;overflow:hidden}
.contact-royal:before{content:"";position:absolute;inset:-200px;opacity:.35;background:radial-gradient(circle at 15% 20%,rgba(0,115,180,.18),transparent 60%),radial-gradient(circle at 85% 25%,rgba(0,43,69,.10),transparent 55%),radial-gradient(circle at 60% 90%,rgba(0,115,180,.08),transparent 55%)}
.contact-wrap{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;gap:90px;align-items:start}
@media(max-width:950px){.contact-wrap{grid-template-columns:1fr;gap:70px}}

.contact-tag{font-size:12px;letter-spacing:.45em;color:var(--accent);font-weight:600}
.contact-title{font-size:clamp(2.6rem,4.2vw,3.4rem);line-height:1.12;margin:18px 0 22px;color:#000}
.contact-title span{color:var(--accent)}
.contact-sub{font-size:1.05rem;line-height:1.9;color:rgba(0,0,0,.65);max-width:520px;margin-bottom:55px}

.contact-cards{display:flex;flex-direction:column;gap:18px}
.c-card{display:flex;align-items:center;gap:18px;padding:20px 22px;border-radius:18px;background:#fff;border:1px solid rgba(0,0,0,.08);text-decoration:none;color:inherit;box-shadow:0 18px 55px rgba(0,0,0,.08);transition:transform .45s cubic-bezier(.4,0,.2,1),box-shadow .45s ease,border .45s ease}
.c-card:hover{transform:translateY(-5px);border:1px solid rgba(0,115,180,.35);box-shadow:0 35px 110px rgba(0,115,180,.16)}
.c-icon{width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,rgba(0,115,180,.14),rgba(0,43,69,.06));color:var(--accent);font-size:18px;box-shadow:0 18px 45px rgba(0,43,69,.10)}
.c-info span{display:block;font-size:11px;letter-spacing:.35em;text-transform:uppercase;color:rgba(0,0,0,.45);margin-bottom:6px}
.c-info strong{display:block;font-size:20px;font-weight:650;color:#000}
.c-info em{display:block;font-size:13px;margin-top:6px;color:rgba(0,0,0,.55);font-style:normal}
.contact-right{margin-top:265px;padding:46px;border-radius:22px;background:#fff;border:1px solid rgba(0,0,0,.10);box-shadow:0 35px 110px rgba(0,0,0,.12);backdrop-filter:blur(0px)}
.form-head h3{font-size:22px;margin:0 0 10px;color:#000}
.form-head p{margin:0 0 30px;font-size:14px;line-height:1.7;color:rgba(0,0,0,.6)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
@media(max-width:600px){.form-grid{grid-template-columns:1fr}}
.c-input,.c-select,.c-textarea{width:100%;padding:14px 16px;border-radius:12px;border:1px solid rgba(0,0,0,.14);background:#fff;font-size:14px;font-family:inherit;outline:none;transition:border .35s ease,box-shadow .35s ease}
.c-textarea{min-height:120px;resize:vertical;margin-top:14px}
.c-input:focus,.c-select:focus,.c-textarea:focus{border:1px solid rgba(0,115,180,.55);box-shadow:0 0 0 6px rgba(0,115,180,.14)}
.btn-submit{margin-top:18px;width:100%;padding:16px;border-radius:50px;border:none;background:linear-gradient(135deg,#065485,#003f66);color:#fff;font-size:13px;letter-spacing:.18em;font-weight:600;cursor:pointer;transition:transform .45s cubic-bezier(.4,0,.2,1),box-shadow .45s ease,background .45s ease}
.btn-submit:hover{transform:translateY(-2px);box-shadow:0 25px 80px rgba(0,43,69,.25);background:linear-gradient(135deg,#065485,#005c94)}
.form-foot{margin-top:18px;font-size:12px;color:rgba(0,0,0,.55)}
.form-foot i{color:var(--accent);margin-right:6px}

/* =========================
   MOBILE (PHONE)
========================= */
@media (max-width: 600px){
.contact-right{margin-top:15px}
  .branches-cinematic{
    height:auto;
    min-height:100vh;
    padding:80px 0 70px;
  }

  .branches-bg{
    transform:scale(1);
    filter:brightness(1.05) contrast(1.05) saturate(1.05);
  }

  .branches-content{
    padding:0 6%;
    align-items:flex-start;
  }

  .branches-text span{
    font-size:10px;
    letter-spacing:.35em;
  }

  .branches-text h2{
    font-size:32px;
    line-height:1.15;
    margin-bottom:38px;
  }

  .branch-list{
    gap:22px;
  }

  .branch{
    padding-left:30px;
    opacity:1;
    transform:none;
  }

  .branch::before{
    top:6px;
    width:8px;
    height:8px;
  }

  .branch strong{
    font-size:16px;
  }

  .branch em{
    font-size:11px;
  }

  .branch-address{
    max-height:0;
    opacity:0;
  }

  .branch.active .branch-address{
    max-height:120px;
    opacity:.9;
  }
}


/* =========================
   TABLET / iPad
========================= */
@media (min-width: 601px) and (max-width: 1024px){
.contact-right{margin-top:15px}
  .branches-cinematic{
    height:80vh;
  }

  .branches-content{
    padding-left:7%;
  }

  .branches-text span{
    font-size:11px;
  }

  .branches-text h2{
    font-size:46px;
    margin-bottom:52px;
  }

  .branch-list{
    gap:28px;
  }

  .branch{
    opacity:1;
    padding-left:36px;
    transform:none;
  }

  .branch strong{
    font-size:18px;
  }

  .branch em{
    font-size:12px;
  }

  .branch-address{
    max-height:0;
    opacity:0;
  }

  .branch.active .branch-address{
    max-height:120px;
    opacity:.9;
  }
}


/* =========================
   TOUCH DEVICE (DISABLE HOVER)
========================= */
@media (hover:none){

  .branch:hover,
  .branch:hover::before,
  .branch:hover .branch-address{
    opacity:inherit;
    transform:none;
  }

}

/* =========================
   BRANCH MAP GRID RESPONSIVE
========================= */
@media (max-width: 1024px) {
  #branchMapGrid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 640px) {
  #branchMapGrid { grid-template-columns: 1fr !important; }
  #branchMapSection { padding: 2.5rem 0 3rem; }
}