/* =====================================================
   Designology Designs — SHARED STYLES (shared.css)
   Dark Luxury · Gold & Black · Cormorant + Jost
   Fully responsive: 320px → 1920px
   ===================================================== */

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

:root {
  --gold:     #c9a96e;
  --gold-lt:  #e8d5b0;
  --gold-dk:  #8b6d3f;
  --dark:     #080808;
  --dark2:    #0f0f0f;
  --dark3:    #161616;
  --dark4:    #1e1e1e;
  --dark5:    #262626;
  --tx:       #ede8e0;
  --txm:      #7a7268;
  --txd:      #3a3630;
  --border:   rgba(201,169,110,.18);
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'Jost', sans-serif;
  --ease:     cubic-bezier(.23,1,.32,1);
  --nav-h:    80px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--dark); color: var(--tx); overflow-x: hidden; cursor: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--dark); }

/* ── CUSTOM CURSOR (desktop only) ── */
.cur-dot {
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%); transition: width .15s, height .15s;
}
.cur-ring {
  width: 34px; height: 34px; border: 1px solid rgba(201,169,110,.45);
  border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 9998; transform: translate(-50%,-50%);
  transition: transform .1s linear, width .25s, height .25s, border-color .25s;
}
body.ch .cur-ring { width: 52px; height: 52px; border-color: var(--gold); }
body.ch .cur-dot  { width: 10px; height: 10px; }
@media (hover: none) {
  body { cursor: auto; }
  .cur-dot, .cur-ring { display: none; }
}

/* ── LOADER ── */
#loader {
  position: fixed; inset: 0; background: var(--dark); z-index: 9990;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px;
  transition: opacity .7s ease, visibility .7s ease;
}
#loader.hide { opacity: 0; visibility: hidden; }
.ld-ico { width: 64px; height: 64px; animation: ldPulse 1.8s ease-in-out infinite; }
@keyframes ldPulse { 0%,100%{opacity:.4;transform:scale(.94)} 50%{opacity:1;transform:scale(1)} }
.ld-name { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .6em; color: var(--gold); }
.ld-bar  { width: 200px; height: 1px; background: var(--dark5); overflow: hidden; }
.ld-fill { height: 100%; background: var(--gold); animation: ldBar 1.8s ease forwards; }
@keyframes ldBar { from{width:0} to{width:100%} }
.hero-shape {
  background: url("images/logo/desinology.png") no-repeat center;
  background-size: contain;
}
/* ── FIXED HEADER ── */
#header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; transition: all .4s var(--ease);
}
#header.scrolled {
  background: rgba(8,8,8,.96); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border); height: 68px;
}
#header.scrolled .hd-logo .header-logo-img {
  height: clamp(52px, 6vw, 110px);
}
#header.scrolled .hd-logo .logo-text {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
}
.hd-logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.hd-logo .header-logo-img {
  height: clamp(52px, 6vw, 114px);
  width: auto;
  object-fit: contain;
  transition: height .4s var(--ease);
}
.hd-logo .logo-text {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: .3em;
  color: var(--tx);
  transition: font-size .4s var(--ease);
}
.hd-nav { display: flex; gap: 36px; }
.hd-nav a {
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--txm);
  position: relative; padding-bottom: 2px; transition: color .3s; white-space: nowrap;
}
.hd-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .3s var(--ease);
}
.hd-nav a:hover, .hd-nav a.active { color: var(--tx); }
.hd-nav a.active::after, .hd-nav a:hover::after { width: 100%; }
.hd-cta {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold); padding: 10px 22px; transition: all .3s;
  white-space: nowrap; flex-shrink: 0;
}
.hd-cta:hover { background: var(--gold); color: var(--dark); }
.hd-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hd-hamburger span { display: block; width: 24px; height: 1px; background: var(--tx); transition: .3s; }

/* Mobile menu */
.mob-menu {
  position: fixed; inset: 0; background: var(--dark); z-index: 901;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: translateX(100%); transition: transform .55s var(--ease);
}
.mob-menu.open { transform: translateX(0); }
.mob-close {
  position: absolute; top: 24px; right: 5%;
  background: none; border: none; color: var(--tx); font-size: 1.5rem; cursor: pointer;
}
.mob-menu ul { text-align: center; }
.mob-menu li { margin: 12px 0; }
.mob-menu a {
  font-family: var(--serif); font-size: clamp(1.8rem, 6vw, 2.6rem); font-style: italic; color: var(--txm);
  transition: color .3s;
}
.mob-menu a:hover, .mob-menu a.active { color: var(--gold); }

