/* ==========================================================================
   GOLDEN DESIGN CONTRACTING - Redesign Design System & Stylesheet
   Theme: Apple Liquid Glass & Luxury Garamond Serif
   ========================================================================== */

/* 1. Imports & Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* Optional: To bundle custom fonts locally, add them to an assets folder and uncomment:
@font-face {
  font-family: 'CordaleCorp-Regular';
  src: url('../assets/fonts/CordaleCorp-Regular.woff2') format('woff2'),
       url('../assets/fonts/CordaleCorp-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
*/

/* 2. Global Custom Properties (CSS Variables) */
:root {
  /* Color Palette */
  --bg-primary: #0a0a0c;
  /* Ultra-dark slate backdrop */
  --bg-secondary: #0f0f12;
  /* Deep rich slate */
  --bg-tertiary: #141418;
  /* Lighter slate grey for highlights */
  --text-primary: #ffffff;
  /* Pure white */
  --text-secondary: #c2c8d4;
  /* Light grey-silver body text */
  --text-muted: #727a8a;
  /* Muted captions */

  /* Brand Luxury Gold Color Scheme */
  --gold-primary: #d4af37;
  /* Bright metallic gold */
  --gold-deep: #b8860b;
  /* Deep rich dark gold */
  --gold-champagne: #f5e6b8;
  /* Champagne gold */
  --gold-gradient: linear-gradient(135deg, #f5e6b8 0%, #d4af37 50%, #b8860b 100%);
  --gold-gradient-hover: linear-gradient(135deg, #ffffff 0%, #f5e6b8 40%, #d4af37 100%);
  --gold-glow: 0 0 30px rgba(212, 175, 55, 0.15);
  --gold-glow-intense: 0 0 40px rgba(212, 175, 55, 0.35);

  /* Liquid Glass UI Token (Glassmorphism) */
  --white-glass: rgba(255, 255, 255, 0.03);
  --white-glass-hover: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glass-hover: rgba(212, 175, 55, 0.3);
  --glass-blur: blur(25px);
  --shadow-main: 0 20px 50px rgba(0, 0, 0, 0.55);

  /* Typography Fonts */
  --font-serif: 'CordaleCorp-Regular', 'Cordale', 'Optima', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Optima', 'Outfit', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;

  /* Spacing */
  --container-max-width: 1200px;
  --header-height: 80px;
}

/* Simulated luxury top loader progress bar */
.header-loader-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold-primary) 50%, var(--gold-champagne) 100%);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
  z-index: 10000;
  transition: width 0.4s cubic-bezier(0.1, 0.8, 0.3, 1), opacity 0.3s ease;
  opacity: 1;
}

/* 3. Base Resets & Layout Core */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  /* Required for Lenis scroll loop */
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Luxury Serif for Headers */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Clean Modern sans-serif for UI labels */
h5,
h6,
.stat-label,
.btn,
.nav-link,
.section-subtitle,
.form-label,
cite,
.modal-meta-item span {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  color: inherit;
  outline: none;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border: 2px solid var(--bg-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

::selection {
  background: var(--gold-primary);
  color: var(--bg-primary);
}

/* ==========================================================================
   4. Drifting Glowing Background Blobs (Apple Depth System)
   ========================================================================== */
.bg-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.16;
  mix-blend-mode: screen;
  animation: float-blob 22s infinite alternate ease-in-out;
}

.bg-blob-gold-1 {
  background: var(--gold-primary);
  width: 45vw;
  height: 45vw;
  top: -10%;
  left: -5%;
  animation-duration: 20s;
}

.bg-blob-gold-2 {
  background: var(--gold-deep);
  width: 40vw;
  height: 40vw;
  bottom: -10%;
  right: -5%;
  animation-duration: 24s;
}

.bg-blob-champagne {
  background: var(--gold-champagne);
  width: 35vw;
  height: 35vw;
  top: 40%;
  left: 30%;
  animation-duration: 28s;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(80px, 40px) scale(1.15);
  }

  100% {
    transform: translate(-40px, 80px) scale(0.9);
  }
}

