/*----------------------------------------*/
/* Site extensions on top of the Tulen theme
   Colors match sass/_varriable.scss:
   primary #2916e0 | heading #252525 | body copy #636363 | font Montserrat
/*----------------------------------------*/

:root {
	--primary: #2916e0;
	--heading: #252525;
	--p-color: #636363;
	--white: #fff;
	--border: #ececec;
}

.site-logo-text span {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	letter-spacing: 1px;
}

.sm-contact {
	padding: 0 40px 20px;
	color: #ccc;
	font-size: 13px;
}
.sm-contact p { margin-bottom: 6px; color: #ccc; }
.sm-contact i { color: var(--primary); margin-right: 6px; }

/* ---------- Home intro ---------- */
.home-intro {
	padding: 70px 0 20px;
}
.home-intro h2 { margin-bottom: 15px; }
.home-intro p { max-width: 640px; }
.home-intro .profile-btn { margin-top: 10px; }

.section-title {
	margin-bottom: 35px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}
.section-title h4 {
	font-size: 28px;
	position: relative;
	padding-bottom: 12px;
}
.section-title h4::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 50px; height: 3px;
	background: var(--primary);
}
.section-title.text-center { flex-direction: column; align-items: center; text-align: center; }
.section-title.text-center h4::after { left: 50%; transform: translateX(-50%); }
.section-title p { margin-top: 8px; }
.section-title .view-all {
	color: var(--primary);
	font-weight: 600;
	font-size: 14px;
}
.section-title .view-all i { margin-left: 5px; }

