/*
Theme Name: nurserita-hostinger-calendar-booking-public_html (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 */

/* CSS Variables */
:root {
}

/* Inline Styles */

/* Extracted CSS from page */
:root {
  --ivory: #fbf8f3;
  --cream: #f5eee7;
  --cream2: #f0e7de;
  --stone: #d8c9bd;
  --taupe: #a9907d;
  --taupe-dark: #7c6657;
  --charcoal: #171310;
  --text: #25201d;
  --muted: #5f5550;
  --line: #ded0c4;
  --white: #fffdf9;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --shadow: 0 18px 42px rgba(62, 48, 38, 0.11);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0px;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.58;
  letter-spacing: 0.01em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.container {
  width: min(1180px, 100% - 64px);
  margin: 0px auto;
}
.wide {
  width: min(1280px, 100% - 60px);
  margin: 0px auto;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: rgb(255, 255, 255);
  padding: 10px 14px;
  z-index: 999;
}
.skip-link:focus {
  top: 20px;
}
.header {
  height: 86px;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid rgba(222, 208, 196, 0.76);
  position: sticky;
  top: 0px;
  z-index: 80;
  backdrop-filter: blur(14px);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 270px 1fr auto;
  align-items: center;
  gap: 24px;
}
.logo img {
  width: 250px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  line-height: 1;
  color: rgb(21, 17, 15);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: -12px;
  height: 1px;
  background: var(--taupe);
  transform: scaleX(0);
  transform-origin: left center;
  transition: 0.24s;
}
.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}
.menu-toggle {
  display: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0px 25px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: var(--taupe);
  color: rgb(255, 255, 255);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 11px;
  transition: 0.2s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn.dark {
  background: var(--charcoal);
}
.btn.outline {
  background: transparent;
  color: var(--taupe-dark);
  border-color: var(--taupe-dark);
}
.btn.light {
  background: rgb(255, 255, 255);
  color: var(--taupe-dark);
  border-color: rgb(255, 255, 255);
}
.btn.small {
  min-height: 40px;
  padding: 0px 18px;
  font-size: 10px;
}
.book-fixed {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 79;
  display: none;
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0px 0px 24px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(74, 57, 48);
  font-weight: 700;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.04;
  margin: 0px;
}
h1 {
  font-size: clamp(48px, 6.2vw, 80px);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 25px;
  letter-spacing: -0.012em;
}
p {
  margin: 0px;
  color: var(--muted);
}
.lead {
  font-size: 18px;
  line-height: 1.75;
  color: rgb(48, 42, 39);
}
.italic {
  font-style: italic;
  color: rgb(141, 122, 110);
}
.hero {
  background: linear-gradient(
    90deg,
    rgb(251, 248, 243) 0%,
    rgb(251, 248, 243) 47%,
    rgb(239, 230, 223) 47%,
    rgb(239, 230, 223) 100%
  );
  min-height: 642px;
}
.hero .wide {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 642px;
}
.hero-copy {
  padding: 92px 30px 38px 10px;
}
.hero h1 {
  max-width: 600px;
  margin-bottom: 28px;
}
.hero p.lead {
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-visual {
  position: relative;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 642px;
  object-fit: cover;
  object-position: center top;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 680px;
}
.trust-item {
  text-align: center;
  color: rgb(24, 20, 16);
}
.trust-icon {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--taupe-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px auto 14px;
  color: var(--taupe-dark);
  font-size: 16px;
}
.trust-item strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}
.trust-item span {
  display: block;
  color: rgb(76, 66, 61);
  font-size: 12px;
  line-height: 1.35;
}
.section {
  padding: 82px 0px;
}
.section.tight {
  padding: 54px 0px;
}
.section.white {
  background: rgb(255, 253, 249);
}
.section.cream {
  background: var(--cream);
}
.section-title {
  text-align: center;
  margin: 0px auto 38px;
  max-width: 800px;
}
.section-title h2 {
  margin-bottom: 14px;
}
.section-title p {
  max-width: 650px;
  margin: 0px auto;
}
.services-strip {
  background: rgb(255, 253, 249);
  padding: 38px 0px 50px;
}
.strip-title {
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgb(68, 52, 45);
  margin-bottom: 28px;
}
.service-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
  gap: 20px;
}
.mini-service {
  display: block;
  text-align: center;
}
.mini-service img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 15px;
  background: rgb(234, 223, 214);
}
.mini-service strong {
  font-size: 13px;
  line-height: 1.24;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  display: block;
}
.mini-service:hover img {
  filter: saturate(1.05) contrast(1.03);
}
.about-home {
  display: grid;
  grid-template-columns: 42% 58%;
  background: rgb(255, 255, 255);
}
.about-copy {
  padding: 62px 80px 56px 64px;
}
.about-copy h2 {
  font-size: 38px;
  margin-bottom: 24px;
}
.short-line {
  width: 38px;
  height: 1px;
  background: var(--taupe-dark);
  margin: 24px 0px;
}
.check-list {
  list-style: none;
  padding: 0px;
  margin: 26px 0px 0px;
}
.check-list li {
  position: relative;
  margin: 8px 0px;
  padding-left: 26px;
  color: rgb(64, 56, 50);
  font-size: 14px;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0px;
  top: 0px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--taupe-dark);
  color: rgb(255, 255, 255);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 392px;
}
.why-strip {
  background: rgb(255, 253, 249);
  padding: 38px 0px 44px;
}
.why-strip h2 {
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 28px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.why-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  align-items: start;
}
.why-icon {
  font-size: 30px;
  color: var(--taupe-dark);
  line-height: 1;
}
.why-item strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  margin-bottom: 6px;
}
.why-item span {
  font-size: 13px;
  color: rgb(76, 66, 61);
  display: block;
  line-height: 1.45;
}
.cta-band {
  position: relative;
  background: rgb(165, 141, 123);
  color: rgb(255, 255, 255);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  left: -20px;
  top: -35px;
  width: 210px;
  height: 210px;
  background: url('pattern-flower.svg') center center / contain no-repeat;
  opacity: 0.82;
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 48px 0px;
}
.cta-band h2 {
  font-size: 34px;
  color: rgb(255, 255, 255);
  margin-bottom: 10px;
}
.cta-band p {
  color: rgb(255, 255, 255);
}
.footer {
  background: rgb(255, 253, 249);
  border-top: 1px solid var(--line);
  padding: 36px 0px 22px;
}
.footer-main {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.footer-logo img {
  width: 210px;
  max-height: 70px;
  object-fit: contain;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 8px 0px 12px;
}
.footer ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}
.footer li,
.footer a,
.footer p {
  font-size: 13px;
  color: rgb(66, 57, 52);
}
.footer li {
  margin: 6px 0px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 11px;
  color: rgb(122, 107, 96);
}
.page-hero {
  background: linear-gradient(
    90deg,
    rgb(251, 248, 243) 0%,
    rgb(251, 248, 243) 52%,
    rgb(239, 230, 223) 52%,
    rgb(239, 230, 223) 100%
  );
  min-height: 470px;
}
.page-hero .wide {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 470px;
}
.page-copy {
  padding: 76px 40px 66px 8px;
}
.breadcrumbs {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 24px;
}
.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-copy h1 {
  font-size: clamp(42px, 5.2vw, 68px);
  margin-bottom: 22px;
}
.page-copy .lead {
  max-width: 560px;
}
.page-img {
  overflow: hidden;
}
.page-img img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: rgb(255, 253, 249);
  border: 1px solid var(--line);
  padding: 30px;
  box-shadow: rgba(62, 48, 38, 0.05) 0px 8px 24px;
}
.card h3 {
  margin-bottom: 13px;
}
.card p {
  font-size: 14px;
}
.card.image-card {
  padding: 0px;
  overflow: hidden;
}
.card.image-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}
.card-body {
  padding: 25px;
}
.service-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 26px 0px;
}
.service-card:first-child {
  border-top: 1px solid var(--line);
}
.service-card img {
  width: 160px;
  height: 132px;
  object-fit: cover;
}
.service-card h3 {
  font-size: 30px;
  margin-bottom: 8px;
}
.service-card .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.pill {
  border: 1px solid var(--line);
  background: rgb(255, 253, 249);
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: rgb(78, 68, 62);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  border: 1px solid var(--line);
  background: rgb(255, 253, 249);
}
.split > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 460px;
}
.split-copy {
  padding: 50px;
}
.steps {
  counter-reset: step 0;
  display: grid;
  gap: 14px;
}
.step {
  border: 1px solid var(--line);
  background: rgb(255, 255, 255);
  padding: 18px 18px 18px 70px;
  position: relative;
}
.step::before {
  counter-increment: step 1;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  background: var(--taupe);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.step strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 5px;
}
.notice {
  background: rgb(255, 249, 242);
  border: 1px solid var(--line);
  padding: 17px;
  font-size: 13px;
  color: rgb(90, 80, 74);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
details {
  background: rgb(255, 253, 249);
  border: 1px solid var(--line);
  padding: 22px;
}
summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--charcoal);
}
summary::-webkit-details-marker {
  display: none;
}
details p {
  margin-top: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(74, 57, 48);
  font-weight: 700;
  margin: 0px 0px 7px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid rgb(212, 195, 183);
  background: rgb(255, 253, 249);
  padding: 14px 13px;
  border-radius: 0px;
  font: inherit;
  color: var(--text);
}
textarea {
  min-height: 135px;
  resize: vertical;
}
.form-full {
  grid-column: 1 / -1;
}
.form-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.form-note {
  font-size: 12px;
  color: rgb(117, 104, 94);
  margin-top: 12px;
}
.booking-box {
  min-height: 250px;
  border: 1px dashed var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgb(255, 253, 249);
  color: rgb(107, 93, 85);
  padding: 30px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 10px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.result-placeholder {
  background: linear-gradient(
      135deg,
      rgba(240, 231, 222, 0.9),
      rgba(255, 253, 249, 0.9)
    )
    rgb(255, 253, 249);
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.result-placeholder h3 {
  font-size: 25px;
}
.sticky-note {
  position: sticky;
  top: 110px;
}
.top-space {
  margin-top: 32px;
}
@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 240px auto auto;
  }
  .logo img {
    width: 205px;
  }
  .nav {
    gap: 18px;
  }
  .hero .wide,
  .page-hero .wide {
    grid-template-columns: 1fr;
  }
  .hero,
  .page-hero {
    background: var(--ivory);
  }
  .hero-copy,
  .page-copy {
    padding-left: 0px;
    padding-right: 0px;
  }
  .hero-visual img,
  .page-img img {
    height: auto;
    max-height: 650px;
  }
  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .about-home,
  .content-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .card-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 790px) {
  .container,
  .wide {
    width: min(100% - 34px, 1180px);
  }
  .header {
    height: 74px;
  }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .logo img {
    width: 190px;
  }
  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: rgb(255, 253, 249);
    padding: 10px 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 10px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 17px;
    right: 17px;
    background: rgb(255, 253, 249);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .nav.open {
    display: flex;
  }
  .header .btn {
    display: none;
  }
  .book-fixed {
    display: inline-flex;
    left: 18px;
    right: 18px;
    width: auto;
  }
  .hero {
    min-height: 0px;
  }
  .hero .wide {
    min-height: 0px;
  }
  .hero-copy {
    padding-top: 52px;
  }
  .hero-actions {
    margin-bottom: 36px;
  }
  .trust-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .trust-item {
    text-align: left;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }
  .trust-icon {
    margin: 0px;
  }
  .service-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-copy {
    padding: 46px 25px;
  }
  .why-grid,
  .footer-main,
  .card-grid,
  .faq-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .cta-band .container {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .page-hero {
    min-height: 0px;
  }
  .page-hero .wide {
    min-height: 0px;
  }
  .page-copy {
    padding-top: 46px;
  }
  .service-card {
    grid-template-columns: 1fr;
  }
  .service-card img {
    width: 100%;
    height: 220px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer {
    padding-bottom: 90px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .page-copy h1 {
    font-size: 44px;
  }
}
.location-details {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.location-details div {
  background: rgb(255, 253, 249);
  border: 1px solid var(--line);
  padding: 16px;
}
.location-details strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 5px;
}
.mini-service {
  transition: 0.22s;
}
.mini-service:hover {
  transform: translateY(-3px);
}
.mini-service:focus-visible {
  outline: 2px solid var(--taupe-dark);
  outline-offset: 4px;
}
.page-service-image {
  margin-top: 34px;
  border: 1px solid var(--line);
  background: rgb(255, 253, 249);
}
.page-service-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.service-strip-grid.nine {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}
@media (max-width: 790px) {
  .page-service-image img {
    height: 260px;
  }
  .logo img {
    max-height: 54px;
  }
}
.booking-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.booking-option {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 250px;
  background: rgb(255, 253, 249);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: rgba(62, 48, 38, 0.05) 0px 8px 24px;
}
.booking-option .booking-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  font-weight: 700;
}
.booking-option h3 {
  font-size: 30px;
  margin: 0px 0px 8px;
}
.booking-option p {
  font-size: 14px;
}
.booking-option .btn {
  width: 100%;
}
.booking-note {
  background: rgb(255, 249, 242);
  border: 1px solid var(--line);
  padding: 18px;
  margin-top: 24px;
  color: rgb(90, 80, 74);
  font-size: 13px;
}
.location-booking-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.location-booking-actions .btn {
  white-space: normal;
  text-align: center;
}
.external-note {
  font-size: 12px;
  color: rgb(117, 104, 94);
  margin-top: 10px;
}
.direct-booking-card {
  border: 1px solid var(--line);
  background: rgb(255, 253, 249);
  padding: 24px;
}
.direct-booking-card h3 {
  font-size: 28px;
}
@media (max-width: 1120px) {
  .booking-link-grid {
    grid-template-columns: 1fr;
  }
  .booking-option {
    min-height: auto;
  }
}
@media (max-width: 790px) {
  .location-booking-actions .btn {
    width: 100%;
  }
}
.mini-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: rgb(255, 253, 249);
  border: 1px solid var(--line);
  padding: 34px;
  box-shadow: rgba(62, 48, 38, 0.05) 0px 8px 24px;
}
.mini-banner h2 {
  font-size: 34px;
  margin-bottom: 0px;
}
@media (max-width: 790px) {
  .mini-banner {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .mini-banner .btn {
    width: 100%;
  }
}

/* From assets/styles.css */

:root {
  --ivory: #fbf8f3;
  --cream: #f5eee7;
  --cream2: #f0e7de;
  --stone: #d8c9bd;
  --taupe: #a9907d;
  --taupe-dark: #7c6657;
  --charcoal: #171310;
  --text: #25201d;
  --muted: #5f5550;
  --line: #ded0c4;
  --white: #fffdf9;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --shadow: 0 18px 42px rgba(62, 48, 38, 0.11);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.58;
  letter-spacing: 0.01em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}
.wide {
  width: min(1280px, calc(100% - 60px));
  margin: 0 auto;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: #fff;
  padding: 10px 14px;
  z-index: 999;
}
.skip-link:focus {
  top: 20px;
}
.header {
  height: 86px;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid rgba(222, 208, 196, 0.76);
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(14px);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 270px 1fr auto;
  align-items: center;
  gap: 24px;
}
.logo img {
  width: 250px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  line-height: 1;
  color: #15110f;
}
.nav a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 1px;
  background: var(--taupe);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.24s;
}
.nav a:hover:after,
.nav a.active:after {
  transform: scaleX(1);
}
.menu-toggle {
  display: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 25px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: var(--taupe);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 11px;
  transition: 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn.dark {
  background: var(--charcoal);
}
.btn.outline {
  background: transparent;
  color: var(--taupe-dark);
  border-color: var(--taupe-dark);
}
.btn.light {
  background: #fff;
  color: var(--taupe-dark);
  border-color: #fff;
}
.btn.small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 10px;
}
.book-fixed {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 79;
  display: none;
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 24px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4a3930;
  font-weight: 700;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.04;
  margin: 0;
}
h1 {
  font-size: clamp(48px, 6.2vw, 80px);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 25px;
  letter-spacing: -0.012em;
}
p {
  margin: 0;
  color: var(--muted);
}
.lead {
  font-size: 18px;
  line-height: 1.75;
  color: #302a27;
}
.italic {
  font-style: italic;
  color: #8d7a6e;
}
.hero {
  background: linear-gradient(
    90deg,
    #fbf8f3 0%,
    #fbf8f3 47%,
    #efe6df 47%,
    #efe6df 100%
  );
  min-height: 642px;
}
.hero .wide {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 642px;
}
.hero-copy {
  padding: 92px 30px 38px 10px;
}
.hero h1 {
  max-width: 600px;
  margin-bottom: 28px;
}
.hero p.lead {
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-visual {
  position: relative;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 642px;
  object-fit: cover;
  object-position: center top;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 680px;
}
.trust-item {
  text-align: center;
  color: #181410;
}
.trust-icon {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--taupe-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--taupe-dark);
  font-size: 16px;
}
.trust-item strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}
.trust-item span {
  display: block;
  color: #4c423d;
  font-size: 12px;
  line-height: 1.35;
}
.section {
  padding: 82px 0;
}
.section.tight {
  padding: 54px 0;
}
.section.white {
  background: #fffdf9;
}
.section.cream {
  background: var(--cream);
}
.section-title {
  text-align: center;
  margin: 0 auto 38px;
  max-width: 800px;
}
.section-title h2 {
  margin-bottom: 14px;
}
.section-title p {
  max-width: 650px;
  margin: 0 auto;
}
.services-strip {
  background: #fffdf9;
  padding: 38px 0 50px;
}
.strip-title {
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #44342d;
  margin-bottom: 28px;
}
.service-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
  gap: 20px;
}
.mini-service {
  display: block;
  text-align: center;
}
.mini-service img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin-bottom: 15px;
  background: #eadfd6;
}
.mini-service strong {
  font-size: 13px;
  line-height: 1.24;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  display: block;
}
.mini-service:hover img {
  filter: saturate(1.05) contrast(1.03);
}
.about-home {
  display: grid;
  grid-template-columns: 42% 58%;
  background: #fff;
}
.about-copy {
  padding: 62px 80px 56px 64px;
}
.about-copy h2 {
  font-size: 38px;
  margin-bottom: 24px;
}
.short-line {
  width: 38px;
  height: 1px;
  background: var(--taupe-dark);
  margin: 24px 0;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}
