/* ==========================================================================
   Stellar New England - Styles
   ========================================================================== */

/* --- Font --- */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/InterVariable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

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

/* --- Stellar Blue Palette (from Figma) --- */
:root {
  --stellar-blue-950: #0B194E;
  --stellar-blue-900: #172C7D;
  --stellar-blue-850: #233784;
  --stellar-blue-800: #2F428B;
  --stellar-blue-750: #3C4D92;
  --stellar-blue-700: #485898;
  --stellar-blue-650: #54649F;
  --stellar-blue-600: #606FA6;
  --stellar-blue-550: #6C7AAD;
  --stellar-blue-500: #7985B4;
  --stellar-blue-450: #8590BB;
  --stellar-blue-400: #919BC1;
  --stellar-blue-350: #9DA6C8;
  --stellar-blue-300: #AAB1CF;
  --stellar-blue-250: #B6BCD6;
  --stellar-blue-200: #C2C7DD;
  --stellar-blue-150: #CED3E4;
  --stellar-blue-100: #DADEEA;
  --stellar-blue-50: #E7E9F1;
  --stellar-blue-25: #F3F4F8;
}

/* --- Custom Properties (Day Theme Default) --- */
:root {
  --color-text: var(--stellar-blue-950);
  --color-text-secondary: var(--stellar-blue-700);
  --color-bg-overlay: rgba(243, 244, 248, 0.92);
  --color-bg-overlay-light: rgba(243, 244, 248, 0.72);
  --color-accent: var(--stellar-blue-800);
  --color-accent-hover: var(--stellar-blue-900);
  --color-accent-text: #ffffff;
  --color-card-bg: rgba(243, 244, 248, 0.92);
  --color-card-border: rgba(47, 66, 139, 0.12);
  --color-header-bg: rgba(243, 244, 248, 0.9);
  --color-input-bg: rgba(255, 255, 255, 0.95);
  --color-input-border: var(--stellar-blue-200);
  --color-input-focus: var(--stellar-blue-800);
  --color-error: #c0392b;
  --color-success: #27ae60;
  --color-credential-bg: rgba(243, 244, 248, 0.85);

  --shadow-card: 0 2px 16px rgba(11, 25, 78, 0.08);
  --shadow-elevated: 0 4px 24px rgba(11, 25, 78, 0.12);

  --transition-theme: 800ms ease-in-out;
  --transition-fast: 200ms ease;
  --transition-medium: 400ms ease;

  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 960px;
}

/* --- Night Theme --- */
[data-time="night"] {
  --color-text: var(--stellar-blue-25);
  --color-text-secondary: var(--stellar-blue-300);
  --color-bg-overlay: rgba(11, 25, 78, 0.92);
  --color-bg-overlay-light: rgba(11, 25, 78, 0.72);
  --color-accent: var(--stellar-blue-400);
  --color-accent-hover: var(--stellar-blue-300);
  --color-accent-text: var(--stellar-blue-950);
  --color-card-bg: rgba(11, 25, 78, 0.85);
  --color-card-border: rgba(145, 155, 193, 0.15);
  --color-header-bg: rgba(11, 25, 78, 0.92);
  --color-input-bg: rgba(23, 44, 125, 0.6);
  --color-input-border: var(--stellar-blue-650);
  --color-input-focus: var(--stellar-blue-400);
  --color-error: #e74c3c;
  --color-success: #2ecc71;
  --color-credential-bg: rgba(11, 25, 78, 0.8);

  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-hover);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: var(--color-accent-text);
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 1000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- Hero Wrapper --- */
.hero-wrap {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #0a0c18;
}

/* --- Background Stage --- */
.bg-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity var(--transition-theme);
  will-change: opacity;
}

.bg-image.active {
  opacity: 1;
  z-index: 1;
}

.bg-image.outgoing {
  opacity: 1;
  z-index: 0;
}

/* No-JS fallback: show summer-day by default */
.bg-image[data-season="summer"][data-time="day"] {
  background-image: url('assets/images/hero/summer-day.jpg');
  opacity: 1;
}

/* When JS is active, hide all until JS sets .active */
.js .bg-image,
.js .bg-image[data-season][data-time] {
  opacity: 0;
}

.js .bg-image.active,
.js .bg-image[data-season][data-time].active {
  opacity: 1;
}

.js .bg-image.outgoing,
.js .bg-image[data-season][data-time].outgoing {
  opacity: 1;
}

