/* =========================================================
   Hidden Loft Studio Luxury Premium Style CSS
   Brand: Hidden Loft Studio – premium, modern, mysterious aesthetic
   Author: Senior CSS & UI Designer
   (MOBILE-FIRST, FLEXBOX-ONLY, NO GRID/COLUMNS, HIGH CONTRAST)
   ========================================================= */

/************ 1. RESET + NORMALIZE ************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F9F7F5;
  color: #23273B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s cubic-bezier(.4,.2,.2,1);
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}

/************ 2. BRAND FONTS + COLORS ************/
:root {
  --color-primary: #23273B;
  --color-secondary: #E8DBD1;
  --color-accent: #84A9C0;
  --color-gold: #C6A664;
  --color-gold-dark: #927C3A;
  --color-bg: #F9F7F5;
  --color-white: #fff;
  --color-black: #18171D;
  --color-border: #e6e3df;
  --radius-main: 18px;
  --shadow-main: 0 8px 32px 0 rgba(35, 39, 59, 0.11);
  --shadow-card: 0 2px 10px 0 rgba(198,166,100,0.10), 0 1px 30px 0 rgba(35,39,59,0.09);
  --font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --transition: all .22s cubic-bezier(.4,.2,.2,1);
}

/************ 3. GLOBAL BODY AND CONTAINER ************/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

/************ 4. TYPOGRAPHY ************/
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem;
  font-weight: 500;
}
.subheadline {
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 1.15rem;
  margin-bottom: 24px;
}
p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-black);
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
  color: var(--color-primary);
}
ul {
  margin-bottom: 16px;
  padding-left: 18px;
}
li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 12px;
}
li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.65em;
}
.text-section ul,
.text-section li {
  padding-left: 0;
  margin-left: 0;
}
.text-section li::before {
  left: 0;
}

/************ 4B. TAG & PRICE LABELS ************/
.tag {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.87em;
  padding: 3px 14px;
  border-radius: 14px;
  letter-spacing: 0.5px;
  font-family: var(--font-display);
  margin-top: 7px;
}
.price {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--color-gold);
  font-size: 1em;
  font-weight: 700;
  background: rgba(198,166,100,0.09);
  padding: 2px 10px;
  border-radius: 13px;
  margin-top: 10px;
}

/************ 5. SECTIONS, WRAPPERS, CARDS ************/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  justify-content: flex-start;
}
.feature {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-main);
  border: 1px solid var(--color-border);
  padding: 28px 24px 24px 24px;
  min-width: 260px;
  flex: 1 1 260px;
  position: relative;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .18s cubic-bezier(.4,.2,.2,1),transform .14s;
}
.feature:hover {
  box-shadow: 0 8px 40px 0 rgba(198,166,100,0.18), 0 2px 12px 0 rgba(35,39,59,0.09);
  transform: translateY(-2px) scale(1.018);
  border-color: var(--color-gold);
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
}
.project-card {
  border-left: 3px solid var(--color-gold);
}
.blog-card {
  border-left: 3px solid var(--color-accent);
}

/************ 6. FLEX/RESPONSIVE - SPECIALS ************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-main);
  padding: 26px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--color-border);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/************ 7. TESTIMONIALS ************/
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(35,39,59,0.11);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 370px;
  font-size: 1.02em;
  font-family: var(--font-body);
  position: relative;
  transition: box-shadow .16s,transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 36px 0 rgba(198,166,100,.15);
  transform: scale(1.017);
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .95em;
  color: var(--color-primary);
  font-family: var(--font-display);
}

/************ 8. CTA BUTTONS ************/
.cta-button, .cta-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.10rem;
  letter-spacing: .03em;
  border-radius: 32px;
  padding: 13px 36px;
  border: none;
  text-align: center;
  box-shadow: 0 2px 9px 0 rgba(198,166,100,0.16);
  cursor: pointer;
  margin-top: 11px;
  margin-bottom: 8px;
  transition: background .17s, box-shadow .19s, transform .11s;
}
.cta-button:hover, .cta-header:hover,
.cta-button:focus-visible, .cta-header:focus-visible {
  background: var(--color-gold-dark);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px 0 rgba(198,166,100,0.20);
  outline: none;
}
.cta-header {
  padding: 11px 26px;
  font-size: 1.01rem;
  margin-left: 22px;
}
nav ul li a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.11rem;
  padding: 8px 12px;
  border-radius: 18px;
  transition: color .19s, background .17s;
}
nav ul li a:hover,
nav ul li a.active {
  background: var(--color-gold);
  color: var(--color-white);
}