/* ==========================================================================
   5. Global Utilities & Typography Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 9rem 0;
}

.text-center {
  text-align: center;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-style: italic;
}

.section-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  display: inline-block;
  position: relative;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 4rem auto;
  font-weight: 300;
}

/* Glassmorphism Round-2xl Card Template */
.glass-card {
  background: var(--white-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  /* 2xl card styling */
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  background: var(--white-glass-hover);
  box-shadow: var(--gold-glow);
  transform: translateY(-4px) scale(1.01);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  border-radius: 100px;
  /* Modern Apple Pill Shape */
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  border: 1.5px solid transparent;
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.4),
    0 10px 30px rgba(212, 175, 55, 0.2);
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-gradient-hover);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.5),
    var(--gold-glow-intense);
}

.btn-gold:hover::before {
  opacity: 1;
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.15);
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
}

.btn-outline:hover::before {
  transform: translateY(0);
}

/* ==========================================================================
   6. Header Component Styles
   ========================================================================== */
app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: block;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 3rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

.header-scrolled .header-container {
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-primary);
}

.logo-desktop {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.logo-mobile {
  display: none;
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.header-scrolled .logo-desktop {
  height: 42px;
}

.header-scrolled .logo-mobile {
  height: 32px;
}

/* Centered Navbar */
.nav-menu {
  display: flex;
}

.nav-links-wrapper {
  display: flex;
  gap: 3rem;
}

.mobile-drawer-info {
  display: none;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 25px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
}

.nav-toggle span {
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

@media (max-width: 991px) {
  .header-container {
    padding: 0 2rem;
    position: relative;
    z-index: 1011;
    /* Keep logo and hamburger layout elements above overlay menu */
  }

  .logo {
    position: relative;
    z-index: 1012;
  }

  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1012;
    /* Float above full-screen frosted card */
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: rgba(10, 10, 12, 0.95);
    /* Frosted dark liquid glass sheet */
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 7rem 2.5rem 3rem 2.5rem;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.4s ease;
    z-index: 1010;
    overflow-y: auto;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    /* Reduced menu link gaps for mobile screens */
    width: 100%;
  }

  .nav-menu .nav-link {
    font-size: 1.2rem;
    /* Clean premium link sizes */
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    padding: 0.25rem 0;
  }

  .nav-menu .nav-link::after {
    bottom: -4px;
  }

  /* Drawer Mobile specific styling block */
  .mobile-drawer-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
    margin-top: auto;
  }

  .drawer-contact-details h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--gold-primary);
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
  }

  .drawer-contact-details p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 300;
  }

  .drawer-contact-details p svg {
    color: var(--gold-primary);
    flex-shrink: 0;
  }

  .drawer-contact-details p a {
    color: var(--text-secondary);
    transition: var(--transition-smooth);
  }

  .drawer-contact-details p a:hover {
    color: var(--gold-primary);
  }

  .drawer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .drawer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
  }

  .drawer-social-icon svg {
    transition: var(--transition-smooth);
  }

  .drawer-social-icon:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    box-shadow: var(--gold-glow);
    transform: translateY(-2px);
  }

  .drawer-social-icon:hover svg {
    color: var(--gold-primary);
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
    background-color: var(--gold-primary);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
    background-color: var(--gold-primary);
  }
}

/* ==========================================================================
   7. Footer Component Styles
   ========================================================================== */
app-footer {
  display: block;
  border-top: 1px solid var(--border-glass);
  background: var(--bg-secondary);
}

.footer-top {
  padding: 7rem 0 5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.8fr;
  gap: 4rem;
}

.footer-info .footer-logo {
  margin-bottom: 1.75rem;
}

.footer-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 320px;
  font-weight: 300;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.footer-title {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 2rem;
  position: relative;
  letter-spacing: 0;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--gold-primary);
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-newsletter p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.newsletter-form {
  display: flex;
  position: relative;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  padding: 4px;
}

.newsletter-form:focus-within {
  border-color: var(--gold-primary);
  box-shadow: var(--gold-glow);
}

.newsletter-input {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-btn {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  transform: scale(1.02);
  box-shadow: var(--gold-glow);
}

.newsletter-btn svg {
  width: 16px;
  height: 16px;
}

.newsletter-msg {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: none;
}

.newsletter-msg.success {
  color: #4ade80;
  display: block;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 2.5rem 0;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 300;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--gold-primary);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom-container {
    flex-direction: column-reverse;
    gap: 1.25rem;
    text-align: center;
  }
}

/* ==========================================================================
   8. Contact Form Component Styles
   ========================================================================== */
contact-form {
  display: block;
  width: 100%;
}

.contact-box {
  padding: 4.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-main), 0 0 50px rgba(212, 175, 55, 0.04);
  border-radius: 24px;
}

