/* #########################################################
   PAGE: About Us extras  —  html.pg-aboutus  (with pg-about)
   ######################################################### */
/* =========================================================
   Travel Point Holidays & Visa Services – About Us additions
   Section jump bar, director, what we do, approvals, office.
   The mockup sections (hero, story, mission, why, commitment)
   keep their pg-about styles.
   ========================================================= */
:where(.pg-aboutus) section[id]{ scroll-margin-top: 140px; }

/* ---------- On this page ---------- */
:where(.pg-aboutus) .anav{ position: relative; z-index: 2; background: #fff; border-block: 1px solid #f1ebe0; box-shadow: 0 6px 20px rgba(18, 48, 46, .05); }
:where(.pg-aboutus) .anav__inner{ display: flex; justify-content: center; gap: 6px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
:where(.pg-aboutus) .anav__inner::-webkit-scrollbar{ display: none; }
:where(.pg-aboutus) .anav a{
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--heading); white-space: nowrap; transition: background .25s, color .25s;
}
:where(.pg-aboutus) .anav a i{ color: var(--orange); font-size: 13px; transition: color .25s; }
:where(.pg-aboutus) .anav a:hover, :where(.pg-aboutus) .anav a.is-active{ background: var(--heading); color: #fff; }
:where(.pg-aboutus) .anav a:hover i, :where(.pg-aboutus) .anav a.is-active i{ color: var(--gold-light); }

/* ---------- Director ---------- */
:where(.pg-aboutus) .dir{ position: relative; overflow: hidden; padding: clamp(44px, 4.6vw, 90px) 0 clamp(48px, 5vw, 96px); background: linear-gradient(180deg, #fbf8f2 0%, #fff 100%); }
:where(.pg-aboutus) .dir__pattern{
  position: absolute; right: 0; top: 0; bottom: 0; width: 34%; pointer-events: none;
  background-image: var(--pattern); background-size: 110px; opacity: .1;
  -webkit-mask-image: linear-gradient(270deg, #000, transparent); mask-image: linear-gradient(270deg, #000, transparent);
}
:where(.pg-aboutus) .dir__inner{ position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 96px); align-items: center; padding-inline: clamp(16px, 5.8vw, 120px) clamp(16px, 3.8vw, 76px); }

:where(.pg-aboutus) .dir__media{ position: relative; width: min(100%, 470px); aspect-ratio: .86; justify-self: center; isolation: isolate; }
:where(.pg-aboutus) .dir__photo{ position: absolute; inset: 0; z-index: 1; clip-path: url(#archClip); }
:where(.pg-aboutus) .dir__photo img{ width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; filter: saturate(1.08); }
:where(.pg-aboutus) .dir__photo::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1, 46, 48, .35) 0%, transparent 40%); }
:where(.pg-aboutus) .dir__frame{ position: absolute; inset: -12px -12px 0; width: calc(100% + 24px); height: calc(100% + 12px); overflow: visible; pointer-events: none; }
:where(.pg-aboutus) .dir__seal{
  position: absolute; z-index: 2; left: -7%; top: 18%;
  width: clamp(82px, 7vw, 108px); height: clamp(82px, 7vw, 108px); border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 2px;
  background: radial-gradient(circle at 40% 35%, #fff2d4 0%, #f9d692 60%, #f1bf68 100%);
  border: 4px solid #fff; box-shadow: 0 12px 30px rgba(18, 48, 46, .2); color: var(--heading);
}
:where(.pg-aboutus) .dir__seal span{ font-family: var(--serif); font-weight: 800; font-size: clamp(24px, 2.1vw, 32px); line-height: 1; }
:where(.pg-aboutus) .dir__seal small{ font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
:where(.pg-aboutus) .dir__card{
  position: absolute; z-index: 2; right: -12%; bottom: 7%; width: 64%; margin: 0;
  border-radius: 10px; overflow: hidden; border: 4px solid #fff; background: #fff;
  box-shadow: 0 18px 40px rgba(18, 48, 46, .22); transform: rotate(-4deg); transition: transform .4s;
}
:where(.pg-aboutus) .dir__card:hover{ transform: rotate(0) scale(1.03); }
:where(.pg-aboutus) .dir__card img{ display: block; width: 100%; height: auto; }

:where(.pg-aboutus) .dir__name{ font-family: var(--serif); font-weight: 800; color: var(--heading); font-size: clamp(30px, 2.6vw, 44px); line-height: 1.1; margin: clamp(8px, .8vw, 14px) 0 6px; }
:where(.pg-aboutus) .dir__role{ font-size: clamp(12px, .9vw, 14px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); margin-bottom: clamp(14px, 1.3vw, 22px); }
:where(.pg-aboutus) .dir__text{ font-size: clamp(14px, 1.08vw, 16.5px); color: #3b4444; line-height: 1.7; }
:where(.pg-aboutus) .dir__quote{
  position: relative; margin: clamp(18px, 1.8vw, 28px) 0; padding: clamp(18px, 1.6vw, 26px) clamp(20px, 1.8vw, 30px) clamp(16px, 1.4vw, 22px) clamp(58px, 4.4vw, 74px);
  background: #fff; border-radius: 16px; border-left: 4px solid var(--orange); box-shadow: 0 10px 30px rgba(18, 48, 46, .08);
}
:where(.pg-aboutus) .dir__quote > i{ position: absolute; left: clamp(18px, 1.5vw, 26px); top: clamp(18px, 1.6vw, 26px); font-size: clamp(22px, 1.8vw, 30px); color: var(--gold-mid); }
:where(.pg-aboutus) .dir__quote p{ font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--heading); font-size: clamp(16.5px, 1.3vw, 20px); line-height: 1.5; }
:where(.pg-aboutus) .dir__quote footer{ margin-top: 10px; font-size: 14px; font-weight: 600; color: #1d2b2b; }
:where(.pg-aboutus) .dir__quote footer span{ margin-left: 6px; font-weight: 500; color: var(--orange-2); }
:where(.pg-aboutus) .dir__quote footer span::before{ content: "– "; }
:where(.pg-aboutus) .dir__list{ grid-template-columns: 1fr 1fr; column-gap: 22px; row-gap: 10px; margin-bottom: clamp(18px, 1.6vw, 26px); }
:where(.pg-aboutus) .dir__list li{ line-height: 1.45; }
:where(.pg-aboutus) .dir__list li::before{ top: .72em; }
:where(.pg-aboutus) .dir__contact{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(16px, 1.5vw, 24px); }
:where(.pg-aboutus) .dir__contact a{
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px;
  background: #fff; border: 1px solid #efe6d4; font-size: 14px; font-weight: 500; color: var(--heading); transition: border-color .25s, box-shadow .25s;
}
:where(.pg-aboutus) .dir__contact a i{ color: var(--orange-2); }
:where(.pg-aboutus) .dir__contact a:hover{ border-color: var(--gold); box-shadow: 0 6px 16px rgba(211, 162, 74, .2); }
:where(.pg-aboutus) .dir__btns{ display: flex; flex-wrap: wrap; gap: 12px; }
:where(.pg-aboutus) .dir__btns .btn{ padding: clamp(11px, 1vw, 15px) clamp(20px, 1.8vw, 30px); font-size: clamp(13.5px, 1vw, 15.5px); border-radius: 10px; }
:where(.pg-aboutus) .dir__wa{ background: #1faa53; border-color: #1faa53; color: #fff; box-shadow: 0 8px 20px rgba(31, 170, 83, .25); }
:where(.pg-aboutus) .dir__wa:hover{ background: #188d44; }
:where(.pg-aboutus) .dir__wa i{ font-size: 1.2em; }

/* ---------- What we do ---------- */
:where(.pg-aboutus) .wwd{ position: relative; padding: clamp(40px, 4vw, 76px) 0 clamp(44px, 4.4vw, 84px); background: #fff; }
:where(.pg-aboutus) .wwd .container{ padding-inline: clamp(16px, 4.8vw, 100px); }
:where(.pg-aboutus) .wwd .why__head{ margin-bottom: clamp(20px, 2vw, 34px); }
:where(.pg-aboutus) .wwd__grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.4vw, 24px); }
:where(.pg-aboutus) .wwd__card{
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(22px, 1.9vw, 32px) clamp(18px, 1.6vw, 26px) clamp(18px, 1.6vw, 24px);
  background: #fff; border: 1px solid #f3eee6; border-radius: 16px; box-shadow: 0 6px 22px rgba(18, 48, 46, .07);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
:where(.pg-aboutus) .wwd__card::before{
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-mid), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s;
}
:where(.pg-aboutus) .wwd__card:hover{ transform: translateY(-6px); box-shadow: 0 18px 40px rgba(18, 48, 46, .13); border-color: #f1d9a6; }
:where(.pg-aboutus) .wwd__card:hover::before{ transform: scaleX(1); }
:where(.pg-aboutus) .wwd__num{ position: absolute; top: 14px; right: 18px; font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 2.2vw, 36px); line-height: 1; color: rgba(211, 162, 74, .22); font-variant-numeric: lining-nums; }
:where(.pg-aboutus) .wwd__icon{
  width: clamp(50px, 3.9vw, 60px); height: clamp(50px, 3.9vw, 60px); border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--teal-600), var(--teal-800)); color: var(--gold-light); font-size: clamp(20px, 1.6vw, 25px);
  box-shadow: 0 8px 18px rgba(8, 64, 63, .22); transition: background .35s, color .35s;
}
:where(.pg-aboutus) .wwd__card:hover .wwd__icon{ background: linear-gradient(145deg, var(--gold-light), var(--gold-mid)); color: var(--heading); }
:where(.pg-aboutus) .wwd__card h3{ font-family: var(--serif); font-weight: 700; color: var(--heading); font-size: clamp(18px, 1.3vw, 21px); line-height: 1.25; margin: clamp(14px, 1.3vw, 20px) 0 8px; }
:where(.pg-aboutus) .wwd__card p{ flex: 1; font-size: clamp(13.5px, .98vw, 15px); color: #4e5a5a; line-height: 1.6; }
:where(.pg-aboutus) .wwd__more{ display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--gold-2); }
:where(.pg-aboutus) .wwd__more i{ font-size: 12px; transition: transform .3s; }
:where(.pg-aboutus) .wwd__card:hover .wwd__more i{ transform: translateX(5px); }

/* ---------- Approved by ---------- */
:where(.pg-aboutus) .appr{ padding: clamp(10px, 1vw, 20px) 0 clamp(36px, 3.6vw, 64px); background: #fff; }
:where(.pg-aboutus) .appr__inner{
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); align-items: center;
  margin-inline: clamp(0px, 3.4vw, 76px); padding: clamp(18px, 1.8vw, 30px) clamp(20px, 2.4vw, 44px);
  background: linear-gradient(90deg, #fdf8ee, #fff); border: 1px solid #f3e6c9; border-radius: 18px; box-shadow: 0 8px 26px rgba(18, 48, 46, .06);
}
:where(.pg-aboutus) .appr__head{ display: flex; align-items: center; gap: 16px; max-width: 360px; }
:where(.pg-aboutus) .appr__icon{ flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--peach); color: var(--heading); font-size: 22px; }
:where(.pg-aboutus) .appr__head h2{ font-family: var(--serif); font-weight: 700; color: var(--heading); font-size: clamp(19px, 1.45vw, 23px); line-height: 1.2; }
:where(.pg-aboutus) .appr__head p{ margin-top: 4px; font-size: 13.5px; color: #4e5a5a; line-height: 1.5; }
:where(.pg-aboutus) .appr__inner > img{ width: 100%; max-width: 900px; height: auto; justify-self: end; }

/* ---------- Our office ---------- */
:where(.pg-aboutus) .office{ position: relative; padding: clamp(40px, 4vw, 76px) 0; background: #fbf8f2; overflow: hidden; }
:where(.pg-aboutus) .office::before{ content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 100px; opacity: .08; pointer-events: none; }
:where(.pg-aboutus) .office__inner{ position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(18px, 2vw, 34px); padding-inline: clamp(16px, 4.8vw, 100px); }
:where(.pg-aboutus) .office__info{
  position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 20px;
  padding: clamp(26px, 2.6vw, 44px) clamp(22px, 2.4vw, 42px);
  background: radial-gradient(ellipse at 15% 10%, rgba(18, 90, 88, .5) 0%, transparent 60%), linear-gradient(180deg, #08403f 0%, #032f30 100%);
  box-shadow: 0 18px 40px rgba(3, 47, 48, .25);
}
:where(.pg-aboutus) .office__info::before{ content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); background-size: 110px; opacity: .06; }
:where(.pg-aboutus) .office__info .kicker::after{ background: var(--gold-mid); }
:where(.pg-aboutus) .office__info .kicker{ color: var(--gold-mid); }
:where(.pg-aboutus) .office__info h2{ font-family: var(--serif); font-weight: 700; font-size: clamp(25px, 2.1vw, 36px); line-height: 1.15; margin: 10px 0 12px; }
:where(.pg-aboutus) .office__lead{ font-size: clamp(13.5px, 1.02vw, 16px); color: #dce8e6; line-height: 1.65; margin-bottom: clamp(18px, 1.8vw, 28px); }
:where(.pg-aboutus) .office__list{ display: grid; gap: clamp(14px, 1.3vw, 20px); margin-bottom: clamp(20px, 2vw, 30px); }
:where(.pg-aboutus) .office__list li{ display: flex; gap: 14px; align-items: flex-start; }
:where(.pg-aboutus) .office__list i{ flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(251, 227, 162, .14); border: 1px solid rgba(251, 227, 162, .35); color: var(--gold-light); font-size: 15px; }
:where(.pg-aboutus) .office__list span{ font-size: clamp(13.5px, .98vw, 15px); color: #eef4f3; line-height: 1.55; }
:where(.pg-aboutus) .office__list strong{ display: block; font-family: var(--serif); font-weight: 600; font-size: 16px; color: #fff; margin-bottom: 2px; }
:where(.pg-aboutus) .office__list a{ color: #fff; text-decoration: underline; text-decoration-color: rgba(251, 227, 162, .5); text-underline-offset: 3px; }
:where(.pg-aboutus) .office__list a:hover{ color: var(--gold-light); }
:where(.pg-aboutus) .office__btns{ display: flex; flex-wrap: wrap; gap: 12px; }
:where(.pg-aboutus) .office__btns .btn{ padding: 12px 22px; font-size: 14.5px; border-radius: 10px; }
:where(.pg-aboutus) .office__contact{ background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
:where(.pg-aboutus) .office__contact:hover{ background: #fff; color: var(--heading); }

:where(.pg-aboutus) .office__gallery{ display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: clamp(10px, 1vw, 16px); min-height: 440px; }
:where(.pg-aboutus) .office__ph{ position: relative; margin: 0; overflow: hidden; border-radius: 16px; box-shadow: 0 8px 24px rgba(18, 48, 46, .12); background: #e7ecec; }
:where(.pg-aboutus) .office__ph--big{ grid-column: span 2; grid-row: span 2; }
:where(.pg-aboutus) .office__ph img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
:where(.pg-aboutus) .office__ph:hover img{ transform: scale(1.07); }
:where(.pg-aboutus) .office__ph::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1, 46, 48, .55), transparent 45%); pointer-events: none; }
:where(.pg-aboutus) .office__ph figcaption{ position: absolute; z-index: 1; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--heading); font-size: 12.5px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :where(.pg-aboutus) .anav__inner{ justify-content: flex-start; padding-inline: var(--gutter); }
  :where(.pg-aboutus) .dir__inner{ grid-template-columns: 1fr; padding-inline: var(--gutter); }
  :where(.pg-aboutus) .dir__media{ width: min(420px, 78%); margin-bottom: 20px; }
  :where(.pg-aboutus) .wwd__grid{ grid-template-columns: repeat(2, 1fr); }
  :where(.pg-aboutus) .appr__inner{ grid-template-columns: 1fr; justify-items: center; text-align: center; margin-inline: 0; }
  :where(.pg-aboutus) .appr__head{ max-width: none; flex-direction: column; gap: 10px; }
  :where(.pg-aboutus) .appr__inner > img{ justify-self: center; }
  :where(.pg-aboutus) .office__inner{ grid-template-columns: 1fr; padding-inline: var(--gutter); }
}

@media (max-width: 640px) {
  :where(.pg-aboutus) .wwd .container{ padding-inline: var(--gutter); }
  :where(.pg-aboutus) .dir__media{ width: 76%; }
  :where(.pg-aboutus) .dir__seal{ left: -9%; }
  :where(.pg-aboutus) .dir__card{ right: -14%; width: 70%; }
  :where(.pg-aboutus) .dir__list{ grid-template-columns: 1fr; }
  :where(.pg-aboutus) .dir__btns .btn{ width: 100%; justify-content: center; }
  :where(.pg-aboutus) .office__gallery{ grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 140px; min-height: 0; }
  :where(.pg-aboutus) .office__ph--big{ grid-row: span 2; }
  :where(.pg-aboutus) .office__btns .btn{ flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 767px) {
  :where(.pg-aboutus) .anav a{ padding: 8px 13px; font-size: 13px; }
  :where(.pg-aboutus) .dir__name{ font-size: 30px; }
  :where(.pg-aboutus) .dir__quote p{ font-size: 16.5px; }
  /* What we do: compact rows (icon | text) */
  :where(.pg-aboutus) .wwd__grid{ grid-template-columns: 1fr; gap: 10px; }
  :where(.pg-aboutus) .wwd__card{ display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding: 16px; border-radius: 18px; }
  :where(.pg-aboutus) .wwd__card:hover{ transform: none; }
  :where(.pg-aboutus) .wwd__icon{ grid-row: 1 / span 3; width: 52px; height: 52px; font-size: 20px; }
  :where(.pg-aboutus) .wwd__card h3{ margin: 0 0 4px; font-size: 17px; padding-right: 36px; }
  :where(.pg-aboutus) .wwd__card p{ font-size: 13.5px; }
  :where(.pg-aboutus) .wwd__more{ margin-top: 8px; font-size: 13px; }
  :where(.pg-aboutus) .wwd__num{ font-size: 24px; top: 14px; right: 14px; }
  :where(.pg-aboutus) .office__ph figcaption{ font-size: 11.5px; left: 8px; bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  :where(.pg-aboutus) .wwd__card, :where(.pg-aboutus) .wwd__card::before, :where(.pg-aboutus) .office__ph img, :where(.pg-aboutus) .dir__card{ transition: none; }
}