/************ 9. HEADER & NAVIGATION ************/
header {
  background: var(--color-white);
  box-shadow: 0 2px 24px 0 rgba(35, 39, 59, 0.06);
  position: sticky;
  top: 0;
  z-index: 990;
  width: 100%;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 18px 14px 14px;
  min-height: 70px;
}
header nav a img {
  height: 40px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
nav ul li {
  margin-bottom: 0;
}
nav ul li a {
  font-size: 1.10rem;
  font-family: var(--font-display);
}

/********** 10. MOBILE MENU (BURGER & SLIDEOVER) **********/
.mobile-menu-toggle {
  display: none;
  background: var(--color-gold);
  color: var(--color-white);
  border: none;
  border-radius: 9px;
  font-size: 2.05rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 28px;
  top: 20px;
  z-index: 1101;
  cursor: pointer;
  transition: background .15s, color .17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-gold-dark);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,39,59,0.92);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.8,.03,.22,1.0);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--color-gold);
  color: var(--color-white);
  border: none;
  border-radius: 7px;
  font-size: 2.1rem;
  margin: 23px 25px 10px 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1220;
}
.mobile-menu-close:hover {
  background: var(--color-gold-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  margin-top: 16vh;
  padding: 0 36px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--color-white);
  background: none;
  padding: 15px 12px 12px 6px;
  border-radius: 0;
  border-bottom: 1px solid rgba(198,166,100,0.18);
  transition: color .18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-gold);
  background: none;
}
@media (max-width: 1024px) {
  header nav ul {
    display: none;
  }
  .cta-header {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/***** 11. FOOTER *****/
footer {
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 0 0 0 0;
  margin-top: 60px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0 15px 0;
}
.footer-top a img {
  height: 38px;
}
.footer-top nav {
  display: flex;
  flex-flow: row wrap;
  gap: 17px;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: .97rem;
}
.footer-top nav a {
  color: var(--color-primary);
  padding: 3px 12px;
  border-radius: 14px;
  transition: background .16s, color .13s;
  font-weight: 500;
}
.footer-top nav a:hover {
  background: var(--color-gold);
  color: var(--color-white);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 16px 0;
}
.contact-info {
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--color-primary);
}
.contact-info strong {
  color: var(--color-primary);
}
.social-links {
  display: flex;
  gap: 18px;
}
.social-links a img {
  height: 32px;
  width: 32px;
  filter: grayscale(40%);
  transition: filter .16s, transform .13s;
}
.social-links a:hover img {
  filter: grayscale(0%) drop-shadow(0 2px 1.5px rgba(198,166,100,0.17));
  transform: scale(1.10);
}
.footer-legal {
  font-size: .92rem;
  color: var(--color-primary);
  padding: 12px 0 22px 0;
  text-align: center;
}

/***** 12. COOKIE CONSENT BANNER & MODAL *****/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 28px 14px 18px 14px;
  box-shadow: 0 -3px 24px 0 rgba(35,39,59,0.18);
  border-radius: 18px 18px 0 0;
  gap: 22px;
  transition: transform .30s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-banner-message {
  font-size: 1.05rem;
  font-family: var(--font-body);
  color: var(--color-white);
  margin-right: 16px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: .97rem;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 9px 28px;
  cursor: pointer;
  background: var(--color-gold);
  color: var(--color-white);
  transition: background .14s, color .14s, box-shadow .15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-gold-dark);
  color: var(--color-white);
  outline: 0;
}
.cookie-btn.reject {
  background: var(--color-accent);
  color: var(--color-white);
  margin-right: 0;
}
.cookie-btn.reject:hover {
  background: #417189;
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 1px solid var(--color-gold);
}
.cookie-btn.settings:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,39,59,0.78);
  z-index: 2100;
  align-items: center;
  justify-content: center;
  transition: opacity .22s;
}
.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 22px;
  padding: 38px 24px 30px 24px;
  min-width: 310px;
  max-width: 94vw;
  box-shadow: 0 9px 46px 0 rgba(35,39,59,0.15);
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-gold);
  transform: scale(1.18);
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 18px;
  background: var(--color-gold);
  color: var(--color-white);
  border: none;
  font-size: 1.9rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center; justify-content: center;
  transition: background .16s;
  z-index: 2221;
}
.cookie-modal-close:hover {
  background: var(--color-gold-dark);
}

/************ 13. MISC BUTTONS + INTERACTIONS ************/
button, .button, input[type="submit"] {
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  cursor: pointer;
  outline: none;
  background: var(--color-gold);
  color: var(--color-white);
  border-radius: 28px;
  padding: 9px 26px;
  transition: background .15s, color .14s, box-shadow .14s;
}
button:hover, .button:hover, input[type="submit"]:hover, button:focus, .button:focus {
  background: var(--color-gold-dark);
  color: var(--color-white);
}

/************ 14. ANIMATION CLASSES ************/
.fade-in {
  animation: fadeInHide .46s .0s cubic-bezier(.61, .23, .27, 1.03) forwards;
}
@keyframes fadeInHide {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0);  }
}

/************ 15. RESPONSIVE DESIGN ************/
@media (max-width: 1080px) {
  .container { max-width: 1000px; }
  .feature { min-width: 210px; }
  .footer-top, .footer-bottom {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 99vw; }
}
@media (max-width: 820px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .feature-grid { gap: 13px; }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .section { padding: 24px 5px; margin-bottom: 36px; }
  .container { padding: 0 5vw; }
  .content-wrapper { gap: 12px; }
  .feature {
    min-width: 90vw;
    width: 100%;
    padding: 18px 9px 15px 12px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 13px;
  }
  .testimonials { flex-direction: column; gap: 13px; }
  .testimonial-card, .card {
    max-width: 98vw;
    min-width: 0;
    margin: 0 auto 20px auto;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-right: 0;
    padding-left: 0;
  }
  .footer-top nav {
    gap: 9px;
    font-size: 1.07rem;
  }
  .social-links a img {
    height: 25px; width: 25px;
  }
}
@media (max-width: 520px) {
  .container { padding: 0 2vw; }
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.066rem; }
  .feature, .card, .testimonial-card {
    padding: 13px 7px  10px 9px;
    font-size: .96em;
  }
}

/************ 16. ACCESSIBILITY & SELECTION ************/
::selection {
  background: var(--color-gold);
  color: var(--color-white);
}
::-webkit-input-placeholder { color: #777A8C; }
::-moz-placeholder { color: #777A8C; }
:-ms-input-placeholder { color: #777A8C; }
::placeholder { color: #777A8C; }

/********* END of CSS *********/
