/* ==========================================================================
   0. LOCAL SELF-HOSTED WOFF2 FONTS (ABeeZee & Open Sans)
   Zero external dependencies, zero render blocking, GDPR compliant.
   ========================================================================== */
/* ABeeZee (Headings) */
@font-face {
  font-family: 'ABeeZee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/abeezee-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'ABeeZee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/abeezee-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'ABeeZee';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/abeezee-latin-italic-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'ABeeZee';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/abeezee-latin-ext-italic-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Open Sans (Body & Nav) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/open-sans-latin-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/open-sans-latin-ext-300.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/open-sans-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/open-sans-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/open-sans-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/open-sans-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/open-sans-latin-italic-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/open-sans-latin-ext-italic-300.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/open-sans-latin-italic-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/open-sans-latin-ext-italic-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   1. RESET & GLOBAL VARIABLES (Unified PRO & PER Architecture)
   ========================================================================== */
:root {
  --font-heading: 'ABeeZee', Helvetica, Arial, Lucida, sans-serif;
  --font-body: 'Open Sans', Helvetica, Arial, sans-serif;
  --header-height: 100px;
  --color-text-nav: #7c7c7c;
  --color-text-active: #000000;
  --color-bg-header: #ffffff;
  --color-bg-body: #ffffff;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-personal-bg: #004d5e;
  --color-contact-bg: #5b9693;
  --color-videos-bg: #0a6d4e;
}

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

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--color-bg-body);
  color: #333333;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ==========================================================================
   2. HEADER & NAVIGATION (Unified Divi & Mercury Replica)
   ========================================================================== */
#main-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-bg-header);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: height 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

#main-header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-container {
  width: 100%;
  max-width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-container img {
  height: 54px;
  width: auto;
  display: block;
  transition: transform 0.25s ease;
}

/* Desktop Menu */
#top-menu-nav {
  display: flex;
  align-items: center;
}

#top-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-heading);
}

#top-menu > li {
  position: relative;
}

#top-menu > li > a {
  font-size: 18px;
  color: var(--color-text-nav);
  padding: 10px 4px;
  display: inline-block;
  transition: color 0.25s ease;
  white-space: nowrap;
}

#top-menu > li > a:hover,
#top-menu > li.current-item > a {
  color: var(--color-text-active);
}

/* Dropdown indicator */
#top-menu > li.has-dropdown > a::after {
  content: " ▾";
  font-size: 12px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ==========================================================================
   DROPDOWN MENUS (Architectural Multi-Column & Compact Standard)
   ========================================================================== */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 190px;
  list-style: none;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
  border-top: 2px solid #000000;
  border-radius: 0 0 4px 4px;
  padding: 10px 8px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
}

/* Hover Bridge: prevents cursor drop on diagonal movement */
.sub-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

#top-menu > li:hover .sub-menu,
#top-menu > li:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Standard Dropdown Item */
.sub-menu li {
  break-inside: avoid;
  margin-bottom: 2px;
}

