/* =========================================================
   D BROS MEDIA - AD FILMS & PROMOTIONAL VIDEOS
   Scoped to .ad-page. Existing header/footer unchanged.
========================================================= */

.ad-page,.ad-page *{box-sizing:border-box}

.ad-page{
  width:100%;
  overflow:hidden;
  background:#f8f9fb;
  color:#111;
  padding:115px 20px 80px;
}

.ad-container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
}

.ad-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 24px;
  color:#0207f6 !important;
  font-size:14px;
  font-weight:600;
  text-decoration:none !important;
}

.ad-back:hover{color:#0000c8 !important}

/* HERO */

.ad-hero{
  display:grid;
  grid-template-columns:48% 52%;
  min-height:475px;
  overflow:hidden;
  background:#fff;
  border:1px solid #e4e6eb;
  border-radius:15px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.ad-hero-image,.ad-hero-image img{
  width:100%;
  height:100%;
  min-height:475px;
}

.ad-hero-image{overflow:hidden}

.ad-hero-image img{
  display:block;
  object-fit:cover;
}

.ad-hero-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:50px 55px;
}

.ad-kicker,.ad-label{
  color:#0207f6;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
}

.ad-hero-content h1{
  margin:10px 0 18px;
  color:#111;
  font-size:42px;
  line-height:1.15;
  font-weight:700;
}

.ad-hero-content p{
  max-width:570px;
  margin:0;
  color:#5e6269;
  font-size:16px;
  line-height:1.8;
}

.ad-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:max-content;
  margin-top:27px;
  min-height:45px;
  padding:0 21px;
  background:#0207f6;
  color:#fff !important;
  border-radius:5px;
  font-size:13px;
  font-weight:700;
  text-decoration:none !important;
  transition:.25s ease;
}

.ad-btn:hover{
  background:#0000c8;
  transform:translateY(-2px);
}

/* INTRO */

.ad-intro{
  max-width:900px;
  margin:65px auto 55px;
  text-align:center;
}

.ad-intro h2{
  margin:9px 0 15px;
  color:#111;
  font-size:31px;
  line-height:1.3;
}

.ad-intro p{
  margin:0 auto 12px;
  color:#666;
  font-size:15px;
  line-height:1.85;
}

/* SECTIONS */

.ad-section{margin-top:60px}

.ad-heading{margin-bottom:26px}

.ad-heading span{
  color:#0207f6;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
}

.ad-heading h2{
  margin:7px 0 0;
  color:#111;
  font-size:29px;
  line-height:1.3;
}

/* SERVICES */

.ad-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.ad-card{
  display:flex;
  gap:17px;
  min-width:0;
  padding:23px;
  background:#fff;
  border:1px solid #e3e5e9;
  border-radius:10px;
  box-shadow:0 4px 14px rgba(0,0,0,.03);
  transition:.25s ease;
}

.ad-card:hover{
  transform:translateY(-3px);
  border-color:rgba(2,7,246,.3);
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}

.ad-icon{
  flex:0 0 42px;
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef0ff;
  color:#0207f6;
  border-radius:50%;
  font-size:16px;
}

.ad-card h3{
  margin:0 0 7px;
  color:#111;
  font-size:16px;
  line-height:1.35;
}

.ad-card p{
  margin:0;
  color:#666;
  font-size:13px;
  line-height:1.7;
}

/* CLIENTS */

.ad-client-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.ad-client{
  padding:25px 21px;
  background:#fff;
  border:1px solid #e3e5e9;
  border-radius:10px;
}

.ad-client h3{
  margin:0 0 8px;
  color:#111;
  font-size:16px;
}

.ad-client p{
  margin:0;
  color:#666;
  font-size:13px;
  line-height:1.7;
}

/* PROCESS */

.ad-process{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.ad-step{
  padding:23px 21px;
  background:#fff;
  border:1px solid #e3e5e9;
  border-radius:10px;
}

.ad-number{
  display:block;
  margin-bottom:14px;
  color:#0207f6;
  font-size:12px;
  font-weight:700;
}

.ad-step h3{
  margin:0 0 7px;
  color:#111;
  font-size:16px;
}

.ad-step p{
  margin:0;
  color:#666;
  font-size:13px;
  line-height:1.7;
}

/* PLATFORM */

.ad-platform{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.ad-platform-card{
  padding:24px 20px;
  background:#fff;
  border:1px solid #e3e5e9;
  border-radius:10px;
  text-align:center;
}

.ad-platform-icon{
  width:45px;
  height:45px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 12px;
  background:#eef0ff;
  color:#0207f6;
  border-radius:50%;
  font-size:17px;
}

.ad-platform-card h3{
  margin:0 0 7px;
  color:#111;
  font-size:15px;
}

.ad-platform-card p{
  margin:0;
  color:#666;
  font-size:12px;
  line-height:1.65;
}

/* CTA */

.ad-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  margin-top:60px;
  padding:38px 42px;
  background:#0207f6;
  border-radius:12px;
}

.ad-cta-label{
  color:#d7d9ff;
  font-size:10px;
  font-weight:700;
  letter-spacing:1.4px;
}

.ad-cta h2{
  margin:7px 0 8px;
  color:#fff;
  font-size:27px;
  line-height:1.3;
}

.ad-cta p{
  max-width:720px;
  margin:0;
  color:#e3e4ff;
  font-size:13px;
  line-height:1.7;
}

.ad-cta a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 20px;
  background:#fff;
  color:#0207f6 !important;
  border-radius:5px;
  font-size:13px;
  font-weight:700;
  text-decoration:none !important;
  white-space:nowrap;
}

/* TABLET */

@media(max-width:1050px){
  .ad-client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ad-process{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ad-platform{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* MOBILE */

@media(max-width:768px){
  .ad-page{padding:100px 16px 60px}

  .ad-hero{grid-template-columns:1fr}

  .ad-hero-image,.ad-hero-image img{
    height:300px;
    min-height:300px;
  }

  .ad-hero-content{padding:35px 25px}
  .ad-hero-content h1{font-size:34px}

  .ad-grid,
  .ad-client-grid,
  .ad-process,
  .ad-platform{
    grid-template-columns:1fr;
  }

  .ad-cta{
    flex-direction:column;
    align-items:flex-start;
    padding:30px 25px;
  }

  .ad-cta a{width:100%}
}

/* SMALL MOBILE */

@media(max-width:480px){
  .ad-page{padding:95px 12px 50px}

  .ad-hero-image,.ad-hero-image img{
    height:235px;
    min-height:235px;
  }

  .ad-hero-content{padding:28px 20px}
  .ad-hero-content h1{font-size:29px}
  .ad-hero-content p{font-size:14px}

  .ad-btn{width:100%}
  .ad-intro h2{font-size:25px}
}
