/*
Theme Name: files (WPConvert)
Theme URI: https://wpconvert.ai
Author: WPConvert.ai
Author URI: https://wpconvert.ai
Description: This theme was automatically generated from your original site design using WPConvert.ai. It preserves your layout, colors, typography, header, footer, and page content, and makes it editable in WordPress.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpconvert
Tags: landing page, responsive, custom header, custom footer
*/

/* External Stylesheets - @import statements MUST come before any CSS rules */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* CSS Variables */
:root {
}

/* Inline Styles */

/* Extracted CSS from page */

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

:root {
  --navy: #1a1a2e;
  --linen: #f5f0e8;
  --gold: #c9a96e;
  --mauve: #7b4f6e;
  --forest: #2d4a3e;
  --mid: #3a3a52;
  --soft: #e8e2d6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  min-height: 100vh;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 48px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.35);
  transition: background 0.3s;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  cursor: pointer;
}
.logo span {
  color: var(--mauve);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a2e;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-cta {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 10px 22px;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}
.nav-cta:hover {
  background: #dbb87a;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ── PAGES ── */
.page {
  display: none;
  min-height: 100vh;
  padding-top: 80px;
}
.page.active {
  display: block;
}

/* ── STITCH BORDER UTILITY ── */
.stitch {
  border: 2px dashed rgba(201, 169, 110, 0.35);
  border-radius: 4px;
}
.stitch-line {
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 8px,
    transparent 8px,
    transparent 16px
  );
  opacity: 0.35;
  margin: 0 auto;
}

/* ── EMBROIDERY DECORATIVE ELEMENTS ── */
.thread-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.18;
  pointer-events: none;
}
.thread-corner.tl {
  top: 16px;
  left: 16px;
}
.thread-corner.tr {
  top: 16px;
  right: 16px;
  transform: scaleX(-1);
}
.thread-corner.bl {
  bottom: 16px;
  left: 16px;
  transform: scaleY(-1);
}
.thread-corner.br {
  bottom: 16px;
  right: 16px;
  transform: scale(-1);
}

.cross-stitch-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  opacity: 0.55;
}
.cross-stitch-divider svg {
  flex-shrink: 0;
}

.needle-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.needle-accent::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 4px,
    transparent 4px,
    transparent 8px
  );
  opacity: 0.6;
}
.needle-accent::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 4px,
    transparent 4px,
    transparent 8px
  );
  opacity: 0.6;
}

/* Hoop frame for hero */
.hoop-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(201, 169, 110, 0.12);
  pointer-events: none;
}

/* Section bg accents */
.embroid-section {
  position: relative;
  overflow: hidden;
}
.embroid-section::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(201, 169, 110, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.embroid-section::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(123, 79, 110, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* Why card thread accent */
.why-card::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 4px,
    transparent 4px,
    transparent 7px
  );
  margin-bottom: 14px;
  opacity: 0.5;
}

/* Page hero cross-stitch border */
.page-hero {
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 6px,
    transparent 6px,
    transparent 10px
  );
  opacity: 0.5;
}

/* Service card thread top accent */
.service-card::after {
  content: '✦';
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 0.6rem;
  color: var(--gold);
  opacity: 0.5;
}
.service-card {
  position: relative;
}

/* Footer embroidery strip */
.footer-stitch {
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 3px,
    transparent 3px,
    transparent 6px,
    var(--mauve) 6px,
    var(--mauve) 9px,
    transparent 9px,
    transparent 12px
  );
  opacity: 0.3;
  margin-bottom: 48px;
}

/* ════════════════════════════
     HOME PAGE
  ════════════════════════════ */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 60% 40%,
      rgba(201, 169, 110, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(45, 74, 62, 0.08) 0%,
      transparent 55%
    );
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.05;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(26, 26, 46, 0.65);
  max-width: 540px;
  line-height: 1.7;
  margin: 20px auto 44px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 32px;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-primary:hover {
  background: #dbb87a;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: #1a1a2e;
  border: 1px solid rgba(26, 26, 46, 0.3);
  padding: 14px 32px;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.15s;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--mauve);
  transform: translateY(-2px);
}

.hero-thread {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0.4;
}

/* Home sections */
.section {
  padding: 88px 24px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-body {
  color: rgba(26, 26, 46, 0.65);
  line-height: 1.8;
  max-width: 600px;
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.why-card {
  padding: 36px 28px;
  background: #fafaf8;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 4px;
  transition:
    border-color 0.25s,
    transform 0.2s;
}
.why-card:hover {
  border-color: rgba(201, 169, 110, 0.45);
  transform: translateY(-4px);
}
.why-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.why-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1a1a2e;
}
.why-card p {
  font-size: 0.9rem;
  color: rgba(26, 26, 46, 0.6);
  line-height: 1.7;
}

/* Testimonial strip */
.testi-strip {
  background: #f5f0e8;
  padding: 64px 24px;
}
.testi-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.testi-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.65;
  color: #1a1a2e;
  margin-bottom: 20px;
}
.testi-author {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ════════════════════════════
     SERVICES PAGE
  ════════════════════════════ */
.page-hero {
  padding: 72px 24px 56px;
  text-align: center;
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(201, 169, 110, 0.08) 0%,
    transparent 100%
  );
}
.page-hero .section-label {
  justify-content: center;
  display: flex;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #1a1a2e;
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(26, 26, 46, 0.65);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.service-card {
  background: #fafaf8;
  border-top: 3px solid var(--gold);
  padding: 40px 32px;
  border-radius: 2px;
  transition: background 0.25s;
}
.service-card:hover {
  background: #f0ebe0;
}
.service-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve);
  background: rgba(123, 79, 110, 0.15);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #1a1a2e;
}
.service-card p {
  font-size: 0.92rem;
  color: rgba(26, 26, 46, 0.6);
  line-height: 1.75;
  margin-bottom: 20px;
}
.service-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
}
.service-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.5);
  font-weight: 400;
}

/* ════════════════════════════
     PROJECTS PAGE
  ════════════════════════════ */
