﻿/* ==================== TOKENS ==================== */
:root {
  --ink: #0d1a19;
  --ink-2: #1a2b2a;
  --ink-soft: #42514f;
  --muted: #6c7b79;
  --paper: #ffffff;
  --paper-2: #f4f8f7;
  --paper-3: #eaf2f1;
  --teal: #2a807d;
  --teal-deep: #1d5c5a;
  --teal-darker: #123c3a;
  --teal-light: #dcecea;
  --teal-glow: rgba(42, 128, 125, .35);
  --line: #e3ecea;
  --line-2: #d3e0de;
  --shadow-sm: 0 4px 18px rgba(13, 26, 25, .06);
  --shadow-md: 0 18px 50px -18px rgba(13, 26, 25, .20);
  --shadow-lg: 0 40px 90px -30px rgba(18, 60, 58, .45);
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --f-disp: 'Rubik', system-ui, sans-serif;
  --f-body: 'Cairo', system-ui, sans-serif;
  --f-num: 'Sora', 'Cairo', sans-serif;
  --maxw: 1280px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  font-size: 93.75%
}

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-disp);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.01em
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none
}

::selection {
  background: var(--teal);
  color: #fff
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px
}

section {
  position: relative
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
  width: 11px
}

::-webkit-scrollbar-track {
  background: var(--paper-2)
}

::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 20px;
  border: 3px solid var(--paper-2)
}

/* ==================== EYEBROW / HEADINGS ==================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-num);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--teal);
  display: inline-block;
  border-radius: 2px
}

.sec-head {
  max-width: 640px;
  margin-bottom: 56px
}

.sec-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  color: var(--ink)
}

.sec-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 540px
}

.sec-head.center {
  margin-inline: auto;
  text-align: center
}

.sec-head.center .eyebrow {
  justify-content: center
}

.sec-head.center p {
  margin-inline: auto
}

.tealword {
  color: var(--teal)
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .98rem;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s ease;
  will-change: transform;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform .5s var(--ease)
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 30px -10px var(--teal-glow)
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal-deep);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: 0;
  border-radius: inherit
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -12px var(--teal-glow)
}

.btn-primary:hover::after {
  transform: translateY(0)
}

.btn-primary:hover svg {
  transform: translateX(-5px)
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-2)
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-3px)
}

.btn-dark {
  background: var(--ink);
  color: #fff
}

.btn-dark:hover {
  transform: translateY(-3px);
  background: var(--teal)
}

.btn-lg {
  padding: 19px 38px;
  font-size: 1.05rem
}

/* ==================== IMAGE WRAPPER (with graceful fallback) ==================== */
.ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-darker));
  isolation: isolate
}

.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .5);
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .05em;
  z-index: 0;
  padding: 20px;
  text-align: center
}

.ph img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), opacity .6s ease
}

.ph img.failed {
  opacity: 0
}

/* ==================== HEADER ==================== */
header {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  inset-inline-start: 0;
  z-index: 900;
  transition: all .5s var(--ease)
}

.topbar {
  background: var(--ink);
  color: #cdd9d7;
  font-size: .82rem;
  transition: all .45s var(--ease);
  overflow: hidden
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
  gap: 20px
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cdd9d7;
  transition: color .3s
}

.topbar a:hover {
  color: #fff
}

.topbar-l {
  display: flex;
  gap: 26px
}

.topbar-r {
  display: flex;
  gap: 20px;
  align-items: center
}

.topbar svg {
  width: 14px;
  height: 14px;
  color: var(--teal)
}

.nav {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: all .45s var(--ease)
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  transition: height .45s var(--ease)
}

header.scrolled .topbar {
  height: 0;
  opacity: 0
}

header.scrolled .nav {
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line)
}

header.scrolled .nav .wrap {
  height: 68px
}

/* logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none
}

.logo-mark {
  width: 42px;
  height: 42px;
  flex: none
}

.logo-mark svg {
  width: 100%;
  height: 100%
}

.logo-txt {
  display: flex;
  align-items: center;
  line-height: 1
}

.logo-txt img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: height .45s var(--ease)
}

.logo-footer img {
  display: block;
  height: 80px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: height .45s var(--ease)
}

header.scrolled .logo-txt img {
  height: 42px
}

.logo-txt b {
  font-family: var(--f-disp);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em
}

.logo-txt small {
  font-size: .66rem;
  color: var(--teal);
  letter-spacing: .16em;
  font-family: var(--f-num);
  font-weight: 500;
  margin-top: 3px
}

/* nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px
}

.nav-links a {
  padding: 10px 15px;
  font-size: .94rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 10px;
  position: relative;
  transition: color .3s
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  inset-inline-start: 15px;
  inset-inline-end: 15px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
  border-radius: 2px
}

.nav-links a:hover {
  color: var(--teal)
}

.nav-links a:hover::after {
  transform: scaleX(1)
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none
}

.has-drop {
  position: relative
}

.drop {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  padding: 10px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .35s var(--ease)
}

.has-drop:hover .drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.drop a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: .9rem;
  color: var(--ink-soft)
}

.drop a::after {
  display: none
}

.drop a:hover {
  background: var(--paper-2);
  color: var(--teal)
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .4s var(--ease)
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 899;
  background: var(--ink);
  color: #fff;
  padding: 110px 32px 40px;
  transform: translateX(100%);
  transition: transform .6s var(--ease);
  overflow-y: auto
}

.mobile-menu.open {
  transform: translateX(0)
}

.mobile-menu a {
  display: block;
  font-family: var(--f-disp);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  opacity: 0;
  transform: translateX(20px)
}

.mobile-menu.open a {
  animation: slideIn .5s var(--ease) forwards
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0)
  }
}

.mobile-menu .btn {
  margin-top: 28px;
  width: 100%
}

body.nav-open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

body.nav-open .burger span:nth-child(2) {
  opacity: 0
}

body.nav-open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: 124px 0 42px
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(75deg, rgba(13, 26, 25, .96) 20%, rgba(18, 60, 58, .78) 55%, rgba(42, 128, 125, .35) 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 20% 30%, transparent 40%, rgba(13, 26, 25, .5) 100%)
}

.hero>.wrap {
  position: relative;
  z-index: 5;
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 0
}

.hero-inner {
  max-width: 720px;
  color: #fff
}

.hero .eyebrow {
  color: #7fd8d3
}

.hero .eyebrow::before {
  background: #7fd8d3
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.08
}

.hero h1 .ln {
  display: block;
  overflow: hidden
}

.hero h1 .ln i {
  display: block;
  font-style: normal;
  transform: translateY(110%);
  opacity: 0
}

.hero.loaded h1 .ln i {
  animation: heroUp .9s var(--ease) forwards
}

.hero.loaded h1 .ln:nth-child(1) i {
  animation-delay: .15s
}

.hero.loaded h1 .ln:nth-child(2) i {
  animation-delay: .28s
}

.hero.loaded h1 .ln:nth-child(3) i {
  animation-delay: .41s
}

@keyframes heroUp {
  to {
    transform: translateY(0);
    opacity: 1
  }
}

.hero p.lead {
  margin-top: 26px;
  font-size: 1.18rem;
  color: #cfe0de;
  max-width: 540px;
  opacity: 0;
  transform: translateY(20px)
}

.hero .cta-row {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px)
}

.hero.loaded p.lead {
  animation: fadeUp .8s var(--ease) .6s forwards
}

.hero.loaded .cta-row {
  animation: fadeUp .8s var(--ease) .75s forwards
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .3)
}

.hero .btn-ghost:hover {
  border-color: #fff;
  color: var(--ink);
  background: #fff
}

/* floating stat chips */
.hero-chips {
  position: relative;
  z-index: 5;
  width: 100%;
  margin-top: 34px;
  flex: 0 0 auto
}

.hero-chips .wrap {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.chip {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 16px 22px;
  color: #fff;
  opacity: 0;
  transform: translateY(24px)
}

.hero.loaded .chip {
  animation: fadeUp .7s var(--ease) forwards
}

.hero.loaded .chip:nth-child(1) {
  animation-delay: .9s
}

.hero.loaded .chip:nth-child(2) {
  animation-delay: 1s
}

.hero.loaded .chip:nth-child(3) {
  animation-delay: 1.1s
}

.hero.loaded .chip:nth-child(4) {
  animation-delay: 1.2s
}

.chip b {
  font-family: var(--f-num);
  font-size: 1.7rem;
  font-weight: 600;
  display: block;
  line-height: 1
}

.chip span {
  font-size: .82rem;
  color: #a9c4c1;
  margin-top: 6px;
  display: block
}

/* neural spine motif in hero */
.spine-motif {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 6%;
  z-index: 4;
  width: 120px;
  opacity: .85;
  pointer-events: none
}

.spine-motif svg {
  height: 100%;
  width: 100%
}

.spine-path {
  stroke: #4ba39f;
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400
}

.hero.loaded .spine-path {
  animation: draw 2.4s var(--ease) .5s forwards
}

@keyframes draw {
  to {
    stroke-dashoffset: 0
  }
}

.node {
  fill: #7fd8d3
}

.pulse {
  fill: #fff
}

@media(max-width:1000px) {
  .spine-motif {
    display: none
  }
}

/* ==================== TRUST STRIP ==================== */
.trust {
  background: var(--ink);
  padding: 0 0 30px;
  position: relative;
  z-index: 5
}

/* ==================== SERVICES ==================== */
.services {
  padding: 120px 0;
  background: var(--paper)
}

.serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.serv-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  isolation: isolate;
  transition: transform .6s var(--ease)
}

