:root {
  --cream: #FBF7F4;
  --ink: #1E1C19;
  --dark: #1f3b3b;
  --muted: #6E6862;
  --hairline: #E0D7CC;
  --serif: 'Sorts Mill Goudy', Georgia, serif;
  --display: 'Cinzel', 'Sorts Mill Goudy', serif;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
}
.read-more-container { text-align: center; margin-top: 50px; }
.read-more {
  display: inline-block;
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px dashed var(--muted);
  padding-bottom: 3px;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}
.read-more:hover { opacity: 0.7; }
.caps {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 13px;
}
/* Navbar */
nav {
  display: flex; justify-content: space-between; align-items: center;
  height: 60px;
  padding: 0 50px;
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
  position: fixed; width: 100%; top: 0; z-index: 100;
  transition: background 0.4s ease, border-color 0.4s ease;
}
nav.dark-nav {
  background: transparent;
  border-color: white;
}
nav.dark-nav .brand { opacity: 0; pointer-events: none; }
nav.dark-nav .nav-links a { color: var(--cream); }
.brand { display: flex; align-items: center; gap: 20px; text-decoration: none; color: var(--ink); opacity: 1; transition: opacity 0.3s ease; }
.brand img { height: 40px; }
.brand span { font-family: var(--display); font-size: 22px; letter-spacing: 4px; text-transform: uppercase; }
.nav-links { display: flex; gap: 30px; list-style: none; height: 100%; }
.nav-links li { display: flex; align-items: center; height: 100%; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-family: var(--display); text-transform: uppercase; font-size: 12px; letter-spacing: 1px;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  transition: color 0.4s ease;
}
.nav-links a:hover { color: var(--ink); }
nav.dark-nav .nav-links a:hover { color: white; }

.nav-links a.active { color: var(--ink); }
nav.dark-nav .nav-links a.active { color: white; }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--dark);
  transition: background 0.4s ease;
}
nav.dark-nav .nav-links a.active::after {
  background: white;
}

.hero {
  background: linear-gradient(rgba(13,43,44,0.85), rgba(13,43,44,0.85)), url('../img/hero.jpg') center/cover fixed;
  height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  color: var(--cream); text-align: center;
  position: relative;
}
.hero-brand { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 30px; }
.hero-brand img { height: 80px; }
.hero-brand span { font-family: var(--display); font-size: 50px; letter-spacing: 8px; font-variant: small-caps; text-transform: none; }
.hero h1 { font-family: var(--display); font-size: 32px; font-weight: 400; margin-top: 10px; padding-left:10px; padding-right:10px;}
.hero p { font-size: 20px; color: var(--hairline); margin-top: 20px; max-width: 600px;  padding-left:10px; padding-right:10px;}
.hero-cities {    font-size: 23px;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 20px;
 }

/* Sections */
section { padding: 100px 50px; }
.dark-section { background: var(--dark); color: var(--cream); }
.light-section { background: var(--cream); color: var(--ink); text-align: center; }

/* Home: Small firm */
.small-firm { text-align: center; padding: 60px 20px; font-size: 40px; max-width: 900px; margin: 0 auto; line-height: 1.4; }
.small-firm i { font-style: italic; }
.small-firm-sub { text-transform: uppercase; font-family: var(--display); font-size: 12px; letter-spacing: 2px; color: var(--muted); margin-top: 40px; }