.check-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 26px;
  color: #403832;
  font-size: 14px;
}
.check-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--taupe-dark);
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 392px;
}
.why-strip {
  background: #fffdf9;
  padding: 38px 0 44px;
}
.why-strip h2 {
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 28px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.why-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  align-items: start;
}
.why-icon {
  font-size: 30px;
  color: var(--taupe-dark);
  line-height: 1;
}
.why-item strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  margin-bottom: 6px;
}
.why-item span {
  font-size: 13px;
  color: #4c423d;
  display: block;
  line-height: 1.45;
}
.cta-band {
  position: relative;
  background: #a58d7b;
  color: #fff;
  overflow: hidden;
}
.cta-band:before {
  content: '';
  position: absolute;
  left: -20px;
  top: -35px;
  width: 210px;
  height: 210px;
  background: url('pattern-flower.svg') center/contain no-repeat;
  opacity: 0.82;
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 48px 0;
}
.cta-band h2 {
  font-size: 34px;
  color: #fff;
  margin-bottom: 10px;
}
.cta-band p {
  color: #fff;
}
.footer {
  background: #fffdf9;
  border-top: 1px solid var(--line);
  padding: 36px 0 22px;
}
.footer-main {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.footer-logo img {
  width: 210px;
  max-height: 70px;
  object-fit: contain;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 8px 0 12px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer li,
.footer a,
.footer p {
  font-size: 13px;
  color: #423934;
}
.footer li {
  margin: 6px 0;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 11px;
  color: #7a6b60;
}
.page-hero {
  background: linear-gradient(
    90deg,
    #fbf8f3 0%,
    #fbf8f3 52%,
    #efe6df 52%,
    #efe6df 100%
  );
  min-height: 470px;
}
.page-hero .wide {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 470px;
}
.page-copy {
  padding: 76px 40px 66px 8px;
}
.breadcrumbs {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 24px;
}
.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-copy h1 {
  font-size: clamp(42px, 5.2vw, 68px);
  margin-bottom: 22px;
}
.page-copy .lead {
  max-width: 560px;
}
.page-img {
  overflow: hidden;
}
.page-img img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: 30px;
  box-shadow: 0 8px 24px rgba(62, 48, 38, 0.05);
}
.card h3 {
  margin-bottom: 13px;
}
.card p {
  font-size: 14px;
}
.card.image-card {
  padding: 0;
  overflow: hidden;
}
.card.image-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}
.card-body {
  padding: 25px;
}
.service-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.service-card:first-child {
  border-top: 1px solid var(--line);
}
.service-card img {
  width: 160px;
  height: 132px;
  object-fit: cover;
}
.service-card h3 {
  font-size: 30px;
  margin-bottom: 8px;
}
.service-card .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.pill {
  border: 1px solid var(--line);
  background: #fffdf9;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: #4e443e;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: #fffdf9;
}
.split > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 460px;
}
.split-copy {
  padding: 50px;
}
.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.step {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 18px 18px 70px;
  position: relative;
}
.step:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  background: var(--taupe);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.step strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 5px;
}
.notice {
  background: #fff9f2;
  border: 1px solid var(--line);
  padding: 17px;
  font-size: 13px;
  color: #5a504a;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
details {
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: 22px;
}
summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--charcoal);
}
summary::-webkit-details-marker {
  display: none;
}
details p {
  margin-top: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4a3930;
  font-weight: 700;
  margin: 0 0 7px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #d4c3b7;
  background: #fffdf9;
  padding: 14px 13px;
  border-radius: 0;
  font: inherit;
  color: var(--text);
}
textarea {
  min-height: 135px;
  resize: vertical;
}
.form-full {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.form-note {
  font-size: 12px;
  color: #75685e;
  margin-top: 12px;
}
.booking-box {
  min-height: 250px;
  border: 1px dashed var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fffdf9;
  color: #6b5d55;
  padding: 30px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 10px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.result-placeholder {
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background-image: linear-gradient(
    135deg,
    rgba(240, 231, 222, 0.9),
    rgba(255, 253, 249, 0.9)
  );
}
.result-placeholder h3 {
  font-size: 25px;
}
.sticky-note {
  position: sticky;
  top: 110px;
}
.top-space {
  margin-top: 32px;
}
@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 240px auto auto;
  }
  .logo img {
    width: 205px;
  }
  .nav {
    gap: 18px;
  }
  .hero .wide,
  .page-hero .wide {
    grid-template-columns: 1fr;
  }
  .hero,
  .page-hero {
    background: var(--ivory);
  }
  .hero-copy,
  .page-copy {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-visual img,
  .page-img img {
    height: auto;
    max-height: 650px;
  }
  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .about-home,
  .content-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .card-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 790px) {
  .container,
  .wide {
    width: min(100% - 34px, 1180px);
  }
  .header {
    height: 74px;
  }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .logo img {
    width: 190px;
  }
  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: #fffdf9;
    padding: 10px 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 10px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 17px;
    right: 17px;
    background: #fffdf9;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .nav.open {
    display: flex;
  }
  .header .btn {
    display: none;
  }
  .book-fixed {
    display: inline-flex;
    left: 18px;
    right: 18px;
    width: auto;
  }
  .hero {
    min-height: 0;
  }
  .hero .wide {
    min-height: 0;
  }
  .hero-copy {
    padding-top: 52px;
  }
  .hero-actions {
    margin-bottom: 36px;
  }
  .trust-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .trust-item {
    text-align: left;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }
  .trust-icon {
    margin: 0;
  }
  .service-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-copy {
    padding: 46px 25px;
  }
  .why-grid,
  .footer-main,
  .card-grid,
  .faq-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .cta-band .container {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .page-hero {
    min-height: 0;
  }
  .page-hero .wide {
    min-height: 0;
  }
  .page-copy {
    padding-top: 46px;
  }
  .service-card {
    grid-template-columns: 1fr;
  }
  .service-card img {
    width: 100%;
    height: 220px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer {
    padding-bottom: 90px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .page-copy h1 {
    font-size: 44px;
  }
}

.location-details {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.location-details div {
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: 16px;
}
.location-details strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 5px;
}
.mini-service {
  transition: 0.22s ease;
}
.mini-service:hover {
  transform: translateY(-3px);
}
.mini-service:focus-visible {
  outline: 2px solid var(--taupe-dark);
  outline-offset: 4px;
}
.page-service-image {
  margin-top: 34px;
  border: 1px solid var(--line);
  background: #fffdf9;
}
.page-service-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.service-strip-grid.nine {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}
@media (max-width: 790px) {
  .page-service-image img {
    height: 260px;
  }
  .logo img {
    max-height: 54px;
  }
}

/* Calendar booking link cards */
.booking-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.booking-option {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 250px;
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(62, 48, 38, 0.05);
}
.booking-option .booking-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  font-weight: 700;
}
.booking-option h3 {
  font-size: 30px;
  margin: 0 0 8px;
}
.booking-option p {
  font-size: 14px;
}
.booking-option .btn {
  width: 100%;
}
.booking-note {
  background: #fff9f2;
  border: 1px solid var(--line);
  padding: 18px;
  margin-top: 24px;
  color: #5a504a;
  font-size: 13px;
}
.location-booking-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.location-booking-actions .btn {
  white-space: normal;
  text-align: center;
}
.external-note {
  font-size: 12px;
  color: #75685e;
  margin-top: 10px;
}
.direct-booking-card {
  border: 1px solid var(--line);
  background: #fffdf9;
  padding: 24px;
}
.direct-booking-card h3 {
  font-size: 28px;
}
@media (max-width: 1120px) {
  .booking-link-grid {
    grid-template-columns: 1fr;
  }
  .booking-option {
    min-height: auto;
  }
}
@media (max-width: 790px) {
  .location-booking-actions .btn {
    width: 100%;
  }
}

.mini-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: 34px;
  box-shadow: 0 8px 24px rgba(62, 48, 38, 0.05);
}
.mini-banner h2 {
  font-size: 34px;
  margin-bottom: 0;
}
@media (max-width: 790px) {
  .mini-banner {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .mini-banner .btn {
    width: 100%;
  }
}

/* Source extracted CSS */

/* From assets/styles.css */

:root {
  --ivory: #fbf8f3;
  --cream: #f5eee7;
  --cream2: #f0e7de;
  --stone: #d8c9bd;
  --taupe: #a9907d;
  --taupe-dark: #7c6657;
  --charcoal: #171310;
  --text: #25201d;
  --muted: #5f5550;
  --line: #ded0c4;
  --white: #fffdf9;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --shadow: 0 18px 42px rgba(62, 48, 38, 0.11);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.58;
  letter-spacing: 0.01em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}
.wide {
  width: min(1280px, calc(100% - 60px));
  margin: 0 auto;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: #fff;
  padding: 10px 14px;
  z-index: 999;
}
.skip-link:focus {
  top: 20px;
}
.header {
  height: 86px;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid rgba(222, 208, 196, 0.76);
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(14px);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 270px 1fr auto;
  align-items: center;
  gap: 24px;
}
.logo img {
  width: 250px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  line-height: 1;
  color: #15110f;
}
.nav a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 1px;
  background: var(--taupe);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.24s;
}
.nav a:hover:after,
.nav a.active:after {
  transform: scaleX(1);
}
.menu-toggle {
  display: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 25px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: var(--taupe);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 11px;
  transition: 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn.dark {
  background: var(--charcoal);
}
.btn.outline {
  background: transparent;
  color: var(--taupe-dark);
  border-color: var(--taupe-dark);
}
.btn.light {
  background: #fff;
  color: var(--taupe-dark);
  border-color: #fff;
}
.btn.small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 10px;
}
.book-fixed {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 79;
  display: none;
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 24px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4a3930;
  font-weight: 700;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.04;
  margin: 0;
}
h1 {
  font-size: clamp(48px, 6.2vw, 80px);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 25px;
  letter-spacing: -0.012em;
}
p {
  margin: 0;
  color: var(--muted);
}
.lead {
  font-size: 18px;
  line-height: 1.75;
  color: #302a27;
}
.italic {
  font-style: italic;
  color: #8d7a6e;
}
.hero {
  background: linear-gradient(
    90deg,
    #fbf8f3 0%,
    #fbf8f3 47%,
    #efe6df 47%,
    #efe6df 100%
  );
  min-height: 642px;
}
.hero .wide {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 642px;
}
.hero-copy {
  padding: 92px 30px 38px 10px;
}
.hero h1 {
  max-width: 600px;
  margin-bottom: 28px;
}
.hero p.lead {
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-visual {
  position: relative;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 642px;
  object-fit: cover;
  object-position: center top;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 680px;
}
.trust-item {
  text-align: center;
  color: #181410;
}
.trust-icon {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--taupe-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--taupe-dark);
  font-size: 16px;
}
.trust-item strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}
.trust-item span {
  display: block;
  color: #4c423d;
  font-size: 12px;
  line-height: 1.35;
}
.section {
  padding: 82px 0;
}
.section.tight {
  padding: 54px 0;
}
.section.white {
  background: #fffdf9;
}
.section.cream {
  background: var(--cream);
}
.section-title {
  text-align: center;
  margin: 0 auto 38px;
  max-width: 800px;
}
.section-title h2 {
  margin-bottom: 14px;
}
.section-title p {
  max-width: 650px;
  margin: 0 auto;
}
.services-strip {
  background: #fffdf9;
  padding: 38px 0 50px;
}
.strip-title {
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #44342d;
  margin-bottom: 28px;
}
.service-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
  gap: 20px;
}
.mini-service {
  display: block;
  text-align: center;
}
.mini-service img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin-bottom: 15px;
  background: #eadfd6;
}
.mini-service strong {
  font-size: 13px;
  line-height: 1.24;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  display: block;
}
.mini-service:hover img {
  filter: saturate(1.05) contrast(1.03);
}
.about-home {
  display: grid;
  grid-template-columns: 42% 58%;
  background: #fff;
}
.about-copy {
  padding: 62px 80px 56px 64px;
}
.about-copy h2 {
  font-size: 38px;
  margin-bottom: 24px;
}
.short-line {
  width: 38px;
  height: 1px;
  background: var(--taupe-dark);
  margin: 24px 0;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}