.form-title {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text-primary);
}

.form-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 3.5rem;
  font-weight: 300;
  line-height: 1.5;
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
  width: 100%;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1.45rem 1.25rem 0.55rem 1.25rem; /* Spacious padding for floating label */
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
  appearance: none;
}

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

.form-select {
  background: transparent;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0.5rem;
}

.form-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  transition: var(--transition-smooth);
  font-weight: 300;
  letter-spacing: 0.03em;
}

.form-textarea ~ .form-label {
  top: 1.35rem;
  transform: none;
}

/* Luxury Float label transitions */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label,
.form-select:focus ~ .form-label,
.form-select:valid ~ .form-label {
  top: 0.45rem;
  left: 1.25rem;
  transform: none;
  font-size: 0.65rem;
  color: var(--gold-primary);
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 15px rgba(212, 175, 55, 0.15);
  outline: none;
}

.select-arrow {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--gold-primary);
  transition: var(--transition-smooth);
}

.form-select:focus ~ .select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.form-submit-row {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.form-submit-btn {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  border-radius: 4px;
  padding: 0.9rem 2.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow-intense);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(10, 10, 12, 0.2);
  border-top-color: var(--bg-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success Modal Overlay */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.success-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.success-modal {
  max-width: 460px;
  width: 90%;
  padding: 3.5rem;
  text-align: center;
  border: 1px solid var(--border-glass);
}

.success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin: 0 auto 2rem auto;
  box-shadow: var(--gold-glow);
}

.success-icon svg {
  width: 32px;
  height: 32px;
}

.success-modal h3 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.success-modal p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.success-ref {
  display: inline-block;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 1.1rem;
  color: var(--gold-primary);
  margin-bottom: 2.5rem;
}

@media (max-width: 576px) {
  .contact-box {
    padding: 2.5rem;
  }
}

/* ==========================================================================
   9. Page Layouts & Elements
   ========================================================================== */

/* HERO SECTION (index.html) */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero .container {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 3;
  flex-direction: row;
}

/* Custom background cover under canvas for a liquid glass overlay */
.hero-glass-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(13, 13, 13, 0.95) 0%, rgba(17, 17, 17, 0.8) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.03) 0%, rgba(10, 10, 12, 0.95) 75%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-subtitle {
  font-size: 0.75rem;
  color: var(--gold-primary);
  font-weight: 600;
  letter-spacing: 0.25em;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.hero-title {
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  max-width: 600px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* INFINITE LIQUID GLASS MARQUEE */
.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: rgba(13, 13, 16, 0.4);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 1.75rem 0;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  z-index: 5;
  display: flex;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  gap: 4.5rem;
  padding-right: 4.5rem; /* Matches gap for seamless continuous spacing */
}

.marquee-track:hover {
  animation-play-state: paused; /* Micro-interaction: pause on hover */
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-transform: capitalize;
}

.marquee-star {
  color: var(--gold-primary);
  font-size: clamp(1rem, 2vw, 1.6rem);
  text-shadow: var(--gold-glow);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* STATS GRID */
.stats-section {
  position: relative;
  z-index: 2;
  margin-top: 5rem; /* Pushes the statistics block down gracefully below the scrolling marquee */
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3.5rem;
  border-radius: 20px;
}

.stat-card {
  text-align: center;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-glass);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-primary);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 1.25rem);
    padding-bottom: 3.5rem;
  }

  /* Tighten top padding of company profile section on mobile */
  section[aria-labelledby="about-home-title"] {
    padding-top: 3rem !important;
  }

  .hero .container {
    min-height: auto;
  }

  .hero-desc {
    margin-bottom: 2rem;
  }

  .marquee-container {
    padding: 1.25rem 0;
  }

  .stats-section {
    margin-top: 0;
    padding-top: 4rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.5rem;
  }

  .stat-card:not(:last-child)::after {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* ABOUT SECTION SPLIT */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-container {
  position: relative;
}

.about-img {
  border-radius: 20px;
  /* 2xl corners */
  overflow: hidden;
  box-shadow: var(--shadow-main);
  border: 1px solid var(--border-glass);
}

.about-img-badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  padding: 2rem 2.5rem;
  text-align: center;
  max-width: 200px;
}