.serv-card .ph {
  position: absolute;
  inset: 0;
  z-index: -2
}

.serv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(13, 26, 25, .94) 0%, rgba(13, 26, 25, .5) 45%, rgba(13, 26, 25, .1) 100%);
  transition: background .5s
}

.serv-card:hover {
  transform: translateY(-8px)
}

.serv-card:hover .ph img {
  transform: scale(1.08)
}

.serv-card .body {
  padding: 32px;
  position: relative;
  z-index: 2
}

.serv-num {
  font-family: var(--f-num);
  font-size: .8rem;
  color: #7fd8d3;
  letter-spacing: .15em;
  font-weight: 600
}

.serv-card h3 {
  font-size: 1.5rem;
  margin: 12px 0 0;
  color: #fff
}

.serv-card p {
  color: #c3d4d2;
  font-size: .94rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all .5s var(--ease);
  margin-top: 0
}

.serv-card:hover p {
  max-height: 120px;
  opacity: 1;
  margin-top: 12px
}

.serv-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7fd8d3;
  font-size: .88rem;
  font-weight: 600;
  margin-top: 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all .5s var(--ease) .05s
}

.serv-card:hover .serv-more {
  max-height: 40px;
  opacity: 1
}

.serv-more svg {
  width: 16px;
  height: 16px;
  transition: transform .4s
}

.serv-card:hover .serv-more svg {
  transform: translateX(-5px)
}

/* ==================== ABOUT / WHY ==================== */
.about {
  padding: 120px 0;
  background: var(--paper-2);
  overflow: hidden
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center
}

.about-media {
  position: relative
}

.about-media .main-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 520px;
  box-shadow: var(--shadow-md)
}

.about-media .sub-img {
  position: absolute;
  bottom: -36px;
  inset-inline-end: -36px;
  width: 56%;
  height: 260px;
  border-radius: var(--r);
  overflow: hidden;
  border: 8px solid var(--paper-2);
  box-shadow: var(--shadow-md)
}

.about-badge {
  position: absolute;
  top: 32px;
  inset-inline-start: -24px;
  background: var(--teal);
  color: #fff;
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: var(--shadow-md);
  text-align: center
}

.about-badge b {
  font-family: var(--f-num);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  display: block
}

.about-badge span {
  font-size: .82rem;
  color: #d4ece9;
  display: block;
  margin-top: 6px
}

.about-txt h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 22px
}

.about-txt>p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  margin-bottom: 30px
}

.vm {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
  padding: 22px;
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--line);
  transition: all .4s var(--ease)
}

.vm:hover {
  border-color: var(--teal);
  transform: translateX(-6px);
  box-shadow: var(--shadow-sm)
}

.vm-ic {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center
}

.vm-ic svg {
  width: 26px;
  height: 26px;
  color: var(--teal)
}

.vm h4 {
  font-size: 1.15rem;
  margin-bottom: 6px
}

.vm p {
  color: var(--muted);
  font-size: .92rem
}

/* ==================== STATS ==================== */
.stats {
  padding: 90px 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden
}

.stats::before {
  content: "";
  position: absolute;
  top: -50%;
  inset-inline-start: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  opacity: .5
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2
}

.stat {
  text-align: center;
  padding: 20px
}

.stat b {
  font-family: var(--f-num);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(135deg, #fff, #7fd8d3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block
}

.stat span {
  color: #a9c4c1;
  margin-top: 12px;
  display: block;
  font-size: .98rem
}

.stat:not(:last-child) {
  border-inline-end: 1px solid rgba(255, 255, 255, .1)
}

/* ==================== TEAM ==================== */
.team {
  padding: 120px 0;
  background: var(--paper)
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px
}

.doc {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-2);
  cursor: pointer;
  transition: all .5s var(--ease);
  border: 1px solid var(--line)
}

.doc:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent
}

.doc-img {
  height: 320px;
  position: relative;
  overflow: hidden
}

.doc-img .ph {
  position: absolute;
  inset: 0
}

.doc:hover .doc-img .ph img {
  transform: scale(1.06)
}

