/*
Theme Name: Nori Restaurant
Theme URI: https://norirestaurant.com
Description: A modern, performance-focused theme for NORI Restaurant — sushi, hibachi & Asian fusion in St. Augustine, FL. Built with semantic HTML5, structured data, and zero page-builder dependency.
Version: 1.0.0
Author: NORI
Text Domain: nori
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   0. CSS Custom Properties
   ========================================================================== */

:root {
  /* Colors */
  --color-bg:          #0b0b0b;
  --color-surface:     #141414;
  --color-surface-alt: #1c1c1c;
  --color-surface-hover:#222222;
  --color-border:      #2a2a2a;
  --color-border-light:#3a3a3a;

  --color-gold:        #c8a97e;
  --color-gold-light:  #d4ba94;
  --color-gold-dark:   #a8894e;

  --color-text:        #f0ece4;
  --color-text-muted:  #9a9590;
  --color-text-dim:    #6b6560;
  --color-white:       #ffffff;
  --color-black:       #000000;

  --color-success:     #4caf50;
  --color-error:       #ef5350;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body:    'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Fluid Type Scale — min 320px, max 1200px */
  --text-xs:   clamp(0.7rem,   0.65rem + 0.25vw,  0.8rem);
  --text-sm:   clamp(0.8rem,   0.75rem + 0.25vw,  0.875rem);
  --text-base: clamp(0.9rem,   0.85rem + 0.25vw,  1rem);
  --text-lg:   clamp(1.05rem,  0.95rem + 0.5vw,   1.2rem);
  --text-xl:   clamp(1.2rem,   1rem + 1vw,        1.5rem);
  --text-2xl:  clamp(1.5rem,   1.2rem + 1.5vw,    2rem);
  --text-3xl:  clamp(1.8rem,   1.4rem + 2vw,      2.5rem);
  --text-4xl:  clamp(2.2rem,   1.6rem + 3vw,      3.5rem);
  --text-5xl:  clamp(2.8rem,   2rem + 4vw,        5rem);

  /* Spacing */
  --space-xs:  clamp(0.25rem, 0.2rem + 0.25vw,  0.5rem);
  --space-sm:  clamp(0.5rem,  0.4rem + 0.5vw,   0.75rem);
  --space-md:  clamp(1rem,    0.8rem + 1vw,      1.5rem);
  --space-lg:  clamp(1.5rem,  1rem + 2.5vw,      3rem);
  --space-xl:  clamp(2rem,    1.5rem + 3vw,       4rem);
  --space-2xl: clamp(3rem,    2rem + 5vw,         6rem);
  --space-3xl: clamp(4rem,    3rem + 6vw,         8rem);

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 800px;

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-base: 400ms;
  --duration-slow: 600ms;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 30px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 30px rgba(200,169,126,0.15);

  /* Header height for offset */
  --header-h: 80px;
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }
}


/* ==========================================================================
   1. Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover,
a:focus-visible {
  color: var(--color-gold-light);
}

a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: 1em;
  color: var(--color-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--color-gold);
  color: var(--color-black);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   2. Layout Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

main {
  min-height: 60vh;
}


/* ==========================================================================
   3. Section Title / Shared Components
   ========================================================================== */

.section {
  padding-block: var(--space-3xl);
}

.section--alt {
  background-color: var(--color-surface);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  font-family: var(--font-body);
  font-weight: 400;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header .section-subtitle {
  margin-inline: auto;
}

/* Decorative separator */
.separator {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin-block: var(--space-md);
  border: none;
}

.section-header .separator {
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9em 2em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-gold-light);
  color: var(--color-black);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--color-gold);
  color: var(--color-black);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-light);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn--lg {
  padding: 1.1em 2.5em;
  font-size: var(--text-base);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Cards */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--duration-base) var(--ease-out);
}

.card:hover {
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-md);
}

/* Gold accent line on top of card */
.card--accent {
  border-top: 2px solid var(--color-gold);
}


/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              backdrop-filter var(--duration-base) var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

/* Logo */
.site-logo img {
  height: 48px;
  width: auto;
}

@media (max-width: 768px) {
  .site-logo img {
    height: 36px;
  }
}

