:root {
  --primary: #FF7A00;
  --primary-soft: rgba(255, 122, 0, 0.12);
  --bg-page: #1A1E29;
  --bg-content: #2A3B54;
  --bg-footer: #0E2B63;
  --navy: #1A1E29;
  --navy-deep: #0E2B63;
  --card: #2A3B54;
  --card-2: #1F2C42;
  --card-3: #34465F;
  --text: #FFFFFF;
  --text-muted: #8C95A4;
  --border: rgba(255, 255, 255, 0.07);
  --radius: 18px;
  --radius-sm: 12px;
  --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Montserrat", sans-serif;
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Full-width diffused background image (hero blurred) */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.page-bg-img {
  position: absolute;
  inset: -40px;
}

.page-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px) saturate(0.9);
  transform: scale(1.12);
  opacity: 0.85;
}

.page-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(34, 55, 98, 0.35) 0%, rgba(26, 30, 41, 0.55) 60%, rgba(26, 30, 41, 0.75) 100%),
    linear-gradient(180deg, rgba(40, 60, 100, 0.2) 0%, rgba(26, 30, 41, 0.55) 100%);
}

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

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

button {
  font-family: inherit;
}

.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* HEADER — transparent over global blurred bg */
.header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0 60px;
  background: transparent;
}

.header-mark {
  display: none;
}

.logo-wrap {
  display: flex;
  justify-content: center;
}

.logo-wrap img {
  height: 88px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
}

.menu-toggle {
  position: absolute;
  top: 28px;
  right: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 5;
  transition: background 0.3s;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Fullscreen nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 43, 99, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--easing);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.nav-overlay li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--easing), transform 0.5s var(--easing);
}

.nav-overlay.open li {
  opacity: 1;
  transform: none;
}

.nav-overlay.open li:nth-child(1) {
  transition-delay: 0.1s;
}

.nav-overlay.open li:nth-child(2) {
  transition-delay: 0.15s;
}

.nav-overlay.open li:nth-child(3) {
  transition-delay: 0.2s;
}

.nav-overlay.open li:nth-child(4) {
  transition-delay: 0.25s;
}

.nav-overlay.open li:nth-child(5) {
  transition-delay: 0.3s;
}

.nav-overlay.open li:nth-child(6) {
  transition-delay: 0.35s;
}

.nav-overlay.open li:nth-child(7) {
  transition-delay: 0.4s;
}

.nav-overlay a {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-overlay a:hover {
  color: var(--primary);
}

.nav-close {
  position: absolute;
  top: 28px;
  right: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.nav-close:hover {
  background: var(--primary);
}

.nav-foot {
  position: absolute;
  bottom: 36px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-align: center;
  word-break: break-all;
}

.nav-foot a {
  color: rgba(255, 255, 255, 0.85);
}

.nav-foot a:hover {
  color: var(--primary);
}

/* INNER CARD — joined to footer */
.page-card {
  background: var(--bg-content);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  padding: 24px;
  margin: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 720px;
}

/* HERO */
.hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 540px;
  margin-bottom: 56px;
}

.hero-img {
  position: absolute;
  inset: 0;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 20, 30, 0.65) 0%, rgba(15, 20, 30, 0.25) 50%, rgba(15, 20, 30, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 60px;
  max-width: 600px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: all 0.3s var(--easing);
  border: 0;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: #111;
}

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

.btn-primary:hover {
  background: #e56e00;
  transform: translateY(-2px);
}

/* Hero mobile-only block (logo + swipe indicator) */
.hero-mobile {
  display: none;
}

.about-character {
  display: none;
}

/* ABOUT */
.about-section,
.approach-section,
.area-section,
.claims-section,
.services-section,
.gallery-section,
.contact-section {
  padding: 56px 24px;
}

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

.about-img {
  border-radius: 14px;
  overflow: hidden;
  height: 400px;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* APPROACH */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.approach-card {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  transition: transform 0.4s var(--easing), border-color 0.3s, background 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.approach-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at top right, rgba(255, 122, 0, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.approach-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 0, 0.45);
  background: var(--card-3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.approach-card:hover::before {
  opacity: 1;
}

.approach-card:hover .approach-icon {
  transform: rotate(-6deg) scale(1.06);
}

.approach-icon {
  transition: transform 0.4s var(--easing);
}

.approach-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-soft);
  border: 1px solid rgba(255, 122, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.approach-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 122, 0, 0.7);
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.approach-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.approach-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* AREA */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}

.area-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.area-tag {
  font-size: 0.78rem;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.02);
}

.area-map {
  border-radius: 14px;
  overflow: hidden;
  min-height: 380px;
  position: relative;
  background: var(--card-2);
}

.area-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 380px;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.4) brightness(0.85);
}