@media (max-width: 767px) {
  .bg-image {
    background-position: center center;
  }
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(231, 233, 241, 0.70);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 2px solid var(--stellar-blue-900);
  box-shadow: 0 4px 4px 0 rgba(11, 25, 78, 0.50), inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
  transition: background var(--transition-theme), border-color var(--transition-theme);
}

[data-time="night"] .site-header {
  background: rgba(11, 25, 78, 0.70);
  border-bottom-color: rgba(231, 233, 241, 0.60);
}

.header-inner {
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: padding var(--transition-fast);
}

.site-header.scrolled .header-inner {
  padding: 0.375rem 1.5rem;
}

.site-header.scrolled .site-logo img {
  height: 36px;
  transition: height var(--transition-fast);
}

.site-logo img {
  height: 48px;
  width: auto;
  transition: height var(--transition-fast);
}

[data-time="night"] .site-logo img {
  filter: brightness(1.4) saturate(1.1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* --- Theme Toggle --- */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  border-radius: 20px;
  border: 1px solid var(--color-card-border);
  background: var(--color-input-bg);
  padding: 2px;
  transition: background var(--transition-theme), border-color var(--transition-theme);
}

.theme-toggle-pill {
  position: absolute;
  top: 2px;
  left: 2px;
  height: 34px;
  width: 34px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.15;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle[data-active="1"] .theme-toggle-pill { transform: translateX(34px); }
.theme-toggle[data-active="2"] .theme-toggle-pill { transform: translateX(68px); }

.theme-toggle-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  width: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-text-secondary);
  opacity: 0.4;
  transition: color var(--transition-fast), opacity var(--transition-fast);
  padding: 0;
}

.theme-toggle-btn:hover {
  opacity: 0.7;
}

.theme-toggle-btn.active {
  color: var(--color-text);
  opacity: 1;
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--color-input-focus);
  outline-offset: -2px;
}

@media (max-width: 480px) {
  .theme-toggle {
    height: 34px;
    padding: 1px;
  }

  .theme-toggle-pill {
    height: 30px;
    width: 30px;
    top: 1px;
    left: 1px;
  }

  .theme-toggle[data-active="1"] .theme-toggle-pill { transform: translateX(30px); }
  .theme-toggle[data-active="2"] .theme-toggle-pill { transform: translateX(60px); }

  .theme-toggle-btn {
    height: 30px;
    width: 30px;
  }

  .theme-toggle-btn svg {
    width: 17px;
    height: 17px;
  }
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--color-accent);
  color: var(--color-accent-text);
  min-height: 44px;
  transition: background var(--transition-fast);
}

.header-phone:hover {
  background: var(--color-accent-hover);
  color: var(--color-accent-text);
}

