/* ================================================================
   ODPL – home.css  (index page only)
   ================================================================ */

/* ── OVERRIDE GLOBAL SPACING ─────────────────────────────────── */
.section { padding: 56px 0; }
.section-header { margin-bottom: 36px; }
.grid-3 { gap: 20px; }
.grid-2 { gap: 40px; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 600px;
  display: flex; align-items: center;
  background: var(--color-4);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(25,42,61,1) 0%, rgba(25,42,61,.96) 45%, rgba(25,42,61,.3) 100%),
    repeating-linear-gradient(-45deg,
      rgba(255,255,255,.012) 0px, rgba(255,255,255,.012) 1px,
      transparent 1px, transparent 14px);
}
.hero__accent {
  position: absolute; right: -80px; top: -80px;
  width: 560px; height: 560px;
  border: 1px solid rgba(242,140,40,.14); border-radius: 50%;
  pointer-events: none;
}
.hero__accent::before {
  content: ''; position: absolute; inset: 48px;
  border: 1px solid rgba(242,140,40,.08); border-radius: 50%;
}

/* Right image panel */
.hero__img-side {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 46%;
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  overflow: hidden;
}
.hero__img-side img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  filter: brightness(.85);
}

/* Diagonal fade so image blends into dark bg */
.hero__img-side::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--color-4) 0%, transparent 30%);
}

/* Decorative orange frame */
.hero__img-frame {
  position: absolute; bottom: 32px; right: 32px;
  width: 120px; height: 120px;
  border: 3px solid var(--color-2);
  border-radius: 50%;
  opacity: .35;
  pointer-events: none;
}
.hero__img-frame::before {
  content: ''; position: absolute; inset: 12px;
  border: 1px solid var(--color-2);
  border-radius: 50%;
  opacity: .5;
}

/* Floating badge */
.hero__img-badge {
  position: absolute; bottom: 48px; left: 14%;
  z-index: 2;
  background: var(--color-2);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 32px rgba(242,140,40,.4);
  animation: fadeUp .5s .7s both;
}
.hero__img-badge-num {
  font-family: var(--heading-font);
  font-size: 2rem; font-weight: 700;
  color: #fff; line-height: 1;
}
.hero__img-badge-num sup { font-size: 1rem; }
.hero__img-badge-label {
  font-size: .72rem; font-weight: 700;
  color: rgba(255,255,255,.9);
  text-transform: uppercase; letter-spacing: .06em;
  line-height: 1.4;
}

.hero__content {
  position: relative; z-index: 2;
  padding: 80px 0;
  max-width: 580px;
}

.hero__tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(242,140,40,.12);
  border: 1px solid rgba(242,140,40,.28);
  border-radius: 40px; padding: 5px 16px;
  font-size: .73rem; font-weight: 700; letter-spacing: .1em;
  color: #fba94d; text-transform: uppercase; margin-bottom: 26px;
  animation: fadeUp .5s .1s both;
}
.hero__tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--color-2); border-radius: 50%;
}

.hero__title {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700; color: #fff;
  line-height: 1.17; margin-bottom: 22px;
  animation: fadeUp .5s .2s both;
}
.hero__title em { font-style: normal; color: var(--color-2); }

.hero__sub {
  font-size: 1.05rem; color: rgba(255,255,255,.68);
  line-height: 1.75; max-width: 530px; margin-bottom: 36px;
  animation: fadeUp .5s .3s both;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp .5s .4s both; }

.hero__stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  animation: fadeUp .5s .55s both;
}

