/* ==========================================================================
   Panalegal & Co — stylesheet
   ========================================================================== */

:root{
  --blue: #01476A;
  --blue-dark: #012E45;
  --blue-deep: #011E2D;
  --gold: #B79D5B;
  --gold-light: #CBB47F;
  --white: #FFFFFF;
  --ink: #16242C;
  --ink-soft: #46585F;
  --line: #DCE2E4;
  --panel: #F4F5F3;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --pad: clamp(24px, 5vw, 72px);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

ul{ margin: 0; padding: 0; list-style: none; }

h1,h2,h3,h4{
  font-family: var(--font);
  color: var(--blue);
  line-height: 1.18;
  margin: 0;
  font-weight: 700;
}

h1{ font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2{ font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3{ font-size: 1.25rem; }

p{ margin: 0 0 1em; color: var(--ink-soft); }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section{
  padding: clamp(56px, 8vw, 108px) 0;
}

.section--panel{ background: var(--panel); }
.section--blue{ background: var(--blue); color: var(--white); }
.section--blue h2, .section--blue h3{ color: var(--white); }
.section--blue p{ color: rgba(255,255,255,.82); }

.eyebrow-none{ display:none; } /* explicitly no eyebrows used anywhere */

.kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}
.kicker::before{
  content: "//";
  opacity: .55;
}

.lede{
  font-size: 1.1rem;
  max-width: 62ch;
}

.btn{
  display: inline-block;
  padding: 15px 34px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover{ background: var(--blue); color: var(--white); }

.btn--solid{
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--solid:hover{ background: var(--blue-dark); border-color: var(--blue-dark); }

.btn--gold{
  border-color: var(--gold);
  color: var(--gold-light);
}
.btn--gold:hover{ background: var(--gold); border-color: var(--gold); color: var(--blue-deep); }

.btn--on-blue{
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}
.btn--on-blue:hover{ background: var(--white); color: var(--blue); border-color: var(--white); }

/* ---------------------------------------------------------------------- */
/* Header */
/* ---------------------------------------------------------------------- */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.logo{
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo strong{
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--blue);
  letter-spacing: .01em;
}
.logo span{
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--gold);
  margin-top: 5px;
  text-transform: uppercase;
}

.nav{
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav a{
  font-weight: 500;
  font-size: .93rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after,
.nav a.active::after{ transform: scaleX(1); }
.nav a.active{ color: var(--blue); font-weight: 600; }

.nav .btn{ padding: 11px 24px; }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span{
  width: 26px; height: 2px; background: var(--blue); display:block;
}

@media (max-width: 900px){
  .nav{
    position: fixed;
    inset: 92px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px var(--pad) 40px;
    gap: 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    border-top: 1px solid var(--line);
  }
  .nav.is-open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav a{ font-size: 1.05rem; }
  .nav-toggle{ display: flex; }
}

/* ---------------------------------------------------------------------- */
/* Hero (home) */
/* ---------------------------------------------------------------------- */

.hero{
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
  isolation: isolate;
}
.hero::before{
  content:"";
  position: absolute; inset:0;
  background: linear-gradient(180deg, rgba(1,30,45,.55) 0%, rgba(1,30,45,.55) 30%, rgba(1,30,45,.94) 100%);
  z-index: -1;
}
.hero-content{
  padding-bottom: clamp(56px, 8vw, 96px);
  max-width: 780px;
}
.hero-content .kicker{ color: var(--gold-light); }
.hero-content h1{ color: var(--white); margin-bottom: 18px; }
.hero-content p{
  color: rgba(255,255,255,.86);
  font-size: 1.15rem;
  max-width: 52ch;
  margin-bottom: 32px;
}

/* Page banner (interior pages) */
.page-banner{
  background: var(--blue-deep);
  color: var(--white);
  padding: 76px 0 54px;
}
.page-banner h1{ color: var(--white); }
.page-banner p{ color: rgba(255,255,255,.75); max-width: 56ch; }
.breadcrumb{
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 14px;
}
.breadcrumb a:hover{ color: var(--gold-light); }

/* ---------------------------------------------------------------------- */
/* Intro / two-column text */
/* ---------------------------------------------------------------------- */

.intro{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.intro-head h2{ margin-bottom: 6px; }

@media (max-width: 800px){
  .intro{ grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------- */
/* Practice areas list (blue section) */
/* ---------------------------------------------------------------------- */

.practice-wrap{
  position: relative;
  overflow: hidden;
}
.practice-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .12;
  z-index: 0;
}
.practice-inner{ position: relative; z-index: 1; }

.practice-head{
  max-width: 640px;
  margin-bottom: 50px;
}

.practice-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.22);
}
.practice-list li{
  padding: 22px 26px 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
  font-weight: 500;
  font-size: 1.02rem;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.practice-list li::before{
  content: "";
  width: 7px; height: 7px;
  background: var(--gold);
  flex: none;
  margin-top: 6px;
}
.practice-list li:nth-child(3n){ border-right: none; }
.practice-list li{ border-right: 1px solid rgba(255,255,255,.22); }

@media (max-width: 900px){
  .practice-list{ grid-template-columns: repeat(2,1fr); }
  .practice-list li:nth-child(2n){ border-right: none; }
}
@media (max-width: 560px){
  .practice-list{ grid-template-columns: 1fr; }
  .practice-list li{ border-right: none !important; }
}

/* ---------------------------------------------------------------------- */
/* Foundations section */
/* ---------------------------------------------------------------------- */

.foundations{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
.foundations .stat{
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 22px;
  margin-top: 26px;
}
.foundations .stat strong{
  display:block;
  color: var(--blue);
  font-size: 1.6rem;
  font-weight: 700;
}
@media (max-width: 800px){
  .foundations{ grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------- */
/* Contact strip */
/* ---------------------------------------------------------------------- */

.contact-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
  border-top: 1px solid var(--line);
  padding-top: 46px;
  margin-top: 46px;
}
.contact-grid h4{
  color: var(--gold);
  text-transform: none;
  font-size: .8rem;
  letter-spacing: .1em;
  font-weight: 600;
  margin-bottom: 14px;
}
.contact-grid p{ margin: 0 0 4px; color: var(--ink); }
.contact-grid a{ color: var(--ink); }
.contact-grid a:hover{ color: var(--blue); }

@media (max-width: 800px){
  .contact-grid{ grid-template-columns: 1fr; gap: 30px; }
}

.offices{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}
.office-card{
  border: 1px solid var(--line);
  padding: 26px 28px;
}
.office-card h4{ color: var(--blue); font-size: 1.05rem; margin-bottom: 10px; font-weight: 600; }
.office-card a{ color: var(--gold); font-weight: 600; font-size: .92rem; }
.office-card a:hover{ color: var(--blue); }

@media (max-width: 700px){
  .offices{ grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------- */
/* Quote section */
/* ---------------------------------------------------------------------- */

.quote-section{
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  padding: clamp(70px, 10vw, 130px) 0;
}
.quote-section::before{
  content:"";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(1,30,45,.93), rgba(1,71,106,.86));
  z-index: -1;
}
.quote-mark{
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--gold);
  line-height: .6;
  margin-bottom: 6px;
}
.quote-text{
  color: var(--white);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 400;
  max-width: 900px;
  line-height: 1.5;
}
.quote-by{
  margin-top: 26px;
  color: var(--gold-light);
  font-weight: 600;
  font-size: .95rem;
}

/* ---------------------------------------------------------------------- */
/* Stats bars (nosotros) */
/* ---------------------------------------------------------------------- */

.skills{
  margin-top: 40px;
}
.skill-row{
  margin-bottom: 26px;
}
.skill-row .label{
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 9px;
  font-size: .96rem;
}
.skill-track{
  height: 6px;
  background: var(--line);
  position: relative;
}
.skill-fill{
  height: 100%;
  background: var(--gold);
  width: 0;
  transition: width 1.1s ease;
}

/* ---------------------------------------------------------------------- */
/* Split image/text sections (migración) */
/* ---------------------------------------------------------------------- */

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split-text{
  padding: clamp(48px, 6vw, 90px) clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-media{
  min-height: 420px;
  background-size: cover;
  background-position: center;
}
.split.reverse .split-text{ order: 2; }
.split.reverse .split-media{ order: 1; }

@media (max-width: 860px){
  .split{ grid-template-columns: 1fr; }
  .split-media{ min-height: 280px; }
  .split.reverse .split-text{ order: 1; }
  .split.reverse .split-media{ order: 2; }
}

.service-list li{
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.service-list li:last-child{ border-bottom: 1px solid var(--line); }
.service-list h4{
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.service-list p{ margin: 0; font-size: .95rem; }

/* ---------------------------------------------------------------------- */
/* Team grid */
/* ---------------------------------------------------------------------- */

.team-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(30px, 4vw, 56px);
  margin-top: 50px;
}
.team-card{
  text-align: left;
}
.team-photo{
  aspect-ratio: 3/3.6;
  background-size: cover;
  background-position: top center;
  margin-bottom: 20px;
  background-color: var(--panel);
}
.team-card h3{ margin-bottom: 4px; }
.team-card .role{ color: var(--gold); font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.team-card .btn{ padding: 11px 22px; font-size: .85rem; }

/* ---------------------------------------------------------------------- */
/* Profile page */
/* ---------------------------------------------------------------------- */

.profile{
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}
.profile-photo{
  width: 100%;
  aspect-ratio: 3/3.7;
  background-size: cover;
  background-position: top center;
}
.profile h1{ margin-bottom: 6px; }
.profile .role{ color: var(--gold); font-weight: 600; margin-bottom: 30px; font-size: 1.05rem; }
.profile-block{ margin-bottom: 34px; }
.profile-block h4{
  color: var(--blue);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.profile-block ul li{
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.profile-block ul li:last-child{ border-bottom: none; }

@media (max-width: 760px){
  .profile{ grid-template-columns: 1fr; }
  .profile-photo{ max-width: 320px; }
}

/* ---------------------------------------------------------------------- */
/* Contact page */
/* ---------------------------------------------------------------------- */

.contact-layout{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
}
.contact-detail{
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.contact-detail:last-child{ border-bottom: 1px solid var(--line); }
.contact-detail h4{
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-detail a, .contact-detail p{ color: var(--blue); font-weight: 600; margin: 0 0 4px; font-size: 1.05rem; }
.hours-box{
  background: var(--blue);
  color: var(--white);
  padding: 40px;
}
.hours-box h3{ color: var(--white); margin-bottom: 16px; }
.hours-box p{ color: rgba(255,255,255,.85); }
.hours-box .time{
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  margin: 18px 0;
}

@media (max-width: 800px){
  .contact-layout{ grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------- */
/* Footer */
/* ---------------------------------------------------------------------- */

.site-footer{
  background: var(--blue-deep);
  color: rgba(255,255,255,.7);
  padding: 64px 0 30px;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-top .logo strong{ color: var(--white); }
.footer-top p{ color: rgba(255,255,255,.6); max-width: 40ch; margin-top: 14px; }
.footer-col h4{
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col li{ margin-bottom: 11px; font-size: .92rem; }
.footer-col a:hover{ color: var(--gold-light); }
.footer-bottom{
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

@media (max-width: 760px){
  .footer-top{ grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------- */
/* Reveal on scroll (single subtle effect) */
/* ---------------------------------------------------------------------- */

.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  html{ scroll-behavior: auto; }
}

:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ==========================================================================
   Split hero (Advorus-style: copy anchored bottom-left, image + badge right)
   ========================================================================== */

.hero-split{
  padding: clamp(48px, 8vw, 90px) 0 clamp(60px, 8vw, 110px);
}
.hero-split .wrap{
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}
.hero-copy h1{ margin: 8px 0 22px; }
.hero-copy h1 em{
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.hero-copy p{ font-size: 1.08rem; max-width: 46ch; }
.hero-actions{
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-actions .trust{
  font-size: .85rem;
  color: var(--ink-soft);
  max-width: 220px;
  line-height: 1.5;
}
.hero-actions .trust strong{ display:block; color: var(--blue); font-size: 1.1rem; }

.hero-media{
  position: relative;
}
.hero-media .img-box{
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
}
.hero-badge{
  position: absolute;
  left: -18px;
  bottom: -26px;
  background: var(--blue);
  color: var(--white);
  padding: 24px 28px;
  max-width: 220px;
}
.hero-badge strong{
  display: block;
  font-size: 2rem;
  color: var(--gold-light);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-badge span{ font-size: .82rem; color: rgba(255,255,255,.75); }

@media (max-width: 860px){
  .hero-split .wrap{ grid-template-columns: 1fr; }
  .hero-badge{ left: 14px; bottom: -20px; }
}

/* ==========================================================================
   Marquee — infinite horizontal scroll (memberships / practice areas)
   ========================================================================== */

.marquee{
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.marquee--blue{
  background: var(--blue);
  border: none;
  padding: 30px 0;
}
.marquee-track{
  display: flex;
  width: max-content;
  gap: 64px;
  animation: marquee-scroll 28s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state: paused; }
.marquee-track span{
  white-space: nowrap;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.marquee--blue .marquee-track span{
  color: var(--white);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 600;
}
.marquee-track span::after{
  content: "—";
  margin-left: 64px;
  color: var(--gold);
}

@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

/* ==========================================================================
   About — overlapping images + count-up stats
   ========================================================================== */

.about-grid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(50px, 7vw, 90px);
  align-items: center;
}
.about-media{
  position: relative;
  padding-bottom: 40px;
  padding-right: 40px;
}
.about-media .img-a{
  aspect-ratio: 5/6;
  background-size: cover;
  background-position: center;
}
.about-media .img-b{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: top center;
  border: 6px solid var(--white);
  box-shadow: 0 12px 34px rgba(1,30,45,.18);
}
.about-media .badge-ring{
  position: absolute;
  top: -18px;
  left: -18px;
  width: 96px;
  height: 96px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--white);
  line-height: 1.2;
  padding: 8px;
}

@media (max-width: 860px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-media{ padding-right: 0; max-width: 420px; }
}

.stat-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 54px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.stat-row .stat-item strong{
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--blue);
  font-weight: 700;
  line-height: 1;
}
.stat-row .stat-item strong .count{ display:inline; }
.stat-row .stat-item span{
  display: block;
  margin-top: 10px;
  font-size: .85rem;
  color: var(--ink-soft);
  font-weight: 500;
}

@media (max-width: 700px){
  .stat-row{ grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Numbered service cards with hover image reveal
   ========================================================================== */

.service-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 46px;
}
.service-card{
  position: relative;
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.service-card .num{
  position: absolute;
  top: 30px; left: 32px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .05em;
  z-index: 2;
}
.service-card .bg{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity .5s ease, transform .6s ease;
  z-index: 0;
}
.service-card::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,30,45,0) 30%, rgba(1,30,45,.86) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 1;
}
.service-card:hover .bg{ opacity: 1; transform: scale(1); }
.service-card:hover::after{ opacity: 1; }
.service-card:hover h3,
.service-card:hover p{ color: var(--white); position: relative; z-index: 2; }
.service-card:hover .num{ color: var(--gold-light); }
.service-card h3{
  font-size: 1.15rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  transition: color .3s ease;
}
.service-card p{
  font-size: .92rem;
  margin: 0;
  position: relative;
  z-index: 2;
  transition: color .3s ease;
}

@media (max-width: 900px){
  .service-cards{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .service-cards{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Process / "why choose us" split list
   ========================================================================== */

.process-grid{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 6vw, 80px);
}
.process-list li{
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.process-list li:last-child{ border-bottom: 1px solid var(--line); }
.process-num{
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  flex: none;
  width: 44px;
}
.process-list h4{
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.process-list p{ margin: 0; font-size: .93rem; }

@media (max-width: 800px){
  .process-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Team — hover zoom
   ========================================================================== */

.team-photo{ overflow: hidden; }
.team-photo-img{
  width: 100%; height: 100%;
  background-size: cover;
  background-position: top center;
  transition: transform .6s ease;
}
.team-card:hover .team-photo-img{ transform: scale(1.06); }

/* ==========================================================================
   Testimonial — split layout with slider dots
   ========================================================================== */

.testi-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.testi-photo{
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: top center;
}
.testi-slide{ display: none; }
.testi-slide.is-active{ display: block; }
.testi-dots{
  display: flex;
  gap: 10px;
  margin-top: 30px;
}
.testi-dots button{
  width: 10px; height: 10px;
  border: 1px solid var(--gold-light);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.testi-dots button.is-active{ background: var(--gold); }

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner{
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  padding: clamp(64px, 9vw, 110px) 0;
  text-align: center;
}
.cta-banner::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,30,45,.9), rgba(1,71,106,.86));
  z-index: -1;
}
.cta-banner h2{ color: var(--white); max-width: 720px; margin: 0 auto 16px; }
.cta-banner p{ color: rgba(255,255,255,.8); max-width: 56ch; margin: 0 auto 34px; }
.cta-actions{
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer — office columns (Advorus-style head/corporate office blocks)
   ========================================================================== */

.footer-offices{
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-offices h5{
  color: var(--gold-light);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 8px;
}
.footer-offices p{ color: rgba(255,255,255,.6); font-size: .88rem; margin: 0 0 4px; }
.footer-offices a{ color: rgba(255,255,255,.85); }
.footer-offices a:hover{ color: var(--gold-light); }

@media (max-width: 560px){
  .footer-offices{ grid-template-columns: 1fr; }
}