/* CLAIMS */
.timeline-card {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px 44px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.12), transparent 70%);
  pointer-events: none;
}

.timeline-heading {
  text-align: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

/* Horizontal (desktop) — alternating labels above/below the line */
.timeline-h {
  position: relative;
  padding: 0;
}

.th-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  min-height: 220px;
  padding: 0 4%;
}

.th-line {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  overflow: hidden;
  transform: translateY(-50%);
}

.th-line-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), #ff9d4d);
  border-radius: 3px;
  animation: tlFill 2.4s var(--easing) 0.3s forwards;
}

@keyframes tlFill {
  to {
    width: 100%;
  }
}

.th-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 2;
  opacity: 0;
  transform: translateY(14px);
  animation: tlStep 0.6s var(--easing) forwards;
}

.th-step.th-top .th-label {
  position: absolute;
  bottom: calc(50% + 18px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.th-step.th-bottom .th-label {
  position: absolute;
  top: calc(50% + 18px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.th-step .th-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.th-step:hover .th-dot {
  transform: translate(-50%, -50%) scale(1.25);
}

.th-step:nth-child(2) {
  animation-delay: 0.25s;
}

.th-step:nth-child(3) {
  animation-delay: 0.5s;
}

.th-step:nth-child(4) {
  animation-delay: 0.75s;
}

.th-step:nth-child(5) {
  animation-delay: 1.0s;
}

.th-step:nth-child(6) {
  animation-delay: 1.25s;
}

@keyframes tlStep {
  to {
    opacity: 1;
    transform: none;
  }
}

.th-step .th-label {
  text-align: center;
  font-size: 0.88rem;
  color: #fff;
  line-height: 1.35;
  margin: 14px 0;
  max-width: 150px;
}

.th-step .th-label strong {
  display: block;
  font-weight: 600;
  color: #fff;
}

.th-step .th-label span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

.th-dot {
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--card-2), 0 0 18px rgba(255, 122, 0, 0.5);
  transition: transform 0.3s var(--easing);
}

/* Vertical (mobile) */
.timeline-v {
  display: none;
  position: relative;
  padding: 8px 0 8px 8px;
}

.tv-line {
  position: absolute;
  left: 30px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(255, 122, 0, 0.15));
  border-radius: 2px;
}

.tv-step {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 14px 0;
  align-items: flex-start;
}

.tv-node {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.45), 0 0 0 5px var(--card-2);
}

.tv-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
}

.tv-tag {
  font-size: 0.68rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.tv-content h5 {
  font-size: 0.98rem;
  color: #fff;
  margin: 4px 0 4px;
  font-weight: 600;
}

.tv-content p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

.claims-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.claim-item {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  transition: border-color 0.3s;
}

.claim-item:hover {
  border-color: rgba(255, 122, 0, 0.4);
}

.claim-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-soft);
  border: 1px solid rgba(255, 122, 0, 0.3);
  color: var(--primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.claim-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.claim-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* SERVICES (WhatsApp style — image bg + dark gradient) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 160px;
  padding: 22px 22px;
  background: #0F1721;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s var(--easing), border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 0, 0.4);
}

.service-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 0;
  transition: transform 0.6s var(--easing), opacity 0.4s;
}

.service-card:hover .service-bg {
  transform: scale(1.06);
  opacity: 0.6;
}

.service-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(15, 23, 33, 0.95) 0%, rgba(15, 23, 33, 0.65) 55%, rgba(15, 23, 33, 0.25) 100%);
}

.service-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
}

.service-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-soft);
  border: 1px solid rgba(255, 122, 0, 0.3);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon-box svg {
  width: 22px;
  height: 22px;
}

.service-icon-box i {
  font-size: 1.2rem;
  line-height: 1;
}

.service-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 4px;
}

.service-link i {
  font-size: 0.95rem;
  transition: transform 0.3s var(--easing);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

.service-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.service-link {
  margin-top: auto;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s var(--easing);
}

.service-card:hover .service-link {
  gap: 10px;
}

/* GALLERY — horizontal snap carousel */
.gallery-section {
  position: relative;
}

.gallery-carousel-wrap {
  position: relative;
  margin: 0 -24px;
  padding: 0 24px;
}

.gallery-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 24px;
  -webkit-overflow-scrolling: touch;
}

.gallery-carousel::-webkit-scrollbar {
  display: none;
}

