/* ===========================
   RESOLUTE COWORKS - STYLES
   =========================== */

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

.custom-container {
   width: 100%;
   max-width: 1400px;
   margin: 0 auto;
   padding: 0 15px;
}

html {
   scroll-behavior: smooth;
}

body {
   font-family: 'Inter', sans-serif;
   color: var(--primary_color);
   overflow-x: hidden;
   background: var(--secondary_bg);
}

/* SCROLLBAR */
::-webkit-scrollbar {
   width: 5px;
}

::-webkit-scrollbar-track {
   background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
   background: var(--primary_bg);
   border-radius: var(--quaternary_radius);
}

/* ===========================
   NAVBAR
   =========================== */
nav {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 1000;
   background: var(--secondary_bg);
   box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
   transition: all 0.3s;
}

nav.scrolled {
   box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.nav-top {
   display: flex;
   align-items: center !important;
   justify-content: space-between;
   padding: 12px 40px;
   border-bottom: 1px solid #f0ece6;
   box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.logo {
   display: flex;
   align-items: center;
   gap: 10px;
   width: 185px;
   text-decoration: none;
}

.logo-icon {
   width: 44px;
   height: 44px;
   background: var(--primary_bg);
   border-radius: 4px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--secondary_color);
   font-weight: var(--secondary_fw);
   font-size: 16px;
   letter-spacing: 1px;
}

.logo-text h2 {
   font-family: var(--primary_font), serif;
   font-size: var(--secondary_text);
   color: var(--primary_bg);
   letter-spacing: 2px;
   line-height: 1.1;
}

.logo-text span {
   font-size: 9px;
   color: #666;
   letter-spacing: 3px;
   text-transform: uppercase;
}

.nav-right {
   display: flex;
   align-items: center;
   gap: 30px;
}

.nav-links-top {
   display: flex;
   gap: 40px;
   list-style: none;
   margin: 0;
}

.nav-links-top a {
   transition: color 0.3s;
   font-family: var(--secondary_font);
   font-style: normal;
   font-weight: var(--font-weight-regular);
   font-size: var(--tertiary_text);
   line-height: 1.1;
   /* identical to box height */
   text-align: center;
   text-decoration: none;
   color: var(--primary_color);


}

.nav-links-top a:hover,
.nav-links-top a.active {
   color: var(--tertiary_color);

}

.nav-call {
   display: flex;
   flex-direction: column;
   align-items: flex-end;
}

.nav-call span {
   font-family: var(--secondary_font);
   font-style: normal;
   font-weight: 300;
   font-size: var(--quaternary_text);
   line-height: 1.1;
   text-decoration: none;
   color: var(--primary_color);
   display: block;
}

.nav-call strong {
   font-family: var(--secondary_font);
   font-style: normal;
   font-weight: var(--tertiary_fw);
   font-size: var(--tertiary_text);
   line-height: 1.1;
   text-decoration: none;
   color: var(--primary_color);
   display: block;
   margin-top: 5px;
}

.nav-right .icon {
   width: 42px;
   height: 42px;
   background: var(--primary_bg);
   border-radius: 50%;
   display: grid;
   place-items: center;
   text-decoration: none;

}

.nav-right .icon i {
   font-size: var(--tertiary_text);
   color: var(--quaternary_color);
   text-decoration: none;
}

.primary-btn {
   font-family: var(--secondary_font);
   font-style: normal;
   font-size: var(--tertiary_text);
   line-height: 1.1;
   text-decoration: none;
   color: var(--quaternary_color);
   cursor: pointer;
   transition: background 0.3s;

   border-radius: var(--quaternary_radius);
   font-weight: var(--quinary_fw);
   font-size: var(--secondary_text);
   padding: 12px 22px;
   border: none;
   background-color: var(--primary_bg);
}

.primary-btn:hover {
   background: var(--tertiary_color);
}

.primary-btn-outline {
   font-family: var(--secondary_font);
   font-style: normal;
   font-size: var(--tertiary_text);
   line-height: 1.1;
   text-decoration: none;
   color: var(--tertiary_color);
   cursor: pointer;
   transition: background 0.3s;
   background-color: transparent;
   border-radius: var(--quaternary_radius);
   font-weight: var(--quaternary_fw);
   font-size: var(--secondary_text);
   padding: 12px 22px;
   border: none;
   border: 3px solid var(--primary_bg);
}

.primary-btn-outline:hover {
   background: var(--tertiary_color);
}

/* Category Nav Wrapper */
.nav-categories-wrapper {
    position: relative;
    display: flex;
    z-index: 100;
    align-items: center;
    padding: 0 40px;
    background: var(--quinary_bg);
    border-bottom: 1px solid #f0ece6;
}

.nav-categories {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    overflow-x: auto;
    background: var(--secondary_bg);
    scroll-behavior: smooth;
    width: 100%;
    padding: 8px 0;
}

.nav-categories::-webkit-scrollbar {
   display: none;
}

.nav-categories {
   -ms-overflow-style: none;
   scrollbar-width: none;
}

.category-arrow {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   width: 48px;
   height: 48px;
   border-radius: 50%;
   background: transparent;
   border: none;
   color: var(--tertiary_color);
   font-size: 42px;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   z-index: 10;
   transition: all 0.3s ease;
   padding: 0;
   font-weight: bold;
}

.category-arrow:hover {
   background: var(--tertiary_color);
   color: var(--secondary_color);
   border-color: var(--tertiary_color);
   box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
   transform: translateY(-50%) scale(1.1);
}

.category-arrow.left {
   left: 10px;
}

.category-arrow.right {
   right: 10px;
}

.category-arrow.disabled {
   pointer-events: none;
}

.cat-item {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 4px;
   padding: 8px 18px;
   cursor: pointer;
   position: relative;
   transition: all 0.3s;
   border-bottom: 2px solid transparent;
   white-space: nowrap;
}

.cat-item:hover,
.cat-item.active {
   border-bottom-color: var(--primary_bg);
}

.cat-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary_color);
}
.cat-icon svg {
   width: 22px;
   height: 22px;
}