.about-img-badge .badge-number {
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold-primary);
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.about-img-badge .badge-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* MISSION & VISION SHOWCASE CARDS */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.mission-vision-card {
  padding: 3.5rem;
  position: relative;
  border-top: 3px solid var(--gold-primary) !important;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.03) 0%, rgba(10, 10, 12, 0.95) 100%) !important;
  border-radius: 20px;
}

.about-desc-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.about-bullets {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.about-bullet-item {
  display: flex;
  gap: 1.25rem;
}

.about-bullet-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.about-bullet-icon svg {
  width: 12px;
  height: 12px;
}

.about-bullet-item h4 {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.about-bullet-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
}

@media (max-width: 991px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-img-container {
    max-width: 500px;
    margin: 0 auto 0 auto;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .mission-vision-card {
    padding: 2.5rem 2rem !important;
  }
}

/* 6-CARD SERVICES GRID */
.services-six-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-glass-card {
  padding: 3.5rem;
  border-radius: 20px;
}

.service-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.service-icon-box svg {
  width: 22px;
  height: 22px;
}

.service-glass-card h3 {
  font-size: 1.65rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.service-glass-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
}

.service-glass-card:hover .service-icon-box {
  transform: scale(1.08);
  border-color: var(--gold-primary);
  box-shadow: var(--gold-glow);
}

@media (max-width: 991px) {
  .services-six-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-six-grid {
    grid-template-columns: 1fr;
  }

  .service-glass-card {
    padding: 2.5rem;
  }
}

/* PROJECTS GALLERY GRID */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.filter-tab {
  padding: 0.6rem 1.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab:hover,
.filter-tab.active {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4/5;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-main);
}

.portfolio-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.4) 60%, rgba(10, 10, 12, 0.05) 100%);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-card-img {
  transform: scale(1.08);
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card:hover {
  border-color: var(--border-glass-hover);
  box-shadow: var(--gold-glow);
}

.portfolio-card-cat {
  font-size: 0.75rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.portfolio-card h3 {
  font-size: 1.65rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.portfolio-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-weight: 1.6;
  font-weight: 300;
}

.portfolio-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.portfolio-card-btn svg {
  width: 14px;
  height: 14px;
  transition: var(--transition-fast);
}

.portfolio-card-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card-overlay {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(10, 10, 12, 0.98) 0%, rgba(10, 10, 12, 0.6) 80%);
    padding: 2.5rem;
  }
}

/* WHY CHOOSE US CARDS */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  padding: 3.5rem;
}

.why-icon {
  font-size: 2.5rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  display: block;
}

.why-card h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 2.5rem;
  }
}

/* DETAILS MODALS FOR PORTFOLIO */
.portfolio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(15px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.portfolio-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-wrapper {
  max-width: 900px;
  width: 90%;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-main);
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  border-radius: 20px;
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid var(--border-glass);
  background: rgba(10, 10, 12, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: rotate(90deg);
}

/* Upgraded Dynamic Project Slider */
.modal-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-slider-slide {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

/* Glassmorphic Navigation Buttons */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-50%) scale(1.05);
}

.slider-nav-btn.prev {
  left: 1rem;
}

.slider-nav-btn.next {
  right: 1rem;
}

/* Glass Pagination Indicators */
.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.4rem 0.7rem;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  background: var(--gold-primary);
  transform: scale(1.2);
  box-shadow: var(--gold-glow);
}

.modal-info-side {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
}

.modal-meta-item span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.modal-meta-item strong {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .modal-content-wrapper {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px auto;
    max-height: 85vh;
    overflow-y: auto;
  }

  .modal-slider-container {
    min-height: 280px;
  }

  .modal-info-side {
    padding: 2rem;
  }
}

/* QA/QC & SUSTAINABILITY TABS */
.philosophy-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}

.philosophy-tab-btn {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.5rem 1rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.philosophy-tab-btn.active,
.philosophy-tab-btn:hover {
  color: var(--gold-primary);
}

.philosophy-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: var(--transition-smooth);
}

.philosophy-tab-btn.active::after {
  width: 100%;
}

.philosophy-content-box {
  position: relative;
  min-height: 250px;
}

.philosophy-pane {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.philosophy-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.philosophy-text-side h3 {
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.philosophy-text-side p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.philosophy-list-item {
  display: flex;
  gap: 1rem;
}

.philosophy-list-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 5px;
}

.philosophy-list-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 300;
}

.philosophy-card-side {
  padding: 3.5rem;
  border-left: 3px solid var(--gold-primary);
}