.sub-menu li a {
  display: block;
  font-family: var(--font-heading);
  font-size: 13.5px;
  color: var(--color-text-nav);
  padding: 6px 14px;
  border-radius: 3px;
  transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.sub-menu li a:hover,
.sub-menu li.current-item a {
  color: var(--color-text-active);
  background-color: #f5f5f5;
  transform: translateX(3px);
}

.sub-menu li.current-item a {
  font-weight: 600;
  background-color: rgba(0, 0, 0, 0.05);
}

/* Multi-Column Architecture: balanced 2-column layout for extensive lists (Interiors, Galleries) */
.sub-menu:has(> li:nth-child(8)),
.sub-menu.multi-col {
  width: max-content;
  min-width: 380px;
  max-width: 440px;
  columns: 2;
  column-gap: 14px;
  column-rule: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 10px;
}

/* Viewport Collision Protection */
.sub-menu.align-right,
.personal-top-menu .sub-menu {
  left: auto;
  right: 0;
}

/* Mobile Toggle Button (Hamburger to X animation) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: #333333;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.25s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 20px 30px;
  z-index: 999;
}

.mobile-nav-drawer.active {
  display: block;
}

.mobile-nav-drawer ul {
  list-style: none;
}

.mobile-nav-drawer li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-drawer a {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--color-text-nav);
  display: block;
}

.mobile-nav-drawer a:hover,
.mobile-nav-drawer .current-item > a {
  color: var(--color-text-active);
}

.mobile-nav-drawer .sub-mobile {
  padding-left: 20px;
  margin-top: 6px;
}

.mobile-nav-drawer .sub-mobile li {
  border-bottom: none;
  padding: 4px 0;
}

.mobile-nav-drawer .sub-mobile a {
  font-size: 15px;
}

/* Cross-Site Navigation Pill Button (Unified Pro & Personal) */
.nav-pill-btn {
  display: inline-block;
  padding: 6px 16px !important;
  border-radius: 20px;
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #333333 !important;
  border: 1px solid rgba(0, 0, 0, 0.28) !important;
  background-color: transparent !important;
  text-decoration: none;
  line-height: 1.3;
  vertical-align: middle;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease !important;
}

.nav-pill-btn:hover {
  background-color: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
}

.mobile-nav-drawer .nav-pill-item {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #eeeeee;
  border-bottom: none;
}

.mobile-nav-drawer .nav-pill-btn {
  display: inline-block;
  padding: 8px 20px !important;
  font-size: 14px !important;
  font-weight: 600;
}

/* ==========================================================================
   3. HOMEPAGE FULLSCREEN VIDEO HERO (PRO)
   ========================================================================== */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  overflow: hidden;
  background-color: #000000;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   4. SECTION TITLE BANNER (Unified 54px Divi Vertical Padding)
   ========================================================================== */
.category-banner {
  width: 100%;
  padding: 54px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  margin-bottom: 0;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .category-banner {
    padding: 36px 15px;
  }
  .category-title {
    font-size: 24px;
  }
}

/* ==========================================================================
   5. MASONRY GALLERY (Zero-CLS + Hardware-Accelerated 1.08x Hover Zoom)
   ========================================================================== */
.gallery-section {
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: #ffffff;
  position: relative;
}

.masonry-grid {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: visible;
  line-height: 0;
  min-height: 40vh;
}

.masonry-item {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  overflow: visible;
  cursor: pointer;
  background-color: #f5f5f5;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.3s ease 0s, box-shadow 0.3s ease 0s;
  -webkit-transition: -webkit-transform 0.3s ease 0s, box-shadow 0.3s ease 0s;
  z-index: 1;
  box-sizing: border-box;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.masonry-item:hover {
  transform: scale(1.08);
  -webkit-transform: scale(1.08);
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body.personal-theme .masonry-item {
  background-color: rgba(255, 255, 255, 0.04);
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.masonry-item img.img-loaded {
  opacity: 1;
}

/* ==========================================================================
   6. VIDEOS PAGE (Exact #0a6d4e Editorial Section + Poster Play Overlay)
   ========================================================================== */
.videos-page-main {
  background-color: var(--color-videos-bg);
  min-height: calc(100vh - var(--header-height) - 80px);
  padding-bottom: 70px;
}

.videos-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.video-item {
  position: relative;
  width: 100%;
  background-color: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.video-item video {
  width: 100%;
  height: auto;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.3s ease;
}

.video-overlay:hover::before {
  background: rgba(0, 0, 0, 0.32);
}

.video-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-play-btn {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.video-play-btn::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 5px;
}

.video-overlay:hover .video-play-btn {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   7. CONTACT PAGE (Exact Online #5b9693 Editorial Sections & Form)
   ========================================================================== */
.contact-map-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background-color: #e5e3df;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-dark-section {
  background-color: var(--color-contact-bg);
  color: #f7f7f7;
  padding: 60px 40px 30px;
}

.contact-dark-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-author-photo img {
  width: 151px;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.contact-bio h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #f9f9f9;
}

.contact-info p {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.8;
  color: #fcfcfc;
}

.contact-info a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.contact-info a:hover {
  border-color: #ffffff;
  opacity: 0.9;
}

.contact-form-section {
  background-color: var(--color-contact-bg);
  padding: 25px 40px 70px;
}

.contact-form-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  font-family: var(--font-heading);
  font-size: 14px;
  color: #333333;
  border: none;
  background-color: #eeeeee;
  border-radius: 0;
  outline: none;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666666;
}

.form-group input:focus,
.form-group textarea:focus {
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.btn-submit {
  padding: 10px 26px;
  font-family: var(--font-heading);
  font-size: 18px;
  color: #ffffff;
  background-color: transparent;
  border: 2px solid #ffffff;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn-submit:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: transparent;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status-msg {
  font-family: var(--font-heading);
  font-size: 14px;
  color: #ffffff;
  display: none;
  line-height: 1.4;
}

.form-status-msg.visible {
  display: block;
}

.form-status-msg.status-success {
  background: rgba(0, 0, 0, 0.18);
  padding: 8px 14px;
  border-radius: 3px;
  border-left: 3px solid #ffffff;
}

.form-status-msg.status-error {
  background: rgba(183, 28, 28, 0.35);
  padding: 8px 14px;
  border-radius: 3px;
  border-left: 3px solid #ffcdd2;
}

/* ==========================================================================
   8. LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  user-select: none;
  touch-action: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox-img.loaded {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox Controls */
.lightbox-btn {
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 100000;
}

.lightbox-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.08);
}

.lightbox-close {
  top: 25px;
  right: 25px;
  font-size: 28px;
}

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

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.08);
}

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

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.08);
}

