*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --brand-navy: #002e5b;
  --brand-blue: #005ca8;
  --brand-sky: #12a8e0;
  --brand-gold: #f4b223;
  --brand-ink: #142235;
  --brand-muted: #5d6b7c;
  --brand-paper: #f4f8fc;
  --brand-white: #ffffff;
}

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

body {
  background: var(--brand-white);
  color: var(--brand-ink);
  overflow-x: hidden;
}

a {
  color: var(--brand-blue);
}

a:hover,
a:focus {
  color: var(--brand-navy);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--brand-navy);
}

h3::before {
  background: var(--brand-gold);
}

h3::after {
  border-top-color: var(--brand-gold);
}

img,
video,
iframe {
  max-width: 100%;
}

.container {
  max-width: 1180px;
  width: min(100% - 32px, 1180px);
}

.y-header_outer {
  background: var(--brand-white);
  box-shadow: 0 2px 18px rgba(0, 46, 91, 0.08);
  position: relative;
  z-index: 20;
}

.y-header_top_info {
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue));
  padding: 9px 0;
}

.y-header_top_info .row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.y-lang_icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.y-lang_icons li {
  list-style: none;
}

.y-lang_icons img {
  background: var(--brand-white);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 18, 38, 0.2);
  height: 58px;
  object-fit: contain;
  width: auto;
}

.y-lang_icons .taxi-header-icon {
  aspect-ratio: 1.6 / 1;
  padding: 4px 8px;
}

.y-login_but,
.y-login_but .col-sm-6 {
  float: none;
  width: auto;
  text-align: right;
}

.contact-number {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 14px;
  color: var(--brand-white);
  font-weight: 700;
}

.contact-number a,
.y-header_top_info a {
  color: var(--brand-white);
}

.contact-number a:hover,
.contact-number a:focus,
.y-header_top_info a:hover,
.y-header_top_info a:focus {
  color: var(--brand-gold);
}

.y-logo {
  display: inline-flex;
  justify-content: center;
  padding: 10px 0;
}

.y-logo img {
  display: block;
  height: auto;
  max-height: 74px;
  max-width: min(180px, 42vw);
  object-fit: contain;
}

.y-header_outer .header > .container {
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue));
  max-width: none;
  width: 100%;
}

.y-header_outer .header > .container > .row {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.y-menu_outer {
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue));
  border-radius: 0;
  box-shadow: none;
  left: 50%;
  margin: 0;
  padding: 0;
  position: relative;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 30;
}

.site-menu-toggle {
  align-items: center;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue));
  border: 0;
  border-radius: 8px;
  color: var(--brand-white);
  display: none;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0;
  padding: 14px 16px;
  width: 100%;
}

.site-menu-toggle:focus {
  outline: 3px solid rgba(58, 166, 245, 0.55);
  outline-offset: 2px;
}

.site-menu-icon,
.site-menu-icon::before,
.site-menu-icon::after {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 24px;
}

.site-menu-icon {
  position: relative;
}

.site-menu-icon::before,
.site-menu-icon::after {
  content: "";
  left: 0;
  position: absolute;
}

.site-menu-icon::before {
  top: -7px;
}

.site-menu-icon::after {
  top: 7px;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-icon {
  background: transparent;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] .site-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.rmm.style > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.rmm.style ul li {
  position: relative;
}

.rmm.style ul li a {
  align-items: center;
  display: flex;
  min-height: 46px;
  padding: 13px 16px;
  margin: 0;
  white-space: normal;
}

.rmm.style > ul > li > a {
  border-bottom: 3px solid transparent;
}

.rmm.style > ul > li > a:hover,
.rmm.style > ul > li > a:focus {
  background: rgba(255, 255, 255, 0.1);
  border-bottom-color: var(--brand-gold);
  color: var(--brand-white);
}

.rmm.style ul ul {
  box-shadow: 0 12px 28px rgba(0, 46, 91, 0.18);
  min-width: 240px;
}

.rmm.style ul ul li a {
  line-height: 1.35;
  padding: 11px 36px 11px 15px;
}

.rmm.style ul ul li a:hover,
.rmm.style ul ul li a:focus {
  background: var(--brand-paper);
  color: var(--brand-blue) !important;
}

.rmm.style ul li > a:not(:only-child)::before {
  right: 6px;
}

.hero-section {
  background:
    radial-gradient(circle at 20% 10%, rgba(244, 178, 35, 0.26), transparent 28%),
    linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  padding: clamp(18px, 3vw, 34px);
  position: relative;
}

.hero-slider {
  border: 8px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(0, 18, 38, 0.42);
  min-height: clamp(420px, 62vw, 680px);
  overflow: hidden;
  position: relative;
}

.hero-slider::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 34%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hero-slide {
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img,
.hero-slider > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-overlay {
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 28, 56, 0.86), rgba(0, 92, 168, 0.52));
  color: var(--brand-white);
  display: flex;
  inset: 0;
  padding: 72px 0;
  position: absolute;
  z-index: 3;
}