.filter-btn {
  padding: 8px 20px;
  border-radius: 2px;
  border: 1px solid rgba(201, 169, 110, 0.25);
  background: transparent;
  color: rgba(245, 240, 232, 0.7);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.project-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid rgba(201, 169, 110, 0.12);
  background: var(--mid);
  transition: transform 0.25s;
}
.project-card:hover {
  transform: scale(1.02);
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(
    135deg,
    var(--mid) 0%,
    rgba(45, 74, 62, 0.5) 100%
  );
}
.project-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s;
  background: linear-gradient(
    to top,
    rgba(26, 26, 46, 0.95) 0%,
    rgba(26, 26, 46, 0.4) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.project-overlay h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.project-overlay span {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ════════════════════════════
     BOOKING PAGE
  ════════════════════════════ */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
  margin-top: 52px;
}
.booking-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #1a1a2e;
}
.booking-info p {
  font-size: 0.92rem;
  color: rgba(26, 26, 46, 0.65);
  line-height: 1.8;
  margin-bottom: 28px;
}
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(26, 26, 46, 0.85);
}
.info-list li .dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.booking-form {
  background: #fafaf8;
  border: 1px solid rgba(201, 169, 110, 0.25);
  padding: 44px;
  border-radius: 4px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 2px;
  color: #1a1a2e;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group select {
  appearance: none;
  cursor: pointer;
}
.form-group select option {
  background: #ffffff;
  color: #1a1a2e;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.progress-steps {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
}
.step {
  flex: 1;
  text-align: center;
  position: relative;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 26, 46, 0.4);
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(201, 169, 110, 0.15);
  transition: color 0.3s;
}
.step.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.step-num {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ════════════════════════════
     CONTACT PAGE
  ════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
  margin-top: 52px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-item .ci-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-item .ci-value {
  font-size: 1rem;
  color: #1a1a2e;
  line-height: 1.65;
}
.contact-item a {
  color: #1a1a2e;
  text-decoration: none;
}
.contact-item a:hover {
  color: var(--gold);
}
.social-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.social-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: rgba(245, 240, 232, 0.6);
}
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.08);
}
.contact-form {
  background: #fafaf8;
  border: 1px solid rgba(201, 169, 110, 0.25);
  padding: 44px;
  border-radius: 4px;
}
.map-placeholder {
  margin-top: 56px;
  height: 280px;
  background: #fafaf8;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(26, 26, 46, 0.35);
  flex-direction: column;
  gap: 8px;
}
.map-placeholder span {
  font-size: 2rem;
}

/* ── FOOTER ── */
footer {
  background: #f5f0e8;
  border-top: 1px solid rgba(201, 169, 110, 0.3);
  padding: 48px 24px 28px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(26, 26, 46, 0.55);
  line-height: 1.7;
  max-width: 220px;
}
.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(26, 26, 46, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--gold);
}
.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(26, 26, 46, 0.4);
}

/* ── SUCCESS MSG ── */
.success-msg {
  display: none;
  text-align: center;
  padding: 32px;
  background: rgba(45, 74, 62, 0.25);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 4px;
  margin-top: 12px;
}
.success-msg.show {
  display: block;
}
.success-msg .check {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.success-msg h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.success-msg p {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.65);
}