.lightbox-counter {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-size: 14px;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 14px;
  border-radius: 15px;
  letter-spacing: 1px;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
#main-footer {
  background-color: #ffffff;
  padding: 30px 40px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 13px;
  color: #888888;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   10. PERSONAL SITE STYLES (Fiel a personal.menossi.es / Mercury Theme)
   ========================================================================== */
body.personal-theme {
  background-color: var(--color-personal-bg) !important;
  color: #ffffff;
}

body.personal-theme .gallery-section {
  background-color: var(--color-personal-bg) !important;
}

body.personal-theme #main-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d5d5d5;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

body.personal-theme .logo-container img {
  height: 54px;
  width: auto;
  display: block;
}

/* Personal Top Menu */
.personal-top-menu > li.has-dropdown > a::after {
  content: "" !important;
}

.personal-top-menu > li > a {
  font-size: 15px;
  color: #666666;
  font-weight: 400;
  transition: color 0.2s ease;
}

.personal-top-menu > li.current-item > a {
  color: #111111;
  font-weight: 700;
}

.personal-top-menu > li > a:hover {
  color: #111111;
}

/* About Page */
body.personal-theme .about-content-wrapper {
  max-width: 960px;
  margin: 10px auto 90px;
  padding: 0 30px;
  color: #ccffff;
  font-size: 16px;
  line-height: 1.85;
}

body.personal-theme .about-content-wrapper p {
  margin-bottom: 24px;
}

body.personal-theme .about-content-wrapper img.author-portrait {
  float: left;
  width: 174px;
  height: 250px;
  margin: 0 35px 25px 0;
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

body.personal-theme .about-content-wrapper h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  margin: 40px 0 15px;
  color: #ccffff;
  border-bottom: 1px solid rgba(204, 255, 255, 0.2);
  padding-bottom: 8px;
}

body.personal-theme #main-footer {
  background-color: var(--color-personal-bg);
  border-top: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-align: center;
  padding: 28px 20px;
}

/* ==========================================================================
   11. FULLSCREEN KEN BURNS SLIDER (Personal Home — Swiper Industry Standard)
   ========================================================================== */
.fullscreen-slider-main {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  overflow: hidden;
  background-color: #0b0d0e;
}

.personal-hero-swiper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
}

.personal-hero-swiper .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.personal-hero-swiper .slide-zoom-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.personal-hero-swiper .slide-zoom-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transform: scale(1);
  will-change: transform;
  /* Smooth ease-out on transition away: prevents any sudden jump */
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active slide performs smooth, continuous cinematic Ken Burns zoom */
.personal-hero-swiper .swiper-slide-active .slide-zoom-wrapper img {
  transform: scale(1.08);
  transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Vignette overlay for photographic depth */
.personal-hero-swiper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.45) 100%),
              linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 22%);
  pointer-events: none;
  z-index: 3;
}

/* Nav buttons on left/right edges */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  user-select: none;
}

.slider-nav-btn.prev {
  left: 25px;
  padding-right: 3px;
}

.slider-nav-btn.next {
  right: 25px;
  padding-left: 3px;
}

.slider-nav-btn:hover {
  background: rgba(0, 0, 0, 0.75);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-50%) scale(1.08);
}

/* Badge at bottom left */
.slider-caption-badge {
  position: absolute;
  bottom: 28px;
  left: 35px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
}

.slider-caption-badge .slide-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  letter-spacing: 1px;
}

.slider-caption-badge .slide-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.slider-dot.active,
.slider-dot.swiper-pagination-bullet-active {
  background: #ffffff;
  transform: scale(1.3);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}
  transform: scale(1.3);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  #top-menu-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .contact-dark-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }
  .logo-container img,
  body.personal-theme .logo-container img {
    height: 44px;
  }
  .contact-dark-section,
  .contact-form-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .videos-container {
    padding: 10px 15px 30px;
    gap: 30px;
  }
  .video-play-btn {
    width: 58px;
    height: 58px;
  }
  .slider-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
  .slider-nav-btn.prev { left: 12px; }
  .slider-nav-btn.next { right: 12px; }
  .slider-caption-badge { bottom: 20px; left: 20px; }
  .slider-caption-badge .slide-title { font-size: 16px; }
  body.personal-theme .about-content-wrapper img.author-portrait {
    float: none;
    display: block;
    margin: 0 auto 25px;
  }
}
