/* Flux Soft Linen — design system tokens & helpers, layered on top of Elementor's own output */

:root {
  --flux-ink: #1B1812;
  --flux-ink-700: #332E25;
  --flux-ink-500: #5F5645;
  --flux-linen: #F8F5EF;
  --flux-linen-100: #FDFCFA;
  --flux-linen-300: #F1ECE1;
  --flux-linen-400: #E7DFCF;
  --flux-clay: #B4623B;
  --flux-clay-300: #D28E63;
  --flux-clay-500: #95502F;
  --flux-sage: #6B7460;
  --flux-font-display: 'Fraunces', Georgia, serif;
  --flux-font-sans: 'Inter', Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--flux-font-sans);
  color: var(--flux-ink);
  background-color: var(--flux-linen);
}

.flux-heading, h1.flux-heading, h2.flux-heading, h3.flux-heading {
  font-family: var(--flux-font-display);
  letter-spacing: -0.01em;
}

.flux-eyebrow {
  font-family: var(--flux-font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flux-clay);
}

.flux-italic {
  font-style: italic;
  color: var(--flux-clay);
}

.flux-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.flux-btn-primary {
  background-color: var(--flux-ink);
  color: var(--flux-linen-100) !important;
}
.flux-btn-primary:hover {
  background-color: var(--flux-clay);
  color: var(--flux-linen-100) !important;
}

.flux-btn-secondary {
  background-color: transparent;
  color: var(--flux-ink) !important;
  border: 1px solid rgba(27, 24, 18, 0.3);
}
.flux-btn-secondary:hover {
  background-color: var(--flux-ink);
  color: var(--flux-linen-100) !important;
  border-color: var(--flux-ink);
}

/* Scroll-reveal: toggled by flux-reveal.js once an element enters the viewport */
.flux-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.flux-reveal.flux-is-visible {
  opacity: 1;
  transform: translateY(0);
}

.flux-placeholder-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--flux-linen-400), var(--flux-linen-300), var(--flux-clay-300));
}
.flux-placeholder-img span {
  font-family: var(--flux-font-display);
  font-style: italic;
  font-size: 0.875rem;
  color: rgba(27, 24, 18, 0.4);
}

.flux-card-hotel { background: linear-gradient(135deg, #E6B492, #D28E63, #B4623B); }
.flux-card-sage { background: linear-gradient(135deg, #E4E7DD, #A6AF97, #F1ECE1); }

::selection {
  background: var(--flux-clay);
  color: var(--flux-linen-100);
}

/* Pages carry their own heading inside the Elementor content (hero, etc.) — hide the theme's default title */
body.page .entry-title { display: none; }
.template-parts-single > .entry-content:only-child { margin: 0; }

/* ---------- Layout container ---------- */
.flux-container {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}
@media (min-width: 640px) { .flux-container { padding: 0 2rem; } }
@media (min-width: 1024px) { .flux-container { padding: 0 3rem; } }

/* ---------- Header ---------- */
.flux-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27, 24, 18, 0.1);
}
.flux-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.flux-logo-text {
  font-family: var(--flux-font-display);
  font-size: 1.25rem;
  color: var(--flux-ink);
  letter-spacing: -0.01em;
}
.flux-logo-img { max-height: 2.75rem; width: auto; display: block; }
.flux-logo { display: flex; align-items: center; text-decoration: none !important; }

.flux-nav-desktop { display: none; }
.flux-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.flux-nav > li { position: relative; }
.flux-nav > li > a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(27, 24, 18, 0.8);
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.flux-nav > li > a:hover { color: var(--flux-ink); }

.flux-nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 2rem;
  background: var(--flux-linen-100);
  border: 1px solid rgba(27, 24, 18, 0.1);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(27, 24, 18, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.flux-nav li.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.flux-nav .sub-menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--flux-ink);
  text-decoration: none !important;
  transition: background 0.2s ease;
}
.flux-nav .sub-menu a:hover { background: var(--flux-linen-300); }

.flux-header-actions { display: none; }
@media (min-width: 1024px) {
  .flux-nav-desktop { display: block; }
  .flux-header-actions { display: flex; align-items: center; }
}

.flux-mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.flux-mobile-toggle span {
  display: block;
  height: 1px;
  width: 1.5rem;
  background: var(--flux-ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.flux-mobile-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.flux-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.flux-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1024px) { .flux-mobile-toggle { display: none; } }

.flux-mobile-menu {
  display: none;
  border-top: 1px solid rgba(27, 24, 18, 0.1);
  background: var(--flux-linen-100);
}
.flux-mobile-menu.is-open { display: block; }
.flux-nav-mobile {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0;
}
.flux-nav-mobile > li > a {
  display: block;
  padding: 0.65rem 0.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--flux-ink);
  text-decoration: none !important;
}
.flux-nav-mobile .sub-menu {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0 0 0 1rem;
}
.flux-nav-mobile .sub-menu a {
  display: block;
  padding: 0.4rem 0.25rem;
  font-size: 0.875rem;
  color: rgba(27, 24, 18, 0.65);
  text-decoration: none !important;
}
.flux-mobile-cta { display: flex; margin: 0.5rem 0 1.5rem; }
@media (min-width: 1024px) { .flux-mobile-menu { display: none !important; } }

/* ---------- Footer ---------- */
.flux-footer {
  background: var(--flux-ink);
  color: var(--flux-linen-300);
}
.flux-footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .flux-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.flux-footer-logo {
  font-family: var(--flux-font-display);
  font-size: 1.25rem;
  color: var(--flux-linen-100);
  display: block;
  margin-bottom: 1rem;
}
.flux-footer-brand p { max-width: 22rem; line-height: 1.6; font-size: 0.9375rem; }
.flux-footer-certs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.flux-footer-certs span {
  border: 1px solid rgba(248, 245, 239, 0.2);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
}
.flux-footer-heading {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 245, 239, 0.5);
  margin: 0 0 0.75rem;
}
.flux-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.flux-footer-nav a {
  color: var(--flux-linen-300);
  font-size: 0.9375rem;
  text-decoration: none !important;
}
.flux-footer-nav a:hover { color: var(--flux-linen-100); }
.flux-footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.flux-footer-contact a {
  color: var(--flux-linen-300);
  text-decoration: none !important;
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
}
.flux-footer-contact a:hover { color: var(--flux-linen-100); }
.flux-footer-bottom { border-top: 1px solid rgba(248, 245, 239, 0.1); }
.flux-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: rgba(248, 245, 239, 0.6);
}
@media (min-width: 640px) {
  .flux-footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}

