/* ==========================================================================
   Langtang Guide Nepal - Corporate Expedition Footer
   100% Dynamic from Site Options:
   - Global Presence Card: Head Office & Representatives with Profile Portraits
   - Option 5: Associated Partners, Trusted By & Payments inside the Card
   - Unified Bottom: E-Newsletter, Community Socials & Copyright Merged
   Zero Hardcoded Fake Badges, Zero Competitor Data, Crisp Typography
   ========================================================================== */

/* --------------------------------------------------------------------------
   Wrapper & Layout
   -------------------------------------------------------------------------- */
.lgn-corporate-footer {
	background-color: #f8fafc;
	color: #334155;
	font-family: inherit;
	line-height: 1.5;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	border-top: none;
}

.lgn-container {
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1rem, 3vw, 2rem);
	padding-right: clamp(1rem, 3vw, 2rem);
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   TIER 1: GLOBAL PRESENCE & ACCREDITATIONS CARD (OPTION 5)
   -------------------------------------------------------------------------- */
.lgn-presence-section {
	padding: 2rem 0 3rem 0;
}

.lgn-presence-card {
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(11, 41, 56, 0.04);
	display: grid;
	grid-template-columns: 310px 1fr;
	align-items: stretch;
	box-sizing: border-box;
	overflow: hidden;
}

/* Left Column: Head Office */
.lgn-head-office-col {
	background-color: #ffffff;
	border-right: 1px solid #f1f5f9;
	padding: 2.25rem 2rem;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.lgn-office-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.65rem;
}

.lgn-flag-emoji {
	font-size: 1.05rem;
	line-height: 1;
	display: inline-block;
}

.lgn-office-label {
	font-size: 0.8rem;
	font-weight: 800;
	color: #0b2938;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.lgn-company-name {
	font-size: 1.05rem;
	font-weight: 800;
	color: #0b2938;
	margin: 0 0 0.4rem 0;
	line-height: 1.35;
}

.lgn-office-address {
	font-size: 0.84rem;
	color: #475569;
	margin: 0 0 1.25rem 0;
	line-height: 1.5;
}

.lgn-contact-lines {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.lgn-info-line {
	font-size: 0.84rem;
	color: #334155;
	margin: 0;
	display: flex;
	gap: 0.45rem;
	align-items: center;
	line-height: 1.45;
	white-space: nowrap;
}

.lgn-line-icon {
	color: #0f5f73;
	flex-shrink: 0;
}

.lgn-line-label {
	font-weight: 700;
	color: #0f172a;
	flex-shrink: 0;
}

.lgn-link {
	color: #0f5f73;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease;
}

.lgn-link:hover {
	color: #0284c7;
	text-decoration: underline;
}

/* Right Column: International Representatives + Accreditations Bar */
.lgn-reps-col {
	padding: 2.25rem 2.25rem 2rem 2.25rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 1.35rem;
	box-sizing: border-box;
}

.lgn-reps-header {
	display: flex;
	align-items: center;
	margin-bottom: 0;
}

.lgn-reps-title {
	font-size: 0.82rem;
	font-weight: 800;
	color: #0b2938;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0;
}

.lgn-reps-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

/* Individual Representative Card */
.lgn-rep-card {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	border-right: 1px solid #edf4f6;
	padding-right: 1rem;
	box-sizing: border-box;
}

.lgn-rep-card:last-child {
	border-right: none;
	padding-right: 0;
}

/* Rectangular Portrait Frame (Crisp 68x82px) */
.lgn-rep-photo-wrap {
	width: 68px;
	height: 82px;
	flex-shrink: 0;
	border-radius: 6px;
	overflow: hidden;
	background-color: #f8fafc;
	border: 1px solid #dbe6ea;
	box-shadow: 0 2px 6px rgba(11, 41, 56, 0.06);
}

.lgn-rep-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lgn-rep-photo-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f1f5f9;
}