.doc-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 26, 25, .55), transparent 50%)
}

.doc-social {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: all .45s var(--ease)
}

.doc:hover .doc-social {
  opacity: 1;
  transform: translateY(0)
}

.doc-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: all .3s
}

.doc-social a:hover {
  background: var(--teal);
  color: #fff
}

.doc-social svg {
  width: 16px;
  height: 16px
}

.doc-body {
  padding: 22px
}

.doc-body .spec {
  font-family: var(--f-num);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--teal);
  text-transform: uppercase;
  font-weight: 600
}

.doc-body h3 {
  font-size: 1.28rem;
  margin: 8px 0 4px
}

.doc-body p {
  color: var(--muted);
  font-size: .88rem
}

.doc-view {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: .85rem;
  font-weight: 600
}

.doc-view svg {
  width: 15px;
  height: 15px;
  transition: transform .3s
}

.doc:hover .doc-view svg {
  transform: translateX(-4px)
}

/* ==================== SERVICES DETAIL LIST ==================== */
.svc-list {
  padding: 120px 0;
  background: var(--teal-darker);
  color: #fff;
  overflow: hidden
}

.svc-list .eyebrow {
  color: #7fd8d3
}

.svc-list .eyebrow::before {
  background: #7fd8d3
}

.svc-list .sec-head h2 {
  color: #fff
}

.svc-list .sec-head p {
  color: #a9c4c1
}

.svc-rows {
  border-top: 1px solid rgba(255, 255, 255, .12)
}

.svc-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 30px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: all .5s var(--ease);
  cursor: pointer;
  position: relative
}

.svc-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .04);
  opacity: 0;
  transition: opacity .4s;
  border-radius: 14px
}

.svc-row:hover::before {
  opacity: 1
}

.svc-row:hover {
  padding-inline-start: 24px
}

.svc-row>* {
  position: relative;
  z-index: 2
}

.svc-row .n {
  font-family: var(--f-num);
  font-size: 1rem;
  color: #7fd8d3;
  font-weight: 600
}

.svc-row .t h3 {
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 6px;
  transition: color .4s
}

.svc-row:hover .t h3 {
  color: #7fd8d3
}

.svc-row .t p {
  color: #a9c4c1;
  font-size: .94rem;
  max-width: 560px
}

.svc-row .arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .45s var(--ease)
}

.svc-row:hover .arrow {
  background: var(--teal);
  border-color: var(--teal);
  transform: rotate(-45deg)
}

.svc-row .arrow svg {
  width: 20px;
  height: 20px;
  color: #fff
}

/* ==================== INSURANCE ==================== */
.insurance {
  padding: 100px 0;
  background: var(--paper)
}

.ins-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 20px
}

.ins-card {
  aspect-ratio: 16/9;
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  transition: all .45s var(--ease);
  background: var(--paper);
  text-align: center;
  padding: 14px
}

.ins-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px)
}

.ins-card b {
  font-family: var(--f-num);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  transition: color .3s
}

.ins-card:hover b {
  color: var(--teal)
}

.ins-card small {
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .05em
}

/* ==================== VIDEOS ==================== */
.videos {
  padding: 120px 0;
  background: var(--paper-2)
}

.vid-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px
}

.vid-col {
  display: grid;
  gap: 24px
}

.vid {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate
}

.vid.main {
  min-height: 440px
}

.vid.small {
  min-height: 207px
}

.vid .ph {
  position: absolute;
  inset: 0;
  z-index: -1
}

.vid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 26, 25, .85), rgba(13, 26, 25, .15));
  z-index: 0;
  transition: background .4s
}

.vid:hover::after {
  background: linear-gradient(to top, rgba(13, 26, 25, .9), rgba(42, 128, 125, .3))
}

.vid:hover .ph img {
  transform: scale(1.06)
}

.vid-play {
  position: absolute;
  top: 24px;
  inset-inline-start: 24px;
  z-index: 3;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .45s var(--ease)
}

.vid:hover .vid-play {
  background: var(--teal);
  transform: scale(1.08)
}

.vid-play svg {
  width: 24px;
  height: 24px;
  color: var(--teal);
  transition: color .3s;
  margin-right: -3px
}

.vid:hover .vid-play svg {
  color: #fff
}

.vid-info {
  position: absolute;
  bottom: 26px;
  inset-inline-start: 26px;
  inset-inline-end: 26px;
  z-index: 3;
  color: #fff
}

.vid-info .tag {
  font-family: var(--f-num);
  font-size: .72rem;
  letter-spacing: .1em;
  color: #7fd8d3;
  font-weight: 600;
  text-transform: uppercase
}