.philosophy-card-side blockquote {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.philosophy-card-side cite {
  font-size: 0.75rem;
  color: var(--gold-primary);
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 991px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .philosophy-card-side {
    padding: 2.5rem;
  }
}

/* TESTIMONIAL CAROUSEL */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  text-align: center;
  padding: 2rem;
}

.testimonial-icon {
  font-size: 4rem;
  color: rgba(212, 175, 55, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.testimonial-slide blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
}

.testimonial-author-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial-author-title {
  font-size: 0.75rem;
  color: var(--gold-primary);
  font-weight: 500;
}

/* CONTACT PAGE DETAILS */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
}

.contact-editorial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2rem;
}

.contact-tag {
  color: var(--gold-primary);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: block;
}

.contact-editorial-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.contact-editorial-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

.editorial-details {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.editorial-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.editorial-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.editorial-item:hover .editorial-icon {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.editorial-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-primary);
}

.editorial-text h5 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  letter-spacing: 0.03em;
}

.editorial-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.4;
}

.editorial-text a {
  transition: var(--transition-smooth);
  color: var(--gold-primary);
}

.editorial-text a:hover {
  color: var(--text-primary);
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
  border: 1px solid var(--border-glass);
  position: relative;
}

.map-overlay-card {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 320px;
  padding: 2.25rem;
  background: rgba(10, 10, 12, 0.85) !important;
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass) !important;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.map-overlay-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.map-overlay-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.map-overlay-card .map-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  border-top: 1px solid var(--border-glass);
  padding-top: 0.75rem;
}

.map-pin-gold {
  margin-bottom: 1rem;
}

.interactive-map {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) grayscale(100%) contrast(100%) brightness(90%);
  opacity: 0.65;
  transition: var(--transition-smooth);
}

.interactive-map:hover {
  opacity: 0.85;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* BANNER CALL TO ACTION */
.cta-banner {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 4rem;
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, rgba(10, 10, 12, 0.98) 80%);
  z-index: 0;
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* SUBPAGE HEADER HEROES */
.subpage-hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 2rem;
  background: linear-gradient(to bottom, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-glass);
  text-align: center;
  overflow: hidden;
}

.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.02) 0%, transparent 70%);
  z-index: 0;
}

.subpage-hero-content {
  position: relative;
  z-index: 1;
}

.subpage-hero .subpage-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold-primary);
  margin-bottom: 1rem;
  display: block;
}

.subpage-hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumbs a:hover {
  color: var(--gold-primary);
}

.breadcrumbs span {
  color: var(--text-muted);
}

.breadcrumbs .active {
  color: var(--gold-primary);
}


/* ==========================================================================
   10. Global Responsive System & Mobile Tweaks
   ========================================================================== */

/* 10.1. Tablets and Medium Devices (max-width: 991px) */
@media (max-width: 991px) {
  .section-padding {
    padding: 6rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .header-container {
    padding: 0 1.5rem;
  }
}

/* 10.2. Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .cta-banner {
    padding: 5rem 2rem;
  }

  .subpage-hero {
    height: 280px;
  }

  .portfolio-filters {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
  }

  .filter-tab {
    padding: 0.6rem 1.2rem;
    font-size: 0.7rem;
  }
}

/* 10.3. Small Mobile Devices (max-width: 576px) */
@media (max-width: 576px) {
  .section-padding {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .about-img-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 2rem auto 0 auto;
    max-width: 100%;
    transform: none !important;
    box-shadow: var(--gold-glow);
  }

  .philosophy-tabs {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-bottom: none;
    margin-bottom: 2.5rem;
  }

  .philosophy-tab-btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
    border-bottom: 1.5px solid var(--border-glass);
  }

  .philosophy-tab-btn::after {
    display: none;
  }

  .philosophy-tab-btn.active {
    color: var(--gold-primary);
    border-bottom-color: var(--gold-primary);
  }

  .contact-box {
    padding: 2.5rem 1.5rem;
  }

  .cta-banner h2 {
    font-size: 1.85rem;
  }

  .cta-banner p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .map-container {
    height: 380px;
  }

  .map-placeholder {
    padding: 1.5rem;
  }
}

/* Premium Liquid Glass Scroll-To-Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(13, 13, 16, 0.6);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  color: var(--gold-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.85);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.scroll-to-top-btn:hover {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #0c0c0e;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-to-top-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.scroll-to-top-btn:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .scroll-to-top-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
}