/* Main Navigation */
.main-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.main-nav__link {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.5em 0;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.main-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--duration-base) var(--ease-out);
}

.main-nav__link:hover,
.main-nav__link:focus-visible,
.main-nav__link.is-active {
  color: var(--color-white);
}

.main-nav__link:hover::after,
.main-nav__link:focus-visible::after,
.main-nav__link.is-active::after {
  width: 100%;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-cta .btn {
  font-size: var(--text-xs);
  padding: 0.7em 1.5em;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  padding: 0;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: all var(--duration-base) var(--ease-out);
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Scroll lock when mobile nav is open */
html.nav-open,
html.nav-open body {
  overflow: hidden;
}

/* Mobile Navigation Overlay */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(85vw, 400px);
    background: var(--color-surface);
    border-left: 1px solid var(--color-border);
    padding: calc(var(--header-h) + var(--space-lg)) var(--space-lg) var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--duration-base) var(--ease-out);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 999;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .main-nav__link {
    font-size: var(--text-lg);
    padding: var(--space-sm) 0;
    letter-spacing: 0.1em;
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav__link::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
  }

  .mobile-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Backdrop overlay */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-base) var(--ease-out),
                visibility var(--duration-base);
    z-index: 998;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
  }
}

@media (min-width: 1025px) {
  .mobile-cta {
    display: none;
  }

  .nav-backdrop {
    display: none;
  }
}


/* ==========================================================================
   5. Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11,11,11,0.4) 0%,
    rgba(11,11,11,0.65) 50%,
    rgba(11,11,11,0.95) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-inline: var(--space-md);
  max-width: 800px;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-size: var(--text-5xl);
  font-weight: 400;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 540px;
  margin-inline: auto;
  font-family: var(--font-body);
}

.hero .btn-group {
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  animation: float 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--space-3xl));
  padding-bottom: var(--space-2xl);
  text-align: center;
  background: var(--color-surface);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,169,126,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__breadcrumb {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.page-hero__breadcrumb a {
  color: var(--color-text-muted);
}

.page-hero__breadcrumb span {
  color: var(--color-text-dim);
  margin-inline: 0.5em;
}

.page-hero__breadcrumb .current {
  color: var(--color-gold);
}


/* ==========================================================================
   6. Homepage Sections
   ========================================================================== */

/* -- Intro / About Teaser -- */
.intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.intro-section__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.intro-section__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .intro-section {
    grid-template-columns: 1fr;
  }

  .intro-section__img {
    aspect-ratio: 16 / 9;
    order: -1;
  }
}

/* -- Feature Cards (Sushi / Hibachi / Asian Fusion) -- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.feature-card__img {
  position: absolute;
  inset: 0;
}

.feature-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.feature-card:hover .feature-card__img img {
  transform: scale(1.05);
}

.feature-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
  z-index: 1;
}

.feature-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  z-index: 2;
}

.feature-card__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-xs);
}

.feature-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .feature-card {
    aspect-ratio: 16 / 9;
  }
}

/* -- Gallery Strip (horizontal scroll) -- */
.gallery-strip {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: var(--space-xs);
}

.gallery-strip::-webkit-scrollbar {
  display: none;
}

.gallery-strip__item {
  flex: 0 0 auto;
  width: clamp(200px, 25vw, 300px);
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  position: relative;
}

.gallery-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-base) var(--ease-out);
}

.gallery-strip__item:hover img {
  transform: scale(1.08);
}

/* -- CTA Banner -- */
.cta-banner {
  position: relative;
  padding-block: var(--space-3xl);
  text-align: center;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
}

.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 11, 0.8);
}

.cta-banner__content {
  position: relative;
  z-index: 2;
}

/* -- Contact Bar -- */
.contact-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.contact-bar__item {
  padding: var(--space-lg);
}

.contact-bar__icon {
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.contact-bar__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-bar__label {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: var(--space-xs);
}

.contact-bar__value {
  font-size: var(--text-lg);
  color: var(--color-white);
}

.contact-bar__value a {
  color: var(--color-white);
}

.contact-bar__value a:hover {
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .contact-bar {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-bar__item {
    border-bottom: 1px solid var(--color-border);
  }

  .contact-bar__item:last-child {
    border-bottom: none;
  }
}

/* -- Newsletter -- */
.newsletter {
  text-align: center;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin-inline: auto;
  margin-top: var(--space-md);
  gap: 0;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.9em 1.2em;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--duration-fast);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--color-gold);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--color-text-dim);
}

