/* =========================================================================
   THE DESIGN SYSTEM & VARIABLES
   ========================================================================= */
:root {
  --ink: #101014;
  --paper: #f7f3ea;
  --gold: #b8862f;
  --deep: #2b123f;
  --muted: #6f665c;
  --white: #fff;
  --line: rgba(16, 16, 20, .14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease, padding 0.25s ease;
}

/* =========================================================================
   STICKY HEADER & TOP INFO BAR
   ========================================================================= */
header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(247, 243, 234, .95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

.header-info-bar {
  background: var(--ink);
  color: #cfc8bf;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  animation: fadeInDown 0.5s ease-out both;
}

.info-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hotline-link {
  font-weight: 600;
  color: var(--gold);
}

.hotline-link:hover {
  color: var(--white);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

nav {
  max-width: 1200px;
  margin: auto;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.brand-link {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: white;
  border-radius: 14px;
  padding: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-link:hover img {
  transform: scale(1.08) rotate(2deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-size: 24px;
  font-family: Georgia, serif;
  line-height: 1.1;
}

.brand small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* =========================================================================
   DESKTOP NAVIGATION & DROPDOWN ENGINES
   ========================================================================= */
.navlinks {
  display: flex;
  gap: 24px;
  font-weight: 700;
  font-size: 14px;
  align-items: center;
  list-style: none;
}

.nav-item {
  padding: 8px 0;
  position: relative;
}

/* Elegant line animation beneath top links on hover */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
}

.contact-accent {
  color: var(--gold);
}

.dropdown {
  position: relative;
}

.dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  user-select: none;
  transition: color 0.25s ease;
}

.dropdown-trigger .chevron {
  font-size: 9px;
  transition: transform 0.3s ease;
}

/* Floating Card Submenu Positioning */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 0;
  min-width: 270px;
  box-shadow: 0 20px 40px rgba(16, 16, 20, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  list-style: none;
  z-index: 100;
}

.dropdown-menu li {
  opacity: 0;
  transform: translateY(5px);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.dropdown-menu a {
  display: block;
  padding: 11px 24px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
}

.dropdown-menu a:hover {
  background: rgba(16, 16, 20, 0.04);
  color: var(--gold);
  padding-left: 28px;
  /* Subtle slide interaction */
}

/* Desktop Hover Triggers with Sequenced Stagger Delays */
@media (min-width: 901px) {
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(2px);
  }

  .dropdown:hover .dropdown-trigger .chevron {
    transform: rotate(180deg);
    color: var(--gold);
  }

  .dropdown:hover .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Sequential delay mappings for crisp item presentation */
  .dropdown:hover .dropdown-menu li:nth-child(1) {
    transition-delay: 0.03s;
  }

  .dropdown:hover .dropdown-menu li:nth-child(2) {
    transition-delay: 0.06s;
  }

  .dropdown:hover .dropdown-menu li:nth-child(3) {
    transition-delay: 0.09s;
  }

  .dropdown:hover .dropdown-menu li:nth-child(4) {
    transition-delay: 0.12s;
  }

  .dropdown:hover .dropdown-menu li:nth-child(5) {
    transition-delay: 0.15s;
  }

  .dropdown:hover .dropdown-menu li:nth-child(6) {
    transition-delay: 0.18s;
  }

  .dropdown:hover .dropdown-menu li:nth-child(7) {
    transition-delay: 0.21s;
  }

  .dropdown:hover .dropdown-menu li:nth-child(8) {
    transition-delay: 0.24s;
  }
}

/* Mobile Fallback Inputs */
.menu-toggle-checkbox {
  display: none;
}

.menu-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle-label span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: left center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================================
   CORE CONTENT LAYOUT BLOCKS (Hero, Sections & Cards)
   ========================================================================= */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
}

.btn.gold {
  background: var(--gold);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 16, 20, 0.15);
}

.hero {
  padding: 80px 22px;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.wrap {
  max-width: 1200px;
  margin: auto;
  width: 100%;
}

.grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

h1 {
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 22px;
}

h1 span {
  background: linear-gradient(135deg, var(--ink), var(--deep), var(--gold));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  line-height: 1.8;
  color: var(--muted);
  font-size: 15px;
}

.card {
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 20px 50px rgba(43, 18, 63, .05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(16, 16, 20, 0.08);
}

.card h2,
.card h3 {
  font-family: Georgia, serif;
  margin-bottom: 14px;
}

.card h2 {
  font-size: 28px;
}

.card h3 {
  font-size: 22px;
}

.section {
  padding: 80px 22px;
}

.section h2 {
  font-family: Georgia, serif;
  font-size: 40px;
  margin-bottom: 35px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* =========================================================================
   COMPREHENSIVE 4-COLUMN FOOTER
   ========================================================================= */
.footer {
  background: #0f0f13;
  color: white;
  padding: 80px 22px 40px;
  position: relative;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-col h3 {
  font-family: Georgia, serif;
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col h3::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--gold);
  margin-top: 8px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer p,
.footer-col ul li a {
  color: #cfc8bf;
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-brand-info p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-contact-details li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px !important;
}

.footer-contact-details strong {
  font-size: 11px;
  color: #8c857b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-highlight-link {
  color: var(--gold) !important;
  font-weight: 600;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6f665c;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* =========================================================================
   KEYFRAME ANIMATION TRANSLATIONS
   ========================================================================= */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================================
   RESPONSIVE LAYOUTS & RESPONSIVE MOBILE ACCORDIONS
   ========================================================================= */
@media(max-width: 900px) {

  .grid,
  .cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 38px;
  }

  .hero {
    padding: 40px 22px;
  }

  .section {
    padding: 50px 22px;
  }

  .header-info-bar {
    display: block;
  }

  .info-bar-container {
    flex-direction: column;
    gap: 8px;
    padding: 10px 16px;
    text-align: center;
  }

  .menu-toggle-label {
    display: flex;
  }

  /* Responsive Mobile Navigation Drawer */
  .navlinks {
    display: block;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(247, 243, 234, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 0 22px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  }

  .navlinks li {
    width: 100%;
    border-bottom: 1px solid rgba(16, 16, 20, 0.05);
  }

  .navlinks li:last-child {
    border-bottom: none;
  }

  .nav-item {
    display: block;
    padding: 15px 0;
    font-size: 15px;
  }

  /* Transform Hamburger Icon Bars on Toggle States */
  .menu-toggle-checkbox:checked~.menu-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px);
  }

  .menu-toggle-checkbox:checked~.menu-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle-checkbox:checked~.menu-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, -2px);
  }

  /* Expand Navigation Drawer Container */
  .menu-toggle-checkbox:checked~.navlinks {
    max-height: 600px;
    padding: 10px 22px 20px;
  }

  /* Responsive Submenu Blocks (Accordion Style via :focus-within) */
  .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 15px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 10px 15px;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown-menu li {
    opacity: 1;
    transform: none;
    border: none;
  }

  .dropdown-menu a {
    padding: 10px 0;
    font-size: 14px;
  }

  .dropdown:focus-within .dropdown-menu {
    display: block;
    max-height: 400px;
  }

  .dropdown:focus-within .dropdown-trigger .chevron {
    transform: rotate(180deg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}