.vid-info h3 {
  font-size: 1.35rem;
  margin-top: 8px;
  color: #fff
}

.vid.small .vid-info h3 {
  font-size: 1.1rem
}

.vid.small .vid-play {
  width: 52px;
  height: 52px
}

.vid.small .vid-play svg {
  width: 20px;
  height: 20px
}

/* ==================== LOCATIONS ==================== */
.locations {
  padding: 120px 0;
  background: var(--paper)
}

.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: start
}

.loc-list {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.loc-card {
  padding: 26px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all .45s var(--ease);
  background: var(--paper);
  position: relative;
  overflow: hidden
}

.loc-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  bottom: 0;
  width: 4px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s var(--ease)
}

.loc-card:hover,
.loc-card.active {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm)
}

.loc-card:hover::before,
.loc-card.active::before {
  transform: scaleY(1)
}

.loc-card .lc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px
}

.loc-card h3 {
  font-size: 1.35rem
}

.loc-card .lc-badge {
  font-family: var(--f-num);
  font-size: .68rem;
  letter-spacing: .1em;
  background: var(--teal-light);
  color: var(--teal-deep);
  padding: 5px 12px;
  border-radius: 100px;
  font-weight: 600
}

.loc-detail {
  display: flex;
  gap: 12px;
  color: var(--ink-soft);
  font-size: .92rem;
  margin-top: 8px;
  align-items: flex-start
}

.loc-detail svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex: none;
  margin-top: 3px
}

.loc-map {
  position: sticky;
  top: 100px;
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 560px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line)
}

.loc-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.2) contrast(1.05)
}

/* ==================== TESTIMONIALS ==================== */
.testi {
  padding: 120px 0;
  background: var(--teal-darker);
  color: #fff;
  overflow: hidden;
  position: relative
}

.testi::before {
  content: "";
  position: absolute;
  top: -100px;
  inset-inline-end: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%)
}

.testi-wrap {
  position: relative;
  z-index: 2
}

.testi .sec-head {
  text-align: center;
  margin-inline: auto
}

.testi .sec-head h2 {
  color: #fff
}

.testi .eyebrow {
  color: #7fd8d3;
  justify-content: center
}

.testi .eyebrow::before {
  background: #7fd8d3
}

.testi-track {
  display: flex;
  transition: transform .7s var(--ease)
}

.testi-slide {
  min-width: 100%;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center
}

.testi-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
  text-align: start;
  box-shadow: var(--shadow-lg);
  color: var(--ink)
}

.testi-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px
}

.testi-author .av {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--teal);
  flex: none
}

.testi-author .ph {
  width: 100%;
  height: 100%
}

.testi-author .meta {
  text-align: start
}

.testi-author b {
  display: block;
  font-family: var(--f-disp);
  font-size: 1.05rem;
  color: var(--ink)
}

.testi-author span {
  color: var(--muted);
  font-size: .85rem
}

.testi-stars {
  color: #ffc94d;
  letter-spacing: 2px;
  font-size: .95rem;
  flex: none;
  white-space: nowrap
}

.testi-quote-text {
  font-family: var(--f-disp);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.8;
  position: relative;
  padding-inline-start: 26px
}

.testi-quote-text .qmark {
  position: absolute;
  top: -10px;
  inset-inline-start: -6px;
  font-family: var(--f-disp);
  font-size: 3rem;
  color: var(--teal-light);
  line-height: 1
}

.testi-doctor-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line)
}

.testi-doctor-info .item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--muted)
}

.testi-doctor-info .item b {
  color: var(--ink);
  font-weight: 600
}

.testi-doctor-info svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex: none
}

.testi-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 44px
}

.testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  cursor: pointer;
  transition: all .4s
}

.testi-dot.active {
  background: var(--teal);
  width: 28px;
  border-radius: 100px
}

/* ==================== ARTICLES ==================== */
.articles {
  padding: 120px 0;
  background: var(--paper)
}

.art-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px
}

.art {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: all .5s var(--ease);
  cursor: pointer
}

.art:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent
}

.art-img {
  height: 230px;
  position: relative;
  overflow: hidden
}

.art-img .ph {
  position: absolute;
  inset: 0
}

.art:hover .art-img .ph img {
  transform: scale(1.07)
}

.art-cat {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  z-index: 3;
  background: rgba(255, 255, 255, .94);
  color: var(--teal-deep);
  font-size: .74rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--f-num);
  letter-spacing: .03em
}

.art-body {
  padding: 26px
}

.art-meta {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: .8rem;
  margin-bottom: 12px
}