.header-phone .icon {
  flex-shrink: 0;
}

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

  .header-phone span {
    display: none;
  }

  .header-phone {
    padding: 0.625rem;
    border-radius: 50%;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.hero-top {
  padding-top: 14rem;
  max-width: 1000px;
  position: relative;
  z-index: 10;
}

.hero-bottom {
  padding-bottom: 3rem;
  max-width: 700px;
}

.hero-title {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  color: var(--stellar-blue-25);
  text-shadow: 2px 4px 8px rgba(11, 25, 78, 0.70);
  margin-bottom: 1.5rem;
}

[data-time="night"] .hero-title {
  text-shadow: 2px 4px 8px rgba(11, 25, 78, 0.70);
}

.hero-subtitle {
  display: inline-flex;
  padding: 10px 30px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  background: rgba(243, 244, 248, 0.15);
  box-shadow: 0 4px 16px 0 rgba(11, 25, 78, 0.50), inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px) saturate(1.4);
  -webkit-backdrop-filter: blur(6px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: clamp(0.875rem, 1.8vw, 1.125rem);
  color: var(--stellar-blue-800);
  margin-bottom: 0;
  font-weight: 600;
}

[data-time="night"] .hero-subtitle {
  background: rgba(11, 25, 78, 0.40);
  color: var(--stellar-blue-50);
}

/* --- CSS Clouds --- */
.cloud-layer {
  overflow: hidden;
  width: 1px;
  height: 1px;
  transform: translate(-100%, -100%);
  border-radius: 50%;
  position: absolute;
  left: 0;
  pointer-events: none;
}

#cloud-shadow {
  top: 22%;
  z-index: 0;
  filter: url(#cloud-filter-large);
  animation: cloud-drift-slow 50s linear infinite;
}

#cloud-body {
  top: 19%;
  z-index: 1;
  filter: url(#cloud-filter-mid);
  animation: cloud-drift-mid 35s linear infinite;
}

#cloud-highlight {
  top: 17%;
  z-index: 2;
  filter: url(#cloud-filter-small);
  animation: cloud-drift-fast 25s linear infinite;
}

@keyframes cloud-drift-slow {
  0%   { transform: translate(-100%, -100%); }
  50%  { transform: translate(calc(-100% + 8vw), -100%); }
  100% { transform: translate(-100%, -100%); }
}

@keyframes cloud-drift-mid {
  0%   { transform: translate(-100%, -100%); }
  50%  { transform: translate(calc(-100% - 6vw), -100%); }
  100% { transform: translate(-100%, -100%); }
}

@keyframes cloud-drift-fast {
  0%   { transform: translate(-100%, -100%); }
  50%  { transform: translate(calc(-100% + 10vw), -100%); }
  100% { transform: translate(-100%, -100%); }
}

[data-time="night"] .cloud-layer {
  opacity: 0.7;
}

.hero-bottom-glass {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(243, 244, 248, 0.40);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 -4px 16px 0 rgba(11, 25, 78, 0.15), inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
  padding: 1.5rem 2.5rem 2.5rem;
}

.hero-bottom-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

[data-time="night"] .hero-bottom-glass {
  background: rgba(11, 25, 78, 0.25);
  border-top-color: rgba(231, 233, 241, 0.12);
}

.hero-tagline {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: var(--stellar-blue-950);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

[data-time="night"] .hero-tagline {
  color: var(--stellar-blue-300);
}

.hero-seasonal-label {
  font-size: clamp(0.875rem, 1.8vw, 1.125rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #F3F4F8;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(11, 25, 78, 0.50);
}

.hero-season-selector {
  display: flex;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  margin-bottom: 1rem;
  background: rgba(218, 222, 234, 0.60);
  transition: border-color var(--transition-theme);
  position: relative;
}

.hero-season-selector .season-pill {
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  height: 100%;
  background: #F3F4F8;
  border-radius: 0;
  box-shadow: 0 2px 8px 0 rgba(11, 25, 78, 0.30);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.hero-season-selector[data-active="1"] .season-pill { transform: translateX(100%); }
.hero-season-selector[data-active="2"] .season-pill { transform: translateX(200%); }
.hero-season-selector[data-active="3"] .season-pill { transform: translateX(300%); }

[data-time="night"] .hero-season-selector {
  background: rgba(47, 66, 139, 0.60);
}

[data-time="night"] .hero-season-selector .season-pill {
  background: #0B194E;
  box-shadow: 0 2px 8px 0 rgba(11, 25, 78, 0.30);
}

[data-time="night"] .hero-season-selector [role="tab"] {
  color: #919BC1;
}

[data-time="night"] .hero-season-selector [role="tab"]:hover:not([aria-selected="true"]) {
  background: #2F428B;
}

[data-time="night"] .hero-season-selector [role="tab"][aria-selected="true"] {
  color: #F3F4F8;
}

.hero-season-selector [role="tab"] {
  flex: 1;
  padding: 0.625rem 0.5rem;
  border: none;
  background: transparent;
  color: #485898;
  position: relative;
  z-index: 1;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
  position: relative;
}

.hero-season-selector [role="tab"]:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--color-card-border);
}

.hero-season-selector [role="tab"][aria-selected="true"] {
  background: transparent;
  color: #0B194E;
  font-weight: 600;
}

.hero-season-selector [role="tab"][aria-selected="true"]::after {
  display: none;
}

.hero-season-selector [role="tab"]:hover:not([aria-selected="true"]) {
  background: #DADEEA;
}

.hero-season-selector [role="tab"]:focus-visible {
  outline: 2px solid var(--color-input-focus);
  outline-offset: -2px;
  z-index: 1;
}

.hero-bottom-glass .hero-season-panel p {
  font-size: 1rem;
  color: #172C7D;
  line-height: 1.6;
  animation: fadeSlideIn var(--transition-medium);
}

[data-time="night"] .hero-season-panel p {
  color: #DADEEA;
}

.btn-primary {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--color-accent);
  color: var(--color-accent-text);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  min-height: 44px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-accent-text);
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* --- Sections --- */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition-theme), border-color var(--transition-theme);
}

.section-inner--wide {
  max-width: 1100px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  text-align: center;
}