.check-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 26px;
  color: #403832;
  font-size: 14px;
}
.check-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--taupe-dark);
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 392px;
}
.why-strip {
  background: #fffdf9;
  padding: 38px 0 44px;
}
.why-strip h2 {
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 28px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.why-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  align-items: start;
}
.why-icon {
  font-size: 30px;
  color: var(--taupe-dark);
  line-height: 1;
}
.why-item strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  margin-bottom: 6px;
}
.why-item span {
  font-size: 13px;
  color: #4c423d;
  display: block;
  line-height: 1.45;
}
.cta-band {
  position: relative;
  background: #a58d7b;
  color: #fff;
  overflow: hidden;
}
.cta-band:before {
  content: '';
  position: absolute;
  left: -20px;
  top: -35px;
  width: 210px;
  height: 210px;
  background: url('pattern-flower.svg') center/contain no-repeat;
  opacity: 0.82;
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 48px 0;
}
.cta-band h2 {
  font-size: 34px;
  color: #fff;
  margin-bottom: 10px;
}
.cta-band p {
  color: #fff;
}
.footer {
  background: #fffdf9;
  border-top: 1px solid var(--line);
  padding: 36px 0 22px;
}
.footer-main {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.footer-logo img {
  width: 210px;
  max-height: 70px;
  object-fit: contain;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 8px 0 12px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer li,
.footer a,
.footer p {
  font-size: 13px;
  color: #423934;
}
.footer li {
  margin: 6px 0;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 11px;
  color: #7a6b60;
}
.page-hero {
  background: linear-gradient(
    90deg,
    #fbf8f3 0%,
    #fbf8f3 52%,
    #efe6df 52%,
    #efe6df 100%
  );
  min-height: 470px;
}
.page-hero .wide {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 470px;
}
.page-copy {
  padding: 76px 40px 66px 8px;
}
.breadcrumbs {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 24px;
}
.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-copy h1 {
  font-size: clamp(42px, 5.2vw, 68px);
  margin-bottom: 22px;
}
.page-copy .lead {
  max-width: 560px;
}
.page-img {
  overflow: hidden;
}
.page-img img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: 30px;
  box-shadow: 0 8px 24px rgba(62, 48, 38, 0.05);
}
.card h3 {
  margin-bottom: 13px;
}
.card p {
  font-size: 14px;
}
.card.image-card {
  padding: 0;
  overflow: hidden;
}
.card.image-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}
.card-body {
  padding: 25px;
}
.service-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.service-card:first-child {
  border-top: 1px solid var(--line);
}
.service-card img {
  width: 160px;
  height: 132px;
  object-fit: cover;
}
.service-card h3 {
  font-size: 30px;
  margin-bottom: 8px;
}
.service-card .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.pill {
  border: 1px solid var(--line);
  background: #fffdf9;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: #4e443e;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: #fffdf9;
}
.split > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 460px;
}
.split-copy {
  padding: 50px;
}
.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.step {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 18px 18px 70px;
  position: relative;
}
.step:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  background: var(--taupe);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.step strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 5px;
}
.notice {
  background: #fff9f2;
  border: 1px solid var(--line);
  padding: 17px;
  font-size: 13px;
  color: #5a504a;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
details {
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: 22px;
}
summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--charcoal);
}
summary::-webkit-details-marker {
  display: none;
}
details p {
  margin-top: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4a3930;
  font-weight: 700;
  margin: 0 0 7px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #d4c3b7;
  background: #fffdf9;
  padding: 14px 13px;
  border-radius: 0;
  font: inherit;
  color: var(--text);
}
textarea {
  min-height: 135px;
  resize: vertical;
}
.form-full {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.form-note {
  font-size: 12px;
  color: #75685e;
  margin-top: 12px;
}
.booking-box {
  min-height: 250px;
  border: 1px dashed var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fffdf9;
  color: #6b5d55;
  padding: 30px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 10px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.result-placeholder {
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background-image: linear-gradient(
    135deg,
    rgba(240, 231, 222, 0.9),
    rgba(255, 253, 249, 0.9)
  );
}
.result-placeholder h3 {
  font-size: 25px;
}
.sticky-note {
  position: sticky;
  top: 110px;
}
.top-space {
  margin-top: 32px;
}
@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 240px auto auto;
  }
  .logo img {
    width: 205px;
  }
  .nav {
    gap: 18px;
  }
  .hero .wide,
  .page-hero .wide {
    grid-template-columns: 1fr;
  }
  .hero,
  .page-hero {
    background: var(--ivory);
  }
  .hero-copy,
  .page-copy {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-visual img,
  .page-img img {
    height: auto;
    max-height: 650px;
  }
  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .about-home,
  .content-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .card-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 790px) {
  .container,
  .wide {
    width: min(100% - 34px, 1180px);
  }
  .header {
    height: 74px;
  }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .logo img {
    width: 190px;
  }
  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: #fffdf9;
    padding: 10px 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 10px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 17px;
    right: 17px;
    background: #fffdf9;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .nav.open {
    display: flex;
  }
  .header .btn {
    display: none;
  }
  .book-fixed {
    display: inline-flex;
    left: 18px;
    right: 18px;
    width: auto;
  }
  .hero {
    min-height: 0;
  }
  .hero .wide {
    min-height: 0;
  }
  .hero-copy {
    padding-top: 52px;
  }
  .hero-actions {
    margin-bottom: 36px;
  }
  .trust-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .trust-item {
    text-align: left;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }
  .trust-icon {
    margin: 0;
  }
  .service-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-copy {
    padding: 46px 25px;
  }
  .why-grid,
  .footer-main,
  .card-grid,
  .faq-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .cta-band .container {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .page-hero {
    min-height: 0;
  }
  .page-hero .wide {
    min-height: 0;
  }
  .page-copy {
    padding-top: 46px;
  }
  .service-card {
    grid-template-columns: 1fr;
  }
  .service-card img {
    width: 100%;
    height: 220px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer {
    padding-bottom: 90px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .page-copy h1 {
    font-size: 44px;
  }
}

.location-details {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.location-details div {
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: 16px;
}
.location-details strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 5px;
}
.mini-service {
  transition: 0.22s ease;
}
.mini-service:hover {
  transform: translateY(-3px);
}
.mini-service:focus-visible {
  outline: 2px solid var(--taupe-dark);
  outline-offset: 4px;
}
.page-service-image {
  margin-top: 34px;
  border: 1px solid var(--line);
  background: #fffdf9;
}
.page-service-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.service-strip-grid.nine {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}
@media (max-width: 790px) {
  .page-service-image img {
    height: 260px;
  }
  .logo img {
    max-height: 54px;
  }
}

/* Calendar booking link cards */
.booking-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.booking-option {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 250px;
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(62, 48, 38, 0.05);
}
.booking-option .booking-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  font-weight: 700;
}
.booking-option h3 {
  font-size: 30px;
  margin: 0 0 8px;
}
.booking-option p {
  font-size: 14px;
}
.booking-option .btn {
  width: 100%;
}
.booking-note {
  background: #fff9f2;
  border: 1px solid var(--line);
  padding: 18px;
  margin-top: 24px;
  color: #5a504a;
  font-size: 13px;
}
.location-booking-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.location-booking-actions .btn {
  white-space: normal;
  text-align: center;
}
.external-note {
  font-size: 12px;
  color: #75685e;
  margin-top: 10px;
}
.direct-booking-card {
  border: 1px solid var(--line);
  background: #fffdf9;
  padding: 24px;
}
.direct-booking-card h3 {
  font-size: 28px;
}
@media (max-width: 1120px) {
  .booking-link-grid {
    grid-template-columns: 1fr;
  }
  .booking-option {
    min-height: auto;
  }
}
@media (max-width: 790px) {
  .location-booking-actions .btn {
    width: 100%;
  }
}

.mini-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: 34px;
  box-shadow: 0 8px 24px rgba(62, 48, 38, 0.05);
}
.mini-banner h2 {
  font-size: 34px;
  margin-bottom: 0;
}
@media (max-width: 790px) {
  .mini-banner {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .mini-banner .btn {
    width: 100%;
  }
}

/* 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;
}

/* 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;
}

/* Preserve original .main-nav link styling */
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;
}

/* 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;
}

/* 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 */
.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;
  background: white !important;
  min-width: 200px !important;
  max-width: 500px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  z-index: 9999 !important; /* Higher than content */
  padding: 0.5rem 0 !important;
  list-style: none !important;
  margin: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.375rem !important;
}