.newsletter-form button {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}


/* ==========================================================================
   7. About Page
   ========================================================================== */

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding-block: var(--space-xl);
}

.about-block:nth-child(even) .about-block__img {
  order: -1;
}

.about-block__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-block {
    grid-template-columns: 1fr;
  }

  .about-block__img {
    order: -1 !important;
    aspect-ratio: 16 / 9;
  }
}


/* About block reverse (image on left) */
.about-block--reverse .about-block__img { order: -1; aspect-ratio: auto; }

/* Gift Card Embed */
.giftcard-embed { max-width: 700px; margin-inline: auto; }
.giftcard-embed iframe { width: 100%; height: 500px; border: none; border-radius: var(--radius-md, 8px); background: #fff; }

/* Highlights / Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.value-item {
  text-align: center;
  padding: var(--space-lg);
}

.value-item__icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
}

.value-item__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   8. Menu Page
   ========================================================================== */

/* Sticky Category Nav */
.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

/* Mobile toggle — hidden, not used in unified design */
.menu-nav__toggle {
  display: none;
}

/* Scroll wrapper with edge fade indicators */
.menu-nav__scroll {
  position: relative;
}

.menu-nav__scroll::before,
.menu-nav__scroll::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.5rem;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.2s;
}

.menu-nav__scroll::before {
  left: 0;
  background: linear-gradient(to right, var(--color-surface), transparent);
  opacity: 0;
}

.menu-nav__scroll::after {
  right: 0;
  background: linear-gradient(to left, var(--color-surface), transparent);
}

.menu-nav__scroll.is-scrolled-start::after { opacity: 1; }
.menu-nav__scroll.is-scrolled-start::before { opacity: 0; }
.menu-nav__scroll.is-scrolled-middle::before,
.menu-nav__scroll.is-scrolled-middle::after { opacity: 1; }
.menu-nav__scroll.is-scrolled-end::before { opacity: 1; }
.menu-nav__scroll.is-scrolled-end::after { opacity: 0; }
.menu-nav__scroll.is-scrolled-none::before,
.menu-nav__scroll.is-scrolled-none::after { opacity: 0; }

.menu-nav__list {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding: var(--space-sm) var(--space-md);
  -webkit-overflow-scrolling: touch;
}

.menu-nav__list::-webkit-scrollbar {
  display: none;
}

.menu-nav__link {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  scroll-snap-align: center;
  text-align: center;
  line-height: 1;
}

.menu-nav__link:hover {
  color: var(--color-white);
  border-color: var(--color-text-muted);
}

.menu-nav__link.is-active {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
  font-weight: 700;
}

/* Mobile refinements */
@media (max-width: 768px) {
  .menu-nav__list {
    gap: 0.4rem;
    padding: 0.6rem 0.75rem;
  }

  .menu-nav__link {
    font-size: 0.6rem;
    padding: 0.45rem 0.7rem;
    letter-spacing: 0.06em;
  }

  .menu-nav__scroll::before,
  .menu-nav__scroll::after {
    width: 1.5rem;
  }
}

/* Menu Category Section */
.menu-category {
  padding-block: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.menu-category:last-child {
  border-bottom: none;
}

.menu-category__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.menu-category__title {
  font-size: var(--text-3xl);
}

.menu-category__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
  margin-top: var(--space-sm);
}

/* Menu Items Grid */
.menu-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md) var(--space-xl);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.menu-item__info {
  flex: 1;
}

.menu-item__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.2em;
}

.menu-item__desc {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  line-height: 1.5;
}

.menu-item__price {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-gold);
  white-space: nowrap;
  font-weight: 600;
}

/* Disclaimer */
.menu-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-dim);
  font-style: italic;
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-md);
}

@media (max-width: 768px) {
  .menu-items {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   9. Reservations Page
   ========================================================================== */

.reservation-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.reservation-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
}

.reservation-card__icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.reservation-card__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.reservation-info {
  margin-top: var(--space-xl);
}

.reservation-info__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .reservation-cards {
    grid-template-columns: 1fr;
  }

  .reservation-info__grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   10. Gallery Page
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-sm);
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  font-size: var(--text-sm);
  color: var(--color-white);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery — Load More */
