/*
Theme Name: SAP Studio Spaces
Theme URI: https://sapstudiospaces.com/
Author: Vayu Pro - Devraj Sharma
Author URI: https://sapstudiospaces.com/
Description: A premium custom theme for SAP Studio Spaces, developed by Vayu Pro - Devraj Sharma.
Version: 1.0.2
Text Domain: sap-studio
*/

:root {
  --primary: #00c0f1;
  --text:    #333333;
  --white:   #ffffff;
  --light:   #f7f7f7;
  --border:  #e5e5e5;
  --dark:    #1a1a1a;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 400; color: var(--text); background: #fff; overflow-x: hidden; width: 100%; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.07); }
.nav-logo { font-size: 20px; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -0.5px; line-height: 1; }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center;    margin: 0;
    padding: 15px 0; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text); text-decoration: none; line-height: 1; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--primary) !important; color: #fff !important; padding: 9px 22px; border-radius: 3px; font-weight: 600 !important; }
.nav-cta:hover { background: #00a8d4 !important; }
.nav-right { display: flex; gap: 12px; align-items: center; }
.nav-icon {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 13px; color: #888;
  transition: border-color .2s, color .2s;
}
.nav-icon:hover { border-color: var(--primary); color: var(--primary); }

/* HERO */
.hero {
  position: relative; width: 100%; height: 92vh; min-height: 600px;
  margin-top: 60px; overflow: hidden;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 24s infinite alternate ease-in-out;
  will-change: transform;
}
.hero-dim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.6) 100%); }
.hero-body {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 64px 72px;
}
.hero-tag { font-size: 10px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; line-height: 1; }
.hero h1 {
  font-size: 90px; font-weight: 700; line-height: 1em; letter-spacing: -4px;
  color: #fff; max-width: 780px; margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-p { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.8); line-height: 1.75em; max-width: 440px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-p {
  background: var(--primary); color: #fff;
  padding: 13px 30px; border-radius: 3px;
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  text-decoration: none; line-height: 1; display: inline-block;
  transition: background .2s, transform .2s;
}
.btn-p:hover { background: #00a8d4; transform: translateY(-2px); }
.btn-g {
  border: 1.5px solid rgba(255,255,255,.45); color: #fff;
  padding: 12px 26px; border-radius: 3px;
  font-size: 13px; font-weight: 500;
  text-decoration: none; line-height: 1; display: inline-block;
  transition: border-color .2s, color .2s;
}
.btn-g:hover { border-color: var(--primary); color: var(--primary); }

.hql-btn {
  display: flex !important;
  align-items: center;
  background: #fff;
  border-radius: 30px;
  text-decoration: none !important;
  overflow: hidden;
  height: 38px;
  border: 1px solid #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.hql-btn:hover, .hql-btn:focus {
  text-decoration: none !important;
}
.hql-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.hql-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  margin-left: -1px;
}
.hql-text {
  padding: 0 16px 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
/* Call variant */
.hql-call { border-color: #0b59b5 !important; }
.hql-call .hql-icon { background: #0b59b5 !important; border: 2px solid #fff !important; color: #fff !important; }
.hql-call .hql-text { color: #0b59b5 !important; }
/* WhatsApp variant */
.hql-wa { border-color: #25d366 !important; }
.hql-wa .hql-icon { background: #25d366 !important; border: 2px solid #fff !important; color: #fff !important; font-size: 18px; }
.hql-wa .hql-text { color: #25d366 !important; }
/* Facebook variant */
.hql-fb { border-color: #1877f2 !important; }
.hql-fb .hql-icon { background: #1877f2 !important; border: 2px solid #fff !important; color: #fff !important; font-size: 17px; }
.hql-fb .hql-text { color: #1877f2 !important; }
/* YouTube variant */
.hql-yt { border-color: #ff0000 !important; }
.hql-yt .hql-icon { background: #ff0000 !important; border: 2px solid #fff !important; color: #fff !important; font-size: 17px; }
.hql-yt .hql-text { color: #ff0000 !important; }
/* Instagram variant */
.hql-ig { border-color: #e1306c !important; }
.hql-ig .hql-icon { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; border: 2px solid #fff !important; color: #fff !important; font-size: 17px; }
.hql-ig .hql-text { color: #e1306c !important; }

/* CONTACT STRIP */
.cstrip {
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  gap: 44px; padding: 14px 40px; flex-wrap: wrap;
}
.cstrip-item { display: flex; align-items: center; gap: 9px; }
.cstrip-item i { color: var(--primary); font-size: 14px; }
.cstrip-item span { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.65); line-height: 1.3; }
.cstrip-item a { color: var(--primary); text-decoration: none; }
.cstrip-sep { width: 1px; height: 20px; background: rgba(255,255,255,.13); }

/* LAYOUT */
.s-pad { padding: 88px 0; }
.s-pad-sm { padding: 56px 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.lbl {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--primary);
  margin-bottom: 14px; line-height: 1;
}
.lbl::before { content: '— '; }

.h-big {
  font-size: clamp(32px, 4.5vw, 58px); font-weight: 700;
  line-height: 1em; letter-spacing: -2px; color: var(--text);
}
.h-big em { font-style: normal; color: var(--primary); }

.body-p { font-size: 14px; font-weight: 400; line-height: 1.82em; color: #777; margin-top: 14px; }

/* SECTION A — intro split */
.intro-split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: center; }
.igrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.igrid-main { position: relative; grid-column: span 2; height: 320px; border-radius: 18px; overflow: hidden; }
.igrid-cell { position: relative; height: 240px; border-radius: 18px; overflow: hidden; }

.contact-grid-phones a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.contact-grid-phones a:hover {
  color: var(--primary) !important;
}

/* FULL STRIP */
.fstrip { width: 100%; height: 440px; overflow: hidden; position: relative; }
.fstrip img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.fstrip-label {
  position: absolute; bottom: 24px; left: 48px;
  background: rgba(255,255,255,.93);
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--text);
  padding: 8px 16px; border-radius: 2px; line-height: 1;
}

/* SECTION B — image left, text right */
.split-lr { display: grid; grid-template-columns: 1.3fr 1fr; gap: 68px; align-items: center; }
.split-img { position: relative; border-radius: 10px; overflow: hidden; height: 500px; }

/* STATS ROW */
.stats-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 36px; }
.stat-item .sn { font-size: 38px; font-weight: 800; color: var(--primary); letter-spacing: -2px; line-height: 1; }
.stat-item .sl { font-size: 11.5px; font-weight: 500; color: #aaa; margin-top: 4px; line-height: 1.3; }

.three-feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; height: 440px; margin-bottom: 12px; }
.three-feat .tf-item.main { grid-column: span 2; }
.tf-item { position: relative; border-radius: 10px; overflow: hidden; display: block; text-decoration: none; }

/* Unified Premium Zoom & Fill for Content Images */
.igrid-main img,
.igrid-cell img,
.split-img img,
.tf-item img,
.four-strip-cell img,
.lrow-item img,
.two-wide-cell img,
.eq-card img,
.offset-grid-item img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.igrid-main:hover img,
.igrid-cell:hover img,
.split-img:hover img,
.tf-item:hover img,
.four-strip-cell:hover img,
.lrow-item:hover img,
.two-wide-cell:hover img,
.eq-card:hover img,
.offset-grid-item:hover img {
  transform: scale(1.06);
}
.tf-dim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 60%); }
.tf-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 22px; z-index: 2; }
.tf-cat { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 5px; line-height: 1; }
.tf-caption h3 { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.25em; }
.tf-item.main .tf-caption h3 { font-size: 24px; }

/* 4-STRIP */
.four-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; height: 280px; }
.four-strip-cell {
  overflow: hidden;
  position: relative;
  border-radius: 16px;
}
.four-strip-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.four-strip-cell:hover::after {
  opacity: 1;
}
.four-strip-cell img { object-position: center top; }
/* Transitions handled by unified zoom styles */
.fs-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
.four-strip-cell:hover .fs-tag {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* SECTION D — vertical label */
.vert-wrap { display: flex; gap: 0; }
.vert-lbl {
  writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg);
  font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: #bbb; padding: 0 18px; display: flex; align-items: center;
  border-left: 2px solid var(--border); margin-right: 44px; flex-shrink: 0;
}
.vert-body { flex: 1; }
.prop-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 36px; }
.prop-card { background: var(--light); border-radius: 8px; padding: 22px 20px; display: block; text-decoration: none; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease; }
.prop-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); background: #f0fbff; }
.prop-card .pc-cat { font-size: 10px; font-weight: 700; color: var(--primary); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; line-height: 1; }
.prop-card p { font-size: 12.5px; color: #888; line-height: 1.72em; font-weight: 400; }

/* SERVICES MOSAIC */
.svc-section { background: var(--light); }
.svc-inner { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.svc-sticky { position: sticky; top: 100px; }
.svc-hd { font-size: 42px; font-weight: 700; line-height: 1em; letter-spacing: -2px; color: var(--text); }
.svc-hd em { font-style: normal; color: var(--primary); }
.svc-sd { font-size: 13px; font-weight: 400; line-height: 1.8em; color: #999; margin-top: 12px; }
.svc-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
.svc-cell { background: #fff; padding: 26px 22px; transition: background .25s; cursor: default; }
.svc-cell:hover { background: #f0fbff; }
.svc-no { font-size: 9px; font-weight: 700; letter-spacing: 2px; color: var(--primary); margin-bottom: 9px; line-height: 1; text-transform: uppercase; }
.svc-cell h4 { font-size: 13.5px; font-weight: 700; color: var(--text); line-height: 1.3em; margin-bottom: 9px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.svc-tag { background: rgba(0,192,241,.07); color: var(--primary); font-size: 10px; font-weight: 500; padding: 3px 9px; border-radius: 20px; line-height: 1.4; }

/* LABELED 3-ROW */
.lrow { display: grid; grid-template-columns: repeat(3,1fr); height: 500px; }
.lrow-item { position: relative; overflow: hidden; }
/* Transitions handled by unified zoom styles */
.lrow-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, transparent 100%);
  padding: 32px 22px 22px;
}
.lrow-cat { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 4px; line-height: 1; }
.lrow-name { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.2em; }
.lrow-side {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 30px; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl; font-size: 7.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.5);
  z-index: 2;
}

/* WALLS */
.walls-sec { text-align: center; }
.walls-h { font-size: clamp(28px,4vw,52px); font-weight: 700; line-height: 1em; letter-spacing: -2px; color: var(--text); }
.walls-h em { font-style: normal; color: var(--primary); }
.walls-sub { font-size: 14px; color: #999; margin-top: 10px; line-height: 1.6; }
.two-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 400px; margin-top: 40px; }
.two-wide-cell { position: relative; overflow: hidden; border-radius: 6px; }

/* EQUIPPED */
.eq-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.eq-card { position: relative; border-radius: 8px; overflow: hidden; height: 270px; display: block; text-decoration: none; }
.eq-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(0,192,241,.92); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 10px; border-radius: 2px; line-height: 1;
}

/* MOSAIC 8 */
.m8 { display: grid; grid-template-columns: repeat(4,1fr); grid-template-rows: 200px 200px; gap: 6px; }
.m8-wide { grid-column: span 2; }
.m8 .m8-cell { overflow: hidden; border-radius: 6px; height: 100%; }

/* BACKDROP */
.bd-section { background: var(--light); }
.sec-center-title { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; text-align: center; color: var(--text); margin-bottom: 36px; }
.swatches { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.sw-item { text-align: center; }
.swatch { width: 88px; height: 88px; border-radius: 8px; margin: 0 auto 10px; border: 1px solid rgba(0,0,0,.08); }
.sw-name { font-size: 11px; font-weight: 500; color: var(--text); line-height: 1.3; }

/* EQUIPMENT LIST */
.eqlist-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 44px; }
.eqlist-group h5 {
  font-size: 11px; font-weight: 700; color: var(--text); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary); line-height: 1;
}
.eqlist-group ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.eqlist-group ul li { font-size: 13px; font-weight: 400; color: #666; line-height: 1.4; padding-left: 16px; position: relative; }
.eqlist-group ul li::before { content: '→'; position: absolute; left: 0; color: var(--primary); font-size: 11px; }

/* WHY STRIP */
.why-strip { background: var(--dark); display: grid; grid-template-columns: repeat(5,1fr); }
.ws-cell { padding: 40px 26px; border-right: 1px solid rgba(255,255,255,.06); transition: background .25s; }
.ws-cell:hover { background: rgba(0,192,241,.08); }
.ws-cell:last-child { border-right: none; }
.ws-n { font-size: 34px; font-weight: 800; color: var(--primary); letter-spacing: -2px; line-height: 1; margin-bottom: 8px; }
.ws-cell h4 { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 5px; }
.ws-cell p { font-size: 11.5px; font-weight: 400; color: rgba(255,255,255,.42); line-height: 1.6; }

/* TERMS */
.terms-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.t-block h6 { font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: .4px; margin-bottom: 10px; line-height: 1; }
.t-block p { font-size: 12px; font-weight: 400; color: #888; line-height: 1.78em; }

/* CTA */
.cta-sec {
  background: linear-gradient(135deg, var(--primary) 0%, #0099c8 100%);
  text-align: center; padding: 96px 40px; position: relative; overflow: hidden;
}
.cta-sec::before { content:''; position:absolute; top:-120px; left:-100px; width:500px; height:500px; border-radius:50%; background:rgba(255,255,255,.06); pointer-events:none; }
.cta-sec::after  { content:''; position:absolute; bottom:-100px; right:-80px; width:400px; height:400px; border-radius:50%; background:rgba(255,255,255,.05); pointer-events:none; }
.cta-sec h2 { font-size: clamp(32px,5vw,62px); font-weight:700; line-height:1em; letter-spacing:-2px; color:#fff; margin-bottom:16px; position:relative; z-index:1; }
.cta-sec p { font-size:15px; font-weight:300; color:rgba(255,255,255,.85); line-height:1.7em; margin-bottom:36px; max-width:460px; margin-left:auto; margin-right:auto; position:relative; z-index:1; }
.btn-white { background:#fff; color:var(--primary); padding:14px 36px; border-radius:3px; font-size:13px; font-weight:700; letter-spacing:.3px; text-decoration:none; line-height:1; display:inline-block; position:relative; z-index:1; transition:transform .2s, box-shadow .2s; }
.btn-white:hover { transform:translateY(-2px); box-shadow:0 10px 30px rgba(0,0,0,.2); }

/* FOOTER */
.footer { background: #111; padding: 64px 48px 28px; }
.footer-grid { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:50px; margin-bottom:48px; }
.f-logo { font-size:20px; font-weight:800; color:#fff; letter-spacing:-.5px; margin-bottom:12px; line-height:1; }
.f-logo span { color:var(--primary); }
.f-desc { font-size:12.5px; font-weight:400; line-height:1.75em; color:#fff; margin-bottom:22px; }
.f-socs { display:flex; gap:12px; margin-top: 22px; }
.f-soc { width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,0.05); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.6); font-size:15px; text-decoration:none; transition:all .3s ease; }
.f-soc:hover { background:var(--primary); color:#fff; transform:translateY(-3px); box-shadow: 0 4px 12px rgba(0,192,241,0.3); }
.f-col h5 { font-size:10px; font-weight:700; color:#fff; text-transform:uppercase; letter-spacing:2px; margin-bottom:16px; line-height:1; }
.f-links { list-style:none; display:flex; flex-direction:column; gap:9px;margin: 0px; }
.f-links a { font-size:12.5px; font-weight:400; color: #fff; text-decoration:none; line-height:1.4; transition:color .2s; }
.f-links a:hover { color:var(--primary); }
.footer-btm { max-width:1200px; margin:0 auto; border-top:1px solid rgba(255,255,255,.06); padding-top:20px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.footer-copy { font-size:11.5px; color: #fff; line-height:1.4; }
.footer-copy a { color:var(--primary); text-decoration:none; }

/* RESPONSIVE */
@media (max-width:1024px) {
  .hero h1 { font-size:64px; letter-spacing:-2px; }
  .intro-split { grid-template-columns:1fr; gap:40px; }
  .split-lr { grid-template-columns:1fr; gap:40px; }
  .three-feat { grid-template-columns:1fr 1fr; height:auto; }
  .three-feat .tf-item { height:300px; }
  .three-feat .tf-item.main { grid-column:span 2; }
  .lrow { grid-template-columns:1fr 1fr; height:auto; }
  .lrow-item { height:280px; }
  .why-strip { grid-template-columns:repeat(3,1fr); }
  .svc-grid { grid-template-columns:1fr 1fr; }
  .svc-inner { grid-template-columns:1fr; }
  .svc-sticky { position:static; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:36px; }
  .eq-grid { grid-template-columns:1fr 1fr; }
  .four-strip { grid-template-columns:1fr 1fr; height:auto; }
  .four-strip-cell { height:200px; }
  .eqlist-cols { grid-template-columns:1fr; }
  .terms-grid { grid-template-columns:1fr 1fr; }
  .m8 { grid-template-columns:1fr 1fr; }
  .igrid-main { height: 280px; }
  .igrid-cell { height: 220px; }
}
@media (max-width:768px) {
  .nav { padding:14px 20px; }
  .nav-links { display:none; }
  .hero h1 { font-size:44px; letter-spacing:-2px; }
  .hero-body { padding:0 24px 50px; }
  .wrap { padding:0 20px; }
  .s-pad { padding:56px 0; }
  .three-feat { grid-template-columns:1fr; }
  .three-feat .tf-item.main { grid-column:span 1; }
  .lrow { grid-template-columns:1fr; }
  .four-strip { grid-template-columns:1fr 1fr; }
  .two-wide { grid-template-columns:1fr; height:auto; }
  .two-wide-cell { height:260px; }
  .eq-grid { grid-template-columns:1fr 1fr; }
  .why-strip { grid-template-columns:1fr 1fr; }
  .svc-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .cstrip { gap:20px; padding: 14px 20px; }
  .cstrip-sep { display:none; }
  .m8 { grid-template-columns:1fr 1fr; }
  .terms-grid { grid-template-columns:1fr; }
  .vert-lbl { display:none; }
  .vert-wrap { gap:0; }
  .igrid-main { height: 220px; border-radius: 12px; }
  .igrid-cell { height: 160px; border-radius: 12px; }
  .four-strip-cell { border-radius: 12px; }
}
.nav-logo img {
    width: 200px;
    height: auto !important;
    object-fit: contain;
}
a.btn-p:hover {
    color: #f7f7f7 !important;
}

/* FLOATING WIDGETS */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0,192,241,0.3);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: #00a8d4;
  transform: translateY(-3px);
  color: #fff !important;
}

.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 50px;
  height: 50px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 4px 15px rgba(0,0,0,0.15);
  z-index: 9999;
  transition: transform 0.3s, background-color 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: #20ba5a;
}

/* ASYMMETRIC GRID (Ref Image) */
.offset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 100%;
  margin: 40px auto 80px;
  padding: 0;
}
.offset-grid-item {
  border-radius: 28px;
  overflow: hidden;
  height: 580px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.offset-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.offset-grid-item.middle {
  transform: translateY(40px);
}

@media (max-width: 1024px) {
  .offset-grid {
    gap: 16px;
    padding: 0;
  }
  .offset-grid-item {
    height: 440px;
  }
}
@media (max-width: 768px) {
  .offset-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0;
  }
  .offset-grid-item {
    height: 280px;
    border-radius: 16px;
  }
  .offset-grid-item:first-child {
    grid-column: span 2;
    height: 420px;
  }
  .offset-grid-item.middle {
    transform: none;
  }
}

/* 10-IMAGE GRID FOR SUBPAGES (Alternating Offset Wave Grid) */

/* PRICING / BOOKING CARDS */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 80px;
  align-items: stretch;
}
.pricing-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  border: 1px solid #eaeaea;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.pricing-card-inner {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
}
.featured-card {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.featured-card:hover {
  transform: scale(1.05) translateY(-8px);
}
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
}
.soon-card {
  background: #fafafa;
  border: 1px dashed #ddd;
}
.soon-card:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 40px; max-width: 400px; }
  .featured-card { transform: none; }
  .featured-card:hover { transform: translateY(-8px); }
}
.ten-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 28px;
  margin-bottom: 24px;
}
.ten-grid-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 380px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.ten-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ten-grid-item:hover img {
  transform: scale(1.06);
}

/* Alternating Offset Layout on Desktop (Columns 2 and 4) */
.ten-grid-item:nth-child(5n+2),
.ten-grid-item:nth-child(5n+4) {
  transform: translateY(40px);
}
/* Adjust hover state for offset items */
.ten-grid-item:nth-child(5n+2):hover,
.ten-grid-item:nth-child(5n+4):hover {
  transform: translateY(40px) translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.ten-grid-item:not(:nth-child(5n+2)):not(:nth-child(5n+4)):hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
  .ten-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 60px;
  }
  .ten-grid-item {
    height: 300px;
    border-radius: 16px;
  }
  /* Reset desktop offset */
  .ten-grid-item:nth-child(5n+2),
  .ten-grid-item:nth-child(5n+4) {
    transform: none;
  }
  /* Tablet Offset: middle column (Column 2) */
  .ten-grid-item:nth-child(3n+2) {
    transform: translateY(30px);
  }
  .ten-grid-item:nth-child(3n+2):hover {
    transform: translateY(30px) translateY(-4px);
  }
  .ten-grid-item:not(:nth-child(3n+2)):hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 768px) {
  .ten-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
  }
  .ten-grid-item {
    height: 240px;
    border-radius: 12px;
  }
  /* Reset tablet offset */
  .ten-grid-item:nth-child(3n+2) {
    transform: none;
  }
  /* Mobile Offset: right column (Column 2) */
  .ten-grid-item:nth-child(2n) {
    transform: translateY(20px);
  }
  .ten-grid-item:nth-child(2n):hover {
    transform: translateY(20px) translateY(-3px);
  }
  .ten-grid-item:not(:nth-child(2n)):hover {
    transform: translateY(-3px);
  }
}
.btn-fancy {
  padding: 16px 40px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 25px rgba(0, 168, 212, 0.4);
}
.btn-fancy:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 35px rgba(0, 168, 212, 0.6);
}

/* Scoped gallery styles (affects only `.sap-gallery-section`) */
.sap-gallery-section {
  padding: 36px 0 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,252,1));
}
.sap-gallery-wrap {
  max-width: 1104px;
  margin: 0 auto;
  padding: 0 20px;
}
.sap-gallery-section .lbl {
  display: block;
  text-align: center;
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.sap-gallery-section .lbl:after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--primary);
  margin: 8px auto 0;
  border-radius: 4px;
  opacity: 0.96;
}
.sap-gallery-section .h-big {
  font-size: 30px;
  text-align: center;
  margin-bottom: 28px;
  color: #111;
}
.sap-gallery-section .ten-grid {
  margin-top: 18px;
  margin-bottom: 12px;
}
.sap-gallery-section .ten-grid-item {
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  border-radius: 20px;
}
.sap-gallery-section .ten-grid-item img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.sap-gallery-section .ten-grid-item:hover img {
  transform: scale(1.08);
}

/* Three-feature gallery tiles (front-page) */
#gallery .three-feat { display:grid; grid-template-columns: repeat(4,1fr); gap:20px; align-items:stretch; height:520px; margin-bottom: 24px; }
#gallery .tf-item { position:relative; display:block; overflow:hidden; border-radius:18px; width:100%; height:100%; min-height:420px; box-shadow:0 10px 36px rgba(0,0,0,0.07); transition:transform .36s cubic-bezier(.2,.9,.2,1), box-shadow .36s ease; }
#gallery .tf-item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s cubic-bezier(.16,1,.3,1); }
#gallery .tf-item .tf-dim { position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.25)); transition:background .36s ease; }
#gallery .tf-item .tf-caption { position:absolute; left:28px; right:28px; bottom:16px; padding:0; color:#fff; z-index:3; text-shadow:0 6px 22px rgba(0,0,0,0.5); pointer-events:auto; }
#gallery .tf-item .tf-cat { font-size:12px; font-weight:700; letter-spacing:1px; color:rgba(255,255,255,0.92); margin-bottom:6px; pointer-events:auto; }
#gallery .tf-item h3 { margin:0 0 10px 0; font-size:22px; line-height:1.15; pointer-events:auto; word-wrap:break-word; hyphens:auto; }
#gallery .tf-item .tf-cta { display:none !important; }

/* Hover effects */
#gallery .tf-item:hover { transform:translateY(-8px); box-shadow:0 20px 50px rgba(0,0,0,0.14); }
#gallery .tf-item:hover img { transform:scale(1.06); }
#gallery .tf-item:hover .tf-dim { background:linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.36)); }
/* .tf-cta hover styles removed (markup deleted) */

/* Ensure only the pill looks interactive; caption text itself doesn't get button background */
#gallery .tf-item .tf-caption * { background: transparent; }

/* Emphasize the primary tile */
#gallery .tf-item.main { grid-column: span 2; border-radius:20px; }
/* primary tile .tf-cta styles removed (markup deleted) */
#gallery .tf-item.main .tf-caption h3 { font-size:28px; }

/* Make the gallery container wider on large screens so tiles can stretch into available space */
#gallery > .wrap,
.walls-sec > .wrap { max-width: 1400px; padding: 0 80px; }

@media (max-width: 1024px) {
  #gallery > .wrap,
  .walls-sec > .wrap {
    padding: 0 48px;
  }
}
@media (max-width: 768px) {
  #gallery > .wrap,
  .walls-sec > .wrap {
    padding: 0 20px;
  }
}

@media (max-width: 900px) {
  #gallery .three-feat { grid-template-columns:1fr; }
  #gallery .tf-item { min-height:220px; }
  #gallery .tf-item .tf-caption { left:20px; right:20px; bottom:20px; }
  .gallery-head { transform: none; }
}

/* Nudge the gallery header slightly right to align visually with tiles */
.gallery-head { transform: translateX(18px); }
.gallery-head .lbl { margin-bottom:8px; }