.art-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px
}

.art-meta svg {
  width: 14px;
  height: 14px;
  color: var(--teal)
}

.art-body h3 {
  font-size: 1.28rem;
  line-height: 1.4;
  transition: color .3s
}

.art:hover .art-body h3 {
  color: var(--teal)
}

.art-body p {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 10px
}

.art-read {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  font-weight: 600;
  font-size: .88rem
}

.art-read svg {
  width: 15px;
  height: 15px;
  transition: transform .3s
}

.art:hover .art-read svg {
  transform: translateX(-4px)
}

/* ==================== INNER PAGES (blog list / detail) ==================== */
.page-head {
  padding: 170px 0 60px;
  background: linear-gradient(180deg, #f4faf9, var(--paper));
  text-align: center
}

.page-head h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-top: 10px
}

.page-head .crumbs {
  margin-top: 14px;
  color: var(--muted);
  font-size: .85rem
}

.page-head .crumbs a {
  color: var(--teal)
}

.page-section {
  padding: 70px 0
}

.pager {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 46px
}

.article-single {
  max-width: 780px;
  margin: 0 auto
}

.article-single .art-meta {
  justify-content: center
}

.article-single .art-cover {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 30px;
  height: 340px;
  position: relative
}

.article-single .art-cover .ph {
  position: absolute;
  inset: 0
}

.article-single h1 {
  text-align: center;
  margin-bottom: 16px
}

.article-single .lead {
  text-align: center;
  color: var(--muted);
  margin-bottom: 30px
}

.article-single .article-content {
  font-size: 1.02rem;
  line-height: 2;
  color: var(--ink)
}

.article-single .article-content p {
  margin-bottom: 22px
}

.article-related {
  margin-top: 70px
}

/* ==================== FAQ ==================== */
.faq {
  padding: 120px 0;
  background: var(--paper-2)
}

.faq-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: all .4s var(--ease)
}

.faq-item.open {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm)
}

.faq-q {
  width: 100%;
  text-align: start;
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink)
}

.faq-q .ic {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .4s var(--ease)
}

.faq-item.open .faq-q .ic {
  background: var(--teal);
  transform: rotate(135deg)
}

.faq-q .ic svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  transition: color .3s
}

.faq-item.open .faq-q .ic svg {
  color: #fff
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease)
}

.faq-a p {
  padding: 0 26px 26px;
  color: var(--ink-soft);
  font-size: .95rem
}

.faq-side {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 44px;
  color: #fff;
  position: sticky;
  top: 100px
}

.faq-side h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 14px
}

.faq-side p {
  color: #a9c4c1;
  margin-bottom: 28px
}

.faq-side .contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.faq-side .contact-line svg {
  width: 20px;
  height: 20px;
  color: #7fd8d3;
  flex: none
}

.faq-side .contact-line b {
  display: block;
  font-size: 1rem
}

.faq-side .contact-line span {
  font-size: .82rem;
  color: #a9c4c1
}

/* ==================== BOOKING ==================== */
.booking {
  padding: 120px 0;
  background: var(--paper);
  position: relative;
  overflow: hidden
}

.book-card {
  background: var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  box-shadow: var(--shadow-lg)
}

.book-side {
  padding: 56px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--teal-deep), var(--teal-darker))
}

.book-side::before {
  content: "";
  position: absolute;
  bottom: -80px;
  inset-inline-start: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05)
}

.book-side .eyebrow {
  color: #bce7e4
}

.book-side .eyebrow::before {
  background: #bce7e4
}

.book-side h2 {
  font-size: 2.3rem;
  color: #fff;
  margin-bottom: 18px;
  position: relative
}

.book-side>p {
  color: #cfe9e7;
  position: relative;
  margin-bottom: 34px
}

.book-feats {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px
}

.book-feat {
  display: flex;
  gap: 14px;
  align-items: flex-start
}

.book-feat .bf-ic {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center
}

.book-feat svg {
  width: 22px;
  height: 22px;
  color: #fff
}

.book-feat b {
  display: block;
  font-size: 1rem
}

.book-feat span {
  font-size: .85rem;
  color: #cfe9e7
}

.book-form {
  padding: 52px 48px;
  background: #fff
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.field.full {
  grid-column: 1/-1
}

.field label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-2)
}

.field label .req {
  color: var(--teal)
}

.field input,
.field select,
.field textarea {
  font-family: var(--f-body);
  font-size: .95rem;
  padding: 14px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--ink);
  transition: all .3s;
  width: 100%
}

