/* =========================================================
   ABC HEALTH HUB & MULTI-SPECIALTY CLINIC
   External stylesheet for index(2).html
   ========================================================= */

:root{
  --blue:#0757a6;
  --blue-dark:#063b78;
  --blue-deep:#052f5d;
  --blue-light:#eaf5ff;
  --sky:#1498dc;
  --pink:#d91f62;
  --pink-dark:#b91650;
  --gold:#f8b91b;
  --gold-light:#fff6d7;
  --teal:#11756f;
  --ink:#172b34;
  --muted:#64747c;
  --paper:#f7f9fc;
  --white:#fff;
  --line:#dfe7ee;
  --radius:22px;
  --shadow:0 18px 50px -28px rgba(5,59,120,.38);
  --shadow-hover:0 25px 55px -25px rgba(5,59,120,.42);
  --header-height:78px;
}

*{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-height) + 18px);
}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:"Inter",Arial,sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body.menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,textarea{font:inherit}
button{cursor:pointer}
h1,h2,h3,h4{
  margin:0;
  color:var(--blue-dark);
  font-family:"Baloo 2",sans-serif;
  line-height:1.12;
}
p{margin-top:0}
.wrap{
  width:min(1160px,100%);
  margin:0 auto;
  padding:0 24px;
}
.section{padding:92px 0}
.section-head{
  max-width:760px;
  margin:0 auto 45px;
  text-align:center;
}
.section-head h2{
  margin-top:8px;
  font-size:clamp(2rem,4vw,2.9rem);
}
.section-head h2::after{
  content:"";
  display:block;
  width:72px;
  height:5px;
  margin:16px auto 0;
  border-radius:99px;
  background:linear-gradient(90deg,var(--gold),var(--pink));
}
.section-head > p:last-child{
  margin:16px auto 0;
  color:var(--muted);
}
.eyebrow{
  margin:0 0 7px;
  color:var(--pink);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:12px 21px;
  border:0;
  border-radius:999px;
  font-size:.9rem;
  font-weight:800;
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.btn:hover{
  transform:translateY(-2px);
}
.btn-primary{
  color:#fff;
  background:linear-gradient(135deg,var(--blue),var(--sky));
  box-shadow:0 12px 25px -13px rgba(7,87,166,.75);
}
.btn-primary:hover{
  background:linear-gradient(135deg,var(--blue-dark),var(--blue));
}
.btn-gold{
  color:#183b58;
  background:var(--gold);
  box-shadow:0 12px 24px -15px rgba(248,185,27,.8);
}
.btn-white{
  color:var(--blue);
  background:#fff;
}
.btn-outline{
  color:#fff;
  border:2px solid rgba(255,255,255,.82);
  background:transparent;
}


/* ---------- PAGE LOADING SCREEN ---------- */
.page-loader{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 25%,rgba(20,152,220,.18),transparent 30%),
    linear-gradient(145deg,#052f5d 0%,#063b78 48%,#0757a6 100%);
  opacity:1;
  visibility:visible;
  transition:opacity .55s ease,visibility .55s ease;
}
.page-loader::before{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  top:-280px;
  right:-210px;
  border-radius:50%;
  background:rgba(248,185,27,.12);
}
.page-loader::after{
  content:"";
  position:absolute;
  width:440px;
  height:440px;
  left:-250px;
  bottom:-260px;
  border-radius:50%;
  background:rgba(217,31,98,.14);
}
.page-loader.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.loader-content{
  position:relative;
  z-index:2;
  width:min(460px,88vw);
  padding:34px 28px;
  text-align:center;
  border:1px solid rgba(255,255,255,.18);
  border-radius:30px;
  background:rgba(255,255,255,.08);
  box-shadow:0 30px 80px -35px rgba(0,0,0,.65);
  backdrop-filter:blur(16px);
}
.loader-logo{
  width:min(390px,100%);
  min-height:105px;
  margin:0 auto 20px;
  padding:12px 18px;
  display:grid;
  place-items:center;
  border-radius:20px;
  background:#fff;
  box-shadow:0 18px 40px -25px rgba(0,0,0,.5);
}
.loader-logo img{
  width:100%;
  max-height:105px;
  object-fit:contain;
}
.loader-spinner{
  width:40px;
  height:40px;
  margin:5px auto 13px;
  border:4px solid rgba(255,255,255,.25);
  border-top-color:var(--gold);
  border-right-color:#fff;
  border-radius:50%;
  animation:loaderSpin .9s linear infinite;
}
.loader-title{
  margin:0;
  color:#fff;
  font-family:"Baloo 2",sans-serif;
  font-size:1.55rem;
  font-weight:800;
  line-height:1.1;
}
.loader-subtitle{
  margin:2px 0 18px;
  color:#cfe7fa;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.loader-progress{
  width:100%;
  height:5px;
  overflow:hidden;
  border-radius:99px;
  background:rgba(255,255,255,.15);
}
.loader-progress span{
  display:block;
  width:35%;
  height:100%;
  border-radius:99px;
  background:linear-gradient(90deg,var(--gold),#fff,var(--pink));
  animation:loaderProgress 1.35s ease-in-out infinite;
}
.loader-status{
  display:block;
  margin-top:10px;
  color:#b9d8ef;
  font-size:.72rem;
}
@keyframes loaderSpin{
  to{transform:rotate(360deg)}
}
@keyframes loaderProgress{
  0%{transform:translateX(-130%)}
  100%{transform:translateX(390%)}
}
@media(max-width:620px){
  .loader-content{
    padding:27px 20px;
    border-radius:24px;
  }
  .loader-logo{
    min-height:82px;
    padding:9px 12px;
  }
  .loader-logo img{max-height:80px}
  .loader-title{font-size:1.35rem}
}
@media(prefers-reduced-motion:reduce){
  .page-loader,
  .loader-spinner,
  .loader-progress span{
    animation:none!important;
    transition:none!important;
  }
}

/* ---------- HEADER ---------- */
header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(223,231,238,.9);
  box-shadow:0 5px 25px -24px rgba(0,0,0,.35);
  backdrop-filter:blur(16px);
}
nav{
  width:min(1160px,100%);
  min-height:var(--header-height);
  margin:0 auto;
  padding:8px 24px;
  display:flex;
  align-items:center;
  gap:20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  color:var(--blue-dark);
  font-family:"Baloo 2",sans-serif;
  font-size:1.08rem;
  font-weight:800;
  white-space:nowrap;
}
.brand-mark{
  width:49px;
  height:49px;
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:none;
  border-radius:13px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 8px 20px -15px rgba(7,87,166,.7);
}
.brand-mark img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:3px;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:23px;
  margin-left:auto;
  font-size:.88rem;
  font-weight:700;
}
.nav-links a{
  position:relative;
  padding:8px 0;
  transition:color .2s ease;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:1px;
  height:2px;
  border-radius:99px;
  background:var(--pink);
  transition:right .2s ease;
}
.nav-links a:hover,
.nav-links a.active{
  color:var(--pink);
}
.nav-links a:hover::after,
.nav-links a.active::after{
  right:0;
}
.nav-cta{
  margin-left:4px;
  white-space:nowrap;
}
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  margin-left:auto;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:var(--blue);
  font-size:1.45rem;
  line-height:1;
}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  overflow:hidden;
  padding:76px 0 70px;
  background:
    radial-gradient(circle at 5% 15%,rgba(20,152,220,.15),transparent 32%),
    radial-gradient(circle at 92% 8%,rgba(248,185,27,.18),transparent 27%),
    linear-gradient(135deg,#fff 0%,#f5fbff 58%,#fff9e8 100%);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.035;
  pointer-events:none;
  background-image:
    linear-gradient(var(--blue) 1px,transparent 1px),
    linear-gradient(90deg,var(--blue) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:radial-gradient(circle at 50% 35%,#000,transparent 75%);
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:50px;
  align-items:center;
}
.hero-logos{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:13px;
  margin-bottom:20px;
}
.hero-logos img{
  width:auto;
  height:45px;
  object-fit:contain;
}
.hero-logos .yakap{
  height:48px;
  border-radius:8px;
}
.hero-logos .bagong{
  height:51px;
}
.hero h1{
  max-width:790px;
  font-size:clamp(2.55rem,5vw,4.35rem);
  letter-spacing:-.02em;
}
.hero h1 span{
  color:var(--pink);
}
.hero-lede{
  max-width:665px;
  margin:20px 0 28px;
  color:var(--muted);
  font-size:1.04rem;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

/* Right hero card */
.hero-card{
  position:relative;
  overflow:hidden;
  padding:30px;
  border:1px solid rgba(255,255,255,.98);
  border-radius:30px;
  background:rgba(255,255,255,.84);
  box-shadow:var(--shadow-hover);
  isolation:isolate;
}
.hero-card::before{
  content:"";
  position:absolute;
  z-index:-1;
  width:240px;
  height:240px;
  top:-105px;
  right:-100px;
  border-radius:50%;
  background:var(--gold);
  opacity:.2;
}
.hero-card::after{
  content:"";
  position:absolute;
  z-index:-1;
  width:150px;
  height:150px;
  left:-85px;
  bottom:-75px;
  border-radius:50%;
  background:var(--sky);
  opacity:.08;
}
.hero-card .big-icon{
  width:100%;
  min-height:145px;
  margin-bottom:21px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(145deg,#fff,#f0f8ff);
}
.hero-card .big-icon img{
  width:min(100%,390px);
  height:auto;
  max-height:135px;
  object-fit:contain;
}
.hero-card h3{
  font-size:1.55rem;
}
.hero-card p{
  margin:8px 0 0;
  color:var(--muted);
}
.hero-card .mini-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:22px;
}
.mini{
  padding:12px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  color:#1a527d;
  font-size:.81rem;
  font-weight:800;
}

/* ---------- TRUST ---------- */
.trust{
  background:#fff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.trust-inner{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.trust-item{
  min-height:70px;
  padding:16px;
  display:flex;
  align-items:center;
  gap:10px;
  border-right:1px solid var(--line);
  color:#35586f;
  font-size:.82rem;
  font-weight:800;
}
.trust-item:last-child{border-right:0}
.dot{
  width:9px;
  height:9px;
  flex:none;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 5px rgba(248,185,27,.12);
}

/* ---------- BANNER ---------- */
.banner{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:linear-gradient(120deg,#06386f,#0877c4);
}
.banner::before{
  content:"";
  position:absolute;
  width:320px;
  height:320px;
  right:-130px;
  top:-180px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
}
.banner-inner{
  position:relative;
  min-height:120px;
  padding:30px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.banner h3{
  color:#fff;
  font-size:1.6rem;
}
.banner p{
  max-width:680px;
  margin:5px 0 0;
  color:#dcedfb;
}
.banner .eyebrow{color:#ffe69a}

/* ---------- ABOUT ---------- */
.about-grid{
  display:grid;
  grid-template-columns:1.04fr .96fr;
  gap:50px;
  align-items:start;
}
.about-copy p{
  margin:0 0 17px;
  color:var(--muted);
}
.cred-list{
  display:grid;
  gap:13px;
}
.cred{
  display:flex;
  align-items:center;
  gap:14px;
  padding:15px 17px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 9px 28px -27px rgba(7,87,166,.5);
  transition:transform .2s ease,box-shadow .2s ease;
}
.cred:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}
.cred-logo{
  width:52px;
  height:52px;
  flex:none;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:13px;
  background:var(--blue-light);
}
.cred-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:4px;
}
.cred h4{
  margin-bottom:2px;
  font-size:1rem;
}
.cred p{
  margin:0;
  color:var(--muted);
  font-size:.83rem;
}
.leader{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:18px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--shadow);
}
.leader-avatar{
  width:60px;
  height:60px;
  flex:none;
  overflow:hidden;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--gold-light);
}
.leader-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ---------- SERVICES ---------- */
.services{
  background:linear-gradient(180deg,#edf7ff 0%,#f8fbff 100%);
}
.service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.service-card{
  position:relative;
  min-height:225px;
  padding:26px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:0 9px 28px -28px rgba(7,87,166,.5);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.service-card:hover{
  transform:translateY(-6px);
  border-color:#c9ddec;
  box-shadow:var(--shadow-hover);
}
.service-card.featured{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(145deg,#075aa8,#0781cf);
}
.service-card.featured h3{color:#fff}
.service-card.featured p{color:#dcefff}
.service-icon{
  width:51px;
  height:51px;
  margin-bottom:17px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:var(--gold-light);
  font-size:1.35rem;
}
.service-card.featured .service-icon{
  background:rgba(255,255,255,.15);
}
.service-card h3{
  margin-bottom:8px;
  font-size:1.14rem;
}
.service-card p{
  margin:0;
  color:var(--muted);
  font-size:.9rem;
}

/* ---------- PROGRAMS ---------- */
.process-wrap{
  display:grid;
  gap:27px;
}
.program{
  padding:30px;
  border:1px solid var(--line);
  border-radius:26px;
  background:#fff;
  box-shadow:0 12px 35px -31px rgba(7,59,120,.6);
}
.program-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:22px;
}
.program-head h3{
  font-size:1.45rem;
}
.program-tag{
  padding:7px 12px;
  border-radius:999px;
  color:#735600;
  background:var(--gold-light);
  font-size:.72rem;
  font-weight:800;
  white-space:nowrap;
}
.timeline{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:10px;
}
.timeline.five{
  grid-template-columns:repeat(5,1fr);
}
.step{
  position:relative;
  min-height:118px;
  padding:18px 12px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;
  border:1px solid #e0ebf3;
  border-radius:17px;
  background:#f6f9fc;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.step:hover{
  transform:translateY(-3px);
  background:#fff;
  box-shadow:0 10px 25px -22px rgba(7,87,166,.7);
}
.step-num{
  width:35px;
  height:35px;
  margin:0 auto 9px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:var(--blue);
  font-weight:900;
}
.step h4{
  color:#17466f;
  font-size:.88rem;
}
.step.highlight{
  border-color:#f2d46d;
  background:var(--gold-light);
}
.step.highlight .step-num{
  color:#4c3900;
  background:var(--gold);
}

/* ---------- IMPACT ---------- */
.impact{
  color:#fff;
  background:linear-gradient(135deg,#06356a,#064f8e);
}
.impact h2,
.impact .eyebrow{
  color:#fff;
}
.impact .section-head h2::after{
  background:var(--gold);
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
}
.stat{
  padding:25px 16px;
  text-align:center;
  border:1px solid rgba(255,255,255,.13);
  border-radius:18px;
  background:rgba(255,255,255,.075);
  backdrop-filter:blur(4px);
  transition:transform .2s ease,background .2s ease;
}
.stat:hover{
  transform:translateY(-4px);
  background:rgba(255,255,255,.11);
}
.stat strong{
  display:block;
  color:var(--gold);
  font-family:"Baloo 2",sans-serif;
  font-size:2.35rem;
  line-height:1;
}
.stat span{
  display:block;
  margin-top:8px;
  color:#d8ebfb;
  font-size:.85rem;
  font-weight:700;
}

/* ---------- BRANCH DIRECTORY ---------- */
.branch-cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-bottom:30px;
}
.branch-location{
  display:flex;
  flex-direction:column;
  padding:25px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 30px -29px rgba(7,59,120,.6);
  transition:transform .2s ease,box-shadow .2s ease;
}
.branch-location:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}
.branch-top{
  display:flex;
  align-items:center;
  gap:13px;
  margin-bottom:16px;
}
.branch-top h3{font-size:1.35rem}
.branch-top p{
  margin:2px 0 0;
  color:var(--muted);
  font-size:.82rem;
  font-weight:700;
}
.branch-badge{
  min-width:62px;
  height:42px;
  padding:0 12px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:#fff;
  background:var(--blue);
  font-size:.78rem;
  font-weight:900;
}
.yakap-badge{
  color:#4d3b00;
  background:var(--gold);
}
.location-line{
  margin:7px 0;
  color:#4b5f68;
  font-size:.86rem;
}
.location-line a{
  color:var(--blue);
  font-weight:700;
}
.hours{
  margin:12px 0 17px;
  padding:12px 14px;
  border-radius:14px;
  background:#f3f8fc;
  color:#31556f;
  font-size:.81rem;
}
.branch-location .btn{
  align-self:flex-start;
  margin-top:auto;
}

/* Map */
.branch-map-row{
  display:grid;
  grid-template-columns:.84fr 1.16fr;
  gap:26px;
}
.branch-card{
  padding:30px;
  border-radius:26px;
  color:#fff;
  background:linear-gradient(145deg,#06396f,#0877c4);
  box-shadow:var(--shadow);
}
.branch-card h3{
  margin-bottom:20px;
  color:#fff;
  font-size:1.55rem;
}
.info{
  display:flex;
  gap:12px;
  margin:17px 0;
}
.info-icon{
  width:36px;
  height:36px;
  flex:none;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.12);
}
.info small{
  display:block;
  color:#a9d6f5;
  font-size:.67rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.info div{
  font-size:.88rem;
  font-weight:700;
}
.map-box{
  min-height:350px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:26px;
  background:#eaf5ff;
  box-shadow:var(--shadow);
}
.map-box iframe{
  width:100%;
  height:100%;
  min-height:350px;
  border:0;
}

/* ---------- CONTACT ---------- */
#contact{
  padding-top:45px;
}
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px;
}
.contact-card{
  padding:28px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 32px -30px rgba(7,59,120,.7);
}
.contact-card h3{
  font-size:1.38rem;
}
.contact-card p.small{
  color:var(--muted);
  font-size:.9rem;
}
.field{
  margin:14px 0;
}
.field label{
  display:block;
  margin-bottom:6px;
  color:#17466f;
  font-size:.82rem;
  font-weight:800;
}
.field input,
.field textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:13px;
  outline:none;
  color:var(--ink);
  background:#fbfdff;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus{
  border-color:var(--sky);
  box-shadow:0 0 0 4px rgba(20,152,220,.1);
}
.field textarea{
  min-height:115px;
  resize:vertical;
}
.contact-card form .btn{
  width:100%;
}
.direct-item{
  padding:14px 0;
  border-bottom:1px solid var(--line);
}
.direct-item:last-child{border-bottom:0}
.direct-item small{
  display:block;
  color:#71808a;
  font-size:.67rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.direct-item strong{
  color:#17466f;
}
.direct-item a{color:var(--blue)}

/* ---------- FOOTER ---------- */
footer{
  color:#cce5f8;
  background:var(--blue-deep);
  padding:35px 0 22px;
}
.footer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:22px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  font-family:"Baloo 2",sans-serif;
  font-weight:800;
}
.footer-mark{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#063b78;
  background:var(--gold);
  font-size:1.25rem;
}
.footer-logos{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.footer-logos img{
  width:auto;
  height:36px;
  padding:3px;
  object-fit:contain;
  border-radius:7px;
  background:#fff;
}
.fine{
  margin:22px 0 0;
  text-align:center;
  color:#8eb8d7;
  font-size:.77rem;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .65s ease,transform .65s ease;
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}

/* ---------- MOBILE NAV ---------- */
@media(max-width:980px){
  :root{--header-height:70px}

  nav{padding:8px 20px}
  .nav-links{display:none}
  .nav-cta{display:none}
  .nav-toggle{display:block}

  .nav-links.mobile-open{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    margin:0;
    padding:8px 24px 14px;
    background:#fff;
    border-bottom:1px solid var(--line);
    box-shadow:0 20px 30px -28px rgba(0,0,0,.5);
  }
  .nav-links.mobile-open a{
    padding:14px 0;
    border-bottom:1px solid var(--line);
  }
  .nav-links.mobile-open a:last-child{border-bottom:0}

  .hero-grid,
  .about-grid,
  .branch-map-row,
  .contact-grid{
    grid-template-columns:1fr;
  }
  .hero{
    text-align:center;
  }
  .hero-logos,
  .hero-actions{
    justify-content:center;
  }
  .hero-lede{
    margin-left:auto;
    margin-right:auto;
  }
  .hero-card{
    width:min(100%,570px);
    margin:auto;
  }
  .service-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .timeline,
  .timeline.five{
    grid-template-columns:repeat(3,1fr);
  }
  .stats-grid{
    grid-template-columns:repeat(3,1fr);
  }
  .trust-inner{
    grid-template-columns:repeat(2,1fr);
  }
  .trust-item:nth-child(2){border-right:0}
  .trust-item:nth-child(-n+2){border-bottom:1px solid var(--line)}
}

/* ---------- SMALL PHONES ---------- */
@media(max-width:620px){
  :root{--header-height:64px}

  .wrap{padding:0 17px}
  .section{padding:65px 0}
  nav{padding:7px 17px}

  .brand-mark{
    width:43px;
    height:43px;
  }
  .brand{font-size:.98rem}
  .brand span:last-child{display:none}

  .hero{
    padding:48px 0 48px;
  }
  .hero-logos{
    justify-content:center;
    gap:9px;
  }
  .hero-logos img{height:35px}
  .hero-logos .yakap{height:37px}
  .hero-logos .bagong{height:40px}
  .hero h1{
    font-size:2.32rem;
  }
  .hero-lede{
    font-size:.94rem;
  }
  .hero-actions{
    flex-direction:column;
  }
  .hero-actions .btn{
    width:100%;
  }
  .hero-card{
    padding:21px;
    border-radius:24px;
  }
  .hero-card .big-icon{
    min-height:105px;
  }
  .hero-card .big-icon img{
    max-height:100px;
  }
  .hero-card .mini-row{
    grid-template-columns:1fr;
  }

  .trust-inner,
  .service-grid,
  .stats-grid,
  .branch-cards{
    grid-template-columns:1fr;
  }
  .trust-item{
    border-right:0!important;
    border-bottom:1px solid var(--line);
  }
  .trust-item:last-child{border-bottom:0}

  .program{
    padding:21px;
  }
  .program-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .timeline,
  .timeline.five{
    grid-template-columns:1fr 1fr;
  }
  .step{
    min-height:110px;
    padding:15px 10px;
  }
  .banner-inner{
    min-height:auto;
    padding:28px 0;
    align-items:flex-start;
    flex-direction:column;
  }
  .banner .btn{
    width:100%;
  }
  .branch-map-row{
    gap:18px;
  }
  .map-box,
  .map-box iframe{
    min-height:290px;
  }
  .footer-top{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* ---------- ACCESSIBILITY / MOTION ---------- */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,
  *::before,
  *::after{
    animation:none!important;
    transition:none!important;
  }
  .reveal{
    opacity:1!important;
    transform:none!important;
  }
}