.cat-item:hover .cat-icon,
.cat-item.active .cat-icon {
   color: var(--primary_bg);
}

.cat-label {
   font-family: var(--primary_font), serif;
   font-size: 11px;
   color: #000;
   font-weight: var(--quaternary_fw);
}

.cat-item:hover .cat-label,
.cat-item.active .cat-label {
   color: var(--primary_bg);
}

.cat-divider {
   width: 1px;
   height: 40px;
   background: #e8e0d8;
   margin: 0 4px;
}

/* ===========================
   POPUP
   =========================== */
.popup-overlay {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: rgba(0, 0, 0, 0.5);
   z-index: 2000;
   display: none;
   align-items: center;
   justify-content: center;
   backdrop-filter: blur(4px);
}

.popup-overlay.active {
   display: flex;
}

.popup-box {
   background: var(--secondary_bg);
   border-radius: 12px;
   width: 90%;
   max-width: 500px;
   overflow: hidden;
   box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
   animation: popupIn 0.3s ease;
}

@keyframes popupIn {
   from {
      opacity: 0;
      transform: translateY(-30px) scale(0.95);
   }

   to {
      opacity: 1;
      transform: translateY(0) scale(1);
   }
}

.popup-header {
   background: var(--primary_bg);
   color: var(--secondary_color);
   padding: 16px 20px;
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.popup-header h3 {
   font-size: var(--tertiary_text);
   font-weight: var(--tertiary_fw);
}

.popup-close {
   background: rgba(255, 255, 255, 0.2);
   border: none;
   color: var(--secondary_color);
   width: 28px;
   height: 28px;
   border-radius: 50%;
   cursor: pointer;
   font-size: 16px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.popup-close:hover {
   background: rgba(255, 255, 255, 0.35);
}

.popup-cats {
   display: flex;
   flex-wrap: wrap;
   padding: 10px 20px 0;
   gap: 8px;
   border-bottom: 1px solid #f0ece6;
}

.popup-cat-btn {
   padding: 6px 14px;
   border: 1px solid #ddd;
   border-radius: var(--quinary_radius);
   background: var(--secondary_bg);
   font-size: var(--quaternary_text);
   cursor: pointer;
   transition: all 0.2s;
}

.popup-cat-btn.active,
.popup-cat-btn:hover {
   background: var(--primary_bg);
   color: var(--secondary_color);
   border-color: var(--primary_bg);
}

.popup-content {
   padding: 24px;
}

.popup-content h2 {
   font-family: var(--primary_font), serif;
   font-size: 26px;
   color: var(--primary_bg);
   line-height: 1.2;
   margin-bottom: 6px;
}

.popup-badge {
   display: inline-block;
   background: #fff3ee;
   color: var(--primary_bg);
   border: 1px solid var(--primary_bg);
   font-size: 11px;
   padding: 3px 10px;
   border-radius: var(--quinary_radius);
   margin-bottom: 12px;
}

.popup-desc {
   font-size: 13px;
   color: #666;
   line-height: 1.6;
   margin-bottom: 16px;
}

.popup-price {
   font-size: 22px;
   font-weight: var(--secondary_fw);
   color: var(--primary_bg);
   margin-bottom: 16px;
}

.popup-price span {
   font-size: 13px;
   font-weight: var(--quinary_fw);
   color: #666;
}

.popup-actions {
   display: flex;
   gap: 10px;
}

.btn-popup-primary {
   background: var(--primary_bg);
   color: var(--secondary_color);
   padding: 10px 20px;
   border: none;
   border-radius: 6px;
   font-size: 13px;
   cursor: pointer;
   font-weight: var(--quaternary_fw);
   transition: background 0.3s;
}

.btn-popup-primary:hover {
   background: var(--tertiary_color);
}

.btn-popup-secondary {
   background: var(--secondary_bg);
   color: var(--primary_bg);
   padding: 10px 20px;
   border: 1.5px solid var(--primary_bg);
   border-radius: 6px;
   font-size: 13px;
   cursor: pointer;
   font-weight: var(--quaternary_fw);
   transition: all 0.3s;
}

.btn-popup-secondary:hover {
   background: var(--primary_bg);
   color: var(--secondary_color);
}

.popup-explore {
   margin-top: 14px;
   font-size: 13px;
   color: var(--primary_bg);
   cursor: pointer;
   display: inline-flex;
   align-items: center;
   gap: 6px;
   text-decoration: underline;
}

.popup-img {
   width: 100%;
   height: 140px;
   background: linear-gradient(135deg, #e8d5c4, #d4a87a);
   border-radius: 8px;
   margin-bottom: 16px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 40px;
}

/* ===========================
   FIXED SOCIAL BAR
   =========================== */
.social-bar {
   position: fixed;
   right: 0;
   top: 50%;
   transform: translateY(-50%);
   z-index: 900;
   display: flex;
   flex-direction: column;
   gap: 0;
}

.social-item {
   position: relative;
   width: 40px;
   height: 40px;
   background: var(--primary_bg);
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition: all 0.3s;
   border-left: 3px solid var(--tertiary_color);
}

.social-item i{
   color: var(--secondary_color);
}
.social-item:first-child {
   border-radius: 6px 0 0 0;
}

.social-item:last-child {
   border-radius: 0 0 0 6px;
}

.social-item:hover {
   background: var(--tertiary_color);
   width: 44px;
}

.social-item svg {
   width: 16px;
   height: 16px;
   fill: var(--secondary_color);
}

.social-tooltip {
   position: absolute;
   right: 44px;
   background: var(--tertiary_color);
   color: var(--secondary_color);
   padding: 5px 12px;
   border-radius: 4px;
   font-size: var(--quaternary_text);
   white-space: nowrap;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.2s;
   transform: translateX(4px);
}

.social-tooltip::after {
   content: '';
   position: absolute;
   left: 100%;
   top: 50%;
   transform: translateY(-50%);
   border: 5px solid transparent;
   border-left-color: var(--tertiary_color);
}

.social-item:hover .social-tooltip {
   opacity: 1;
}

/* Premium Image Block Component */
.img-block {
   position: relative;
   width: 100%;
   padding: 15px;
   display: inline-block;
}

.img-block-inner {
   position: relative;
   border-radius: 24px;
   overflow: hidden;
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
   z-index: 2;
   aspect-ratio: 4/3;
   background: #f0ece6;
}

.about .img-block-inner {
   position: relative;
   border-radius: 24px;
   overflow: hidden;
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
   z-index: 2;
   height: 350px;
   width: 100%;
   aspect-ratio: 4/3;
   background: #f0ece6;
}

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

.img-block:hover .img-block-inner img {
   transform: scale(1.06);
}

.img-block::after {
   content: '';
   position: absolute;
   top: 30px;
   left: 30px;
   right: 0px;
   bottom: 0px;
   border: 2px solid var(--primary_bg);
   border-radius: 24px;
   z-index: 1;
   pointer-events: none;
   transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-block:hover::after {
   top: 20px;
   left: 20px;
}

/* ===========================
   HERO
   =========================== */
.hero {
   margin-top: 140px;
   min-height: 85vh;
   display: flex;
   align-items: center;
   position: relative;
   overflow: hidden;
   background: var(--tertiary_bg);
   padding: 60px 0;
}

.hero-bg-dots {
   position: absolute;
   right: 0;
   top: 0;
   bottom: 0;
   width: 45%;
   background-image: radial-gradient(circle, #c4a882 1px, transparent 1px);
   background-size: 24px 24px;
   opacity: 0.35;
}

.hero-inner {
   margin: 0;
   width: 100%;
}

.hero-content {
   max-width: 560px;
}

.hero-eyebrow {
   font-family: var(--secondary_font);
   font-style: normal;
   font-size: var(--quinary_heading);
   line-height: 1.1;
   color: var(--tertiary_color);
   letter-spacing: 3px;
   text-transform: uppercase;
   margin-bottom: 16px;
   transition: opacity 0.4s, transform 0.4s;
   font-weight: 300;
}

.hero-heading {
   font-family: var(--primary_font);
   font-style: normal;
   font-size: var(--primary_heading);
   line-height: 1.2;
   color: var(--primary_color);
   margin-bottom: 20px;
   transition: opacity 0.4s, transform 0.4s;
}

.hero-heading span {
   color: var(--tertiary_color);
}

.hero-sub {
   font-family: var(--secondery_font);
   font-style: normal;
   font-size: var(--tertiary_text);
   line-height: 1.2;
   color: var(--primary_color);

   margin-bottom: 30px;
   transition: opacity 0.4s, transform 0.4s;
}

.hero-form {
   display: flex;
   gap: 0;
   margin-bottom: 20px;
   flex-wrap: wrap;
}

.hero-input {
   flex: 1 1 0%;
   min-width: 220px;
   padding: 18px 18px;
   border: 1.5px solid rgb(221, 221, 221);
   border-radius: 6px 0px 0px 6px;
   font-size: 14px;
   outline: none;
   transition: border 0.3s;
}

.hero-input:focus {
   border-color: var(--primary_bg);
}

.btn-explore {
   background: var(--primary_bg);
   color: var(--secondary_color);
   padding: 13px 24px;
   border: none;
   border-radius: 0 6px 6px 0;
   font-size: var(--tertiary_text);
   font-weight: var(--quaternary_fw);
   cursor: pointer;
   transition: background 0.3s;
   white-space: nowrap;
}

.btn-explore:hover {
   background: var(--tertiary_color);
}


.hero-slide-img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   position: absolute;
   top: 0;
   left: 0;
   transition: opacity 0.8s ease;
}

.hero-slide-img.hidden {
   opacity: 0;
}

.hero-slide-img.visible {
   opacity: 1;
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
   opacity: 0;
   transform: translateY(40px);
   transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
   opacity: 1;
   transform: translateY(0);
}

.reveal-left {
   opacity: 0;
   transform: translateX(-50px);
   transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
   opacity: 1;
   transform: translateX(0);
}

.reveal-right {
   opacity: 0;
   transform: translateX(50px);
   transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
   opacity: 1;
   transform: translateX(0);
}

/* ===========================
   SECTION COMMON
   =========================== */
section {
   padding: 80px 0;
}

.section-eyebrow {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   font-size: var(--quaternary_text);
   font-weight: var(--tertiary_fw);
   color: var(--primary_bg);
   letter-spacing: 2px;
   text-transform: uppercase;
   margin-bottom: 12px;

background: linear-gradient(180deg, #FFFFFF -22.58%, #EFE8E1 100%);

}

.section-eyebrow::before {
   content: '';
   width: 30px;
   height: 2px;
   background: var(--primary_bg);
}

.section-title {
   font-family: var(--primary_font), serif;
   font-size: var(--secondary_heading);
   color: var(--primary_color);
   line-height: 1.2;
   margin-bottom: 16px;
}

.section-title span {
   color: var(--primary_bg);
}

.section-sub {
   font-size: var(--tertiary_text);
   color: var(--primary_color);
   line-height: 1.7;
   max-width: 540px;
}

/* ===========================
   ABOUT
   =========================== */
.about {
   background: var(--secondary_bg);
}

.about .btn-about {
   display: inline-block;
   background: var(--primary_bg);
   color: var(--secondary_color);
   padding: 12px 28px;
   border-radius: 6px;
   font-size: var(--tertiary_text);
   font-weight: var(--quaternary_fw);
   text-decoration: none;
   margin-top: 24px;
   cursor: pointer;
   border: none;
   transition: background 0.3s;
}

.about .btn-about:hover {
   background: var(--tertiary_color);
}

.about .stats-row {
   margin-top: 50px;
   background: var(--tertiary_bg);
   border-radius: 12px;
   overflow: hidden;
}


.about .card .stat-icon {
   width: 85px;
   height: 85px;
   background: var(--primary_bg);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: -70px auto 20px;
   color: var(--secondary_color);
   font-size: var(--secondary_text);
   box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.18);

}


.about .card .stat-icon i {
   font-size: 30px;
}

.about .card {
   background: var(--secondary_bg);
   padding: 30px 20px;
   text-align: center;
   margin-top: 80px;

   border: 1px solid #E4E4E4;
   box-shadow: 2px 3px 16.1px rgba(0, 0, 0, 0.19);
   border-radius: var(--quaternary_radius);

}

.about .card .stat-number {
   font-family: var(--primary_font), serif;
   font-size: 36px;
   font-weight: var(--secondary_fw);
   color: var(--primary_bg);
   display: block;
   margin: 0 auto;
}

.about .card .stat-label {
   font-size: var(--quaternary_text);
   color: #666;
   font-weight: var(--quaternary_fw);
   display: block;
   margin: 0 auto;
}

@media (max-width: 767px) {
   .stat-item {
      border-bottom: 1px solid #e0d8d0;
   }

   .stat-item:nth-child(2n) {
      border-right: none;
   }

   .stat-item:nth-last-child(-n+2) {
      border-bottom: none;
   }
}

/* ===========================
   WHY CHOOSE US
   =========================== */
.why {
   background: var(--tertiary_bg);
}

.why-point {
   display: flex;
   gap: 14px;
   margin-top: 20px;
   padding: 16px;
   border-left: 3px solid var(--primary_bg);
   background: var(--secondary_bg);
   border-radius: 0 8px 8px 0;
}

.why-point-title {
   font-weight: var(--tertiary_fw);
   font-size: 14px;
   margin-bottom: 4px;
}

.why-point-desc {
   font-size: 13px;
   color: #666;
   line-height: 1.6;
}

.why-images {
   position: relative;
   height: 340px;
   width: 100%;
   max-width: 420px;
   margin: 0 auto;
}

.why-img-main {
   width: 220px;
   height: 200px;
   border-radius: 12px;
   position: absolute;
   top: 0;
   right: 0;
   overflow: hidden;
}

.why-img-secondary {
   width: 200px;
   height: 180px;
   border-radius: 12px;
   position: absolute;
   bottom: 0;
   left: 0;
   overflow: hidden;
}

.why-img-main img,
.why-img-secondary img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.play-btn {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 56px;
   height: 56px;
   background: var(--primary_bg);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   box-shadow: 0 0 0 12px rgba(123, 63, 42, 0.15);
   transition: transform 0.3s;
}

.play-btn:hover {
   transform: translate(-50%, -50%) scale(1.1);
}

.play-btn svg {
   width: 20px;
   height: 20px;
   fill: var(--secondary_color);
   margin-left: 3px;
}

/* ===========================
   SERVICES
   =========================== */
.services-section {
   background: radial-gradient(31.01% 31.01% at 50% 54.04%, #A69890 0%, #A1887B 100%)
      /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
   ;
   position: relative;
   padding: 80px 0;
   z-index: 1;
}

.services-section .background-img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   position: absolute;
   top: 0;
   left: 0;
   z-index: -1;
}

.services-section .background-img img {
    width: 100%;
    height: 100%;
}

.services-section .section-eyebrow {
   color: #d4a87a;
}

.services-section .section-title {
   color: var(--secondary_color);
}

.services-section .section-sub {
   color: rgba(255, 255, 255, 0.65);
}

.service-tabs {
   display: flex;
   gap: 6px;
   justify-content: center;
   margin: 30px 0 28px;
   flex-wrap: wrap;
}

.service-tab {
    padding: 9px 18px;
    border-radius: var(--quinary_radius);
    font-size: var(--quaternary_text);
    font-weight: var(--quaternary_fw);
    cursor: pointer;
    background: rgba(80, 68, 62, 0.83);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
}

.service-tab.active,
.service-tab:hover {
   background: var(--primary_bg);
   border-color: var(--primary_bg);
   color: var(--secondary_color);
}

.service-card {
   background: rgba(255, 255, 255, 0.06);
   border-radius: 10px;
   overflow: hidden;
   transition: transform 0.3s, box-shadow 0.3s;
   cursor: pointer;
   height: 100%;
}

.service-card:hover {
   transform: translateY(-6px);
   box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-card-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.service-card-img img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.service-badge {
   position: absolute;
   top: 40px;
   right: 0;
   background:#E16010;
   color: var(--secondary_color);
   font-size: var(--quaternary_text);
   padding: 3px 10px;
   font-weight: var(--tertiary_fw);
}

.service-card-body {
    padding: 16px;
    background: #50443E;
    height: 190px;
    border-radius: 0px 0px 15px 15px;
}

.service-card-body h4 {
   color: var(--secondary_color);
   font-size: var(--quaternary_heading);
   font-weight: var(--quinary_fw);
   margin-bottom: 6px;
}


.services-section .section-eyebrow {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   font-size: var(--quaternary_text);
   font-weight: var(--tertiary_fw);
   font-family: var(--secondary_font);
   color: var(--quinary_color);
   letter-spacing: 2px;
   text-transform: uppercase;
   padding: 10px 20px;
   background: rgba(80, 68, 62, 0.83);
   border-radius: var(--secondary_radius);
   display: block;
   margin: 0 auto 12px;
   width: fit-content;
}


.services-section .section-title {
   font-family: var(--primary_font), serif;
   font-size: var(--secondary_heading);
   color: var(--quinary_color);
   line-height: 1.2;
   margin-bottom: 16px;
   text-align: center;
}

.services-section .section-title span {
   color: var(--primary_bg);
}

.services-section .section-sub {
   font-size: var(--tertiary_text);
   color: var(--quinary_color);
   font-weight: var(--quaternary_fw);
   font-family: var(--secondary_font);
   line-height: 1.7;
   max-width: 540px;
   text-align: center;
   display: block;
   margin: 0 auto;
}

.service-card-body p {
   color:var(--quaternary_color);
   font-size: var(--tertiary_text);
   line-height: 1.5;
   font-weight: var(--quinary_fw);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--secondary_color);
    font-size: var(--quinary_heading );
    font-weight: var(--tertiary_fw);
    margin-top: 10px;
    cursor: pointer;
}

.read-more:hover {
   color: var(--secondary_color);
}

.btn-view-all {
   display: block;
   margin: 32px auto 0;
   color: var(--secondary_color);
   border:none;
   padding: 12px 32px;
   border-radius: 6px;
   font-size: 13px;
   cursor: pointer;
   background-color: var(--primary_bg);
   transition: all 0.3s;
}

.btn-view-all:hover {
   background: var(--primary_bg);
   border-color: var(--primary_bg);
}

/* ===========================
   WORKSPACE STATS
   =========================== */
.workspace-stats {
    background: linear-gradient(180deg, #FFFFFF -22.58%, #EFE8E1 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0 190px 0;
}

.workspace-stats::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 120px;
    background: #ffffff;
    clip-path: path("M0,80 C180,10 380,20 560,70 C760,125 960,125 1160,65 C1360,5 1560,0 1760,60 C1880,100 1960,110 2000,75 L2000,120 L0,120 Z");
}
.stats-grid {
   margin-top: 40px;
}

.ws-stat {
   padding: 28px 16px;
   text-align: center;
   transition: transform 0.3s;
   height: 100%;

height: 322px;

background: linear-gradient(180deg, #9D5131 0%, #73361C 100%);
box-shadow: 1px 3px 16.2px rgba(0, 0, 0, 0.25);
border-radius: 15px 15px 5px 5px;

}

.ws-stat:hover {
   transform: translateY(-4px);
}

.ws-stat-icon {
   width: 50px;
   height: 50px;
   background: var(--primary_bg);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 12px;
   color: var(--secondary_color);
width: 92.12px;
height: 92.12px;
background: rgba(255, 255, 255, 0.38);

}

.ws-stat-icon i {
   font-size: 28px;
}

.ws-stat-number {
   font-family: var(--secondery_font), serif;
   font-size:var(--primary_heading);
   font-weight: var(--secondary_fw);
   color: var(--secondary_color);
}

.ws-stat-label {
   font-size: var(--quaternary_text);
   color: var(--secondary_color);
   margin-top: 4px;
   font-weight: var(--quaternary_fw);
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
   background: var(--secondary_bg);
   text-align: center;
}

.testimonial-card {
    position: relative;
    background: var(--tertiary_bg);
    border-radius: var(--quaternary_radius);
    overflow: visible;
}

.card-header {
    height: calc(var(--quaternary_heading) * 2.25);
    background: var(--primary_bg);
    display: flex;
    align-items: center;
    padding-inline: var(--tertiary_radius);
}

.card-header span {
    color: var(--secondary_color);
    font-size: var(--tertiary_heading);
    font-weight: var(--secondary_fw);
    font-family: var(--secondery_font);
    line-height: 1;
}

.profile-image {
    position: absolute;
    top: calc(var(--quaternary_radius) * 2);
    right: var(--tertiary_radius);
    width:80px;
    height:80px;
    border-radius: 50%;
    background: var(--tertiary_bg);
    border: 2px solid var(--primary_bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-image img {
    width:100%;
    height:100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.card-content {
    padding: 15px;
    background: #FFFFFF;
border: 1px solid #E4E4E4;
box-shadow: 2px 2px 11.1px rgba(0, 0, 0, 0.19);
}

.card-content h3 {
    margin-bottom: 15px;
    color: var(--primary_color);
    font-size: var(--tertiary_heading);
    font-weight: var(--secondary_fw);
    font-family: var(--secondery_font);
    text-align: start;
}

.card-content p {
    color: var(--primary_color);
    font-size: var(--tertiary_text);
    font-weight: var(--quinary_fw);
    font-family: var(--secondery_font);
    line-height: 1.2;
    text-align: start;
}

.testimonial-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: var(--tertiary_radius);
    height: var(--tertiary_radius);
    background: var(--primary_bg);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
}
.test-dots {
   display: flex;
   justify-content: center;
   gap: 8px;
   margin-top: 28px;
}

.test-dot {
   width: 8px;
   height: 8px;
   border-radius: 50%;
   background: #ddd;
   cursor: pointer;
   transition: all 0.3s;
}

.test-dot.active {
   background: var(--primary_bg);
   width: 24px;
   border-radius: 4px;
}

/* ===========================
   CONTACT
   =========================== */
.contact-section{
    background-image:
        linear-gradient(358.39deg,
        #545454 1.37%,
        rgba(155,169,144,0) 80%,
        rgba(67,67,67,0.67) 98.63%),
        url('../assets/imgs/contact-us-bgi.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


.contact-inner {
   position: relative;
   z-index: 1;
}

.contact-left .section-title {
   color: var(--secondary_color);
}

.contact-info-item {
   display: flex;
   align-items: center;
   gap: 14px;
   margin-top: 22px;
}

.contact-info-icon {
   width: 68px;
   height: 62px;
   background:var(--primary_bg);
   border-radius: 8px;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}

.contact-info-icon i {
   font-size: var(--secondary_text);
   stroke: var(--secondary_color);
   fill: none;
   color: var(--secondary_color);
}

.contact-info-text span {
font-family: var(--secondary_font), serif;
font-style: normal;
font-weight: 700;
font-size: var(--quinary_heading);
line-height: 39px;
color: #FFFFFF;
   display: block;
}

.contact-info-text strong {
   color: var(--secondary_color);
   font-size: var(--primary_text);
   text-transform: capitalize;
   font-weight: var(--quinary_fw);
}

.contact-right {
   border-radius: 14px;
   padding: 32px;
background: rgba(255, 255, 255, 0.56);
border: 0.5px solid #C9C9C9;
backdrop-filter: blur(4px);
/* Note: backdrop-filter has minimal browser support */
border-radius: 5px;

}

.contact-right h3 {
   font-family: var(--primary_font), serif;
   font-size: 22px;
   color: var(--primary_bg);
   margin-bottom: 22px;
}

.form-row {
   margin-bottom: 24px;
}

.form-input {
   width: 100%;
   padding: 12px 16px;
   border: 1.5px solid #e0d8d0;
   border-radius: 6px;
   font-size: 13px;
   font-family: inherit;
   outline: none;
   transition: border 0.3s;
   margin-bottom: 20px;
}

.form-input:focus {
   border-color: var(--primary_bg);
}

.form-input.full {
   grid-column: span 2;
}

.btn-submit {
   width: 100%;
   background: var(--primary_bg);
   color: var(--secondary_color);
   padding: 14px;
   border: none;
   border-radius: 6px;
   font-size: 14px;
   font-weight: var(--tertiary_fw);
   cursor: pointer;
   margin-top: 6px;
   transition: background 0.3s;
}

.btn-submit:hover {
   background: var(--tertiary_color);
}

/* ===========================
   FOOTER
   =========================== */
footer {
   background: var(--secondary_bg);
   padding: 60px 0 30px;
}

.footer-inner {
   padding-bottom: 38px;
   border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner h4 {
   color: var(--primary_color);
   font-size: 15px;
   font-weight: 600;
   margin-bottom: 15px;
}

.footer-logo h2 {
   font-family: var(--primary_font), serif;
   color: var(--primary_color);
   font-size: 22px;
   letter-spacing: 2px;
   margin-bottom: 6px;
}

.footer-logo span {
   font-size: var(--quinary_text);
   color: rgba(0, 0, 0, 0.45);
   letter-spacing: 3px;
   text-transform: uppercase;
}

.footer-logo p {
   color: rgba(0, 0, 0, 0.65);
   font-size: 13px;
   max-width: 320px;
   line-height: 1.7;
   margin-top: 14px;
}

.footer-links {
   display: flex;
   flex-direction: column;
   gap: 10px;
   padding: 0;
   margin: 0;
   list-style: none;
}

.footer-links a {
   color: rgba(0, 0, 0, 0.75);
   text-decoration: none;
   font-size: 14px;
   transition: all 0.3s ease;
}

.footer-links a:hover {
   color: var(--primary_color);
   padding-left: 4px;
}

.footer-social {
   display: flex;
   gap: 12px;
   margin-top: 10px;
}

.footer-social a {
   width: 40px;
   height: 40px;
   background: rgba(0, 0, 0, 0.04);
   border: 1px solid rgba(0, 0, 0, 0.08);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.3s ease;
}

.footer-social a:hover {
   background: rgba(0, 0, 0, 0.08);
   border-color: rgba(0, 0, 0, 0.12);
   transform: translateY(-3px);
}

.footer-social svg {
   width: 18px;
   height: 18px;
   fill: var(--primary_color);
   transition: fill 0.3s ease;
}

.footer-bottom {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding-top: 24px;
   flex-wrap: wrap;
   gap: 12px;
}

.footer-bottom p {
   color: rgba(0, 0, 0, 0.5);
   font-size: var(--quaternary_text);
   margin-bottom: 0;
}

.footer-bottom a {
   color: var(--primary_color);
   text-decoration: none;
   transition: color 0.3s ease;
}

.footer-bottom a:hover {
   color: var(--primary_color);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media(max-width:991px) {
   .hero {
      padding: 40px 0;
   }

   .hero-content {
      margin-bottom: 40px;
   }

   .about-text {
      margin-top: 40px;
   }

   .why-images {
      margin-top: 40px;
   }

   .contact-right {
      margin-top: 40px;
   }

   .footer-logo {
      margin-bottom: 30px;
   }

   .footer-social-col {
      margin-top: 20px;
   }
}

@media(max-width:767px) {
   .footer-bottom {
      flex-direction: column;
      text-align: center;
   }
}





/* ================================================================= */
/* PRIVACY POLICY — inner page */


  .custom-container.legal-page{
    --ink:#2b1c14;
    --ink-soft:#6b5648;
    --line: rgba(157,81,49,0.14);
    --accent: var(--tertiary_color, #9d5131);
    --accent-strong: var(--primary_bg, #9d5131);

    font-family: var(--secondery_font, 'Poppins'), sans-serif;
    background: var(--tertiary_bg, #fffdf1);
    color: var(--ink);
    padding: clamp(40px, 7vw, 90px) clamp(20px, 5vw, 64px) 110px;
    box-sizing: border-box;
  }
  .legal-page *{ box-sizing: border-box; }

  /* ---------- Hero ---------- */
  .legal-page .legal-hero{
    max-width: 760px;
    margin: 0 auto clamp(48px, 6vw, 80px);
  }
  .legal-page .legal-seal{
    width: 58px; height: 58px;
    border-radius: var(--primary_radius, 58px);
    background: linear-gradient(145deg, var(--accent-strong), #c97a4f);
    display:flex; align-items:center; justify-content:center;
    margin-bottom: 22px;
    box-shadow: 0 10px 26px -10px rgba(157,81,49,0.55);
  }
  .legal-page .legal-seal svg{ width:26px; height:26px; stroke:#fff; }
  .legal-page .legal-tag{
    display:inline-block;
    font-size: var(--quaternary_text, 12px);
    font-weight: var(--tertiary_fw, 600);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(157,81,49,0.08);
    border: 1px solid rgba(157,81,49,0.22);
    padding: 8px 18px;
    border-radius: var(--quinary_radius, 20px);
  }
  .legal-page .legal-hero h1{
    font-family: var(--primary_font, 'Libre Baskerville'), serif;
    font-weight: var(--primary_fw, 800);
    font-size: clamp(34px, 5vw, var(--secondary_heading, 55px));
    line-height: 1.12;
    margin: 20px 0 16px;
  }
  .legal-page .legal-intro{
    font-size: var(--secondary_text, 18px);
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 0 6px;
  }
  .legal-page .legal-meta{
    margin-top: 18px;
    display:flex; flex-wrap:wrap; gap: 10px 28px;
    font-size: var(--quaternary_text, 12px);
    color: var(--ink-soft);
  }
  .legal-page .legal-meta strong{ color: var(--ink); font-weight: var(--tertiary_fw,600); }

  /* ---------- Layout ---------- */
  .legal-page .legal-body{
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 270px minmax(0,1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
  }

  /* ---------- TOC ---------- */
  .legal-page .legal-toc{
    position: sticky;
    top: 28px;
    background: var(--secondary_bg, #fff);
    border: 1px solid var(--line);
    border-radius: var(--tertiary_radius, 15px);
    padding: 26px 22px;
  }
  .legal-page .toc-label{
    margin: 0 0 14px;
    font-size: var(--quinary_text, 10px);
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: var(--secondary_fw, 700);
    color: #b08d77;
  }
  .legal-page .legal-toc ol{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:3px; }
  .legal-page .legal-toc a{
    display:flex; align-items:center; gap:12px;
    text-decoration:none;
    font-size: var(--tertiary_text, 15px);
    font-weight: var(--quaternary_fw, 500);
    color: var(--ink-soft);
    padding: 9px 12px;
    border-radius: var(--quaternary_radius, 5px);
    transition: background .2s ease, color .2s ease;
  }
  .legal-page .legal-toc a .toc-num{
    font-family: var(--primary_font, 'Libre Baskerville'), serif;
    font-size: 12px;
    color: var(--accent);
    opacity: .55;
    min-width: 20px;
  }
  .legal-page .legal-toc a:hover{ background: rgba(157,81,49,0.07); color: var(--ink); }
  .legal-page .legal-toc a.active{
    background: var(--accent-strong);
    color: var(--secondary_color, #fff);
  }
  .legal-page .legal-toc a.active .toc-num{ color: var(--secondary_color, #fff); opacity:1; }

  /* ---------- Content ---------- */
  .legal-page .legal-content{ display:flex; flex-direction:column; gap: clamp(28px, 3vw, 44px); }
  .legal-page .legal-section{
    background: var(--secondary_bg, #fff);
    border: 1px solid var(--line);
    border-radius: var(--tertiary_radius, 15px);
    padding: clamp(28px, 4vw, 44px);
    scroll-margin-top: 100px;
  }
  .legal-page .section-no{
    display:block;
    font-family: var(--primary_font, 'Libre Baskerville'), serif;
    font-weight: var(--secondary_fw, 700);
    letter-spacing: .22em;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 10px;
  }
  .legal-page .legal-section h2{
    font-family: var(--primary_font, 'Libre Baskerville'), serif;
    font-size: var(--tertiary_heading, 24px);
    margin: 0 0 16px;
    line-height: 1.3;
  }
  .legal-page .legal-section p,
  .legal-page .legal-section li{
    font-size: var(--tertiary_text, 15px);
    line-height: 1.85;
    color: var(--ink-soft);
    margin: 0 0 14px;
  }
  .legal-page .legal-section ul{ margin: 0 0 14px; padding-left: 20px; }
  .legal-page .legal-section li{ margin-bottom: 8px; }
  .legal-page .legal-section p:last-child,
  .legal-page .legal-section ul:last-child{ margin-bottom: 0; }
  .legal-page .legal-section strong{ color: var(--ink); font-weight: var(--tertiary_fw, 600); }

  .legal-page .legal-note{
    background: rgba(157,81,49,0.06);
    border-left: 3px solid var(--accent-strong);
    border-radius: var(--quaternary_radius, 5px);
    padding: 16px 20px;
    font-size: var(--tertiary_text, 15px);
    line-height: 1.8;
    color: var(--ink-soft);
  }
  .legal-page .legal-note:last-child{ margin-bottom:0; }

  /* ---------- Data cards (signature element) ---------- */
  .legal-page .data-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 6px 0 18px;
  }
  .legal-page .data-card{
    border: 1px solid var(--line);
    border-radius: var(--quaternary_radius, 5px);
    padding: 16px 18px;
    background: rgba(157,81,49,0.04);
  }
  .legal-page .data-card .data-card-icon{
    width: 34px; height: 34px;
    border-radius: var(--quinary_radius, 20px);
    background: var(--accent-strong);
    display:flex; align-items:center; justify-content:center;
    margin-bottom: 10px;
  }
  .legal-page .data-card .data-card-icon svg{ width:16px; height:16px; stroke:#fff; }
  .legal-page .data-card h3{
    font-family: var(--primary_font, 'Libre Baskerville'), serif;
    font-size: var(--quaternary_heading, 20px);
    margin: 0 0 6px;
    color: var(--ink);
  }
  .legal-page .data-card p{
    font-size: var(--quaternary_text, 12px);
    margin: 0;
    line-height: 1.6;
  }

  /* ---------- Footer note ---------- */
  .legal-page .legal-foot{
    max-width: 1200px;
    margin: 56px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    font-size: var(--tertiary_text, 15px);
    color: var(--ink-soft);
    text-align: center;
  }
  .legal-page .legal-foot a{ color: var(--accent); font-weight: var(--tertiary_fw, 600); text-decoration:none; }
  .legal-page .legal-foot a:hover{ text-decoration:underline; }

  /* ---------- Responsive ---------- */
  @media (max-width: 920px){
    .legal-page .legal-body{ grid-template-columns: 1fr; }
    .legal-page .legal-toc{
      position: static;
      display:block;
      overflow-x:auto;
      padding: 14px;
    }
    .legal-page .legal-toc ol{ flex-direction:row; }
    .legal-page .legal-toc a{ white-space:nowrap; }
    .legal-page .toc-label{ padding-left: 12px; }
    .legal-page .data-grid{ grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); }
  }




/* TERMS & CONDITIONS — inner page================================================================== --> */

  .custom-container.legal-page{
    --ink:#2b1c14;
    --ink-soft:#6b5648;
    --line: rgba(157,81,49,0.14);
    --accent: var(--tertiary_color, #9d5131);
    --accent-strong: var(--primary_bg, #9d5131);

    font-family: var(--secondery_font, 'Poppins'), sans-serif;
    background: var(--tertiary_bg, #fffdf1);
    color: var(--ink);
    padding: clamp(40px, 7vw, 90px) clamp(20px, 5vw, 64px) 110px;
    box-sizing: border-box;
  }
  .legal-page *{ box-sizing: border-box; }

  /* ---------- Hero ---------- */
 .legal-page .legal-hero {
    max-width: 760px;
    padding: 120px 0 60px 0;
    margin: 0 auto clamp(48px, 6vw, 80px);
}
.legal-page .legal-seal {
    width: 58px;
    height: 58px;
    border-radius: var(--primary_radius, 58px);
    background: linear-gradient(145deg, var(--accent-strong), #c97a4f);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    /* margin-bottom: 22px; */
    text-align: center;
    box-shadow: 0 10px 26px -10px rgba(157,81,49,0.55);
}
  .legal-page .legal-seal svg{ width:26px; height:26px; stroke:#fff; }
.legal-page .legal-tag {
    display: inline-block;
    font-size: var(--quaternary_text, 12px);
    font-weight: var(--tertiary_fw, 600);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(157,81,49,0.08);
    border: 1px solid rgba(157,81,49,0.22);
    padding: 8px 18px;
    display: block;
    text-align: center;
    border-radius: var(--quinary_radius, 20px);
    width: fit-content;
    margin: 0 auto;
}
 .legal-page .legal-hero h1 {
    font-family: var(--primary_font, 'Libre Baskerville'), serif;
    font-weight: var(--primary_fw, 800);
    font-size: clamp(34px, 5vw, var(--secondary_heading, 55px));
    line-height: 1.12;
    margin: 20px 0 16px;
    text-align: center;
}
.legal-page .legal-intro {
    font-size: var(--secondary_text, 18px);
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: 1240px;
    margin: 0 0 6px;
    text-align: center;
    justify-content: center;
    margin: 0 auto;
}
.legal-page .legal-meta {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    font-size: var(--quaternary_text, 12px);
    color: var(--ink-soft);
}
  .legal-page .legal-meta strong{ color: var(--ink); font-weight: var(--tertiary_fw,600); }

  /* ---------- Layout ---------- */
  .legal-page .legal-body{
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 270px minmax(0,1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
  }

  /* ---------- TOC ---------- */
.legal-page .legal-toc {
    position: sticky;
    top: 161px;
    background: var(--secondary_bg, #fff);
    border: 1px solid var(--line);
    border-radius: var(--tertiary_radius, 15px);
    padding: 26px 22px;
}
  .legal-page .toc-label{
    margin: 0 0 14px;
    font-size: var(--quinary_text, 10px);
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: var(--secondary_fw, 700);
    color: #b08d77;
  }
  .legal-page .legal-toc ol{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:3px; }
  .legal-page .legal-toc a{
    display:flex; align-items:center; gap:12px;
    text-decoration:none;
    font-size: var(--tertiary_text, 15px);
    font-weight: var(--quaternary_fw, 500);
    color: var(--ink-soft);
    padding: 9px 12px;
    border-radius: var(--quaternary_radius, 5px);
    transition: background .2s ease, color .2s ease;
  }
  .legal-page .legal-toc a .toc-num{
    font-family: var(--primary_font, 'Libre Baskerville'), serif;
    font-size: 12px;
    color: var(--accent);
    opacity: .55;
    min-width: 20px;
  }
  .legal-page .legal-toc a:hover{ background: rgba(157,81,49,0.07); color: var(--ink); }
  .legal-page .legal-toc a.active{
    background: var(--accent-strong);
    color: var(--secondary_color, #fff);
  }
  .legal-page .legal-toc a.active .toc-num{ color: var(--secondary_color, #fff); opacity:1; }

  /* ---------- Content ---------- */
  .legal-page .legal-content{ display:flex; flex-direction:column; gap: clamp(28px, 3vw, 44px); }
  .legal-page .legal-section{
    background: var(--secondary_bg, #fff);
    border: 1px solid var(--line);
    border-radius: var(--tertiary_radius, 15px);
    padding: clamp(28px, 4vw, 44px);
    scroll-margin-top: 100px;
  }
  .legal-page .section-no{
    display:block;
    font-family: var(--primary_font, 'Libre Baskerville'), serif;
    font-weight: var(--secondary_fw, 700);
    letter-spacing: .22em;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 10px;
  }
  .legal-page .legal-section h2{
    font-family: var(--primary_font, 'Libre Baskerville'), serif;
    font-size: var(--tertiary_heading, 24px);
    margin: 0 0 16px;
    line-height: 1.3;
  }
  .legal-page .legal-section p,
  .legal-page .legal-section li{
    font-size: var(--tertiary_text, 15px);
    line-height: 1.85;
    color: var(--ink-soft);
    margin: 0 0 14px;
  }
  .legal-page .legal-section ul{ margin: 0 0 14px; padding-left: 20px; }
  .legal-page .legal-section li{ margin-bottom: 8px; }
  .legal-page .legal-section p:last-child,
  .legal-page .legal-section ul:last-child{ margin-bottom: 0; }
  .legal-page .legal-section strong{ color: var(--ink); font-weight: var(--tertiary_fw, 600); }

  .legal-page .legal-note{
    background: rgba(157,81,49,0.06);
    border-left: 3px solid var(--accent-strong);
    border-radius: var(--quaternary_radius, 5px);
    padding: 16px 20px;
    font-size: var(--tertiary_text, 15px);
    line-height: 1.8;
    color: var(--ink-soft);
  }
  .legal-page .legal-note:last-child{ margin-bottom:0; }

  /* ---------- Footer note ---------- */
  .legal-page .legal-foot{
    max-width: 1200px;
    margin: 56px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    font-size: var(--tertiary_text, 15px);
    color: var(--ink-soft);
    text-align: center;
  }
  .legal-page .legal-foot a{ color: var(--accent); font-weight: var(--tertiary_fw, 600); text-decoration:none; }
  .legal-page .legal-foot a:hover{ text-decoration:underline; }

  /* ---------- Responsive ---------- */
  @media (max-width: 920px){
    .legal-page .legal-body{ grid-template-columns: 1fr; }
    .legal-page .legal-toc{
      position: static;
      display:block;
      overflow-x:auto;
      padding: 14px;
    }
    .legal-page .legal-toc ol{ flex-direction:row; }
    .legal-page .legal-toc a{ white-space:nowrap; }
    .legal-page .toc-label{ padding-left: 12px; }
  }