/* ── GALLERY ── */
.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: #f0ebe0;
  border: 1px solid rgba(201, 169, 110, 0.2);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item .g-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 46, 0.85) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.gallery-item:hover .g-overlay {
  opacity: 1;
}
.gallery-item .g-title {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 4px;
}
.gallery-item .g-cat {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.gallery-item .g-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(220, 50, 50, 0.85);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.gallery-item:hover .g-delete {
  display: flex;
}

/* Category tag modal */
#cat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}
#cat-modal.show {
  display: flex;
}
.cat-modal-box {
  background: #fff;
  border-radius: 6px;
  padding: 36px;
  width: 320px;
  text-align: center;
  border-top: 3px solid var(--gold);
}
.cat-modal-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #1a1a2e;
}
.cat-modal-box p {
  font-size: 0.85rem;
  color: rgba(26, 26, 46, 0.6);
  margin-bottom: 20px;
}
.cat-modal-box input {
  width: 100%;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 2px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #1a1a2e;
  outline: none;
}
.cat-modal-box input:focus {
  border-color: var(--gold);
}
.cat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.cat-opt {
  padding: 6px 14px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 2px;
  font-size: 0.8rem;
  cursor: pointer;
  background: transparent;
  color: #1a1a2e;
  transition: all 0.2s;
}
.cat-opt:hover,
.cat-opt.selected {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  }
  .booking-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .booking-form,
  .contact-form {
    padding: 24px;
  }
}
@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}
:root {
  --navy: #1a1a2e;
  --linen: #f5f0e8;
  --gold: #c9a96e;
  --mauve: #7b4f6e;
  --forest: #2d4a3e;
  --mid: #3a3a52;
  --soft: #e8e2d6;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'DM Sans', sans-serif;
  background: rgb(255, 255, 255);
  color: rgb(26, 26, 46);
  min-height: 100vh;
}
nav {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 48px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.35);
  transition: background 0.3s;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  cursor: pointer;
}
.logo span {
  color: var(--mauve);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(26, 26, 46);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0px;
  right: 0px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s;
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-cta {
  background: var(--gold);
  color: var(--navy);
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: initial;
  padding: 10px 22px;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}
.nav-cta:hover {
  background: rgb(219, 184, 122);
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.page {
  display: none;
  min-height: 100vh;
  padding-top: 80px;
}
.page.active {
  display: block;
}
.stitch {
  border: 2px dashed rgba(201, 169, 110, 0.35);
  border-radius: 4px;
}
.stitch-line {
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 8px,
    transparent 8px,
    transparent 16px
  );
  opacity: 0.35;
  margin: 0px auto;
}
.thread-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.18;
  pointer-events: none;
}
.thread-corner.tl {
  top: 16px;
  left: 16px;
}
.thread-corner.tr {
  top: 16px;
  right: 16px;
  transform: scaleX(-1);
}
.thread-corner.bl {
  bottom: 16px;
  left: 16px;
  transform: scaleY(-1);
}
.thread-corner.br {
  bottom: 16px;
  right: 16px;
  transform: scale(-1);
}
.cross-stitch-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0px auto;
  opacity: 0.55;
}
.cross-stitch-divider svg {
  flex-shrink: 0;
}
.needle-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.needle-accent::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 4px,
    transparent 4px,
    transparent 8px
  );
  opacity: 0.6;
}
.needle-accent::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 4px,
    transparent 4px,
    transparent 8px
  );
  opacity: 0.6;
}
.hoop-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(201, 169, 110, 0.12);
  pointer-events: none;
}
.embroid-section {
  position: relative;
  overflow: hidden;
}
.embroid-section::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(201, 169, 110, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.embroid-section::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(123, 79, 110, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.why-card::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 4px,
    transparent 4px,
    transparent 7px
  );
  margin-bottom: 14px;
  opacity: 0.5;
}
.page-hero {
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 6px,
    transparent 6px,
    transparent 10px
  );
  opacity: 0.5;
}
.service-card::after {
  content: '✦';
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 0.6rem;
  color: var(--gold);
  opacity: 0.5;
}
.service-card {
  position: relative;
}
.footer-stitch {
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 3px,
    transparent 3px,
    transparent 6px,
    var(--mauve) 6px,
    var(--mauve) 9px,
    transparent 9px,
    transparent 12px
  );
  opacity: 0.3;
  margin-bottom: 48px;
}
.hero {
  min-height: calc(-80px + 100vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0px;
  background:
    radial-gradient(at 60% 40%, rgba(201, 169, 110, 0.08) 0%, transparent 60%),
    radial-gradient(at 20% 80%, rgba(45, 74, 62, 0.08) 0%, transparent 55%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.05;
  font-weight: 700;
  color: rgb(26, 26, 46);
  margin-bottom: 10px;
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(26, 26, 46, 0.65);
  max-width: 540px;
  line-height: 1.7;
  margin: 20px auto 44px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: initial;
  padding: 14px 32px;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-primary:hover {
  background: rgb(219, 184, 122);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: rgb(26, 26, 46);
  border: 1px solid rgba(26, 26, 46, 0.3);
  padding: 14px 32px;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.15s;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--mauve);
  transform: translateY(-2px);
}
.hero-thread {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0.4;
}
.section {
  padding: 88px 24px;
}
.section-inner {
  max-width: 1100px;
  margin: 0px auto;
}
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: rgb(26, 26, 46);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-body {
  color: rgba(26, 26, 46, 0.65);
  line-height: 1.8;
  max-width: 600px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.why-card {
  padding: 36px 28px;
  background: rgb(250, 250, 248);
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 4px;
  transition:
    border-color 0.25s,
    transform 0.2s;
}
.why-card:hover {
  border-color: rgba(201, 169, 110, 0.45);
  transform: translateY(-4px);
}
.why-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.why-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: rgb(26, 26, 46);
}
.why-card p {
  font-size: 0.9rem;
  color: rgba(26, 26, 46, 0.6);
  line-height: 1.7;
}
.testi-strip {
  background: rgb(245, 240, 232);
  padding: 64px 24px;
}
.testi-inner {
  max-width: 800px;
  margin: 0px auto;
  text-align: center;
}
.testi-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.65;
  color: rgb(26, 26, 46);
  margin-bottom: 20px;
}
.testi-author {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}
.page-hero {
  padding: 72px 24px 56px;
  text-align: center;
  position: relative;
  background: linear-gradient(rgba(201, 169, 110, 0.08) 0%, transparent 100%);
}
.page-hero .section-label {
  justify-content: center;
  display: flex;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: rgb(26, 26, 46);
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(26, 26, 46, 0.65);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0px auto;
  line-height: 1.75;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.service-card {
  background: rgb(250, 250, 248);
  border-top: 3px solid var(--gold);
  padding: 40px 32px;
  border-radius: 2px;
  transition: background 0.25s;
}
.service-card:hover {
  background: rgb(240, 235, 224);
}
.service-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve);
  background: rgba(123, 79, 110, 0.15);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: rgb(26, 26, 46);
}
.service-card p {
  font-size: 0.92rem;
  color: rgba(26, 26, 46, 0.6);
  line-height: 1.75;
  margin-bottom: 20px;
}
.service-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
}
.service-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.5);
  font-weight: 400;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 2px;
  border: 1px solid rgba(201, 169, 110, 0.25);
  background: transparent;
  color: rgba(245, 240, 232, 0.7);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.project-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid rgba(201, 169, 110, 0.12);
  background: var(--mid);
  transition: transform 0.25s;
}
.project-card:hover {
  transform: scale(1.02);
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(
    135deg,
    var(--mid) 0%,
    rgba(45, 74, 62, 0.5) 100%
  );
}
.project-overlay {
  position: absolute;
  inset: 0px;
  opacity: 0;
  transition: opacity 0.25s;
  background: linear-gradient(
    to top,
    rgba(26, 26, 46, 0.95) 0%,
    rgba(26, 26, 46, 0.4) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.project-overlay h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.project-overlay span {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
  margin-top: 52px;
}
.booking-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: rgb(26, 26, 46);
}
.booking-info p {
  font-size: 0.92rem;
  color: rgba(26, 26, 46, 0.65);
  line-height: 1.8;
  margin-bottom: 28px;
}
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(26, 26, 46, 0.85);
}
.info-list li .dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.booking-form {
  background: rgb(250, 250, 248);
  border: 1px solid rgba(201, 169, 110, 0.25);
  padding: 44px;
  border-radius: 4px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgb(255, 255, 255);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 2px;
  color: rgb(26, 26, 46);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group select {
  appearance: none;
  cursor: pointer;
}
.form-group select option {
  background: rgb(255, 255, 255);
  color: rgb(26, 26, 46);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.progress-steps {
  display: flex;
  gap: 0px;
  margin-bottom: 36px;
}
.step {
  flex: 1 1 0%;
  text-align: center;
  position: relative;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 26, 46, 0.4);
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(201, 169, 110, 0.15);
  transition: color 0.3s;
}
.step.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.step-num {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
  margin-top: 52px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-item .ci-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-item .ci-value {
  font-size: 1rem;
  color: rgb(26, 26, 46);
  line-height: 1.65;
}
.contact-item a {
  color: rgb(26, 26, 46);
  text-decoration: none;
}
.contact-item a:hover {
  color: var(--gold);
}
.social-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.social-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
  color: rgba(245, 240, 232, 0.6);
}
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.08);
}
.contact-form {
  background: rgb(250, 250, 248);
  border: 1px solid rgba(201, 169, 110, 0.25);
  padding: 44px;
  border-radius: 4px;
}
.map-placeholder {
  margin-top: 56px;
  height: 280px;
  background: rgb(250, 250, 248);
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(26, 26, 46, 0.35);
  flex-direction: column;
  gap: 8px;
}
.map-placeholder span {
  font-size: 2rem;
}
footer {
  background: rgb(245, 240, 232);
  border-top: 1px solid rgba(201, 169, 110, 0.3);
  padding: 48px 24px 28px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0px auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(26, 26, 46, 0.55);
  line-height: 1.7;
  max-width: 220px;
}
.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(26, 26, 46, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--gold);
}
.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0px;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(26, 26, 46, 0.4);
}
.success-msg {
  display: none;
  text-align: center;
  padding: 32px;
  background: rgba(45, 74, 62, 0.25);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 4px;
  margin-top: 12px;
}
.success-msg.show {
  display: block;
}
.success-msg .check {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.success-msg h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.success-msg p {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.65);
}
.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: rgb(240, 235, 224);
  border: 1px solid rgba(201, 169, 110, 0.2);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 32px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item .g-overlay {
  position: absolute;
  inset: 0px;
  background: linear-gradient(
    to top,
    rgba(26, 26, 46, 0.85) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.gallery-item:hover .g-overlay {
  opacity: 1;
}
.gallery-item .g-title {
  color: rgb(255, 255, 255);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 4px;
}
.gallery-item .g-cat {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.gallery-item .g-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(220, 50, 50, 0.85);
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: initial;
  color: rgb(255, 255, 255);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.gallery-item:hover .g-delete {
  display: flex;
}
#cat-modal {
  display: none;
  position: fixed;
  inset: 0px;
  z-index: 998;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}
#cat-modal.show {
  display: flex;
}
.cat-modal-box {
  background: rgb(255, 255, 255);
  border-radius: 6px;
  padding: 36px;
  width: 320px;
  text-align: center;
  border-top: 3px solid var(--gold);
}
.cat-modal-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: rgb(26, 26, 46);
}
.cat-modal-box p {
  font-size: 0.85rem;
  color: rgba(26, 26, 46, 0.6);
  margin-bottom: 20px;
}
.cat-modal-box input {
  width: 100%;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 2px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: rgb(26, 26, 46);
  outline: none;
}
.cat-modal-box input:focus {
  border-color: var(--gold);
}
.cat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.cat-opt {
  padding: 6px 14px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 2px;
  font-size: 0.8rem;
  cursor: pointer;
  background: transparent;
  color: rgb(26, 26, 46);
  transition: 0.2s;
}
.cat-opt:hover,
.cat-opt.selected {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0px;
    right: 0px;
    background: var(--navy);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  }
  .booking-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .booking-form,
  .contact-form {
    padding: 24px;
  }
}
@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* WordPress-specific styles */
.wp-block-group {
  margin-bottom: 1rem;
}