/* ── FOOTER ── */
#footer {
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 60px 5% 0; position: relative; z-index: 10;
}
.ft-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 50px;
  padding-bottom: 50px; border-bottom: 1px solid var(--border);
}
.ft-brand-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.1rem; letter-spacing: .35em; margin-bottom: 16px;
}
.ft-brand-logo svg { width: 28px; height: 28px; flex-shrink: 0; }
.ft-brand p { color: var(--txm); font-size: .88rem; line-height: 1.75; margin-bottom: 22px; }
.ft-social { display: flex; gap: 8px; flex-wrap: wrap; }
.ft-social a {
  width: 34px; height: 34px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; color: var(--txm); transition: .3s; font-weight: 600; text-transform: uppercase;
}
.ft-social a:hover { border-color: var(--gold); color: var(--gold); }
.ft-col h4 { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--tx); margin-bottom: 18px; }
.ft-col li { margin-bottom: 9px; }
.ft-col a { color: var(--txm); font-size: .88rem; transition: .3s; }
.ft-col a:hover { color: var(--gold); padding-left: 4px; }
.ft-sub { display: flex; }
.ft-sub input { flex: 1; min-width: 0; background: var(--dark4); border: 1px solid rgba(255,255,255,.07); padding: 10px 14px; color: var(--tx); font-family: var(--sans); font-size: .85rem; outline: none; }
.ft-sub input:focus { border-color: var(--gold); }
.ft-sub button { background: var(--gold); border: none; padding: 10px 16px; color: var(--dark); cursor: pointer; transition: .3s; font-size: 1rem; flex-shrink: 0; }
.ft-sub button:hover { background: var(--gold-lt); }
.ft-bottom {
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.ft-bottom span { font-size: .75rem; color: var(--txd); }
.ft-bottom a { color: var(--txm); transition: .3s; }
.ft-bottom a:hover { color: var(--gold); }

/* ── PAGE WRAPPER ── */
.page-wrap { padding-top: var(--nav-h); min-height: calc(100vh - var(--nav-h)); }

/* ── PAGE HERO BANNER (inner pages) ── */
.page-banner {
  height: 52vh; min-height: 300px; position: relative;
  display: flex; align-items: flex-end;
}
.pb-bg { position: absolute; inset: 0; }
.pb-bg img { filter: brightness(.35); }
.pb-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.95) 0%, rgba(8,8,8,.4) 60%, transparent 100%);
}
.pb-content { position: relative; z-index: 2; padding: 0 5% 50px; width: 100%; }
.pb-breadcrumb {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--txm); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.pb-breadcrumb a { color: var(--gold); transition: .3s; }
.pb-breadcrumb a:hover { color: var(--gold-lt); }
.pb-breadcrumb span { color: var(--txd); }
.pb-title {
  font-family: var(--serif); font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 300; line-height: 1.05; color: #fff;
}
.pb-title em { font-style: italic; color: var(--gold); }

/* ── SECTION COMMON ── */
.section { padding: 100px 5%; }
.section-sm { padding: 70px 5%; }
.stag {
  font-size: .68rem; letter-spacing: .35em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.stag::after { content: ''; width: 36px; height: 1px; background: var(--gold); flex-shrink: 0; }
.stag.center { justify-content: center; }
.stag.center::after { display: none; }
.sh {
  font-family: var(--serif); font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 300; line-height: 1.15; color: #fff;
}
.sh em { color: var(--gold); font-style: italic; }
.sh.center { text-align: center; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--dark);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 14px 30px; transition: all .3s; cursor: pointer;
  border: 1px solid var(--gold); font-family: var(--sans); white-space: nowrap;
}
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; border: 1px solid var(--border);
  color: var(--txm); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 14px 30px; transition: all .3s; cursor: pointer; font-family: var(--sans);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  transition: gap .3s; cursor: pointer; background: none; border: none; font-family: var(--sans);
}
.btn-text:hover { gap: 14px; }

/* ── CARDS COMMON ── */
.card-hover { transition: transform .4s var(--ease); }
.card-hover:hover { transform: translateY(-4px); }

/* ── REVEAL ANIMATION ── */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.delay1 { transition-delay: .1s; }
.rv.delay2 { transition-delay: .2s; }
.rv.delay3 { transition-delay: .3s; }
.rv.delay4 { transition-delay: .4s; }
.rv.vis { opacity: 1; transform: translateY(0); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(50px);
  background: var(--gold); color: var(--dark); padding: 13px 28px; font-size: .83rem;
  z-index: 9999; opacity: 0; transition: all .4s; pointer-events: none; font-family: var(--sans);
  white-space: nowrap; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── SEPARATOR ── */
.sep { display: flex; align-items: center; gap: 16px; }
.sep::before, .sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.ld-ico {
  width: clamp(140px, 24vw, 300px);
  height: auto;
  object-fit: contain;
  margin-bottom: -68px;
}
/* ══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════ */

/* ── Tablet landscape & below (1024px) ── */
@media (max-width: 1024px) {
  .hd-nav, .hd-cta { display: none; }
  .hd-hamburger { display: flex; }
  .hd-logo .header-logo-img { height: clamp(38px, 6vw, 56px); }
  .hd-logo .logo-text { font-size: clamp(1rem, 2.8vw, 1.35rem); }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .section { padding: 70px 5%; }
  .section-sm { padding: 50px 5%; }
}

/* ── Tablet portrait (768px) ── */
@media (max-width: 768px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pb-content { padding: 0 5% 36px; }
  .page-banner { min-height: 260px; }
}

/* ── Mobile (640px) ── */
@media (max-width: 640px) {
  :root { --nav-h: 62px; }
  .ft-grid { grid-template-columns: 1fr; gap: 32px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section { padding: 60px 4%; }
  .section-sm { padding: 40px 4%; }
  .pb-title { font-size: clamp(1.7rem, 7vw, 2.8rem); }
  .btn-gold, .btn-outline { padding: 13px 22px; font-size: .68rem; }
}

/* ── Small mobile (400px) ── */
@media (max-width: 400px) {
  :root { --nav-h: 58px; }
  .hd-logo .header-logo-img { height: clamp(32px, 10vw, 44px); }
  .hd-logo .logo-text { font-size: clamp(.85rem, 3.5vw, 1.05rem); letter-spacing: .2em; }
  .ft-grid { gap: 24px; }
}