.field textarea {
  resize: vertical;
  min-height: 90px
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42, 128, 125, .08)
}

.field select {
  cursor: pointer
}

.book-form .btn {
  width: 100%;
  margin-top: 8px
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px
}

.form-success.show {
  display: block;
  animation: fadeUp .5s var(--ease)
}

.form-success .check {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center
}

.form-success .check svg {
  width: 38px;
  height: 38px;
  color: var(--teal)
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 10px
}

.form-success p {
  color: var(--muted)
}

/* ==================== CAREERS ==================== */
.careers {
  padding: 110px 0;
  background: var(--paper-2)
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px
}

.job {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  transition: all .45s var(--ease)
}

.job:hover {
  border-color: var(--teal);
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm)
}

.job-type {
  font-family: var(--f-num);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--teal);
  text-transform: uppercase;
  font-weight: 600
}

.job h3 {
  font-size: 1.25rem;
  margin: 10px 0 8px
}

.job p {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 18px
}

.job-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line)
}

.job-foot .loc {
  color: var(--ink-soft);
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 6px
}

.job-foot svg {
  width: 15px;
  height: 15px;
  color: var(--teal)
}

.job-apply {
  color: var(--teal);
  font-weight: 600;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.job-apply svg {
  transition: transform .3s
}

.job:hover .job-apply svg {
  transform: translateX(-4px)
}

/* ==================== CTA BANNER ==================== */
.cta-band {
  padding: 100px 0 130px;
  background: var(--paper-2)
}

.cta-inner {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(135deg, var(--teal-darker), var(--ink))
}

.cta-inner::before,
.cta-inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%)
}

.cta-inner::before {
  top: -120px;
  inset-inline-start: -80px;
  width: 340px;
  height: 340px
}

.cta-inner::after {
  bottom: -120px;
  inset-inline-end: -80px;
  width: 300px;
  height: 300px;
  opacity: .6
}

.cta-inner>* {
  position: relative;
  z-index: 2
}

.cta-pulse {
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  z-index: 1;
  pointer-events: none
}

.cta-pulse span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--teal);
  opacity: .5;
  animation: ctaPulse 3.6s ease-out infinite
}

.cta-pulse span:nth-child(2) {
  animation-delay: 1.2s
}

.cta-pulse span:nth-child(3) {
  animation-delay: 2.4s
}

@keyframes ctaPulse {
  0% {
    transform: scale(1);
    opacity: .5
  }

  100% {
    transform: scale(30);
    opacity: 0
  }
}

.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  max-width: 640px;
  margin: 0 auto 16px
}

.cta-inner p {
  color: #bcd4d1;
  max-width: 520px;
  margin: 0 auto 32px
}

.cta-inner .cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap
}

@media (prefers-reduced-motion: reduce) {
  .cta-pulse span {
    animation: none;
    opacity: .12
  }
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--ink);
  color: #a9c4c1;
  padding: 80px 0 0
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.foot-brand .logo-txt b {
  color: #fff
}

.foot-brand>p {
  margin: 22px 0;
  font-size: .92rem;
  line-height: 1.8;
  max-width: 320px
}

.foot-social {
  display: flex;
  gap: 10px
}

.foot-social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a9c4c1;
  transition: all .35s
}

.foot-social a:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-3px)
}

.foot-social svg {
  width: 18px;
  height: 18px
}

.foot-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 22px;
  font-family: var(--f-disp)
}

.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px
}