/* --- Services --- */
.services {
  padding: 4rem 1.5rem;
  background: var(--color-bg-overlay);
  transition: background var(--transition-theme);
}

[data-time="night"] .services,
[data-time="night"] .credibility,
[data-time="night"] .contact {
  background: #08133C;
}

.services-yearround {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.service-card {
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--color-card-border);
  background: var(--color-bg-overlay-light);
  transition: background var(--transition-theme), border-color var(--transition-theme), transform var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.service-icon {
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .services-yearround {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* --- Seasonal Services --- */
.seasonal-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8125rem;
}

.season-selector {
  display: flex;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  margin-bottom: 1.5rem;
  background: var(--color-bg-overlay-light);
  transition: background var(--transition-theme), border-color var(--transition-theme);
}

.season-selector [role="tab"] {
  flex: 1;
  padding: 0.75rem 0.5rem;
  border: none;
  background: transparent;
  color: var(--color-text-secondary);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  min-height: 44px;
  position: relative;
}

.season-selector [role="tab"]:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--color-card-border);
}

.season-selector [role="tab"][aria-selected="true"] {
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 600;
}

.season-selector [role="tab"][aria-selected="true"]::after {
  display: none;
}

.season-selector [role="tab"]:hover:not([aria-selected="true"]) {
  background: var(--color-bg-overlay);
}

.season-selector [role="tab"]:focus-visible {
  outline: 2px solid var(--color-input-focus);
  outline-offset: -2px;
  z-index: 1;
}

[role="tabpanel"] {
  animation: fadeSlideIn var(--transition-medium);
}

[role="tabpanel"] h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

[role="tabpanel"] p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Credibility --- */
.credibility {
  padding: 2.5rem 1.5rem;
  background: var(--color-bg-overlay);
  transition: background var(--transition-theme);
}

.credibility-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--color-card-bg);
  border-radius: 100px;
  border: 1px solid var(--color-card-border);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition-theme), border-color var(--transition-theme);
}

.credential-icon {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* --- Contact --- */
.contact {
  padding: 4rem 1.5rem 4rem;
  background: var(--color-bg-overlay);
  transition: background var(--transition-theme);
}

.contact .section-inner {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

/* Form */
.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--color-text);
}

.optional {
  font-weight: 400;
  color: var(--color-text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-input-bg);
  border: 1px solid var(--color-input-border);
  border-radius: 8px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
              background var(--transition-theme), color var(--transition-theme);
  min-height: 44px;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-input-focus);
  box-shadow: 0 0 0 3px rgba(43, 76, 155, 0.15);
}

[data-time="night"] .form-group input:focus,
[data-time="night"] .form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(91, 141, 239, 0.2);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--color-error);
}

.form-error {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-error);
  margin-top: 0.25rem;
  min-height: 1.25rem;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem 2rem;
  background: var(--color-accent);
  color: var(--color-accent-text);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  min-height: 48px;
  transition: background var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
}

.btn-submit:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-submit:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
}

.form-status:empty {
  display: none;
}

.form-status.success {
  background: rgba(39, 174, 96, 0.12);
  color: var(--color-success);
  border: 1px solid rgba(39, 174, 96, 0.2);
  display: block;
}

.form-status.error {
  background: rgba(192, 57, 43, 0.12);
  color: var(--color-error);
  border: 1px solid rgba(192, 57, 43, 0.2);
  display: block;
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-item a,
.contact-item address {
  font-size: 1rem;
  font-style: normal;
  color: var(--color-text);
  line-height: 1.5;
}

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

/* --- Footer --- */
.site-footer {
  background: rgba(10, 12, 24, 0.95);
  color: #c8c8e0;
  padding: 2.5rem 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #e8e8f0;
  margin-bottom: 0.25rem;
}

.footer-address {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.footer-contact {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.footer-contact a {
  color: #b0b0c8;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #c8c8e0;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-accent);
  color: #ffffff;
}

.footer-social a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: #888;
}

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

  .section-inner {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* --- Print --- */
@media print {
  .bg-stage,
  .season-selector,
  .skip-link,
  .site-header,
  .btn-primary,
  .footer-social { display: none; }

  body { color: #000; }

  .section-inner {
    background: white;
    border: 1px solid #ccc;
    backdrop-filter: none;
    box-shadow: none;
  }

  .hero-wrap {
    background: #f5f5f5;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  [role="tabpanel"][hidden] { display: block !important; }
}