.wp-block-image {
  margin-bottom: 1rem;
}

.wp-block-button {
  margin-bottom: 1rem;
}

/* CRITICAL: Reset WordPress default constraints that break layouts */
/* WordPress adds default max-width to containers which breaks original layouts */
.entry-content,
.site-content,
.content-area {
  max-width: none !important;
  width: 100% !important;
}

/* EC-CONTAIN-001: Only override .container / section max-width when the site's
   own CSS does NOT define them. Tailwind and Bootstrap sites intentionally set
   .container { max-width: … } — blasting it with !important breaks every section. */
section,
.section {
  max-width: none !important;
}

.container {
  max-width: none !important;
}

/* EC-ANIM-008 / EC-ANIM-009: Scroll-reveal utilities (.scroll-fade-up etc.) start at opacity:0
   and transition to visible when an IntersectionObserver adds .visible (injected in functions.php).
   Carousels inside scroll-reveal wrappers must be forced visible immediately so Embla can measure. */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}

/* EC-SCROLL-001: Auto-scroll marquee CSS (always included - lightweight, no-op if no marquee elements) */

/* EC-SCROLL-001: Auto-scroll gallery marquee animation */
/* Replaces React requestAnimationFrame/scrollLeft with pure CSS animation */
.wpconvert-marquee-container {
  overflow: hidden !important;
}
.wpconvert-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: wpconvert-marquee 30s linear infinite;
}
@keyframes wpconvert-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Pause on hover for accessibility */
.wpconvert-marquee-container:hover .wpconvert-marquee-track {
  animation-play-state: paused;
}
/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .wpconvert-marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

/* EC-ANIM-011: Frozen Framer Motion infinite float/pulse animations replaced with CSS keyframes.
   4 float variants with staggered durations and amplitudes, plus a pulse variant. */
@keyframes wpconvert-float-1 {
  0%,
  100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(8px);
  }
}
@keyframes wpconvert-float-2 {
  0%,
  100% {
    transform: translateY(6px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes wpconvert-float-3 {
  0%,
  100% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(12px);
  }
}
@keyframes wpconvert-float-4 {
  0%,
  100% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes wpconvert-pulse {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.05;
  }
}
@keyframes wpconvert-float-tilt {
  0%,
  100% {
    transform: translateY(0%) rotate(0deg);
  }
  50% {
    transform: translateY(4%) rotate(-2deg);
  }
}
.wpconvert-float-1 {
  animation: wpconvert-float-1 5s ease-in-out infinite;
}
.wpconvert-float-2 {
  animation: wpconvert-float-2 6s ease-in-out infinite 0.5s;
}
.wpconvert-float-3 {
  animation: wpconvert-float-3 5.5s ease-in-out infinite 1s;
}
.wpconvert-float-4 {
  animation: wpconvert-float-4 6.5s ease-in-out infinite 1.5s;
}
.wpconvert-pulse {
  animation: wpconvert-pulse 4s ease-in-out infinite;
}
.wpconvert-float-tilt {
  animation: wpconvert-float-tilt 6s ease-in-out infinite;
}
/* EC-ANIM-011c: z-0 override for centered pulse cards whose z-10 was demoted */
.wpconvert-pulse.z-0 {
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .wpconvert-float-1,
  .wpconvert-float-2,
  .wpconvert-float-3,
  .wpconvert-float-4,
  .wpconvert-pulse,
  .wpconvert-float-tilt {
    animation: none;
  }
}

/* WPConvert Tabs Component CSS */

/* WPConvert Tabs Component */
.wpconvert-tabs {
  max-width: 64rem;
  margin: 0 auto;
}

.wpconvert-tab-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(6, 1fr);
  }
}

.wpconvert-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-btn:hover {
  border-color: hsl(var(--primary) / 0.5);
  color: hsl(var(--foreground));
}

.wpconvert-tab-btn.active {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.wpconvert-tab-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.5rem;
}

.wpconvert-tab-icon svg {
  width: 100%;
  height: 100%;
}

.wpconvert-tab-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.wpconvert-tab-viewport {
  position: relative;
  display: flex;
  align-items: center;
}

.wpconvert-tab-content {
  flex: 1;
  position: relative;
}

.wpconvert-tab-panel {
  display: none;
  padding: 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(
    135deg,
    hsl(var(--card)) 0%,
    hsl(var(--muted) / 0.3) 100%
  );
  border: 1px solid hsl(var(--border));
  text-align: center;
  animation: wpconvert-tab-fade-in 0.3s ease;
}

.wpconvert-tab-panel.active {
  display: block;
}