/* Representative Details */
.lgn-rep-details {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.lgn-rep-country {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.78rem;
	font-weight: 800;
	color: #0f5f73;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 0.25rem 0;
}

.lgn-rep-name {
	font-size: 0.88rem;
	font-weight: 700;
	color: #0b2938;
	margin: 0 0 0.2rem 0;
	line-height: 1.3;
}

.lgn-rep-location {
	font-size: 0.78rem;
	color: #64748b;
	margin: 0 0 0.35rem 0;
	line-height: 1.4;
	word-break: break-word;
}

.lgn-rep-email-line {
	margin: 0;
	line-height: 1.35;
	min-width: 0;
}

.lgn-email-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.76rem;
	color: #0f5f73;
	font-weight: 500;
	text-decoration: none;
	max-width: 100%;
	transition: color 0.15s ease;
}

.lgn-email-link:hover {
	color: #0284c7;
	text-decoration: underline;
}

.lgn-email-link svg {
	flex-shrink: 0;
}

.lgn-email-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lgn-rep-phone-line {
	margin: 0.25rem 0 0 0;
	font-size: 0.78rem;
}

/* --------------------------------------------------------------------------
   FULL-WIDTH TRUST & ACCREDITATIONS BAR (SPANS FULL CARD BASE)
   -------------------------------------------------------------------------- */
.lgn-card-bottom-bar {
	grid-column: 1 / -1;
	background-color: #f8fafc;
	border-top: 1px solid #edf2f7;
	padding: 1.15rem 2.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	box-sizing: border-box;
}

.lgn-card-subgroup {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-shrink: 0;
}

.lgn-subgroup-label {
	font-size: 0.72rem;
	font-weight: 800;
	color: #0b2938;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.lgn-subgroup-logos {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-wrap: wrap;
}