/* ---------- Home featured gallery ---------- */
.home-gallery { padding: 40px 0 80px; }
.home-gallery-item {
	margin-bottom: 25px;
	position: relative;
	overflow: hidden;
	border-radius: 4px;
}
.home-gallery-item a { display: block; position: relative; }
.home-gallery-item img {
	width: 100%;
	height: 230px;
	object-fit: cover;
	transition: transform .4s ease;
}
.home-gallery-item:hover img { transform: scale(1.08); }
.hg-overlay {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 10px 14px;
	background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
	opacity: 0;
	transition: opacity .3s ease;
}
.home-gallery-item:hover .hg-overlay { opacity: 1; }
.hg-overlay span {
	color: #fff;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ---------- Pricing ---------- */
.home-pricing { padding: 40px 0 90px; background: #fafafa; }
.pricing-section { padding: 140px 0 100px; }
.price-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 35px 28px;
	text-align: center;
	margin-bottom: 30px;
	position: relative;
	transition: box-shadow .3s ease, transform .3s ease;
	height: 100%;
}
.price-card:hover { box-shadow: 0 15px 40px rgba(0,0,0,.08); transform: translateY(-4px); }
.price-card.popular { border-color: var(--primary); box-shadow: 0 15px 40px rgba(41,22,224,.12); }
.price-badge {
	position: absolute;
	top: -13px; left: 50%;
	transform: translateX(-50%);
	background: var(--primary);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 5px 14px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.price-card h5 { margin-bottom: 12px; font-size: 19px; }
.price-amount {
	font-size: 34px;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 14px;
}
.price-amount span {
	font-size: 13px;
	font-weight: 400;
	color: var(--p-color);
}
.price-card p { font-size: 14px; margin-bottom: 18px; }
.price-features {
	list-style: none;
	text-align: left;
	margin-bottom: 24px;
}
.price-features li {
	font-size: 13.5px;
	color: var(--p-color);
	padding: 6px 0;
	border-bottom: 1px dashed var(--border);
}
.price-features li i { color: var(--primary); margin-right: 8px; }
.price-btn {
	display: inline-block;
	padding: 11px 26px;
	background: var(--heading);
	color: #fff;
	border-radius: 3px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .5px;
	transition: background .3s ease;
}
.price-btn:hover { background: var(--primary); color: #fff; }
.pricing-note { margin-top: 20px; font-size: 14px; }

/* ---------- Booking / contact form ---------- */
.booking-section { padding: 90px 0; }
.booking-form { max-width: 900px; margin: 0 auto; }
.form-group { margin-bottom: 22px; text-align: left; }
.form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--heading);
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: 3px;
	padding: 12px 14px;
	font-size: 14px;
	color: var(--heading);
	font-family: 'Montserrat', sans-serif;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary);
}
.booking-feedback {
	margin-top: 16px;
	font-size: 14px;
	font-weight: 600;
}
.booking-feedback.success { color: #1b9e5a; }
.booking-feedback.error { color: #d63031; }
#booking-submit { border: none; cursor: pointer; }
#booking-submit[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Footer ---------- */
.site-footer {
	background: #151515;
	color: #b7b7b7;
	padding: 60px 40px 0;
}
.sf-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
}
.sf-col h4 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.sf-col p { color: #9c9c9c; font-size: 14px; }
.sf-social { margin-top: 18px; }
.sf-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	border: 1px solid #333;
	border-radius: 50%;
	color: #b7b7b7;
	margin-right: 8px;
	transition: all .3s ease;
}
.sf-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.sf-links, .sf-contact { list-style: none; }
.sf-links li, .sf-contact li { margin-bottom: 12px; font-size: 14px; color: #9c9c9c; }
.sf-links a { color: #9c9c9c; transition: color .3s ease; }
.sf-links a:hover { color: var(--primary); }
.sf-contact i { color: var(--primary); margin-right: 8px; width: 14px; }
.sf-bottom {
	border-top: 1px solid #262626;
	text-align: center;
	padding: 20px 0;
	font-size: 13px;
	color: #7a7a7a;
}
@media (max-width: 768px) {
	.sf-inner { grid-template-columns: 1fr; }
	.site-footer { padding: 50px 20px 0; }
}

/* ---------- 404 ---------- */
.not-found-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.not-found-page h1 { font-size: 100px; color: var(--primary); }

/* ---------- Admin panel ---------- */
body.admin-body {
	padding-left: 0;
	background: #f4f5f7;
	font-family: 'Montserrat', sans-serif;
}
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
	width: 240px;
	background: #151515;
	color: #ccc;
	flex-shrink: 0;
	padding: 25px 0;
}
.admin-sidebar .as-logo {
	padding: 0 25px 25px;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	border-bottom: 1px solid #262626;
	margin-bottom: 15px;
}
.admin-sidebar .as-logo span { color: var(--primary); }
.admin-sidebar nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 25px;
	color: #b7b7b7;
	font-size: 14px;
	transition: all .2s ease;
	border-left: 3px solid transparent;
}
.admin-sidebar nav a:hover { color: #fff; background: rgba(255,255,255,.03); }
.admin-sidebar nav a.active {
	color: #fff;
	background: rgba(41,22,224,.15);
	border-left-color: var(--primary);
}
.admin-sidebar .as-badge {
	background: #e0392e;
	color: #fff;
	font-size: 11px;
	border-radius: 10px;
	padding: 1px 7px;
	margin-left: auto;
}
.admin-main { flex: 1; min-width: 0; }
.admin-topbar {
	background: #fff;
	border-bottom: 1px solid #e6e6e6;
	padding: 18px 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.admin-topbar h1 { font-size: 20px; margin: 0; }
.admin-topbar .at-user { font-size: 13px; color: var(--p-color); }
.admin-topbar .at-user a { color: var(--primary); margin-left: 10px; }
.admin-content { padding: 30px; }

.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.admin-card {
	background: #fff;
	border-radius: 6px;
	padding: 22px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.admin-card h3 { font-size: 30px; margin-bottom: 5px; color: var(--heading); }
.admin-card p { font-size: 13px; color: var(--p-color); margin: 0; text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 992px) { .admin-cards { grid-template-columns: repeat(2, 1fr); } }

.admin-panel {
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
	padding: 25px;
	margin-bottom: 25px;
}
.admin-panel h2 { font-size: 17px; margin-bottom: 18px; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th, .admin-table td {
	text-align: left;
	padding: 12px 10px;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}
.admin-table th { color: var(--p-color); text-transform: uppercase; font-size: 11.5px; letter-spacing: .5px; }
.admin-table img.thumb { width: 55px; height: 55px; object-fit: cover; border-radius: 4px; }
.admin-table .row-unread { background: #fff7ec; }

.btn {
	display: inline-block;
	border: none;
	border-radius: 3px;
	padding: 9px 18px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: .3px;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #1e0fb8; color: #fff; }
.btn-danger { background: #fdecea; color: #d63031; }
.btn-danger:hover { background: #d63031; color: #fff; }
.btn-light { background: #f1f1f1; color: var(--heading); }
.btn-light:hover { background: #e2e2e2; }
.btn-sm { padding: 6px 12px; font-size: 12px; }

.admin-flash { padding: 12px 16px; border-radius: 4px; margin-bottom: 18px; font-size: 14px; }
.admin-flash.success { background: #e6f8ee; color: #1b9e5a; }
.admin-flash.error { background: #fdecea; color: #d63031; }

.upload-drop {
	border: 2px dashed #d3d3f0;
	border-radius: 6px;
	padding: 30px;
	text-align: center;
	background: #fafaff;
	margin-bottom: 20px;
	cursor: pointer;
	transition: border-color .2s ease;
}
.upload-drop:hover, .upload-drop.dragover { border-color: var(--primary); }
.upload-drop p { margin: 8px 0 0; color: var(--p-color); font-size: 13px; }
.upload-drop i { font-size: 28px; color: var(--primary); }
#photo-file-input { display: none; }

.upload-list { margin-top: 16px; }
.upload-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	font-size: 13px;
	border-bottom: 1px solid #f0f0f0;
}
.upload-row .up-bar {
	flex: 1;
	height: 6px;
	background: #eee;
	border-radius: 4px;
	overflow: hidden;
}
.upload-row .up-bar-fill {
	height: 100%;
	width: 0%;
	background: var(--primary);
	transition: width .2s ease;
}
.upload-row .up-status { width: 90px; text-align: right; color: var(--p-color); }

.login-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #151515;
}
.login-box {
	background: #fff;
	border-radius: 8px;
	padding: 40px 35px;
	width: 100%;
	max-width: 380px;
}
.login-box h2 { text-align: center; margin-bottom: 5px; }
.login-box .login-sub { text-align: center; color: var(--p-color); font-size: 13px; margin-bottom: 25px; }
.login-box .form-group { margin-bottom: 18px; }
.login-box button { width: 100%; padding: 12px; }

.form-row-inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 16px; }
.checkbox-inline { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.checkbox-inline input { width: auto; }

.live-dot {
	display: inline-block;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #2ecc71;
	margin-right: 6px;
	animation: pulse 1.5s infinite;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(46,204,113,.5); }
	70% { box-shadow: 0 0 0 6px rgba(46,204,113,0); }
	100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

/* =========================================================
   v2 additions — hero arrows, scroll cue, services, logo
========================================================= */

/* Buttons that sit outside the about-page profile block */
.profile-btn:not(.profile-text .profile-btn) {
	display: inline-block;
	min-width: 170px;
	padding: 12px 28px;
	background: var(--primary);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	border-radius: 50px;
	letter-spacing: .3px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.profile-btn:not(.profile-text .profile-btn):hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(41, 22, 224, .25);
}

/* Logo */
.site-logo img { max-width: 85%; height: auto; display: block; }
.sf-logo { max-height: 56px; max-width: 200px; margin-bottom: 18px; display: block; }

/* ---------- Hero ---------- */
.hero-section { position: relative; overflow: hidden; }
.hero-section.hero-empty { background: #0f0f0f; }
.hero-fallback {
	height: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: radial-gradient(circle at 30% 30%, #2a2a2a, #0f0f0f 70%);
}
.hero-fallback h2 { color: #fff; font-size: 60px; font-weight: 700; }
.hero-fallback h4 { color: rgba(255,255,255,.7); font-weight: 500; padding-top: 10px; }

.pa-btn {
	display: inline-block;
	margin-top: 22px;
	padding: 10px 26px;
	border: 2px solid rgba(255,255,255,.6);
	border-radius: 50px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	transition: all .25s ease;
}
.pa-btn:hover { background: #fff; color: #252525; border-color: #fff; }

.hero-arrow {
	position: absolute;
	top: 50%;
	z-index: 100;
	width: 56px;
	height: 56px;
	margin-top: -28px;
	border-radius: 50%;
	border: 1.5px solid rgba(255,255,255,.55);
	background: rgba(0,0,0,.28);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
	outline: none;
}
.hero-arrow:hover, .hero-arrow:focus-visible {
	background: #fff;
	color: #252525;
	border-color: #fff;
}
.hero-prev { left: 28px; }
.hero-next { right: 28px; }
.hero-prev:hover { transform: translateX(-3px); }
.hero-next:hover { transform: translateX(3px); }
.hero-arrow:active { transform: scale(.94); }

.hero-counter {
	position: absolute;
	top: 34px;
	right: 34px;
	z-index: 100;
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 1px;
	text-shadow: 0 1px 6px rgba(0,0,0,.4);
	pointer-events: none;
}
.hero-counter .hc-current { font-size: 22px; }
.hero-counter .hc-line { width: 46px; height: 1.5px; background: rgba(255,255,255,.6); }
.hero-counter .hc-total { opacity: .7; }

.scroll-down {
	position: absolute;
	right: 38px;
	bottom: 34px;
	z-index: 100;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: #fff;
	text-shadow: 0 1px 6px rgba(0,0,0,.4);
	transition: opacity .35s ease, transform .35s ease;
}
.scroll-down:hover { color: #fff; }
.scroll-down.is-hidden { opacity: 0; transform: translateY(10px); pointer-events: none; }
.scroll-down .sd-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
}
.scroll-down .sd-mouse {
	width: 24px;
	height: 38px;
	border: 2px solid rgba(255,255,255,.85);
	border-radius: 14px;
	position: relative;
	box-shadow: 0 0 8px rgba(0,0,0,.25);
}
.scroll-down .sd-wheel {
	position: absolute;
	left: 50%;
	top: 7px;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: #fff;
	animation: sdWheel 1.6s ease-in-out infinite;
}
.scroll-down i { font-size: 16px; animation: sdBounce 1.6s ease-in-out infinite; }
@keyframes sdWheel {
	0% { opacity: 1; transform: translateY(0); }
	70% { opacity: 0; transform: translateY(12px); }
	100% { opacity: 0; transform: translateY(0); }
}
@keyframes sdBounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
	.scroll-down .sd-wheel, .scroll-down i { animation: none; }
}

@media (max-width: 767px) {
	.hero-arrow { width: 44px; height: 44px; margin-top: 0; top: auto; bottom: 26px; font-size: 16px; }
	.hero-prev { left: 16px; }
	.hero-next { right: 16px; }
	.hero-counter { top: 22px; right: 20px; }
	.scroll-down { right: 50%; transform: translateX(50%); bottom: 22px; }
	.scroll-down.is-hidden { transform: translate(50%, 10px); }
	.hero-fallback h2 { font-size: 36px; }
}

/* ---------- Services ---------- */
.home-services { padding: 30px 0 70px; }
.section-title .st-sub { margin: 14px 0 0; max-width: 620px; font-size: 15px; }

.service-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 30px;
	height: calc(100% - 30px);
	display: flex;
	flex-direction: column;
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 40px rgba(0,0,0,.08);
	border-color: transparent;
}
.service-card .sc-img { position: relative; height: 190px; overflow: hidden; }
.service-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .sc-img img { transform: scale(1.07); }
.service-card .sc-icon {
	position: absolute;
	left: 22px;
	bottom: -22px;
	width: 46px; height: 46px;
	border-radius: 50%;
	background: var(--primary);
	color: #fff;
	font-size: 19px;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.service-card .sc-icon-big {
	position: relative;
	padding: 34px 26px 6px;
	color: var(--primary);
	font-size: 38px;
	line-height: 1;
}
.service-card .sc-icon-big .sc-num {
	position: absolute;
	right: 22px;
	top: 22px;
	font-size: 44px;
	font-weight: 700;
	color: #f1f1f1;
	transition: color .3s ease;
}
.service-card:hover .sc-num { color: rgba(41,22,224,.12); }
.service-card .sc-body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card.has-img .sc-body { padding-top: 34px; }
.service-card h5 { font-size: 17px; margin-bottom: 10px; }
.service-card p { font-size: 14px; margin-bottom: 16px; flex: 1; }
.sc-price { font-size: 13px; color: var(--p-color); margin-bottom: 14px; }
.sc-price strong { color: var(--primary); font-size: 16px; }
.sc-link { font-size: 13px; font-weight: 600; color: var(--heading); text-transform: uppercase; letter-spacing: .5px; }
.sc-link i { margin-left: 4px; transition: margin .25s ease; }
.service-card:hover .sc-link { color: var(--primary); }
.service-card:hover .sc-link i { margin-left: 9px; }

.services-page { padding: 120px 0 80px; }
.service-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	padding: 40px 0;
	border-bottom: 1px solid var(--border);
}
.service-row:last-of-type { border-bottom: none; }
.service-row.reverse .sr-media { order: 2; }
.sr-media img { width: 100%; height: 360px; object-fit: cover; border-radius: 6px; }
.sr-icon {
	height: 300px;
	border-radius: 6px;
	background: #f6f6fb;
	display: flex; align-items: center; justify-content: center;
	font-size: 90px;
	color: var(--primary);
}
.sr-num { font-size: 14px; font-weight: 700; color: var(--primary); letter-spacing: 2px; }
.sr-text h3 { margin: 8px 0 14px; font-size: 28px; }
.sr-text .sr-lead { font-size: 16px; color: var(--heading); }
.sr-text .price-features { margin: 18px 0; max-width: 420px; }
@media (max-width: 991px) {
	.service-row { grid-template-columns: 1fr; gap: 24px; }
	.service-row.reverse .sr-media { order: 0; }
	.sr-media img { height: 260px; }
	.sr-icon { height: 200px; }
}
.section-title:not(.text-center) { text-align: left; }
.section-title .st-sub { padding-top: 0; }

/* =========================================================
   v2.1 — Mobile app layout, full-screen banners, PWA
========================================================= */
:root {
	--hdr: 58px;
	--bnav: 62px;
	--safe-top: env(safe-area-inset-top, 0px);
	--safe-bottom: env(safe-area-inset-bottom, 0px);
}
html { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

/* Hero always fills the whole screen */
.hero-section,
.hero-section .pana-accordion,
.hero-slider-warp,
.hero-slider,
.hero-slider .owl-stage-outer,
.hero-slider .owl-stage,
.hero-slider .owl-item,
.hero-slider .hero-item {
	height: 100vh;
	height: 100dvh;
}
.hero-section { min-height: 100vh; min-height: 100dvh; }
.set-bg { background-position: center center; }

/* Full-screen viewer button */
.hero-expand {
	position: absolute;
	top: 28px;
	right: 178px;
	z-index: 100;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1.5px solid rgba(255,255,255,.55);
	background: rgba(0,0,0,.28);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .25s ease, color .25s ease;
}
.hero-expand:hover { background: #fff; color: #252525; }
.hero-empty .hero-expand, .hero-section:not(:has(.hero-counter)) .hero-expand { right: 34px; }

/* Desktop-only bits hidden by default */
.mobile-brand, .bottom-nav { display: none; }

/* Install chip in the side menu */
.install-chip {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
	padding: 10px 18px;
	border: 1.5px solid var(--primary);
	border-radius: 50px;
	background: #fff;
	color: var(--primary);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}
.install-chip[hidden] { display: none; }
.install-chip:hover { background: var(--primary); color: #fff; }

/* Install banner */
.install-banner {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(12px + var(--safe-bottom));
	z-index: 1500;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 12px 12px 14px;
	border-radius: 16px;
	background: #111;
	color: #fff;
	box-shadow: 0 16px 40px rgba(0,0,0,.35);
	transform: translateY(150%);
	transition: transform .35s cubic-bezier(.2,.9,.3,1.1);
	max-width: 520px;
	margin: 0 auto;
}
.install-banner[hidden] { display: none; }
.install-banner.show { transform: none; }
.install-banner img { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; }
.install-banner .ib-text { flex: 1; min-width: 0; line-height: 1.3; }
.install-banner .ib-text strong { display: block; font-size: 14px; }
.install-banner .ib-text span { font-size: 12px; color: rgba(255,255,255,.75); }
.install-banner .ib-btn { border: 0; background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 50px; cursor: pointer; }
.install-banner .ib-close { border: 0; background: transparent; color: rgba(255,255,255,.6); font-size: 13px; padding: 6px; cursor: pointer; }

/* Online/offline toast */
.net-toast {
	position: fixed;
	left: 50%;
	top: calc(14px + var(--safe-top));
	z-index: 2000;
	transform: translate(-50%, -160%);
	background: #16a26b;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 9px 16px;
	border-radius: 50px;
	box-shadow: 0 8px 24px rgba(0,0,0,.2);
	transition: transform .3s ease;
	white-space: nowrap;
	max-width: calc(100vw - 24px);
	overflow: hidden;
	text-overflow: ellipsis;
}
.net-toast.offline { background: #252525; }
.net-toast.show { transform: translate(-50%, 0); }

/* Offline page */
.offline-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 20px; text-align: center; background: #fafafa; }
.offline-screen .os-inner { max-width: 420px; }
.offline-screen .os-logo { max-height: 70px; margin-bottom: 26px; }
.offline-screen .os-icon { border-radius: 20px; }
.offline-screen h2 { font-size: 28px; margin-bottom: 12px; }
.offline-screen p { font-size: 15px; }
.offline-screen .os-actions { display: flex; gap: 16px; justify-content: center; align-items: center; margin: 24px 0; flex-wrap: wrap; }
.offline-screen .profile-btn { border: 0; cursor: pointer; }
.offline-screen .os-link { font-weight: 600; color: #252525; }
.offline-screen .os-contact { font-size: 13px; color: #888; }
body.page-offline { padding-left: 0; }

/* ---------- Tablets ---------- */
@media (max-width: 991px) {
	.about-section, .about-section .about-warp { height: auto; }
	.about-section .about-left, .about-section .about-right { flex: 0 0 100%; max-width: 100%; }
	.about-section .about-img img { max-height: 70vh; object-fit: cover; }
	.services-page { padding-top: 80px; }
}

/* ---------- Phones: app layout ---------- */
@media (max-width: 767px) {
	body { padding-left: 0 !important; padding-bottom: calc(var(--bnav) + var(--safe-bottom)); }
	body:not(.page-home):not(.page-offline) { padding-top: calc(var(--hdr) + var(--safe-top)); }

	/* Top bar */
	.menu-wrapper {
		width: 100%;
		height: calc(var(--hdr) + var(--safe-top));
		padding-top: var(--safe-top);
		display: flex;
		align-items: center;
		background: rgba(255,255,255,.96);
		-webkit-backdrop-filter: saturate(160%) blur(12px);
		backdrop-filter: saturate(160%) blur(12px);
		box-shadow: 0 1px 0 rgba(0,0,0,.06);
		transition: background .3s ease, box-shadow .3s ease, opacity .3s ease;
	}
	.menu-wrapper.hide-left { left: 0; opacity: 0; pointer-events: none; }
	.menu-switch {
		width: var(--hdr);
		height: var(--hdr);
		padding: 0;
		flex-shrink: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 22px;
		background: transparent;
		color: #111;
	}
	.menu-social-warp { display: none; }
	.mobile-brand {
		display: flex;
		align-items: center;
		flex: 1;
		min-width: 0;
		height: 100%;
		padding-right: var(--hdr);
		justify-content: center;
		color: #111;
		font-weight: 700;
		font-size: 17px;
		letter-spacing: .2px;
	}
	.mobile-brand img { max-height: 34px; max-width: 160px; object-fit: contain; }
	.mobile-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

	/* On the homepage the bar floats transparently over the banner */
	body.page-home:not(.header-solid) .menu-wrapper { background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0)); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	body.page-home:not(.header-solid) .menu-switch,
	body.page-home:not(.header-solid) .mobile-brand { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
	body.page-home:not(.header-solid) .mobile-brand img { filter: drop-shadow(0 1px 4px rgba(0,0,0,.35)); }

	/* Bottom navigation */
	.bottom-nav {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 998;
		height: calc(var(--bnav) + var(--safe-bottom));
		padding-bottom: var(--safe-bottom);
		background: rgba(255,255,255,.97);
		-webkit-backdrop-filter: saturate(160%) blur(12px);
		backdrop-filter: saturate(160%) blur(12px);
		box-shadow: 0 -1px 0 rgba(0,0,0,.07), 0 -8px 24px rgba(0,0,0,.05);
	}
	.bottom-nav a {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		color: #8a8a8a;
		font-size: 10.5px;
		font-weight: 600;
		letter-spacing: .2px;
		transition: color .2s ease;
	}
	.bottom-nav a i { font-size: 19px; }
	.bottom-nav a.active { color: var(--primary); }
	.bottom-nav a:active { transform: scale(.94); }
	.bottom-nav .bn-book i {
		width: 46px;
		height: 46px;
		margin-top: -22px;
		border-radius: 50%;
		background: var(--primary);
		color: #fff;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 18px;
		box-shadow: 0 8px 20px rgba(41,22,224,.35);
		border: 3px solid #fff;
	}
	.bottom-nav .bn-book { color: #252525; }
	.install-banner { bottom: calc(var(--bnav) + var(--safe-bottom) + 10px); }

	/* Full-screen hero banner */
	.hero-section { margin-top: 0; }
	.hero-slider .hero-item {
		align-items: flex-end;
		justify-content: flex-start;
		background-size: cover;
		background-position: center;
	}
	.hero-slider .hero-item::before {
		content: '';
		position: absolute;
		inset: 0;
		background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 38%, rgba(0,0,0,0) 60%, rgba(0,0,0,.25) 100%);
		pointer-events: none;
	}
	.hero-item .pa-text {
		text-align: left;
		width: 100%;
		padding: 0 22px calc(var(--bnav) + var(--safe-bottom) + 92px);
	}
	.hero-item .pa-text h2 { font-size: 34px; line-height: 1.12; margin-bottom: 10px; }
	.hero-item .pa-text h4 { font-size: 15px; padding-top: 0; }
	.hero-item .pa-text .pa-author { display: flex; align-items: center; gap: 10px; }
	.hero-item .pa-text .pa-author img { width: 40px; height: 40px; margin: 0; }
	.hero-item .pa-btn { margin-top: 16px; padding: 9px 22px; }
	.hero-arrow, .scroll-down { bottom: calc(var(--bnav) + var(--safe-bottom) + 22px); }
	.hero-arrow { width: 44px; height: 44px; margin-top: 0; top: auto; }
	.hero-counter { top: calc(var(--hdr) + var(--safe-top) + 12px); right: 18px; }
	.hero-counter .hc-current { font-size: 18px; }
	.hero-counter .hc-line { width: 28px; }
	.hero-expand { top: calc(var(--hdr) + var(--safe-top) + 6px); right: auto; left: 18px; width: 38px; height: 38px; font-size: 14px; }
	.scroll-down .sd-label { display: none; }
	.hero-fallback { min-height: 100dvh; }

	/* Sections breathe less on small screens */
	.home-intro { padding: 44px 0; }
	.home-intro h2 { font-size: 26px; }
	.home-gallery { padding: 30px 0 40px; }
	.home-services { padding: 10px 0 30px; }
	.home-pricing { padding: 40px 0; }
	.section-title { margin-bottom: 26px; }
	.section-title h4 { font-size: 22px; }
	.section-title { flex-wrap: wrap; gap: 8px; }
	.home-gallery .container, .home-services .container { padding-left: 16px; padding-right: 16px; }

	/* Featured photos: 2-up grid like a photo app */
	#featured-gallery { margin-left: -4px; margin-right: -4px; }
	#featured-gallery .home-gallery-item { flex: 0 0 50%; max-width: 50%; padding: 4px; margin-bottom: 0; }
	#featured-gallery .home-gallery-item img { height: 46vw; border-radius: 8px; }

	/* Services cards: horizontal swipe row on the homepage */
	.home-services .row {
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		margin-left: -16px;
		margin-right: -16px;
		padding: 4px 16px 10px;
		scrollbar-width: none;
	}
	.home-services .row::-webkit-scrollbar { display: none; }
	.home-services .row > [class*="col-"] { flex: 0 0 78%; max-width: 78%; padding: 0 6px; scroll-snap-align: start; }
	.service-card { height: calc(100% - 10px); margin-bottom: 10px; }

	/* Services page */
	.services-page { padding: 30px 0 30px; }
	.service-row { padding: 26px 0; gap: 16px; }
	.sr-media { margin: 0 -15px; }
	.sr-media img { height: 62vw; border-radius: 0; }
	.sr-icon { height: 150px; font-size: 60px; border-radius: 0; }
	.sr-text h3 { font-size: 23px; }

	/* Gallery: 2 columns, edge to edge */
	.gallery-section { padding-top: 0; }
	.gallery-header { padding: 18px 14px 12px; }
	.gallery-header h4 { margin-bottom: 12px; }
	.gallery-filter { display: flex; gap: 8px; overflow-x: auto; white-space: nowrap; padding-bottom: 4px; scrollbar-width: none; margin: 0; }
	.gallery-filter::-webkit-scrollbar { display: none; }
	.gallery-filter li { margin: 0 !important; padding: 7px 16px; border-radius: 50px; background: #f1f1f4; font-size: 14px; flex-shrink: 0; }
	.gallery-filter li.active { background: var(--primary); color: #fff; }
	.gallery-section .gallery-warp { margin: 0 3px; }
	.grid-sizer, .gallery-item { width: 50% !important; }
	.gallery-item { padding: 0 3px; margin-bottom: 6px; }
	.gallery-item.gi-big, .gallery-item.gi-long { width: 100% !important; }
	.gallery-item a img { border-radius: 6px; display: block; width: 100%; }
	.gallery-item .gi-hover { display: none; }

	/* About page */
	.about-section .about-left { padding-bottom: 30px; }
	.about-section .about-right { padding: 30px 20px; }
	.about-text h2 { font-size: 26px; }

	/* Pricing & contact */
	.pricing-section { padding-top: 30px !important; }
	.price-card { padding: 28px 22px; }
	.contact-section, .booking-section { padding-top: 30px !important; }
	.booking-form input, .booking-form select, .booking-form textarea { font-size: 16px; } /* stops iPhone zooming in */

	/* Footer */
	.site-footer .sf-inner { grid-template-columns: 1fr; gap: 26px; padding: 40px 20px 24px; }
	.site-footer .sf-bottom { padding: 16px 20px; }

	/* Side menu above the bottom bar, full width */
	.side-menu-wrapper { z-index: 10000; padding-bottom: calc(20px + var(--safe-bottom)); }
	.side-menu-wrapper .sm-header { padding-top: var(--safe-top); }
}

/* Small phones */
@media (max-width: 380px) {
	.hero-item .pa-text h2 { font-size: 29px; }
	.bottom-nav a span { font-size: 9.5px; }
}

/* Landscape phones: keep the banner text visible */
@media (max-width: 920px) and (max-height: 500px) and (orientation: landscape) {
	.hero-item .pa-text { padding-bottom: 80px; }
	.hero-item .pa-text h2 { font-size: 26px; }
}

/* Installed app: feels native */
html.is-standalone body { overscroll-behavior-y: none; }
html.is-standalone .install-chip, html.is-standalone .install-banner { display: none !important; }
html.is-standalone a, html.is-standalone button { -webkit-touch-callout: none; }