@keyframes wpconvert-tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wpconvert-tab-icon-large {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: hsl(var(--primary) / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wpconvert-tab-icon-large svg {
  width: 100%;
  height: 100%;
  color: hsl(var(--primary));
}

.wpconvert-tab-title {
  font-family: var(--font-display, inherit);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-title {
    font-size: 1.875rem;
  }
}

.wpconvert-tab-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.wpconvert-tab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.wpconvert-tab-arrow:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.wpconvert-tab-prev {
  left: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-prev {
    left: -1.5rem;
  }
}

.wpconvert-tab-next {
  right: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-next {
    right: -1.5rem;
  }
}

.wpconvert-tab-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.wpconvert-tab-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: hsl(var(--muted-foreground) / 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-dot:hover {
  background: hsl(var(--muted-foreground) / 0.5);
}

.wpconvert-tab-dot.active {
  background: hsl(var(--primary));
  width: 2rem;
  border-radius: 0.375rem;
}

/* EC-MSTEP-001: Multi-step form wizard CSS */

/* EC-MSTEP-001: Multi-step form wizard */
.wpconvert-multistep-form {
  width: 100%;
}
.wpconvert-step-panel {
  display: none;
}
.wpconvert-step-panel.active {
  display: block;
  animation: wpconvert-step-fade-in 0.25s ease;
}
@keyframes wpconvert-step-fade-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.wpconvert-step-progress-fill {
  transition: width 0.4s ease-out;
}
/* Signature canvas */
canvas[data-wpc-sig-init] {
  width: 100%;
  min-height: 150px;
  border: 2px solid var(--border, #e5e7eb);
  border-radius: 1rem;
  background: #fff;
  cursor: crosshair;
  touch-action: none;
}

/* EC-CALC-001: Interactive calculator CSS */

/* EC-CALC-001: Interactive calculator */
[data-wpc-calc] input[type='range'] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
[data-wpc-calc] input[type='range']:focus {
  outline: none;
}
[data-wpc-calc] [data-wpc-calc-toggle].wpc-calc-toggle-active {
  opacity: 1;
}
[data-wpc-calc] [data-wpc-calc-toggle]:not(.wpc-calc-toggle-active) {
  opacity: 0.6;
}

/* CRITICAL FIX: Ensure gradient overlays respect their default hidden state */
/* NOTE: The main fix is in cleanHtmlContent() which corrects captured hover states */
/* These CSS rules are a FALLBACK to ensure overlays stay hidden if any slip through */

/* Keep gradient overlays hidden - they're decorative hover effects */
.group [class*='absolute'][class*='inset-0'][class*='bg-gradient'].opacity-0 {
  opacity: 0 !important;
}

/* Keep bottom accent bars hidden by default */
.group [class*='absolute'][class*='bottom-0'][class*='bg-gradient'].scale-x-0 {
  transform: scaleX(0) !important;
}

/* Reset WordPress default margins that break spacing */
.entry-content > *:first-child,
.site-content > *:first-child {
  margin-top: 0 !important;
}

/* EC-DARK-001: In dark-themed sites (html.dark), containers with explicit bg-white
   backgrounds need dark text. The .dark scope sets --foreground to a light color,
   making text invisible on white cards. Reset to :root-scope (light) variable values. */
.dark .bg-white,
.dark [class*='bg-white'] {
  --foreground: 222.2 84% 4.9%;
  --muted-foreground: 215.4 16.3% 46.9%;
  color: hsl(222.2 84% 4.9%);
}
.dark .bg-white .text-foreground,
.dark [class*='bg-white'] .text-foreground,
.dark .bg-white [class*='text-foreground'],
.dark [class*='bg-white'] [class*='text-foreground'] {
  color: hsl(222.2 84% 4.9%);
}

/* Navigation Menu Styling - Universal for all dropdown patterns */
/* Reset ALL menu items */
.menu-item,
li.menu-item,
li.menu-item-type-post_type,
li.menu-item-type-custom,
li.menu-item-object-page,
li.menu-item-has-children {
  position: relative;
  list-style: none !important;
  margin: 0;
}

/* EC-NAV-MOBILE-010: The force-horizontal / force-inline-block rules below are DESKTOP-ONLY.
   They exist to coerce WordPress-generated <ul class="menu"><li> markup into a horizontal bar.
   Previously they were unconditional with id-specificity + !important, which overrode the source
   theme's mobile-first hide (e.g. a .nav-primary .menu display:none revealed via a hamburger).
   On classic mobile-first themes that leaked the desktop nav onto every mobile page (often as a
   full-screen overlay, since the source .menu base is position:fixed;inset:0). Scoping to a
   min-width media query keeps desktop horizontal while letting the source's mobile nav / our
   injected #wpconvert-mobile-nav drawer own small screens. */
@media (min-width: 768px) {
  /* CRITICAL: Top-level menu MUST be horizontal - Maximum specificity */
  /* NOTE: nav ul#wpconvert-primary-ul is NOT included here to avoid conflicting with .main-nav styling */
  /* EC-NAV-095: Do NOT set gap here. A fixed gap with !important (previously 0.25rem, briefly 2rem) overrides
   menus.json ulClasses / Tailwind (e.g. gap-8) and breaks diverse nav densities. Spacing comes from ulClasses. */
  header ul#wpconvert-primary-ul,
  #wpconvert-primary-ul,
  #wpconvert-primary-ul.menu,
  ul#wpconvert-primary-ul.menu,
  ul.menu:not(.submenu):not(.sub-menu) {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  /* CRITICAL: Preserve original .main-nav styling for static sites - MUST come AFTER generic rules */
  /* MAXIMUM specificity with header prefix ensures this overrides ALL other rules */
  header nav.main-nav ul#wpconvert-primary-ul,
  header .main-nav ul#wpconvert-primary-ul,
  nav.main-nav ul#wpconvert-primary-ul,
  .main-nav #wpconvert-primary-ul,
  .main-nav ul#wpconvert-primary-ul {
    /* Inherit the original .main-nav ul styles */
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  /* CRITICAL: Top-level items MUST be inline - Maximum specificity for ALL WordPress classes */
  /* NOTE: nav ul#wpconvert-primary-ul > li is NOT included to avoid conflicting with .main-nav */
  header ul#wpconvert-primary-ul > li,
  #wpconvert-primary-ul > li,
  #wpconvert-primary-ul > li.menu-item,
  #wpconvert-primary-ul > li.menu-item-type-post_type,
  #wpconvert-primary-ul > li.menu-item-type-custom,
  #wpconvert-primary-ul > li.menu-item-object-page,
  #wpconvert-primary-ul > li.menu-item-object-custom,
  #wpconvert-primary-ul > li.menu-item-has-children,
  #wpconvert-primary-ul > li.current-menu-item,
  #wpconvert-primary-ul > li.current_page_item,
  #wpconvert-primary-ul > li.current-menu-ancestor,
  #wpconvert-primary-ul.menu > li,
  ul.menu:not(.submenu):not(.sub-menu) > li,
  body #wpconvert-primary-ul > li {
    display: inline-block !important;
    position: relative !important;
    flex-shrink: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    vertical-align: middle !important;
    float: none !important;
    width: auto !important;
    clear: none !important;
  }
}
/* End EC-NAV-MOBILE-010 desktop-only nav layout */

/* Preserve original .main-nav link styling (color/weight is width-independent) */
header nav.main-nav ul#wpconvert-primary-ul a,
header .main-nav ul#wpconvert-primary-ul a,
nav.main-nav ul#wpconvert-primary-ul a,
.main-nav #wpconvert-primary-ul a,
.main-nav ul#wpconvert-primary-ul a {
  text-decoration: none;
  font-weight: 500;
}

/* Top-level links maintain their button appearance */
#wpconvert-primary-ul > .menu-item > a {
  /* Keep original classes for styling */
}

/* Hide submenus by default with high z-index - CRITICAL for all sites */
/* EC-NAV-220: Layout & visibility properties stay !important so the
   hover-to-show behaviour overrides Tailwind's display:none / opacity:0
   defaults on sites without their own dropdown CSS. */
.menu-item.menu-item-has-children > .submenu,
.menu-item.menu-item-has-children > .sub-menu,
.menu-item-has-children > ul,
li.menu-item-has-children > ul {
  display: none !important; /* Important to override inline-flex and other display classes */
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 9999 !important; /* Higher than content */
  list-style: none !important;
  margin: 0 !important;
}
/* EC-NAV-220: Visual surface properties (background / border / shadow /
   padding / sizing) are emitted via :where(...) so the selector collapses
   to specificity (0,0,0). Any captured custom-submenu CSS rule with
   non-zero specificity (e.g. aura-lace .dropdown-menu with background
   var(--emerald)) automatically wins via the cascade so the author's
   luxury / dark-themed dropdown panel renders correctly.
   For sites WITHOUT captured dropdown CSS, these white-card defaults
   still apply because nothing else competes. */
:where(.menu-item.menu-item-has-children) > :where(.submenu),
:where(.menu-item.menu-item-has-children) > :where(.sub-menu),
:where(.menu-item-has-children) > :where(ul),
:where(li.menu-item-has-children) > :where(ul) {
  background: white;
  min-width: 200px;
  max-width: 500px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
}

/* Show on hover/focus - Maximum specificity to override everything */
.menu-item.menu-item-has-children:hover > .submenu,
.menu-item.menu-item-has-children:hover > .sub-menu,
.menu-item.menu-item-has-children:hover > ul,
.menu-item.menu-item-has-children:focus-within > .submenu,
.menu-item.menu-item-has-children:focus-within > .sub-menu,
.menu-item.menu-item-has-children:focus-within > ul,
li.menu-item-has-children:hover > ul,
li.menu-item-has-children:focus-within > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force submenu items to display as block - Override ALL WordPress and utility classes */
.submenu li,
.submenu .menu-item,
.submenu .menu-item-type-post_type,
.submenu .menu-item-type-custom,
.submenu .menu-item-object-page,
.submenu .menu-item-object-custom,
.submenu .current-menu-item,
.submenu .current_page_item,
ul.sub-menu li,
ul.sub-menu .menu-item,
body .submenu li {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  flex-direction: column !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
}

.submenu .menu-item a,
.submenu a,
ul.sub-menu a {
  display: block !important;
  width: 100% !important;
  padding: 0.5rem 1rem !important;
  white-space: nowrap !important;
  text-align: left !important;
}

/* Override ANY utility classes that could break submenu layout */
.submenu .menu-item.inline-flex,
.submenu .menu-item.flex,
.submenu .menu-item.grid,
.submenu li.inline-flex,
.submenu li.flex,
.submenu li.grid,
.submenu .inline-flex,
.submenu .flex,
.submenu .grid {
  display: block !important;
  flex-direction: column !important;
}

.submenu .menu-item a.inline-flex,
.submenu .menu-item a.flex,
.submenu .menu-item a.grid,
.submenu a.inline-flex,
.submenu a.flex,
.submenu a.grid {
  display: block !important;
}

/* Ensure submenu container is vertical */
.submenu,
ul.sub-menu {
  flex-direction: column !important;
  display: block !important;
}

/* FLAT NAV ACTIVE STATE - For React/Vite sites converted to wp_nav_menu() */
/* EC-NAV-010: Dynamic current page highlighting */
/* The .wpconvert-active-link class is added by WPConvert_Flat_Menu_Walker to current page links */
.wpconvert-active-link {
  /* Default active styling - will be enhanced by extracted classes if available */
  font-weight: 600;
}

/* EC-NAV-010: When active link has text-primary class, override any text-foreground from base */
/* This ensures the active item shows the highlighted color (text-primary = green/brand color) */
a.wpconvert-active-link.text-primary,
.current-menu-item > a.text-primary,
.current_page_item > a.text-primary {
  color: hsl(var(--primary)) !important;
}

/* EC-NAV-010: Ensure inactive items don't get active color */
/* Links WITHOUT wpconvert-active-link should use text-foreground */
nav a.text-foreground:not(.wpconvert-active-link):not(.text-primary) {
  color: hsl(var(--foreground)) !important;
}

/* Also style current-menu-item for flat navs */
.current-menu-item > a,
.current_page_item > a,
a.current-menu-item,
a.wpconvert-active-link {
  /* The actual active styling comes from extracted activeLinkClasses */
  /* These are fallback styles if extraction doesn't provide specific classes */
}

/* Flat nav submenu styling */
.wpconvert-flat-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.375rem;
  padding: 0.5rem 0;
  display: none;
  z-index: 9999;
}

.wpconvert-flat-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

/* EC-NAV-140: Large flat dropdowns flow into two columns (mega-style) without extra walker markup */
.wpconvert-flat-submenu--mega-cols-2 {
  min-width: min(640px, 92vw);
  column-count: 2;
  column-gap: 2.5rem;
  padding: 0.75rem 1.25rem !important;
}
.wpconvert-flat-submenu--mega-cols-2 > a {
  white-space: normal !important;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
/* Show flat submenu when parent <li> hovers (wp_nav_menu wraps items in li.menu-item-has-children) */
li.menu-item-has-children:hover > .wpconvert-flat-submenu,
li.menu-item-has-children:focus-within > .wpconvert-flat-submenu {
  display: block !important;
}

/* Hide Radix UI viewport containers and similar dropdown containers - Universal */
[data-radix-navigation-menu-viewport],
[class*='viewport'][data-state='open'],
[class*='popover'][data-state='open'],
.radix-navigation-menu-viewport,
nav > div[class*='absolute'][class*='top-full'] {
  display: none !important;
  visibility: hidden !important;
}

/* EC-DIALOG-001: Hide Radix Sheet/Dialog overlays and panels that survive into converted themes */
/* These are interactive React components captured in open state during snapshot */
[role='dialog'][class*='fixed'],
[data-radix-dialog-content][class*='fixed'],
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='bg-black'],
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='backdrop'] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .menu-item.menu-item-has-children > .submenu {
    position: static;
    box-shadow: none;
  }
}