.g-item {
  flex: 0 0 auto;
  width: 460px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  scroll-snap-align: center;
  background: var(--card-2);
  transform: scale(0.82);
  opacity: 0.55;
  transition: transform 0.55s var(--easing), opacity 0.55s var(--easing), box-shadow 0.4s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.g-item.is-active {
  transform: scale(1);
  opacity: 1;
  cursor: zoom-in;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--easing), filter 0.4s;
}

.g-item.is-active:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.g-item::after {
  content: '\F2D6';
  font-family: "bootstrap-icons";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.g-item:hover::after {
  opacity: 1;
}

.gc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 5;
  transition: background 0.25s, transform 0.2s;
  backdrop-filter: blur(8px);
}

.gc-arrow:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.05);
}

.gc-prev {
  left: 8px;
}

.gc-next {
  right: 8px;
}

.gallery-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s;
}

.gallery-dots .dot.active {
  background: var(--primary);
  width: 22px;
  border-radius: 5px;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lightbox.open {
  display: flex;
  animation: lbFade 0.3s var(--easing);
}

@keyframes lbFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lb-stage {
  max-width: 92vw;
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-stage img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: lbZoom 0.35s var(--easing);
}

@keyframes lbZoom {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: var(--primary);
}

.lb-close {
  top: 22px;
  right: 22px;
}

.lb-prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 50px;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.contact-list strong {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-list a {
  color: #fff;
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.form-group {
  margin-bottom: 14px;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  color: #fff;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
  height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.3s, transform 0.2s;
}

.btn-submit:hover {
  background: #e56e00;
}

.btn-submit:active {
  transform: scale(0.98);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-feedback {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 1.2em;
}
.form-feedback.ok { color: #6ee19c; }
.form-feedback.err { color: #ff6b6b; }

/* FOOTER — joined to body card, full bleed bottom */
.footer {
  background: var(--bg-footer);
  padding: 56px 40px 28px;
  border-radius: 0 0 var(--radius) var(--radius);
  margin: 0 0 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.footer-logo img {
  height: 130px;
  width: 130px;
  object-fit: contain;
  border-radius: 14px;
  display: block;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li,
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary);
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Webflow-style reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s var(--easing),
    transform 0.9s var(--easing);
  will-change: opacity, transform;
}

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

.reveal-fade {
  opacity: 0;
  transition: opacity 1.1s var(--easing);
}

.reveal-fade.in {
  opacity: 1;
}

.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s var(--easing), transform 1s var(--easing);
}

.reveal-up.in {
  opacity: 1;
  transform: none;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.9s var(--easing), transform 0.9s var(--easing);
}

.reveal-scale.in {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--easing), transform 0.9s var(--easing);
}

.reveal-left.in {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s var(--easing), transform 0.9s var(--easing);
}

.reveal-right.in {
  opacity: 1;
  transform: none;
}

/* Stagger children */
.stagger>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--easing), transform 0.8s var(--easing);
}

.stagger.in>* {
  opacity: 1;
  transform: none;
}

.stagger.in>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger.in>*:nth-child(2) {
  transition-delay: 0.15s;
}

.stagger.in>*:nth-child(3) {
  transition-delay: 0.25s;
}

.stagger.in>*:nth-child(4) {
  transition-delay: 0.35s;
}

.stagger.in>*:nth-child(5) {
  transition-delay: 0.45s;
}

.stagger.in>*:nth-child(6) {
  transition-delay: 0.55s;
}

.stagger.in>*:nth-child(7) {
  transition-delay: 0.65s;
}

.stagger.in>*:nth-child(8) {
  transition-delay: 0.75s;
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-fade,
  .reveal-up,
  .reveal-scale,
  .reveal-left,
  .reveal-right,
  .stagger>* {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* RESPONSIVE — mobile first feel */
@media (max-width: 1100px) {
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .g-item {
    width: 380px;
    height: 280px;
  }
}

@media (max-width: 860px) {
  .page-shell {
    padding: 0 14px;
  }

  /* Floating, blurred, rounded header that doesn't touch the edges */
  .header {
    position: sticky;
    top: 12px;
    z-index: 50;
    margin: 12px 6px 22px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 28, 44, 0.55);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }

  .header-mark {
    display: none;
  }

  .header-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .logo-wrap {
    flex: 0 0 auto;
  }

  .logo-wrap img {
    height: 38px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  }

  .menu-toggle {
    position: static;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .nav-close {
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
  }

  .nav-overlay {
    padding: 70px 0 100px;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
  }

  .nav-overlay ul {
    gap: 22px;
    padding-top: 30px;
  }

  .nav-overlay a {
    font-size: 1.5rem;
  }

  .nav-foot {
    position: relative;
    bottom: auto;
    margin-top: 36px;
  }

  .hero-img img {
    object-position: 65% center;
  }

  /* Mobile: hide horizontal timeline, show vertical */
  .timeline-h {
    display: none;
  }

  .timeline-v {
    display: block;
  }

  .timeline-card {
    padding: 26px 18px 30px;
  }

  /* Gallery items smaller on mobile */
  .g-item {
    width: 78vw;
    max-width: 340px;
    height: 230px;
    transform: scale(0.86);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  }
  .g-item.is-active {
    transform: scale(0.98);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  }

  .gallery-carousel-wrap {
    margin: 0 -14px;
    padding: 0;
    overflow: hidden;
  }
  .gallery-carousel {
    gap: 8px;
    padding: 24px 4px 36px;
  }

  .gc-arrow {
    display: none;
  }

  .page-card {
    padding: 12px;
  }

  .about-grid,
  .area-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-img {
    height: 280px;
  }

  .area-map {
    min-height: 280px;
  }

  .area-map iframe {
    min-height: 280px;
  }

  .claims-grid {
    grid-template-columns: 1fr;
  }

  .gallery-masonry {
    column-count: 2;
    column-gap: 10px;
    max-height: 700px;
  }

  .g-item {
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .hero {
    height: calc(95vh - 110px);
    min-height: 460px;
    margin-bottom: 32px;
    border-radius: 22px;
  }

  .hero-content {
    display: none;
  }

  .hero-overlay {
    background: linear-gradient(180deg, transparent 0%, transparent 70%, rgba(15, 20, 30, 0.55) 100%);
  }

  .hero-img img {
    object-position: 50% center;
  }

  .hero-mobile {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 24px 88px;
    text-align: center;
  }

  .hero-mobile-logo {
    width: min(82%, 360px);
    height: auto;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.6));
    animation: heroLogoIn 1s var(--easing) both;
  }

  .hero-swipe {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
  }

  .hero-swipe i {
    font-size: 1.2rem;
    animation: swipeBounce 1.6s ease-in-out infinite;
  }

  @keyframes heroLogoIn {
    from {
      opacity: 0;
      transform: translateY(14px) scale(0.96);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes swipeBounce {

    0%,
    100% {
      transform: translateY(0);
      opacity: 0.85;
    }

    50% {
      transform: translateY(6px);
      opacity: 1;
    }
  }

  .hero-title {
    font-size: 2.2rem;
  }

  /* About on mobile: replace the framed image with the character image (large, transparent) */
  .about-section {
    position: relative;
    overflow: hidden;
  }

  .about-character {
    display: none;
  }

  .about-grid {
    gap: 8px;
  }

  .about-img {
    background: transparent;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: -20px -14px 0;
    position: relative;
  }

  .about-img::after {
    content: '';
    position: absolute;
    inset: auto 10% 6% 10%;
    height: 28px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), transparent 70%);
    filter: blur(6px);
    z-index: 0;
  }

  .about-img img {
    content: url('assets/img/BOND ROOFING_caracter 002_.png');
    width: 92%;
    height: auto;
    max-height: 78vw;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
    animation: charFloat 5s ease-in-out infinite;
    position: relative;
    z-index: 1;
  }

  .about-text {
    text-align: center;
    padding: 0 6px;
  }

  .about-text .section-title {
    text-align: center;
  }

  .about-text p {
    text-align: left;
  }

  @keyframes charFloat {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-8px);
    }
  }

  .section-title {
    font-size: 1.7rem;
  }

  .about-section,
  .approach-section,
  .area-section,
  .claims-section,
  .services-section,
  .gallery-section,
  .contact-section {
    padding: 40px 14px;
  }

  .footer {
    padding: 40px 22px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-logo {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-logo img {
    height: 100px;
    width: 100px;
    margin: 0 auto;
  }

  .lb-close,
  .lb-prev,
  .lb-next {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }

  .lb-prev {
    left: 8px;
  }

  .lb-next {
    right: 8px;
  }

  .lb-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 720px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 520px;
  }

  .service-card {
    min-height: 200px;
    padding: 24px;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .service-desc {
    font-size: 0.88rem;
  }

  .claims-grid {
    grid-template-columns: 1fr;
  }

  .approach-card {
    padding: 26px 22px;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .area-tag {
    font-size: 0.72rem;
    padding: 5px 10px;
  }
}