.gallery-item--hidden {
  display: none;
}

.gallery-load-more {
  text-align: center;
  margin-top: var(--space-xl);
}

.gallery-load-more__count {
  font-size: var(--text-sm);
  opacity: 0.7;
  margin-left: 0.25em;
}

/* Order Embed */
.page-hero--compact { padding-block: var(--space-lg) var(--space-sm); }
.order-embed { padding: 0; }
.order-embed__frame {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.order-embed__frame iframe {
  width: 100%;
  height: calc(100vh - 180px);
  min-height: 600px;
  border: none;
  border-radius: var(--radius-md, 8px);
  background: #fff;
}


/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-out),
              visibility var(--duration-base);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: var(--text-xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.lightbox__close:hover {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
}

.lightbox__caption {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: var(--text-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.lightbox__nav:hover {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
}

.lightbox__nav--prev { left: var(--space-md); }
.lightbox__nav--next { right: var(--space-md); }


/* ==========================================================================
   11. Contact Page
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-detail__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-gold);
  font-size: var(--text-lg);
}

.contact-detail__label {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 0.2em;
}

.contact-detail__value {
  font-size: var(--text-lg);
  color: var(--color-white);
}

.contact-map {
  margin-top: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.8) invert(0.92) contrast(0.9);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   12. Forms
   ========================================================================== */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.8em 1em;
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--duration-fast);
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-gold);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-dim);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%239a9590' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
}

.form-submit {
  align-self: flex-start;
}


/* ==========================================================================
   13. Catering Page
   ========================================================================== */

.catering-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.catering-menu-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.catering-menu-img img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .catering-layout {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   14. Careers Page
   ========================================================================== */

.careers-content {
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.careers-content h3 {
  font-size: var(--text-2xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.careers-content p {
  margin-bottom: var(--space-md);
}

.careers-cta {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}


/* ==========================================================================
   15. Footer
   ========================================================================== */

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
}

.footer-col__title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.footer-about p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

/* Social icons */
.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--duration-fast);
}

.social-link:hover {
  color: var(--color-gold);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
}

/* Footer links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  padding: 0.2em 0;
  transition: color var(--duration-fast);
}

.footer-links a:hover {
  color: var(--color-gold);
}

/* Footer hours */
.footer-hours dt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 600;
}

.footer-hours dd {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  margin-bottom: var(--space-xs);
}

/* Footer contact */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--color-gold);
}

.footer-contact-item a {
  color: var(--color-text-muted);
}

.footer-contact-item a:hover {
  color: var(--color-gold);
}

/* Footer bottom bar */
.footer-bottom {
  margin-top: var(--space-2xl);
  padding-block: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--color-text-dim);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   16. Scroll Reveal Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ==========================================================================
   17. WordPress Specifics
   ========================================================================== */

/* WP admin bar offset */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* WP alignment classes */
.alignwide {
  max-width: var(--container-wide);
  margin-inline: auto;
}

.alignfull {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Hero title SEO subtitle */
.hero__title-sub {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  font-weight: 400;
  color: var(--color-gold);
  margin-top: var(--space-xs);
  letter-spacing: 0.02em;
}

/* Header phone link */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-cream);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.header-phone:hover { color: var(--color-gold); }
.header-phone svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 1024px) {
  .header-phone span { display: none; }
}
@media (max-width: 768px) {
  .header-phone { display: none; }
}

/* Hours grid */
.hours-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-lg);
}
.hours-grid__item {
  flex: 1 1 220px;
  max-width: 280px;
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}
.hours-grid__day {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
}
.hours-grid__time {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gold);
}
.hours-grid__item--closed .hours-grid__time {
  color: rgba(255,255,255,0.4);
}
.hours-note {
  text-align: center;
  margin-top: var(--space-lg);
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
}
.hours-note a { color: var(--color-gold); }

/* Reviews rating */
.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  margin-top: var(--space-sm);
}
.reviews-rating__stars {
  color: var(--color-gold);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}