/* ---------- Section helpers for page content ---------- */
.flux-section { padding: 6rem 0; }
.flux-section-tight { padding: 3.5rem 0; }
.flux-bg-linen { background: var(--flux-linen); }
.flux-bg-linen-100 { background: var(--flux-linen-100); }
.flux-bg-ink { background: var(--flux-ink); color: var(--flux-linen-100); }

/* ---------- Typography basics ---------- */
.flux-h1 { font-family: var(--flux-font-display); font-size: 2.75rem; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 1.25rem; }
.flux-h2 { font-family: var(--flux-font-display); font-size: 2.25rem; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 1rem; }
.flux-h3 { font-family: var(--flux-font-display); font-size: 1.125rem; margin: 0 0 0.25rem; }
.flux-p { line-height: 1.65; color: rgba(27, 24, 18, 0.68); margin: 0 0 1.5rem; }
@media (min-width: 640px) { .flux-h1 { font-size: 3.5rem; } .flux-h2 { font-size: 2.5rem; } }

.flux-badge {
  display: inline-flex;
  border: 1px solid rgba(27, 24, 18, 0.15);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(27, 24, 18, 0.6);
  margin-bottom: 1.5rem;
}

/* ---------- Hero ---------- */
.flux-hero-grid { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .flux-hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.flux-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem; }
.flux-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-top: 1px solid rgba(27, 24, 18, 0.1); padding-top: 1.5rem; max-width: 26rem; }
.flux-stat-num { font-family: var(--flux-font-display); font-size: 1.5rem; }
.flux-stat-label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(27, 24, 18, 0.5); }
.flux-hero-media { position: relative; }
.flux-hero-img { aspect-ratio: 4/5; width: 100%; border-radius: 1.5rem; }
.flux-hero-float {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 12rem;
  background: var(--flux-linen-100);
  border: 1px solid rgba(27, 24, 18, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(27, 24, 18, 0.1);
  display: none;
}
@media (min-width: 640px) { .flux-hero-float { display: block; } }
.flux-hero-float-label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(27, 24, 18, 0.4); }
.flux-hero-float-val { font-family: var(--flux-font-display); font-size: 1.125rem; }

/* ---------- Trust bar ---------- */
.flux-trustbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; padding: 1.5rem 0; }
.flux-trustbar span { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(27, 24, 18, 0.45); }