/* Firm split section */
.firm-split { display: flex; max-width: 1200px; margin: 0 auto; gap: 50px; text-align: left;}
.firm-split .left { flex: 1; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; }
.firm-split .left .eyebrow { font-size: 10px; letter-spacing: 2px; color: var(--hairline); font-family: var(--display); text-transform: uppercase; margin-bottom: 20px; }
.firm-split .left h3 { font-size: 32px; font-weight: normal; margin-top: 10px; line-height: 1.3; }
.firm-split .right { flex: 2; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; }
.firm-split .right p { margin-bottom: 20px; font-size: 18px; line-height: 1.8; color: #a9bebb; }

/* Deals */
.deals-wrapper { background: var(--cream); padding: 50px 0 0 0; }
.deals-header { max-width: 800px; margin: 0 auto 50px; font-size: 24px; text-align: center; }
.deals-header p.eyebrow { border-top: 1px solid var(--muted); padding-top: 20px; display: inline-block; width: auto; white-space: nowrap; font-size: 10px; letter-spacing: 2px; color: var(--muted); font-family: var(--display); text-transform: uppercase; margin-bottom: 30px; }
.deals-header p{padding-left:10px;padding-right:10px;}
.deals-grid-wrapper { background: var(--dark); color: var(--cream); padding: 50px 0; }
.carousel-container { display: flex; align-items: center; justify-content: center; gap: 20px; max-width: 1200px; margin: 0 auto; position: relative; overflow: hidden; }
.carousel-viewport { overflow: hidden; width: 100%; }
.deals-grid { display: flex; gap: 30px; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.deals-grid > a { width: calc((100% - 60px) / 3); flex-shrink: 0; display: block; overflow: hidden; }
.deals-grid > a img { width: 100%; display: block; border: 4px solid var(--cream); object-fit: contain; background: white; transition: transform 0.4s ease; }
.deals-grid > a:hover img { transform: scale(1.06); }
.carousel-btn { background: none; border: none; color: #7f776e; font-size: 60px; cursor: pointer; transition: color 0.3s; font-family: var(--serif); padding: 0 10px; z-index: 10; }
.carousel-btn:hover { opacity: 1; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--cream); transform: scale(1.3); }

/* Services */
.services-section { max-width: 800px; margin: 0 auto; padding: 0px 20px; text-align: center; }
.services-section .eyebrow { border-top: 1px solid var(--muted); padding-top: 20px; display: inline-block; width: 100px; font-size: 10px; letter-spacing: 2px; color: var(--muted); font-family: var(--display); text-transform: uppercase; margin-bottom: 30px; }
.services-section h2 { font-size: 28px; font-weight: normal; margin-bottom: 0; }
.service-row { display: flex; justify-content: space-between; border-top: 1px solid var(--hairline); padding: 30px 0; text-align: left; }
.service-row h4 { flex: 1; font-family: var(--serif); font-size: 22px; font-weight: normal; }
.service-row p { flex: 2; color: var(--muted); font-size: 16px; }

/* Footer */
footer { background: linear-gradient(rgba(13,43,44,0.85), rgba(13,43,44,0.85)), url('../img/hero.jpg') center/cover fixed; color: var(--hairline); text-align: center; padding: 80px 20px; }
footer img { height: 40px; margin-bottom: 20px; filter: brightness(0) invert(1); }
footer p { font-family: var(--display); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 15px; }
footer a { color: var(--hairline); text-decoration: none; }
footer .copyright { margin-top: 30px; opacity: 0.5; font-size: 10px; }

section { padding: 30px 50px; }

/* CSR Section */
.csr-section { width: 100%; margin: 0; background: url('../img/the_firm/bg_csr.jpg') left center / cover no-repeat; display: flex; justify-content: flex-end; }
.csr-content { width: 60%; max-width: 700px; padding: 40px 60px; text-align: justify; }
.csr-content h3 { font-family: var(--serif); font-size: 24px; font-weight: bold; margin-bottom: 24px; text-align: left; }
.csr-content p { font-size: 16px; line-height: 1.8; color: var(--ink); margin-bottom: 15px; }

/* Team */
.team-header { max-width: 800px; margin: 100px auto 50px; text-align: center; padding: 0 20px; }
.team-header .eyebrow { border-top: 1px solid var(--muted); padding-top: 20px; display: inline-block; width: 100px; font-size: 10px; letter-spacing: 2px; color: var(--muted); font-family: var(--display); text-transform: uppercase; margin-bottom: 30px; }
.team-header h2 { font-size: 36px; font-weight: normal; margin-bottom: 20px;     line-height: 38px;}
.team-header p { font-size: 18px; color: var(--muted); }
.team-grid { max-width: 1000px; margin: 0 auto 100px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.team-member { padding: 40px 20px; text-align: center; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); text-decoration: none; color: inherit; display: block; transition: background 0.3s ease; }
.team-member:hover { background: rgba(0,0,0,0.02); }
.team-member img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; filter: grayscale(100%); margin-bottom: 20px; transition: filter 2s ease; }
.team-member:hover img { filter: grayscale(0%); }
.team-member h4 { font-family: var(--serif); font-size: 18px; font-weight: normal; margin-bottom: 10px; }
.team-member p { font-family: var(--display); font-size: 10px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }

/* Deals Page */
.deals-page-grid { max-width: 1000px; margin: 0 auto 100px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.deals-page-item { padding: 40px; text-align: center; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center; }
.deals-page-item img { width: 100%; object-fit: contain; background: white; border: 4px solid var(--cream); filter: grayscale(100%); transition: filter 2s ease; }
.deals-page-item:hover img { filter: grayscale(0%); }
.deals-page-item .read-more { color: var(--muted); }

/* Services Page Full */
.services-page-wrapper { max-width: 1200px; margin: 0 auto 100px; padding: 0 50px; }
.service-block { display: flex; align-items: center; gap: 80px; margin-bottom: 100px; }
.service-block.reverse { flex-direction: row-reverse; }
.service-img { flex: 1; overflow: hidden; border: 1px solid var(--hairline); }
.service-img img { width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: cover; filter: grayscale(100%); transition: filter 1.5s ease, transform 1.5s ease; display: block; }
.service-block:hover .service-img img { filter: grayscale(0%); transform: scale(1.05); }
.service-text { flex: 1; }
.service-text h2 { font-family: var(--display); font-size: 32px; font-weight: normal; margin-bottom: 20px; }
.service-text p { color: var(--ink); line-height: 1.8; margin-bottom: 15px; font-size: 18px; text-align: justify; }

/* Text Pages (Privacy Policy) */
.text-page-wrapper { max-width: 800px; margin: 0 auto 100px; padding: 0 20px; font-size: 16px; line-height: 1.8; text-align: justify; }
.text-page-wrapper h3 { font-family: var(--display); font-size: 24px; font-weight: normal; margin: 40px 0 20px; border-bottom: 1px solid var(--hairline); padding-bottom: 10px; text-align: left; }
.text-page-wrapper h4 { font-family: var(--serif); font-size: 18px; font-weight: bold; margin: 30px 0 15px; }
.text-page-wrapper ul { margin: 15px 0 15px 40px; }
.text-page-wrapper li { margin-bottom: 10px; }

/* Contact Page */
.contact-wrapper { max-width: 600px; margin: 0 auto 100px; padding: 0 20px; }
.contact-form { display: flex; flex-direction: column; gap: 30px; }
.form-group input[type="text"], .form-group input[type="email"], .form-group textarea {
  width: 100%; padding: 15px 0; background: transparent; border: none; border-bottom: 1px solid var(--hairline);
  font-family: var(--serif); font-size: 16px; color: var(--ink); outline: none; transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus { border-bottom-color: var(--ink); }
.form-group textarea { resize: vertical; }
.checkbox-group label { display: flex; align-items: flex-start; gap: 15px; font-size: 14px; cursor: pointer; color: var(--muted); }
.checkbox-group input { margin-top: 5px; }
.checkbox-group a { color: var(--ink); text-decoration: underline; }
.submit-btn {
  background: var(--dark); color: var(--cream); border: none; padding: 15px 40px; font-family: var(--display);
  text-transform: uppercase; letter-spacing: 2px; font-size: 14px; cursor: pointer; transition: background 0.3s ease; align-self: center; margin-top: 20px;
}
.submit-btn:hover { background: #444; }

/* Profile Page */
.profile-page-wrapper { max-width: 1200px; margin: 0 auto 100px; padding: 0 20px; display: flex; gap: 60px; align-items: flex-start; }
.profile-sidebar { width: 250px; flex-shrink: 0; border-right: 1px solid var(--hairline); padding-right: 30px; }
.profile-sidebar-list { list-style: none; padding: 0; margin: 0; }
.profile-sidebar-list li { margin-bottom: 15px; }
.profile-sidebar-list a { font-family: var(--serif); font-size: 18px; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.profile-sidebar-list a:hover, .profile-sidebar-list a.active { color: var(--ink); }

.profile-content { flex: 1; display: flex; gap: 40px; align-items: flex-start; }
.profile-content img { flex-shrink: 0; max-width: 250px; border-radius: 5px; display: block; border: 4px solid var(--cream); }
.profile-content h2 { font-family: var(--serif); font-size: 36px; margin-bottom: 20px; font-weight: normal; }
.bio-text { color: var(--ink); line-height: 1.8; text-align: justify; flex: 1; }
.bio-text br { margin-bottom: 10px; display: block; content: ""; }

@media (max-width: 940px) {
  .profile-page-wrapper { flex-direction: column; }
  .profile-sidebar { display: none !important; }
  .profile-content { flex-direction: column; gap: 20px; padding: 0 45px; }
  .profile-content img { max-width: 100%; margin: 0 auto; }
  
  .mobile-profile-nav { display: block; }
  .profile-nav-arrow { position: fixed; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; background: rgba(255,255,255,0.95); border: 1px solid var(--hairline); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--ink); text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 1000; font-family: var(--serif); padding-bottom: 3px; box-sizing: border-box; }
  .profile-nav-arrow.prev { left: 5px; }
  .profile-nav-arrow.next { right: 5px; }
}

/* Deal Page */
.deal-page-wrapper { max-width: 1200px; margin: 0 auto 100px; padding: 0 20px; display: flex; gap: 60px; align-items: flex-start; }
.deal-tombstone-col { width: 350px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.tombstone-img-container { position: relative; cursor: pointer; display: block; border: 1px solid var(--hairline); }
.tombstone-img-container img { width: 100%; display: block; transition: filter 0.3s ease; }
.tombstone-img-container:hover img { filter: brightness(0.9); }
.zoom-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0; color: #fff; background: rgba(0,0,0,0.5); border-radius: 50%; padding: 15px; display: flex; align-items: center; justify-content: center; transition: opacity 0.3s; pointer-events: none; }
.zoom-icon svg { width: 32px; height: 32px; }
.tombstone-img-container:hover .zoom-icon { opacity: 1; }

.print-button { border: 1px solid var(--hairline); background: transparent; padding: 15px; font-family: var(--display); text-transform: uppercase; letter-spacing: 1px; font-size: 14px; text-align: center; cursor: pointer; transition: background 0.3s; width: 100%; color: var(--ink); }
.print-button:hover { background: rgba(0,0,0,0.02); }

.pdf-downloads { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.pdf-link { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 14px; color: var(--ink); text-decoration: none; padding: 10px; border: 1px solid transparent; transition: border-color 0.3s; }
.pdf-link:hover { border-color: var(--hairline); }
.pdf-icon { width: 24px; height: 24px; }

.deal-content-col { flex: 1; }
.deal-description { font-size: 18px; color: var(--ink); line-height: 1.8; margin-bottom: 40px; text-align: justify; }

.newspaper-article { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 30px 0; margin-top: 40px; }
.newspaper-occhiello { font-size: 14px; font-style: italic; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.newspaper-title { font-size: 42px; line-height: 1.1; margin-bottom: 10px; font-weight: bold; }
.newspaper-subtitle { font-size: 22px; font-style: italic; margin-bottom: 15px; font-weight: normal; color: #333; }
.newspaper-source { font-size: 12px; margin-bottom: 25px; border-bottom: 1px solid var(--hairline); padding-bottom: 10px; }
.newspaper-text { column-count: 2; column-gap: 40px; column-rule: 1px solid var(--hairline); font-size: 15px; line-height: 1.6; text-align: justify; }
.newspaper-author { font-style: italic; margin-top: 15px; font-weight: bold; display: block; }

@media (max-width: 940px) {
  .deal-page-wrapper { flex-direction: column; }
  .deal-tombstone-col { width: 100%; }
  .newspaper-text { column-count: 1; }
}

/* Lightbox */
.lightbox { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.95); justify-content: center; align-items: center; }
.lightbox img { max-width: 90%; max-height: 90%; box-shadow: 0 10px 40px rgba(0,0,0,0.1); border: 1px solid var(--hairline); }
.lightbox-close { position: absolute; top: 30px; right: 40px; font-size: 40px; cursor: pointer; color: var(--ink); }

/* Mobile Navigation & Footer */
.hero-tagline-mobile { display: none; }
.hero-tagline-desktop {
    display: flex;
    position: static;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    font-family: var(--display);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white !important;
    opacity: 1;
    max-width: 100% !important;
    pointer-events: none;
    margin-top: 70px !important
}
.mobile-header { display: none; }
.mobile-sidebar { display: none; }
.mobile-overlay { display: none; }
.mobile-only { display: none !important; }
.desktop-only { display: block !important; }


@media (max-width: 940px) {
  .hero-brand { display: none; }
  .hero { padding-bottom: 22vh; }
  .hero-tagline-desktop { display: none !important; }
  .small-firm { font-size: 26px; padding: 40px 20px; }
  .firm-split { flex-direction: column; gap: 30px; }
  .service-row { flex-direction: column; gap: 10px; }
  .service-row.first { border-top: none; }
  section { padding: 40px 20px; }
  .deals-grid { gap: 20px; }
  .deals-grid > a { width: 100%; }
  .deals-grid > a img { filter: grayscale(0%) !important; }
  #firm { margin-top: 0 !important; }
  
  .csr-section { background-position: top center; background-size: 100% auto; display: block; padding: 0; padding-top: 50vw; }
  .csr-content { width: 100%; max-width: 100%; padding: 20px 20px; background: var(--cream); }
  
  .services-page-wrapper { padding: 0 20px; margin-top: 60px; }
  .service-block, .service-block.reverse { flex-direction: column; gap: 15px; margin-bottom: 60px; }
  .service-text { display: contents; }
  .service-block h2 { order: 1; margin-bottom: 10px; width: 100%; text-align: left; }
  .service-img { order: 2; width: 100%; margin-bottom: 15px; }
  .service-img img { transition: none !important; }
  .service-block p { order: 3; width: 100%; margin-bottom: -5px; }
  
  .team-carousel-wrapper { position: relative; padding: 0 10px; margin-bottom: 50px; }
  .team-carousel-wrapper .carousel-btn { font-size: 95px; padding: 0; line-height: 1; }
  .team-grid { display: flex; overflow: visible; border: none; padding-bottom: 0; margin-bottom: 0; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); gap: 20px; }
  .team-member { flex: 0 0 100%; border: none; border-radius: 8px; background: #fff; box-shadow: 0 5px 30px rgba(0,0,0,0.05); margin: 0; padding: 30px 20px 20px 20px; box-sizing: border-box; }
  .team-member img { filter: grayscale(0%) !important; width: 140px; height: 140px; margin-bottom: 15px; }
  .team-member::after { content: "Read more"; display: inline-block; margin-top: 15px; font-family: var(--display); font-size: 13px; text-transform: uppercase; border-bottom: 1px dashed var(--muted); padding-bottom: 3px; letter-spacing: 1px; color: var(--ink); }
  #team-dots { margin-top: 15px; }
  .team-header { margin: 50px auto 0px; }
  .team-header .eyebrow { margin-bottom: 0px; }
  .team-header h2 { margin-top: 30px; }
  
  .deals-carousel-wrapper { position: relative; padding: 0 10px; margin-bottom: 50px; }
  .deals-carousel-wrapper .carousel-btn { font-size: 60px; padding: 0; }
  .deals-page-grid { display: flex; overflow: visible; border: none; padding-bottom: 0; margin-bottom: 0; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); gap: 20px; }
  .deals-page-item { flex: 0 0 100%; border: none; padding: 0 20px; box-sizing: border-box; }
  .deals-page-item img { filter: grayscale(0%) !important; width: 100%; object-fit: contain; background: white; border: 4px solid var(--cream); }
  #deals-dots { margin-top: 25px; }
  .deals-grid-wrapper .read-more-container { text-align: center; margin-top: 20px; }
  .hero-tagline-mobile { display: block; position: relative; top: 100px; left: 0; right: 0; text-align: center; font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: #ffffff; opacity: 1;color: white !important;  }
  .hero { background: var(--dark); }
  .services-section h2 { display: none; }
  .mobile-only { display: block !important; }
  .desktop-only { display: none !important; }
}

@media (max-width: 768px) {
  nav { display: none !important; }
  footer#contact { display: none !important; }
  body { padding-top: 65px; }
  
  .mobile-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: #0D2B2C; color: var(--cream); border-bottom: 1px solid rgba(255,255,255,0.2); position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-sizing: border-box; }
  .mobile-header .brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); text-transform: uppercase; font-size: 14px; letter-spacing: 2px; text-decoration: none; color: var(--cream); }
  .mobile-header .brand img { height: 35px; filter: brightness(0) invert(1); }
  
  .hamburger { display: flex; flex-direction: column; gap: 6px; cursor: pointer; padding: 10px; }
  .hamburger span { width: 30px; height: 1px; background: var(--cream); display: block; transition: 0.3s; }
  
  .mobile-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1001; opacity: 0; visibility: hidden; transition: 0.3s; }
  .mobile-overlay.open { opacity: 1; visibility: visible; }
  
  .mobile-sidebar { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; width: 300px; height: 100%; background: var(--dark); color: var(--cream); z-index: 1002; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); box-sizing: border-box; padding: 50px 30px; overflow-y: auto; }
  .mobile-sidebar.open { transform: translateX(0); }
  
  .mobile-sidebar-nav { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
  .mobile-sidebar-nav a { font-family: var(--display); font-size: 16px; color: var(--cream); text-decoration: none; text-transform: uppercase; letter-spacing: 2px; opacity: 0.5; transition: 0.3s; }
  .mobile-sidebar-nav a.active, .mobile-sidebar-nav a:hover { opacity: 1; }
  
  .mobile-separator { height: 1px; background: rgba(255,255,255,0.1); margin: 20px 0; }
  
  .mobile-privacy { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--muted); text-decoration: none; }
  
  .mobile-footer-data { display: flex; flex-direction: column; gap: 15px; font-family: var(--serif); font-size: 14px; color: var(--muted); line-height: 1.6; }
  .mobile-footer-data a { color: var(--muted); text-decoration: none; }
}

@media (max-width: 1040px) {
  .brand span { font-size: 12px; }
}

@media (max-width: 940px) {
  nav .brand img { display: none; }
}

@media (max-width: 830px) {
  .hero>h1{ font-size: 35px; }
  .nav-links { gap: 20px; }
  section.light-section:not(#services){display:none;}
}

@media (min-width: 769px) and (max-width: 940px) {
  .hero-brand { display: flex !important; flex-direction: column; gap: 15px; }
  .hero-brand img { height: 50px; }
  .hero-brand span { font-size: 26px; letter-spacing: 4px; }
}


.deals-grid-wrapper .carousel-btn{
    color: #c1bfbc;
}