/* CRITICAL: Ensure header and navigation are above hero/content sections */
/* Only apply relative positioning if nav is NOT sticky/fixed/absolute */
/* Exclude #wpconvert-mobile-nav — it must stay position:fixed as an overlay */
/* EC-NAV-190: Also exclude position:absolute overlay headers (Tailwind
   "absolute" utility class) — common in hero-overlay navbars (e.g.
   svg-to-site-magic-main: <header class="absolute inset-x-0 top-6 z-30 ...">).
   Without this exclusion, the !important rule below forces the absolute
   overlay header into normal flow, taking up its full height and pushing
   the hero section down by ~80px (visible as a white band above the navbar). */
header:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']),
.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
nav:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']):not(
    #wpconvert-mobile-nav
  ),
[role='banner']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
[role='navigation']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ):not(#wpconvert-mobile-nav) {
  position: relative !important;
  z-index: 1000 !important;
}

/* Preserve sticky/fixed positioning for navs that have it */
/* CRITICAL: Ensure sticky/fixed actually works - add explicit CSS for common patterns */
nav[class*='sticky'],
nav[class*='fixed'],
header nav[class*='sticky'],
header nav[class*='fixed'],
header[class*='sticky'],
header[class*='fixed'],
.site-header[class*='sticky'],
.site-header[class*='fixed'] {
  z-index: 1000 !important; /* Keep z-index for visibility */
}