.hero-overlay h1,
.hero-overlay h3,
.hero-overlay p {
  color: var(--brand-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-overlay h1,
.hero-overlay h3 {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.hero-overlay p {
  font-size: clamp(17px, 2.4vw, 24px);
  line-height: 1.45;
  margin: 0 auto 26px;
  max-width: 780px;
}

.hero-overlay h3::before,
.hero-overlay h3::after {
  display: none;
}

.intro-section,
.featured-services,
.contact-cta,
.y-faq,
.testimonials-section {
  padding: clamp(42px, 7vw, 76px) 0;
}

.intro-section {
  background: var(--brand-white);
}

.featured-services,
.y-faq,
#y-single_info {
  background: linear-gradient(180deg, var(--brand-paper), #ffffff);
}

.testimonials-section {
  background: var(--brand-white);
}

.section-heading p {
  color: var(--brand-muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 720px;
}

.testimonial-scroll {
  display: grid;
  gap: 18px;
  grid-auto-columns: minmax(280px, 360px);
  grid-auto-flow: column;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--brand-blue) var(--brand-paper);
}

.testimonial-card {
  background: linear-gradient(180deg, #ffffff, var(--brand-paper));
  border: 1px solid rgba(0, 46, 91, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 46, 91, 0.1);
  min-height: 260px;
  padding: 26px;
  scroll-snap-align: start;
}

.testimonial-card::before {
  color: var(--brand-gold);
  content: "“";
  display: block;
  font-family: Georgia, serif;
  font-size: 58px;
  line-height: 0.75;
}

.testimonial-card p {
  color: var(--brand-ink);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 22px;
}

.testimonial-card h4 {
  color: var(--brand-navy);
  font-weight: 700;
  margin-bottom: 4px;
}

.testimonial-card span {
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-cta {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  color: var(--brand-white);
}

.contact-cta h2,
.contact-cta p {
  color: var(--brand-white);
}

.lead {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.featured-services .row {
  display: flex;
  flex-wrap: wrap;
}

.featured-services [class*="col-"] {
  display: flex;
  margin-bottom: 24px;
}

.service-card {
  background: var(--brand-white);
  border: 1px solid rgba(0, 46, 91, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 46, 91, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  width: 100%;
}

.service-card h4 {
  color: var(--brand-navy);
  font-weight: 700;
}

.service-card::before {
  background: var(--brand-gold);
  border-radius: 999px;
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 18px;
  width: 54px;
}

.service-card p {
  flex: 1;
}

.y-button,
.y-button-sm {
  align-items: center;
  background: var(--brand-gold);
  border: 2px solid var(--brand-gold);
  border-radius: 6px;
  color: var(--brand-navy) !important;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  text-decoration: none;
}

.y-button:hover,
.y-button-sm:hover,
.y-button:focus,
.y-button-sm:focus {
  background: var(--brand-sky);
  border-color: var(--brand-sky);
  color: var(--brand-white) !important;
  text-decoration: none;
}

.y-contact .row.y-section_inner {
  display: flex;
  justify-content: center;
}

.y-contact .col-lg-6 {
  float: none;
  max-width: 760px;
  width: 100%;
}

form.y-form input,
form.y-form textarea,
.y-select_half input {
  max-width: 100%;
  width: 100%;
}

.y-select_half {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-wrapper {
  background: var(--brand-navy);
  color: var(--brand-white);
  padding: 34px 0 18px;
}

.site-footer-main {
  text-align: left;
}

.site-footer h5 {
  color: var(--brand-white);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}

.site-footer p,
.site-footer a {
  color: var(--brand-white);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--brand-gold);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 7px;
}

.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 24px;
  padding-top: 16px;
}

.site-footer-bottom p {
  margin: 0;
}

.about-page-content {
  padding-top: 24px;
}

.about-page-content .y-corporate_block {
  padding-top: 12px;
}

.about-page-content p {
  font-size: 16px;
  line-height: 1.75;
}

.about-page-content h2 {
  color: var(--brand-navy);
  font-size: 24px;
  font-weight: 700;
  margin: 22px 0 12px;
}

.about-service-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.about-service-list li {
  border-left: 4px solid var(--brand-gold);
  margin-bottom: 10px;
  padding: 4px 0 4px 14px;
}

.service-page-content {
  padding-top: 24px;
}

.service-page-content .y-corporate_block {
  padding-top: 12px;
}

.service-page-content p {
  font-size: 16px;
  line-height: 1.75;
}

.service-page-content h3 {
  color: var(--brand-navy);
  font-size: 24px;
  font-weight: 700;
  margin: 22px 0 12px;
}

.service-popup-open {
  margin-top: 10px;
}

.service-popup-active {
  overflow: hidden;
}

.y-blog_detail_content section,
.y-faq-item {
  background: var(--brand-white);
  border: 1px solid rgba(0, 46, 91, 0.1);
  border-left: 5px solid var(--brand-gold);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 46, 91, 0.08);
  margin-bottom: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.y-blog_detail_content section h2,
.y-faq-item h4 {
  color: var(--brand-navy);
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  text-transform: none;
}

.y-blog_detail_content section h2::before,
.y-blog_detail_content section h2::after {
  display: none;
}

.y-blog_detail_content section p,
.y-faq-item p {
  color: var(--brand-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.y-breadcrum {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  border-radius: 8px;
  color: var(--brand-white);
  margin-bottom: 28px;
  padding: clamp(22px, 4vw, 36px);
}

.y-inner_header {
  background-image: none;
  padding-bottom: 0;
  padding-top: 0;
}

.y-inner_header .header {
  margin-top: 0;
}

.y-single_info_inner {
  background: transparent;
  margin-top: 0;
  padding: 0;
}

.about-page-content,
.service-page-content {
  padding-top: 0;
}

.y-single_info {
  padding-top: 0;
}

.y-corporate_block,
.y-blog_detail_content {
  padding-top: 0;
}

.y-breadcrum .row,
.y-breadcrum [class*="col-"] {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.y-breadcrum ul,
.y-breadcrum .pull-right {
  display: none;
}

.y-breadcrum h1,
.y-breadcrum h2,
.y-breadcrum h3,
.y-breadcrum a,
.y-breadcrum li {
  color: var(--brand-white);
}

.y-breadcrum .y-heading {
  margin-bottom: 0;
}

.y-breadcrum .y-heading::before,
.y-breadcrum .y-heading::after {
  display: none;
}

.faq-page-cta {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 46, 91, 0.18);
  color: var(--brand-white);
  margin: 28px 0;
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}

.faq-page-cta h2,
.faq-page-cta p {
  color: var(--brand-white);
}

.faq-page-cta h2::before,
.faq-page-cta h2::after {
  display: none;
}

.faq-page-cta p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto 22px;
  max-width: 760px;
}

.contact-popup-page {
  background:
    linear-gradient(135deg, rgba(0, 46, 91, 0.92), rgba(0, 92, 168, 0.82)),
    url("../images/20240120_101612.jpg") center/cover no-repeat;
  min-height: 78vh;
  padding: clamp(36px, 6vw, 82px) 0;
}

.contact-popup-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 16px;
}

.contact-popup-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 18, 38, 0.34);
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.4fr);
  overflow: hidden;
}

.contact-popup-intro {
  background: linear-gradient(180deg, var(--brand-navy), var(--brand-blue));
  color: var(--brand-white);
  padding: clamp(28px, 4vw, 48px);
}

.contact-popup-intro h1,
.contact-popup-intro h2,
.contact-popup-intro p,
.contact-popup-intro a {
  color: var(--brand-white);
}

.contact-popup-intro h1,
.contact-popup-intro h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.contact-popup-intro .eyebrow {
  color: var(--brand-gold);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.contact-direct {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-direct a {
  align-items: center;
  display: flex;
  gap: 10px;
  font-weight: 700;
}

.contact-popup-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 46px);
}

.form-alert {
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.45;
  padding: 14px 16px;
}

.form-alert.success {
  background: #e7f6ed;
  border: 1px solid #b8e4c7;
  color: #155724;
}

.form-alert.error {
  background: #fff3f3;
  border: 1px solid #f1b8b8;
  color: #8a1f1f;
}

.form-alert[hidden] {
  display: none;
}

.contact-popup-form label {
  color: var(--brand-navy);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact-popup-form input,
.contact-popup-form select,
.contact-popup-form textarea {
  background: var(--brand-white);
  border: 1px solid rgba(0, 46, 91, 0.18);
  border-radius: 6px;
  color: var(--brand-ink);
  font-size: 15px;
  min-height: 46px;
  padding: 11px 12px;
  text-transform: none;
  width: 100%;
}

.contact-popup-form textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-popup[hidden] {
  display: none;
}

.service-popup {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 9999;
}

.service-popup-backdrop {
  background: rgba(0, 18, 38, 0.72);
  inset: 0;
  position: absolute;
}

.service-popup-dialog {
  max-height: min(92vh, 860px);
  max-width: 1040px;
  overflow: auto;
  position: relative;
  width: min(100%, 1040px);
  z-index: 1;
}

.service-popup-card {
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.3fr);
}

.service-popup-close {
  align-items: center;
  background: var(--brand-white);
  border: 0;
  border-radius: 50%;
  color: var(--brand-navy);
  display: flex;
  font-size: 30px;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 42px;
  z-index: 2;
}

.service-popup-close:hover,
.service-popup-close:focus {
  background: var(--brand-gold);
  color: var(--brand-navy);
}

.gallery-page {
  background: #f6f8fb;
}

.gallery-hero {
  background:
    linear-gradient(135deg, rgba(0, 46, 91, 0.92), rgba(0, 92, 168, 0.8)),
    url("../images/friends-at-smugglers-cove.jpg") center/cover no-repeat;
  color: var(--brand-white);
  padding: clamp(52px, 8vw, 96px) 0;
  text-align: center;
}

.gallery-hero h1,
.gallery-hero p {
  color: var(--brand-white);
}

.gallery-hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  margin: 0 auto 16px;
  max-width: 860px;
}

.gallery-hero p {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 760px;
}

.gallery-eyebrow {
  color: var(--brand-gold) !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 12px !important;
  text-transform: uppercase;
}

.gallery-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

.gallery-secondary-link {
  border-bottom: 2px solid var(--brand-gold);
  color: var(--brand-white);
  font-weight: 800;
  padding-bottom: 4px;
}

.gallery-secondary-link:hover,
.gallery-secondary-link:focus {
  color: var(--brand-gold);
}

.gallery-showcase {
  padding: clamp(36px, 6vw, 72px) 0;
}

.gallery-section-heading {
  margin: 0 auto 28px;
  max-width: 820px;
  text-align: center;
}

.gallery-section-heading h2 {
  color: var(--brand-navy);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 12px;
}

.gallery-section-heading p {
  color: var(--brand-muted);
  font-size: 17px;
  line-height: 1.7;
}

.gallery-tile-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-tile {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 46, 91, 0.12);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.gallery-tile:nth-child(1),
.gallery-tile:nth-child(6),
.gallery-tile:nth-child(11) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tile-button {
  background: transparent;
  border: 0;
  display: block;
  height: 100%;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.gallery-tile img {
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
  width: 100%;
}

.gallery-tile figcaption {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 18, 38, 0.84));
  bottom: 0;
  color: var(--brand-white);
  left: 0;
  padding: 34px 16px 16px;
  position: absolute;
  right: 0;
}

.gallery-tile figcaption span {
  color: var(--brand-gold);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.gallery-tile figcaption strong {
  color: var(--brand-white);
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.gallery-tile-button:hover img,
.gallery-tile-button:focus img {
  transform: scale(1.05);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 10000;
}

.gallery-lightbox-active {
  overflow: hidden;
}

.gallery-lightbox-backdrop {
  background: rgba(0, 18, 38, 0.82);
  inset: 0;
  position: absolute;
}

.gallery-lightbox-dialog {
  background: var(--brand-white);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  max-height: 92vh;
  max-width: 1120px;
  overflow: hidden;
  position: relative;
  width: min(100%, 1120px);
  z-index: 1;
}

.gallery-lightbox-media {
  background: #07182a;
  min-height: 420px;
}

.gallery-lightbox-media img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.gallery-lightbox-info {
  align-content: center;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
}

.gallery-lightbox-info p {
  color: var(--brand-gold);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
}

.gallery-lightbox-info h2 {
  color: var(--brand-navy);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  margin: 0;
}

.gallery-lightbox-controls {
  display: grid;
  gap: 10px;
}

.gallery-lightbox-controls button,
.gallery-lightbox-close {
  background: var(--brand-navy);
  border: 0;
  border-radius: 6px;
  color: var(--brand-white);
  font-weight: 800;
  min-height: 42px;
  padding: 10px 14px;
}

.gallery-lightbox-close {
  align-items: center;
  border-radius: 50%;
  display: flex;
  font-size: 30px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 44px;
  z-index: 2;
}

.gallery-lightbox-controls button:hover,
.gallery-lightbox-controls button:focus,
.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus {
  background: var(--brand-gold);
  color: var(--brand-navy);
}

@media (min-width: 1024px) {
  .y-header_outer .header > .container {
    display: block;
    padding-left: 0;
    padding-right: 0;
  }

  .y-header_outer .header > .container > .row {
    display: none;
  }

  .y-header_outer .header > .container > .row .col-xs-12 {
    float: none;
    padding: 0;
    width: auto;
  }

  .y-logo {
    align-items: center;
    min-height: 78px;
    padding: 0;
  }

  .y-logo img {
    max-height: 64px;
    max-width: 150px;
  }

  .y-menu_outer {
    margin: 0;
    min-width: 0;
  }

  .rmm-toggled {
    display: none !important;
  }

  .rmm.style > ul,
  .rmm.style > ul.rmm-mobile {
    display: flex !important;
    flex-wrap: wrap;
    position: relative !important;
    width: 100% !important;
  }

  .y-menu_outer {
    width: 100vw !important;
  }

  .rmm.style > ul {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
  }

  .rmm-mobile li {
    width: auto;
  }

  .rmm.style ul li a {
    min-height: 78px;
  }
}

@media (max-width: 1023px) {
  .site-menu-toggle {
    display: flex;
  }

  .y-menu_outer {
    background: transparent !important;
    box-shadow: none;
    left: auto;
    margin: 0 0 12px;
    transform: none;
    width: 100%;
  }

  .rmm.style > ul {
    background: linear-gradient(180deg, var(--brand-navy), #004077);
    border: 0;
    border-radius: 0;
    box-shadow: 0 24px 46px rgba(0, 20, 44, 0.28);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    left: 0;
    margin-top: 0;
    max-height: calc(100vh - 56px);
    overflow: auto;
    padding: 10px 0 24px;
    position: fixed;
    right: 0;
    top: 56px;
    width: 100vw;
    z-index: 9999;
  }

  .y-menu_outer.is-open > ul {
    display: flex;
  }

  .rmm.style ul li,
  .rmm.style ul ul li {
    float: none;
    width: 100%;
  }

  .rmm.style ul li a,
  .rmm.style ul.rmm-mobile li a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--brand-white) !important;
    margin: 0;
    min-height: 52px;
    padding: 15px 54px 15px 22px;
  }

  .rmm.style ul ul {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    display: none;
    left: auto;
    min-width: 0;
    position: static;
    top: auto;
    width: 100%;
  }

  .rmm.style li.submenu-open > ul {
    display: block !important;
  }

  .rmm.style ul ul li a {
    color: var(--brand-white) !important;
    padding-left: 38px;
  }

  .rmm.style ul ul ul li a {
    padding-left: 54px;
  }

  .site-submenu-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--brand-gold);
    display: flex;
    font-size: 22px;
    height: 44px;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
  }

  .site-submenu-toggle::after {
    content: "+";
  }

  .submenu-open > .site-submenu-toggle::after {
    content: "-";
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .y-header_top_info .row {
    display: grid;
    justify-items: center;
  }

  .contact-number {
    justify-content: center;
    text-align: center;
  }

  .hero-slider {
    min-height: 520px;
  }

  .hero-overlay {
    padding: 52px 0;
  }

  .featured-services .row {
    display: block;
  }

  .featured-services [class*="col-"] {
    display: block;
  }

  .y-select_half {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(28px, 9vw, 40px);
  }

  h2 {
    font-size: clamp(25px, 8vw, 34px);
  }

  h3 {
    font-size: clamp(23px, 7vw, 30px);
  }

  .contact-popup-card,
  .gallery-lightbox-dialog,
  .form-grid.two,
  .form-grid.three {
    grid-template-columns: 1fr;
  }

  .gallery-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-tile:nth-child(1),
  .gallery-tile:nth-child(6),
  .gallery-tile:nth-child(11) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-lightbox-media {
    min-height: 280px;
  }

  .gallery-lightbox-info {
    padding: 22px;
  }
}