.reviews-rating__score {
  font-weight: 700;
  color: var(--color-cream);
}
.reviews-rating__count {
  color: rgba(255,255,255,0.6);
}

/* Reviews grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.review-card {
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: 0;
}
.review-card__stars {
  color: var(--color-gold);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}
.review-card__text {
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.review-card__author {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

/* FAQ section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item[open] {
  border-color: var(--color-gold);
}
.faq-item__question {
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-cream);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.faq-item[open] .faq-item__question::after {
  content: '\2212';
}
.faq-item__answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}
.faq-item__answer a {
  color: var(--color-gold);
}

/* Instagram Feed plugin overrides */
.instagram-feed-wrap {
  margin-top: var(--space-lg);
}
#sb_instagram .sb_instagram_header {
  padding: 0 !important;
}
#sb_instagram {
  background: transparent !important;
  padding: 0 !important;
}
#sbi_images .sbi_item {
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}

/* Google Reviews plugin overrides */
.google-reviews-wrap {
  margin-top: var(--space-lg);
}
.google-reviews-wrap .grw-widget {
  background: transparent !important;
}
.google-reviews-wrap .grw-review {
  background: var(--color-surface) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: var(--radius-md) !important;
  color: rgba(255,255,255,0.85) !important;
}
.google-reviews-wrap .grw-review-name {
  color: var(--color-cream) !important;
}
.google-reviews-wrap .grw-review-text {
  color: rgba(255,255,255,0.75) !important;
}
/* Set CSS variables on the widget root so plugin color fallbacks resolve to bright values */
.google-reviews-wrap .wp-gr {
  --head-name-color: #ffffff;
  --head-based-color: #cccccc;
  --powered-color:    #aaaaaa;
  --text-color:       #e0e0e0;
  --name-color:       #7ba7e0;
}
/* High-specificity direct overrides as fallback */
.google-reviews-wrap .wp-gr.rpi .wp-google-name a {
  color: #ffffff !important;
  font-weight: 600 !important;
}
.google-reviews-wrap .wp-gr .wp-google-based {
  color: #cccccc !important;
}
.google-reviews-wrap .wp-gr .wp-google-powered {
  color: #aaaaaa !important;
}
.google-reviews-wrap .wp-gr .wp-google-text,
.google-reviews-wrap .wp-gr .wp-google-review-text {
  color: #e0e0e0 !important;
}
.google-reviews-wrap .grw-rating .star {
  color: var(--color-gold) !important;
}

/* hCaptcha widget */
.h-captcha {
  margin-bottom: var(--space-md);
}
.h-captcha iframe {
  border-radius: var(--radius-sm);
}

/* Contact Form 7 overrides */
.wpcf7-form-control-wrap {
  display: block;
}

/* Field-level invalid state */
.wpcf7-not-valid {
  border-color: #e05252 !important;
}
.wpcf7-not-valid-tip {
  display: block;
  font-size: var(--text-xs);
  color: #e05252;
  margin-top: 0.35em;
}

/* Response output — reset CF7 defaults */
.wpcf7 form .wpcf7-response-output {
  margin: 1.5em 0 0 !important;
  padding: 0.75em 1.25em !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  border: 1px solid !important;
  color: rgba(255, 248, 235, 0.9) !important;
}

/* Keep box hidden on initial/transitional states */
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
  display: none !important;
}

/* Validation error (missing/invalid fields) */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #e05252 !important;
  background: rgba(224, 82, 82, 0.12) !important;
  color: #ffaaaa !important;
}

/* Sent successfully */
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #4caf50 !important;
  background: rgba(76, 175, 80, 0.12) !important;
  color: #a5d6a7 !important;
}

/* Send failed / aborted */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #e05252 !important;
  background: rgba(224, 82, 82, 0.12) !important;
  color: #ffaaaa !important;
}

/* Spam blocked */
.wpcf7 form.spam .wpcf7-response-output {
  border-color: #f56e28 !important;
  background: rgba(245, 110, 40, 0.12) !important;
  color: #ffcc99 !important;
}

/* Screen reader text (WP standard) */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}


/* ==========================================================================
   18. Print Styles
   ========================================================================== */

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .hero__scroll,
  .lightbox,
  .newsletter {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