/* Explicit sticky positioning support - ensures it works even without Tailwind CSS loaded */
/* Only apply if sticky class is present and no explicit position override */
nav.sticky,
nav[class*='sticky']:not([style*='position']),
header nav.sticky,
header nav[class*='sticky']:not([style*='position']),
header.sticky,
header[class*='sticky']:not([style*='position']) {
  position: sticky !important;
}

/* Explicit fixed positioning support - ensures it works even without Tailwind CSS loaded */
nav.fixed,
nav[class*='fixed']:not([style*='position']),
header nav.fixed,
header nav[class*='fixed']:not([style*='position']),
header.fixed,
header[class*='fixed']:not([style*='position']) {
  position: fixed !important;
}

/* Common Tailwind patterns: sticky top-0, fixed top-0 */
nav[class*='sticky'][class*='top-0'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='sticky'][class*='top-0'],
header nav[class*='fixed'][class*='top-0'],
header[class*='sticky'][class*='top-0'],
header[class*='fixed'][class*='top-0'] {
  top: 0 !important;
}

/* Fixed navs typically need full width */
nav[class*='fixed'][class*='w-full'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='fixed'][class*='w-full'],
header nav[class*='fixed'][class*='top-0'],
header[class*='fixed'][class*='w-full'],
header[class*='fixed'][class*='top-0'] {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

/* Ensure hero and main content respect header z-index */
section[class*='hero'],
.hero,
main,
.site-main {
  position: relative;
  z-index: 1;
}

/* Theme-specific overrides */
/* Only apply relative if not sticky/fixed */
.site-header:not([class*='sticky']):not([class*='fixed']) {
  position: relative;
}

.site-main {
  margin-top: 0;
  padding-top: 0;
  min-height: 60vh;
}

/* Remove gap between fixed navbar and first content (white band under header).
 * Use :first-of-type (not :first-child): WP templates often have a whitespace text node
 * between <div id="primary"> and <section>, so section is never :first-child and rules
 * would silently fail (EC-NAV-086 follow-up).
 *
 * EC-NAV-276: INNER-page templates wrap content one level deeper —
 *   .site-main > div.page-SLUG > div.page-content > HERO
 * and the hero is frequently authored as a div (e.g. div.hero), not a section.
 * Static sites (e.g. WECConnect) set the original nav position:fixed and give
 * each subpage hero margin-top:NAVHEIGHT to clear it; once the universal reset
 * forces the class-only nav in-flow (sticky/relative), that top margin becomes a
 * visible white band under the bar. Zero the first child inside .page-content
 * (section OR div) so inner pages match the front page (whose hero is already
 * covered by the rules above). Scoped to .page-content, which only WPConvert
 * page templates emit — SPA inner pages never carry it. */
.site-main > section:first-of-type,
.site-main > div:first-of-type > section:first-of-type,
.site-main .page-content > section:first-of-type,
.site-main .page-content > div:first-of-type,
.site-main .page-content > :first-child > :first-child {
  margin-top: 0;
}

/* EC-NAV-086: Fixed nav + full-viewport hero (Tailwind min-h-screen) — React/Vite SPAs
 * stack the hero at document top with fixed nav overlaid; body/main background shows through
 * any empty band under the bar. Pull the first min-h-screen hero up by the header bar height
 * (--wpconvert-header-bar-height from header.php EC-NAV-100; fallback 4rem) so background layers
 * align with the original SPA.
 * Only on front-page template (body.front-page); skip sections with explicit pt-* / mt-* utilities.
 * :first-of-type required: newline/whitespace between #primary and hero <section> breaks :first-child. */
body.front-page
  .site-main
  #primary
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']),
body.front-page
  .site-main
  #primary
  > div:first-of-type
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']),
body.front-page
  .site-main
  > div:first-of-type
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']) {
  /* Logged out: --wp-admin--admin-bar--height is unset → 0px. Logged in: WP sets 32px / 46px (782px). */
  margin-top: calc(
    -1 * var(--wpconvert-header-bar-height, 4rem) -
      var(--wp-admin--admin-bar--height, 0px)
  );
}

/* EC-NAV-089: Admin bar is fixed at top:0; in-flow content gets html { margin-top } but fixed nav does not,
 * so the site navbar sits under #wpadminbar. Offset primary fixed nav; exclude full-screen mobile drawer. */