.lgn-logo-item-link,
.lgn-logo-item-span {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.lgn-inline-logo {
	height: 28px;
	width: auto;
	max-width: 80px;
	object-fit: contain;
	display: block;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.lgn-logo-item-link:hover .lgn-inline-logo {
	opacity: 0.85;
	transform: translateY(-1px);
}

.lgn-inline-payment-img {
	height: 24px;
	width: auto;
	max-width: 250px;
	object-fit: contain;
	display: block;
}

/* --------------------------------------------------------------------------
   SOLITARY SUMMIT RIDGE HORIZON (CONCEPT 1 - OPTION A)
   Hand-drawn organic mountain ridge transitioning into Deep Alpine Navy
   -------------------------------------------------------------------------- */
.lgn-footer-skyline-bridge {
	width: 100%;
	line-height: 0;
	position: relative;
	overflow: hidden;
	margin-bottom: -1px; /* seamless zero-gap join */
	background-color: #f8fafc;
}

.lgn-skyline-svg {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: bottom;
}

/* --------------------------------------------------------------------------
   TIER 2: UNIFIED FOOTER BOTTOM (NEWSLETTER, COMMUNITY & COPYRIGHT MERGED)
   Unified Deep Alpine Navy banner replacing disjointed strips
   -------------------------------------------------------------------------- */
.lgn-footer-unified-bottom {
	background-color: #0b2938; /* Primary Alpine Deep Navy */
	color: #ffffff;
	padding: 2.25rem 0 1.5rem 0;
}

.lgn-footer-unified-inner {
	display: flex;
	flex-direction: column;
}

.lgn-newsletter-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.lgn-newsletter-intro {
	max-width: 320px;
}

.lgn-newsletter-heading {
	font-size: 1.2rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.lgn-newsletter-form {
	display: flex;
	align-items: center;
	margin: 0;
}

.lgn-form-capsule {
	display: flex;
	align-items: stretch;
	background-color: #ffffff;
	border-radius: 6px;
	overflow: hidden;
	height: 42px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.lgn-input-cell {
	display: flex;
	align-items: center;
	padding: 0 0.85rem;
	gap: 0.5rem;
}

.lgn-field-input {
	border: none;
	outline: none;
	background: transparent;
	font-size: 0.825rem;
	color: #0f172a;
	min-width: 140px;
	font-family: inherit;
	padding: 0;
}

.lgn-field-input::placeholder {
	color: #94a3b8;
}

.lgn-capsule-divider {
	width: 1px;
	background-color: #e2e8f0;
	height: 22px;
	align-self: center;
}

.lgn-subscribe-btn {
	background-color: #0f5f73;
	color: #ffffff;
	border: none;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	padding: 0 1.5rem;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	height: 100%;
}

.lgn-subscribe-btn:hover {
	background-color: #008eb0;
}

/* Square Social Media Buttons (Crisp 32x32px) */
.lgn-social-icons {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.lgn-social-btn {
	width: 32px;
	height: 32px;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-decoration: none;
	transition: transform 0.15s ease, opacity 0.15s ease;
	flex-shrink: 0;
}

.lgn-social-btn:hover {
	transform: translateY(-2px);
	opacity: 0.92;
	color: #ffffff;
}

.lgn-social-btn--fb {
	background-color: #3b5998;
}

.lgn-social-btn--tw {
	background-color: #0f1419;
}

.lgn-social-btn--ig {
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.lgn-social-btn--li {
	background-color: #0a66c2;
}

.lgn-social-btn--yt {
	background-color: #ff0000;
}

/* Subtle Hairline Separator */
.lgn-unified-divider {
	width: 100%;
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
	margin: 1.5rem 0 1.25rem 0;
}

/* Row 2: Copyright & Legal Notes */
.lgn-copyright-row {
	display: flex;
	justify-content: center;
	align-items: center;
}

.lgn-copyright-text,
.lgn-copyright-text p {
	font-size: 0.78rem;
	color: #94a3b8;
	margin: 0;
	text-align: center;
	line-height: 1.5;
}

.lgn-copyright-text a {
	color: #38bdf8;
	text-decoration: none;
	transition: color 0.15s ease;
}

.lgn-copyright-text a:hover {
	text-decoration: underline;
	color: #7dd3fc;
}

/* --------------------------------------------------------------------------
   Responsive Adaptations (Tablet & Mobile Optimized)
   -------------------------------------------------------------------------- */

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
	.lgn-presence-card {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.lgn-head-office-col {
		border-right: none;
		border-bottom: 1px solid #e5eff2;
		padding: 2rem;
	}

	.lgn-reps-col {
		padding: 2rem;
	}

	.lgn-reps-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.25rem;
	}

	.lgn-card-bottom-bar {
		margin-top: 0;
		padding: 1.15rem 2rem;
		flex-wrap: wrap;
		gap: 1.25rem 2rem;
	}

	.lgn-newsletter-row {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 1.25rem;
	}

	.lgn-newsletter-intro {
		max-width: 100%;
	}

	.lgn-newsletter-form {
		width: 100%;
		max-width: 520px;
	}

	.lgn-social-icons {
		justify-content: center;
	}
}

/* Tablets Portrait (<= 768px) */
@media (max-width: 768px) {
	.lgn-presence-section {
		padding: 2rem 0;
	}

	.lgn-head-office-col {
		padding: 1.5rem;
	}

	.lgn-reps-col {
		padding: 1.5rem;
	}

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

	.lgn-rep-card {
		border-right: none;
		padding-right: 0;
		border-bottom: 1px solid #edf4f6;
		padding: 0.85rem 0;
		align-items: center;
	}

	.lgn-rep-card:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

	.lgn-card-bottom-bar {
		flex-direction: column;
		gap: 0.85rem;
		width: 100%;
	}

	.lgn-card-subgroup {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding-bottom: 0.75rem;
		border-bottom: 1px solid #f8fafc;
	}

	.lgn-card-subgroup:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

	.lgn-subgroup-logos {
		justify-content: flex-end;
	}
}

/* Mobile Devices (<= 640px) */
@media (max-width: 640px) {
	.lgn-presence-section {
		padding: 1.5rem 0 1.75rem 0;
	}

	.lgn-presence-card {
		border-radius: 8px;
	}

	.lgn-head-office-col {
		padding: 1.25rem 1rem;
	}

	.lgn-reps-col {
		padding: 1.25rem 1rem;
	}

	.lgn-company-name {
		font-size: 0.98rem;
	}

	.lgn-office-address {
		font-size: 0.825rem;
		margin-bottom: 0.85rem;
	}

	.lgn-info-line {
		font-size: 0.825rem;
		white-space: normal;
		flex-wrap: wrap;
	}

	.lgn-emergency-box {
		margin-top: 1rem;
		padding: 0.75rem 0.85rem;
	}

	.lgn-emergency-title {
		font-size: 0.74rem;
	}

	.lgn-emergency-text {
		font-size: 0.8rem;
	}

	.lgn-reps-header {
		margin-bottom: 0.85rem;
		gap: 0.75rem;
	}

	.lgn-reps-title {
		font-size: 0.76rem;
	}

	.lgn-rep-card {
		padding: 0.75rem 0;
	}

	.lgn-rep-photo-wrap {
		width: 58px;
		height: 70px;
	}

	.lgn-rep-country {
		font-size: 0.76rem;
	}

	.lgn-rep-name {
		font-size: 0.84rem;
	}

	.lgn-rep-location {
		font-size: 0.76rem;
	}

	.lgn-email-link {
		font-size: 0.76rem;
	}

	/* Card Bottom Bar on Mobile */
	.lgn-card-bottom-bar {
		margin-top: 1.25rem;
		padding-top: 1.15rem;
		gap: 0.85rem;
	}

	.lgn-card-subgroup {
		gap: 0.75rem;
	}

	.lgn-subgroup-label {
		font-size: 0.7rem;
	}

	.lgn-inline-logo {
		height: 26px;
		max-width: 70px;
	}

	.lgn-inline-payment-img {
		height: 22px;
		max-width: 180px;
	}

	/* Modern Unified Mobile Newsletter Form */
	.lgn-footer-unified-bottom {
		padding: 2rem 0 1.25rem 0;
	}

	.lgn-newsletter-row {
		flex-direction: column;
		align-items: center;
		gap: 1.25rem;
		width: 100%;
	}

	.lgn-newsletter-intro {
		width: 100%;
		text-align: center;
	}

	.lgn-newsletter-heading {
		font-size: 1.15rem;
		text-align: center;
	}

	.lgn-newsletter-form {
		width: 100%;
		max-width: 440px;
		margin: 0 auto;
		display: block;
	}

	.lgn-form-capsule {
		flex-direction: column;
		gap: 0.65rem;
		width: 100%;
		background: transparent;
		box-shadow: none;
		border-radius: 0;
		height: auto;
	}

	.lgn-input-cell {
		background-color: #ffffff;
		border-radius: 6px;
		height: 46px;
		padding: 0 1rem;
		display: flex;
		align-items: center;
		gap: 0.75rem;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
		border: 1px solid rgba(255, 255, 255, 0.2);
		box-sizing: border-box;
		width: 100%;
	}

	.lgn-field-input {
		width: 100%;
		font-size: 16px; /* Prevents auto-zoom in iOS Safari */
	}

	.lgn-capsule-divider {
		display: none;
	}

	.lgn-subscribe-btn {
		width: 100%;
		height: 46px;
		border-radius: 6px;
		background-color: #0f5f73;
		color: #ffffff;
		font-size: 0.85rem;
		box-shadow: 0 3px 10px rgba(15, 95, 115, 0.3);
	}

	.lgn-social-icons {
		gap: 0.65rem;
		width: 100%;
		justify-content: center;
	}

	.lgn-social-btn {
		width: 36px;
		height: 36px;
		border-radius: 6px;
	}

	.lgn-unified-divider {
		margin: 1.25rem 0 1rem 0;
	}

	.lgn-copyright-text {
		font-size: 0.725rem;
	}
}

/* Small Mobile Screens (<= 380px) */
@media (max-width: 380px) {
	.lgn-card-subgroup {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.45rem;
	}

	.lgn-subgroup-logos {
		justify-content: flex-start;
	}
}