/* ---------- Section heading row ---------- */
.flux-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 3rem; }
.flux-link-underline { font-size: 0.875rem; font-weight: 500; color: rgba(27, 24, 18, 0.7); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Category grid ---------- */
.flux-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 1024px) { .flux-cat-grid { grid-template-columns: repeat(4, 1fr); } }
.flux-cat-card { text-decoration: none !important; color: inherit; display: block; }
.flux-cat-img { aspect-ratio: 4/5; width: 100%; border-radius: 1rem; transition: transform 0.4s ease; }
.flux-cat-card:hover .flux-cat-img { transform: translateY(-4px); }
.flux-cat-info { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 1rem; }
.flux-cat-gsm { font-size: 0.875rem; color: rgba(27, 24, 18, 0.55); margin-top: 0.2rem; }
.flux-cat-arrow { color: rgba(27, 24, 18, 0.3); transition: transform 0.3s ease, color 0.3s ease; }
.flux-cat-card:hover .flux-cat-arrow { transform: translateX(4px); color: var(--flux-clay); }

/* ---------- Split section (image + text) ---------- */
.flux-split { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .flux-split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.flux-split-img { aspect-ratio: 4/3; width: 100%; border-radius: 1.5rem; }
.flux-list-plain { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9375rem; color: rgba(248, 245, 239, 0.85); }
.flux-list-plain.flux-list-dark { color: rgba(27, 24, 18, 0.7); }

/* ---------- Process steps ---------- */
.flux-process-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .flux-process-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .flux-process-grid { grid-template-columns: repeat(4, 1fr); } }
.flux-process-step { border-top: 1px solid rgba(27, 24, 18, 0.15); padding-top: 1.25rem; }
.flux-process-num { font-family: var(--flux-font-display); font-size: 1.75rem; color: var(--flux-clay-300); display: block; margin-bottom: 0.5rem; }

/* ---------- Client logos ---------- */
.flux-logos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (min-width: 640px) { .flux-logos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .flux-logos-grid { grid-template-columns: repeat(6, 1fr); } }
.flux-logo-tile { height: 3.5rem; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(27, 24, 18, 0.1); border-radius: 0.75rem; background: var(--flux-linen-100); padding: 0 1rem; text-align: center; }
.flux-logo-tile span { font-family: var(--flux-font-display); font-style: italic; font-size: 0.8125rem; color: rgba(27, 24, 18, 0.4); }

/* ---------- CTA panel ---------- */
.flux-cta-panel { border: 1px solid rgba(27, 24, 18, 0.1); border-radius: 1.5rem; padding: 1rem; background: var(--flux-linen-200, var(--flux-linen)); }
@media (min-width: 1024px) { .flux-cta-panel { padding: 1rem 2.5rem; } }
.flux-final-cta { text-align: center; }
.flux-final-cta .flux-h2 { max-width: 40rem; margin-left: auto; margin-right: auto; }
.flux-final-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }

/* ---------- Gallery grid (category pages) ---------- */
.flux-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .flux-gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.flux-gallery-item { aspect-ratio: 1/1; width: 100%; border-radius: 0.75rem; }

/* ---------- Spec strip (category pages) ---------- */
.flux-spec-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; border-top: 1px solid rgba(27, 24, 18, 0.1); border-bottom: 1px solid rgba(27, 24, 18, 0.1); padding: 2.5rem 0; }
@media (min-width: 640px) { .flux-spec-grid { grid-template-columns: repeat(3, 1fr); } }
.flux-spec-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(27, 24, 18, 0.4); margin-bottom: 0.4rem; }
.flux-spec-val { font-family: var(--flux-font-display); font-size: 1.375rem; }

/* ---------- Contact / forms ---------- */
.flux-form-panel { border: 1px solid rgba(27, 24, 18, 0.1); border-radius: 1.25rem; background: var(--flux-linen-100); padding: 2rem; }
.flux-form-panel .wpcf7-form-control-wrap { display: block; }
.flux-form-panel input[type=text], .flux-form-panel input[type=email], .flux-form-panel input[type=tel], .flux-form-panel textarea, .flux-form-panel select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(27, 24, 18, 0.15);
  background: var(--flux-linen-50, #fff);
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  font-family: var(--flux-font-sans);
  font-size: 0.9375rem;
  margin-top: 0.35rem;
}
.flux-form-panel input:focus, .flux-form-panel textarea:focus { outline: none; border-color: var(--flux-clay); }
.flux-form-panel label { display: block; font-size: 0.875rem; color: rgba(27, 24, 18, 0.7); margin-bottom: 0.9rem; }
.flux-form-panel .wpcf7-submit {
  margin-top: 0.5rem;
  width: 100%;
  border-radius: 999px;
  border: none;
  background: var(--flux-ink);
  color: var(--flux-linen-100);
  padding: 0.9rem;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}
.flux-form-panel .wpcf7-submit:hover { background: var(--flux-clay); }
.flux-form-panel .wpcf7-not-valid-tip { color: var(--flux-clay-500); font-size: 0.8rem; margin-top: 0.3rem; }
.flux-form-panel .wpcf7-response-output { border-radius: 0.5rem; margin-top: 1rem; font-size: 0.875rem; }