body.admin-bar nav.fixed.top-0:not(#wpconvert-mobile-nav),
body.admin-bar nav.fixed[class*='top-0']:not(#wpconvert-mobile-nav) {
  top: var(--wp-admin--admin-bar--height, 32px) !important;
}

/* EC-NAV-087: Merged / blog / legacy CSS often sets body { padding-top: 5rem+ } as “clearance”
 * for fixed headers. With a fixed overlay nav, that padding does NOT move the bar — it only
 * pushes <main> down while body background shows through → white/cream band (~nav height) under
 * the bar. Stay Boost ships this in bundled style.css; EC-NAV-086 margin alone cannot cancel it. */
body.front-page {
  padding-top: 0 !important;
}

/* EC-HERO-014: Full-viewport hero fidelity — SPA wrapper path + min-height guard */
body.front-page #primary section#top.min-h-screen,
body.front-page
  #primary
  > div:first-of-type
  > section.min-h-screen:first-of-type {
  min-height: 100vh !important;
  min-height: 100dvh !important;
}
body.front-page #primary section#top.min-h-screen > .absolute.bottom-10 {
  z-index: 10;
}

.site-footer {
  margin-top: auto;
}

/* EC-TW4-001: WordPress default style overrides */

body {
  line-height: 1.6;
}
body.wp-admin {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}
/* EC-BTN-104: :where() = 0 specificity so Tailwind text-* utilities always win over these resets.
   Plain "a:hover { color: inherit }" can outrank .text-white on links (0,2,0 vs 0,1,0) and wash out hero CTAs. */
:where(a) {
  color: inherit;
  text-decoration: none;
}
:where(a:hover) {
  color: inherit;
}
/* EC-CSS-001: Long-hand padding-left/right (NOT shorthand 'padding: 0 20px') so
 * compound selectors like .container.hero-grid (which sets padding-top: 74px)
 * keep their vertical padding. The shorthand resets ALL four sides at the same
 * specificity, which on Dabster Labs caused the hero badge to slide under the
 * fixed 74px nav. Horizontal gutter (20px each side) unchanged; vertical
 * defaults to the browser's 0 — same effective behavior for sites that do not
 * set padding-top via another selector. */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
:where(button, .btn) {
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
/* EC-BTN-107: Disclosure/accordion toggle buttons (aria-expanded) must not be
   text-selectable. Otherwise a double-click or click-drag on a FAQ question
   label paints the browser's default blue text-selection highlight, which the
   user sees as a stray "bluish background" that appears on one click and clears
   on the next. Native <button>s are non-selectable and the source React FAQ is
   too. Scoped to button[aria-expanded] so ordinary buttons and selectable
   content elsewhere are untouched. */
button[aria-expanded] {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input,
textarea,
select {
  font-family: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}

/* Grid Layout & Sidebar Preservation - Ensures Bootstrap and other grid systems work properly */
.grid-layout-container {
  width: 100%;
  max-width: 100%;
}

/* Preserve Bootstrap row structure */
.grid-layout-container .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

/* Ensure Bootstrap columns work */
.grid-layout-container [class*='col-'] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Bootstrap column widths - responsive */
@media (min-width: 768px) {
  .grid-layout-container .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .grid-layout-container .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .grid-layout-container .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .grid-layout-container .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .grid-layout-container .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .grid-layout-container .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Mobile stacking for sidebars */
@media (max-width: 767px) {
  .grid-layout-container [class*='col-'] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Sidebar styling */
.grid-layout-container aside,
.grid-layout-container [class*='sidebar'] {
  padding: 20px;
}

/* CRITICAL: Disable popups marked by WPConvert - Universal for ALL popup libraries */
/* This targets ONLY popups we've marked, regardless of the library used */
/* Users can re-enable by overriding this CSS in Customizer → Additional CSS */
[data-wpconvert-popup-disabled='true'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
  position: absolute !important;
  left: -99999px !important;
  transform: scale(0) !important;
}

/* Also hide child elements of disabled popups (for nested structures) */
[data-wpconvert-popup-disabled='true'] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Disable popup overlay backgrounds (universal) */
[data-wpconvert-popup-disabled='true'].overlay,
[data-wpconvert-popup-disabled='true'][class*='overlay'],
[data-wpconvert-popup-disabled='true'][class*='backdrop'],
[data-wpconvert-popup-disabled='true'][class*='bg'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* EC-FORM-004: Native <select> option list styling.
 *
 * Why: EC-FORMS-004 / EC-MSTEP-001C converts Radix shadcn comboboxes to
 * native <select> elements so the form submits as a real HTML form. Native
 * select-popups inherit the trigger element background, so on shadcn forms
 * with translucent inputs (e.g. bg-white slash 10), the option list paints
 * as a translucent panel that bleeds the parent form background and makes
 * options nearly unreadable.
 *
 * The rule below paints each option on a solid surface using the same
 * shadcn --card design tokens the rest of the theme already uses, so
 * dropdowns visually match the original SelectContent / bg-popover render.
 *
 * Safety:
 *   - Scoped strictly to select option / select optgroup — never leaks
 *     to custom popover divs.
 *   - hsl(var(--card, ...)) with fallbacks degrades cleanly on themes
 *     that do not define the variable.
 *   - Safari ignores option styling entirely (no DOM hook into the native
 *     popup) so this is a no-op there. Chrome/Edge/Firefox/Brave honour it.
 */
/* EC-FORM-004 / EC-FORM-004b: solid option surfaces — card tokens by default,
   popover tokens on dark booking sections (bg-secondary / needs-wiring forms). */
select option,
select optgroup,
.bg-secondary select option,
.bg-secondary select optgroup,
form[data-wpconvert-form] select option,
form[data-wpconvert-form] select optgroup {
  background-color: hsl(var(--popover, var(--card, 0 0% 100%)));
  color: hsl(var(--popover-foreground, var(--card-foreground, 222.2 84% 4.9%)));
}

/* CRITICAL: Tailwind Font Override - ensure custom fonts take precedence over Tailwind CDN */
/* Tailwind CDN generates CSS dynamically that can override static CSS, so we use !important */
/* No custom font classes detected */

/* EC-STATIC-013: Site CSS sets position:fixed on nav — override WPConvert base relative reset.
   Selector mirrors the base rule's :not() guards so specificity (1,2,1) matches; source-order wins. */
nav:not([class*='sticky']):not([class*='fixed']):not(#wpconvert-mobile-nav) {
  position: fixed !important;
}

/* EC-SPA-026: WordPress body_class() adds bare semantic tokens (page) to <body>.
   This converted site's own CSS hides those same class names (e.g. .page{display:none} for
   class-toggle SPA route containers / utility classes), so the rule also matches <body> and
   hides the ENTIRE document — a blank white screen in WordPress. The standalone site and the
   Puppeteer screenshot have no body_class(), so they render fine. <body> is never one of the
   site's route/utility containers, so re-assert its visibility. The compound body.<token>
   selector (0,1,1) beats the bare .<token> rule (0,1,0) regardless of stylesheet order. */
body.page {
  display: block !important;
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