.foot-col a {
  font-size: .9rem;
  transition: all .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.foot-col a:hover {
  color: #fff;
  padding-inline-start: 5px
}

.foot-contact li {
  display: flex;
  gap: 12px;
  font-size: .9rem;
  margin-bottom: 16px;
  align-items: flex-start
}

.foot-contact svg {
  width: 18px;
  height: 18px;
  color: #7fd8d3;
  flex: none;
  margin-top: 3px
}

.foot-bottom {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .84rem
}

.foot-bottom a:hover {
  color: #fff
}

/* ==================== MODAL ==================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all .4s var(--ease)
}

.modal.open {
  opacity: 1;
  visibility: visible
}

.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(13, 26, 25, .75);
  backdrop-filter: blur(6px)
}

.modal-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 2;
  transform: translateY(30px) scale(.97);
  transition: transform .5s var(--ease);
  display: grid;
  grid-template-columns: .85fr 1.15fr
}

.modal.open .modal-card {
  transform: translateY(0) scale(1)
}

.modal-img {
  position: relative;
  min-height: 100%;
  overflow: hidden
}

.modal-img .ph {
  position: absolute;
  inset: 0
}

.modal-body {
  padding: 44px
}

.modal-close {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all .3s
}

.modal-close:hover {
  background: var(--teal);
  color: #fff;
  transform: rotate(90deg)
}

.modal-close svg {
  width: 20px;
  height: 20px
}

.modal-body .spec {
  font-family: var(--f-num);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--teal);
  text-transform: uppercase;
  font-weight: 600
}

.modal-body h3 {
  font-size: 1.8rem;
  margin: 8px 0 4px
}

.modal-body .modal-sub {
  color: var(--muted);
  margin-bottom: 24px
}

.modal-section {
  margin-bottom: 22px
}

.modal-section h4 {
  font-size: 1rem;
  color: var(--teal-deep);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px
}

.modal-section h4 svg {
  width: 17px;
  height: 17px
}

.modal-section p,
.modal-section li {
  color: var(--ink-soft);
  font-size: .92rem
}

.modal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.modal-section li {
  display: flex;
  gap: 8px;
  align-items: flex-start
}

.modal-section li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
  margin-top: 9px
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px
}

.modal-tags span {
  background: var(--teal-light);
  color: var(--teal-deep);
  font-size: .8rem;
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 500
}

/* ==================== REVEAL ANIMATION ==================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease)
}

.reveal.in {
  opacity: 1;
  transform: translateY(0)
}

.reveal.d1 {
  transition-delay: .1s
}

.reveal.d2 {
  transition-delay: .2s
}

.reveal.d3 {
  transition-delay: .3s
}

.reveal.d4 {
  transition-delay: .4s
}

.reveal.d5 {
  transition-delay: .5s
}

.reveal.d6 {
  transition-delay: .6s
}

/* ==================== BACK TO TOP ==================== */
.totop {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  z-index: 800;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .45s var(--ease)
}

.totop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.totop:hover {
  background: var(--teal-deep);
  transform: translateY(-4px)
}

.totop svg {
  width: 22px;
  height: 22px
}

/* floating whatsapp */
.wa {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 92px;
  z-index: 800;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all .4s var(--ease)
}

.wa:hover {
  transform: translateY(-4px) scale(1.05)
}

.wa svg {
  width: 26px;
  height: 26px
}

.wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: ripple 2s infinite
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: .7
  }

  100% {
    transform: scale(1.7);
    opacity: 0
  }
}

/* ==================== RESPONSIVE ==================== */
@media(max-width:1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .ins-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .serv-grid,
  .art-grid,
  .career-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr
  }

  .book-card {
    grid-template-columns: 1fr
  }

  .modal-card {
    grid-template-columns: 1fr;
    max-width: 520px
  }

  .modal-img {
    min-height: 220px
  }
}

@media(max-width:900px) {

  .nav-links,
  .nav-cta .btn,
  .topbar-l {
    display: none
  }

  .burger {
    display: flex
  }

  .about-grid,
  .loc-grid,
  .faq-grid,
  .vid-grid,
  .stats-grid {
    grid-template-columns: 1fr
  }

  .vid-grid .vid.main {
    min-height: 340px
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0
  }

  .stat:not(:last-child) {
    border-inline-end: none
  }

  .stat {
    border-bottom: 1px solid rgba(255, 255, 255, .1)
  }

  .about-media {
    margin-bottom: 60px
  }

  .loc-map {
    position: relative;
    top: 0;
    height: 400px
  }

  .faq-side {
    position: relative;
    top: 0;
    margin-top: 20px
  }
}

@media(max-width:640px) {
  .wrap {
    padding: 0 20px
  }

  .logo-txt img {
    height: 40px
  }

  header.scrolled .logo-txt img {
    height: 34px
  }

  .services,
  .about,
  .team,
  .svc-list,
  .videos,
  .locations,
  .testi,
  .articles,
  .faq,
  .booking,
  .careers {
    padding: 80px 0
  }

  .serv-grid,
  .art-grid,
  .career-grid,
  .ins-grid,
  .team-grid {
    grid-template-columns: 1fr
  }

  .ins-grid {
    grid-template-columns: 1fr 1fr
  }

  .foot-grid {
    grid-template-columns: 1fr
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .book-side,
  .book-form {
    padding: 38px 26px
  }

  .cta-inner {
    padding: 48px 26px
  }

  .svc-row {
    grid-template-columns: 40px 1fr;
    gap: 16px
  }

  .svc-row .arrow {
    display: none
  }

  .about-media .sub-img {
    display: none
  }

  .modal-body {
    padding: 30px
  }

  .hero {
    padding-top: 110px
  }

  .foot-bottom {
    flex-direction: column;
    text-align: center
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}