/* ── ABOUT ────────────────────────────────────────────────────── */
.about { background: var(--color-6); }
.about__img {
  border-radius: 0; overflow: hidden;
  height: 400px; position: relative;
}
.about__img-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #bec6ce 0%, #a2acb5 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; letter-spacing: .14em;
  color: rgba(30,43,56,.3); font-weight: 700; text-transform: uppercase;
}
.about__img::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 64px; height: 64px; background: var(--color-2);
}
.about__text p {
  font-size: .96rem; color: #5a6878; line-height: 1.78; margin-bottom: 18px;
}
.about__stats {
  display: flex; gap: 32px; margin-bottom: 30px; padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08);
}
.about__stat { display: flex; flex-direction: column; }
.about__stat-num { font-size: 2rem; font-weight: 700; color: var(--color-2); line-height: 1; }
.about__stat-num sup { font-size: 1rem; }
.about__stat-label { font-size: .75rem; color: var(--color-4); margin-top: 4px; text-transform: uppercase; letter-spacing: .08em; }

/* ── SERVICE IMAGE CARDS ─────────────────────────────────────── */
.card--img {
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  border: none;
  min-height: 300px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.card--img::before { display: none; }
.card--img__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(25,42,61,.92) 40%, rgba(25,42,61,.35) 100%);
  transition: background .3s;
}
.card--img:hover .card--img__overlay {
  background: linear-gradient(to top, rgba(49,84,83,.95) 40%, rgba(49,84,83,.5) 100%);
}
.card--img:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card--img__body {
  position: relative; z-index: 1;
  padding: 28px;
}
.card--img__body h3 { color: #fff; margin-bottom: 8px; }
.card--img__body p  { color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.6; margin-bottom: 14px; }
.card-icon--light {
  background: rgba(255,255,255,.15);
  margin-bottom: 16px;
}
.card-icon--light svg { stroke: #fff; }
.card-link--light { color: var(--color-2); }
.card-link--light:hover { color: #ffa94d; }

/* ── SERVICES ─────────────────────────────────────────────────── */
.services-rating {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-6); padding: 7px 18px;
  font-size: .82rem; color: var(--color-4); font-weight: 600;
  margin-top: 16px;
}
.stars { color: var(--color-2); letter-spacing: .05em; }

/* ── CROSS-CUTTING ────────────────────────────────────────────── */
.cc-num {
  font-family: var(--heading-font);
  font-size: 2.6rem; font-weight: 700;
  color: rgba(242,140,40,.2); margin-bottom: 16px;
}
.cc-num--light {
  color: rgba(242,140,40,.7);
}

/* ── CTA BANNER ───────────────────────────────────────────────── */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner__accent {
  position: absolute; right: -120px; top: -120px;
  width: 450px; height: 450px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 50%;
  pointer-events: none;
}
.cta-banner__inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: 52px 0;
}
.cta-banner__text { max-width: 600px; }
.cta-banner__text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem); color: #fff; margin-bottom: 22px;
}
.cta-banner__bullets {
  display: flex; flex-direction: column; gap: 10px;
}
.cta-banner__bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; color: rgba(255,255,255,.82);
}
.cta-banner__bullets li::before {
  content: ''; width: 7px; height: 7px; flex-shrink: 0;
  background: var(--color-2); border-radius: 50%;
}
.cta-banner__aside {
  display: flex; flex-direction: column; gap: 14px;
  align-items: flex-start;
}
.cta-banner__img {
  width: 280px; height: 170px;
  background: rgba(0,0,0,.25);
}

/* ── PARTNERS ─────────────────────────────────────────────────── */
.partners__grid {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center;
}
.partner-logo {
  flex: 0 0 auto;
  width: 180px; height: 90px;
  background: #fff; border: 1px solid #e0e8ef;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.partner-logo:hover { box-shadow: 0 4px 18px rgba(25,42,61,.09); transform: translateY(-2px); }
.partner-logo img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }

/* ── SCROLL REVEAL ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.reveal.revealed { opacity: 1; transform: none; }

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

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__img-side { display: none; }
  .hero__content { max-width: 100%; }
  .about__img { display: none; }
  .cta-banner__img { display: none; }
}
@media (max-width: 768px) {
  .hero__content { padding: 52px 0; }
  .hero__stats { gap: 20px; }
  .cta-banner__inner { padding: 40px 0; }
}