/* 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). */
.site-main > section:first-of-type,
.site-main > div:first-of-type > section:first-of-type {
  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
  > 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;
}

.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;
}
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;
}

/* 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-NAV-162b: Site CSS sets position:sticky on header — override WPConvert base relative reset.
   Non-Tailwind sites define fixed positioning in their stylesheet, not as a utility class.
   EC-NAV-197: selector includes :not([class*='absolute']) so specificity (0,4,0) ties the
   EC-NAV-190 safety-net; source-order then makes this override win the !important cascade. */
header:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']) {
  position: sticky !important;
  z-index: 1000 !important;
}

/* ── Blog Templates ─────────────────────────────────────── */

/* Prose typography for single post content */
.prose {
  line-height: 1.8;
  color: hsl(var(--foreground, 0 0% 100%));
}
.prose p {
  margin-bottom: 1.25em;
}
.prose h2 {
  font-size: 1.5em;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 0.75em;
}
.prose h3 {
  font-size: 1.25em;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.prose a {
  color: hsl(var(--primary, 221 83% 53%));
  text-decoration: underline;
}
.prose a:hover {
  opacity: 0.8;
}
.prose blockquote {
  border-left: 3px solid hsl(var(--accent, 221 83% 53%));
  padding-left: 1em;
  margin: 1.5em 0;
  font-style: italic;
  opacity: 0.9;
}
.prose ul,
.prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}
.prose li {
  margin-bottom: 0.5em;
}
.prose img {
  border-radius: 0.5rem;
  margin: 1.5em 0;
}
.prose code {
  background: hsl(var(--muted, 0 0% 15%));
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
}
.prose pre {
  background: hsl(var(--muted, 0 0% 15%));
  padding: 1em;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5em 0;
}
.prose pre code {
  background: none;
  padding: 0;
}

/* Pagination */
.wpconvert-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border, 0 0% 20%));
}
.wpconvert-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s;
  border: 1px solid hsl(var(--border, 0 0% 20%));
}
.wpconvert-pagination .page-numbers.current {
  background: hsl(var(--primary, 221 83% 53%));
  color: white;
  border-color: transparent;
}
.wpconvert-pagination .page-numbers:hover:not(.current) {
  background: hsl(var(--muted, 0 0% 15%));
}

/* Card hover image zoom (matches Tailwind group-hover:scale-105) */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* Post navigation links on single.php */
article .flex.items-center.justify-between a {
  color: hsl(var(--primary, 221 83% 53%));
  text-decoration: none;
  font-weight: 500;
}
article .flex.items-center.justify-between a:hover {
  text-decoration: underline;
}

/* Responsive: stack grid on mobile */
@media (max-width: 768px) {
  [class*='md\:grid-cols-'] {
    grid-template-columns: 1fr !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;
}
