
/* Custom CSS for Salty Spokes */
:root {
  --primary-color: #1E2D5A;
  --secondary-color: #3ECFBF;
  --accent-color: #2BB5A0;
  --text-dark: #1E2D5A;
  --text-light: #3D5A6B;
  --background-light: #EAF4EB;
  --sand: #F5F9F5;
  --border-radius: 12px;
  --shadow: 0 4px 6px -1px rgba(30, 45, 90, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(30, 45, 90, 0.15);
}

html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(160deg, #EAF4EB 0%, #D4EDE6 50%, #C8DFCA 100%);
  color: var(--text-dark);
}

/* Navigation Enhancements */
nav {
  background: rgba(30, 45, 90, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--secondary-color);
  box-shadow: 0 2px 12px rgba(30, 45, 90, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.nav-logo {
  border: 3px solid #7FDBCA;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(127, 219, 202, 0.4);
  display: block;
}

/* Center the logo in the nav */
nav.container-fluid > ul:first-child {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav a, nav li a {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
}

nav a:hover {
  color: var(--secondary-color) !important;
}

nav strong {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

nav a[role="button"] {
  background: linear-gradient(135deg, var(--accent-color), #3ECFBF);
  color: white !important;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(43,181,160,0.4);
}

nav a[role="button"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(43,181,160,0.5);
}

.top-contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  min-width: 260px;
  padding: 0.45rem 1rem;
  border-radius: var(--border-radius);
  background: transparent;
}

.top-contact-box a {
  color: #fff !important;
  text-decoration: none;
  line-height: 1.2;
  margin: 0 !important;
}

.top-contact-phone {
  font-size: 0.95rem;
  font-weight: 800 !important;
}

.top-contact-email {
  font-size: 0.72rem;
  font-weight: 700 !important;
}

.top-contact-box a:hover {
  color: var(--primary-color) !important;
}

.top-contact-cluster {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.45rem;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--accent-color), #3ECFBF);
  box-shadow: 0 2px 8px rgba(43,181,160,0.4);
}

.top-contact-cluster > .social-nav-link {
  flex: 0 0 auto;
}

/* Hero Section */
.hero-section {
  padding: 4rem 1rem;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-section hgroup {
  margin-bottom: 1.5rem;
}

.hero-section p,
.hero-section > p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-section figure {
  max-width: 700px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-section figure img {
  display: block;
  margin: 0 auto;
  width: 100%;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
}

.hero-feature {
  background: rgba(245, 249, 245, 0.92);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(62, 207, 191, 0.2);
}

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

main hgroup h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), #3ECFBF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

main hgroup h3 {
  color: var(--accent-color);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

main p {
  font-family: 'Nunito', sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* Image Styling */
figure {
  margin: 2rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

figure:hover {
  transform: scale(1.02);
}

figure img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

figcaption {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

figcaption a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

/* Section Styling */
section[aria-label] {
  padding: 4rem 0;
  margin: 2rem 0;
}

section[aria-label]:nth-child(even) {
  background: rgba(212, 237, 230, 0.45);
  border-radius: var(--border-radius);
}

article {
  background: rgba(245, 249, 245, 0.92);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(62, 207, 191, 0.15);
  transition: box-shadow 0.3s ease;
}

article:hover {
  box-shadow: var(--shadow-lg);
}

article hgroup h2 {
  font-family: 'Nunito', sans-serif;
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

article hgroup h3 {
  font-family: 'Nunito', sans-serif;
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-grid img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gallery-grid img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


/* Form Styling */
form.grid {
  gap: 1.5rem;
  margin-top: 2rem;
}

form.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.delivery-address-fieldset {
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius, 8px);
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}

.delivery-address-fieldset legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-color, #2563eb);
  padding: 0 0.4rem;
}

/* Waiver Section Styling */
.waiver-content {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.waiver-text {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 2px solid #e2e8f0;
  box-shadow: var(--shadow);
}

.waiver-scroll {
  max-height: 300px;
  overflow-y: auto;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin: 1rem 0;
}

.waiver-scroll ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.signature-options {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 2px solid #e2e8f0;
  box-shadow: var(--shadow);
}

.signature-methods {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}

.signature-method {
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius);
  padding: 1rem;
  transition: all 0.3s ease;
}

.signature-method:has(input:checked) {
  border-color: var(--primary-color);
  background: rgba(37, 99, 235, 0.05);
}

.signature-method label {
  display: block;
  cursor: pointer;
  margin: 0;
}

.signature-method input[type="radio"] {
  margin-right: 0.75rem;
}

.docusign-details {
  background: #f0f9ff;
  border: 1px solid #0ea5e9;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.docusign-details ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.waiver-acknowledgment {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius);
  padding: 1rem;
  margin: 1rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button:disabled:hover {
  transform: none;
  box-shadow: var(--shadow);
}

form input,
form select {
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius);
  padding: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

form input:focus,
form select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 45, 90, 0.15);
  outline: none;
}

#endDateDisplay {
  transition: all 0.3s ease;
}

#endDateDisplay.show {
  display: block !important;
}

form label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

form button {
  background: linear-gradient(135deg, var(--accent-color), #3ECFBF);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-size: 1.125rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(43,181,160,0.35);
}

form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Booking Success & Error States */
.booking-success {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, #d4f5f0, #eafaf8);
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius);
  margin-top: 1rem;
}

.booking-success-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  color: white;
  font-size: 1.75rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.booking-success h3 {
  color: var(--primary-color);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  border-bottom: none;
}

.booking-success p {
  color: var(--text-light);
  margin: 0.4rem 0;
}

.booking-error {
  background: #fff5f5;
  border: 2px solid #fc8181;
  border-radius: var(--border-radius);
  padding: 1rem;
  color: #c53030;
  font-weight: 600;
  font-size: 0.95rem;
}

.booking-error a {
  color: #c53030;
  font-weight: 700;
}

/* Contact Section Enhancements */
#contact p {
  background: linear-gradient(135deg, #EAF4EB, #D4EDE6);
  padding: 1rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
  margin-top: 1rem;
  font-family: 'Nunito', sans-serif;
}

/* Footer Styling */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.85);
  padding: 2rem 0;
  margin-top: 4rem;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  border-top: 3px solid var(--secondary-color);
  font-family: 'Nunito', sans-serif;
}

footer a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

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

.footer-contact {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  vertical-align: middle;
  margin-right: 0.75rem;
}

.footer-contact a {
  line-height: 1.35;
}

.footer-social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  vertical-align: middle;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-icon {
  width: 1.65rem;
  height: 1.65rem;
  display: block;
}

.instagram-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-icon .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.facebook-icon {
  fill: currentColor;
}

nav .social-nav-link {
  color: var(--primary-color);
  background: rgba(62, 207, 191, 0.16);
}

nav .social-nav-link:hover {
  color: var(--primary-color);
  background: rgba(62, 207, 191, 0.32);
}

footer .social-link {
  color: var(--secondary-color);
}

footer .social-link:hover {
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.08);
}

/* Feature Section Styling */
main h3 {
  color: var(--primary-color);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary-color);
}

.faq-item summary:hover {
  background-color: rgba(224, 247, 244, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  main hgroup h2 {
    font-size: 2rem;
  }
  
  article hgroup h2 {
    font-size: 2rem;
  }
  
  #photos .grid {
    grid-template-columns: 1fr;
  }
  
  #photos img {
    height: 200px;
  }
  
  .logo-img {
    height: 32px;
  }
  
  nav strong {
    font-size: 1.25rem;
  }
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.review-card {
  background: linear-gradient(135deg, #F5F9F5, #EAF4EB);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--secondary-color);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.stars {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.review-card p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.review-card cite {
  font-weight: 700;
  color: var(--primary-color);
  font-style: normal;
  font-family: 'Nunito', sans-serif;
}

/* Group Discounts */
.discount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.discount-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.discount-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
  background: linear-gradient(135deg, #EAF4EB, #D4EDE6);
}

.discount-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.discount-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.discount-card h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.discount-percent {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.discount-note {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(30, 45, 90, 0.1);
  border-radius: var(--border-radius);
  color: var(--primary-color);
  font-weight: 600;
}

/* Video Tutorial */
.video-container {
  margin: 2rem 0;
}

.video-placeholder {
  background: linear-gradient(135deg, #1E2D5A, #2BB5A0);
  color: white;
  padding: 4rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.play-button {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.video-placeholder:hover .play-button {
  opacity: 1;
}

.tutorial-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.point {
  text-align: center;
  padding: 1.5rem;
  background: rgba(245, 249, 245, 0.92);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(62, 207, 191, 0.2);
  font-family: 'Nunito', sans-serif;
}

.point strong {
  display: block;
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-family: 'Nunito', sans-serif;
}

/* FAQ Section */
.faq-list {
  margin-top: 2rem;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--secondary-color) !important;
  text-align: center;
  cursor: pointer;
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.3s ease;
  list-style-position: outside;
}

.faq-item summary:hover {
  background-color: rgba(212, 237, 230, 0.6);
}

.faq-item[open] summary {
  background: linear-gradient(135deg, var(--primary-color), #3ECFBF);
  color: white !important;
}

.faq-item p {
  padding: 1.5rem;
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .faq-item summary {
    padding: 1.15rem 1rem;
    letter-spacing: 0.035em;
    line-height: 1.35;
  }
}

/* ============================================================
   CUSTOM WAIVER FORM
   ============================================================ */

.waiver-standalone-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(62, 207, 191, 0.1);
  border: 1px dashed var(--secondary-color);
  border-radius: var(--border-radius);
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.waiver-standalone-link span {
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

.waiver-standalone-link a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
}

.waiver-standalone-link a:hover {
  text-decoration: underline;
}

.waiver-heading-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.waiver-heading-row hgroup {
  flex: 1;
  width: 100%;
  text-align: center;
}

.waiver-qr-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: min(100%, 280px);
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(62, 207, 191, 0.42);
  border-radius: 0.6rem;
  background: linear-gradient(135deg, rgba(62, 207, 191, 0.14), rgba(212, 237, 230, 0.72));
  color: var(--primary-color);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(30, 45, 90, 0.06);
}

.waiver-qr-card:hover {
  border-color: var(--secondary-color);
  color: var(--primary-color);
}

.waiver-qr-card img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: block;
}

.waiver-qr-card span {
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 800;
}

.waiver-notice {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid #d97706;
  border-radius: 6px;
  background: #fff7e6;
  color: #5f3700;
  font-size: 0.95rem;
  line-height: 1.55;
}

.waiver-section {
  border: 1px solid rgba(62, 207, 191, 0.3);
  border-radius: var(--border-radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.75);
}

.waiver-section legend {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-color);
  padding: 0 0.6rem;
  background: white;
  border-radius: 4px;
  letter-spacing: 0.01em;
}

.waiver-intro {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.5;
}

.waiver-clause {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  font-weight: 400 !important;
  font-size: 0.92rem;
  line-height: 1.55;
  cursor: pointer;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(62, 207, 191, 0.12);
  margin-bottom: 0 !important;
}

.waiver-clause:last-of-type {
  border-bottom: none;
}

.waiver-clause input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--primary-color);
  cursor: pointer;
  appearance: checkbox;
  -webkit-appearance: checkbox;
  border-radius: 3px;
}

.initials-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 2px solid rgba(62, 207, 191, 0.25);
}

.initials-row label {
  font-weight: 700 !important;
  font-size: 0.88rem;
  color: var(--primary-color);
  margin: 0 !important;
  white-space: nowrap;
}

.initials-input {
  width: 80px !important;
  padding: 0.35rem 0.6rem !important;
  border: 2px solid var(--secondary-color) !important;
  border-radius: 6px !important;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
}

/* Waiver personal-info grid */
.waiver-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.waiver-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.waiver-field.full-width {
  grid-column: 1 / -1;
}

.waiver-field > label {
  font-weight: 700 !important;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin: 0 !important;
}

.waiver-field input[type="text"],
.waiver-field input[type="email"],
.waiver-field input[type="tel"],
.waiver-field select {
  border: 2px solid #d1d5db;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
  font-family: 'Nunito', sans-serif;
  background: white;
  transition: border-color 0.2s;
}

.waiver-field input:focus,
.waiver-field select:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(62, 207, 191, 0.18);
}

.dob-row {
  display: flex;
  gap: 0.65rem;
}

.dob-row select { flex: 1; }

/* Signature pad */
.sig-hint {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

.signature-pad-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

#signature-pad {
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius);
  background: #ffffff;
  cursor: crosshair;
  width: 100%;
  max-width: 700px;
  height: 160px;
  touch-action: none;
  display: block;
}

.btn-clear-sig {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--primary-color);
  padding: 0.35rem 1rem;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-clear-sig:hover {
  background: var(--secondary-color);
  color: white;
  transform: none;
  box-shadow: none;
}

.sig-error {
  color: #dc2626;
  font-size: 0.88rem;
  font-weight: 600;
}

.sms-opt {
  font-size: 0.88rem !important;
  color: var(--text-light) !important;
  font-weight: 400 !important;
}

/* Submit row */
.waiver-submit-row {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1rem;
}

.waiver-submit-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 1rem 3.5rem;
  border-radius: var(--border-radius);
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  letter-spacing: 0.02em;
}

.waiver-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(30, 45, 90, 0.25);
}

/* Success confirmation banner */
.waiver-success {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 2px solid #10b981;
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
}

.waiver-success-icon {
  display: block;
  font-size: 3.5rem;
  color: #10b981;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.waiver-success h3 {
  color: #065f46;
  font-family: 'Nunito', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  border: none;
}

.waiver-success p {
  color: #047857;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.resign-link {
  color: var(--primary-color);
  font-size: 0.88rem;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

/* ============================================================
   WAIVER MOBILE ENHANCEMENTS
   ============================================================ */

/* Sections are always fully expanded — cursor inherits default */
.waiver-section legend {
  cursor: default;
}

@media (max-width: 600px) {
  /* Checkbox touch targets — at least 44×44 px */
  .waiver-clause {
    min-height: 44px;
    padding: 0.6rem 0 !important;
    align-items: center !important;
  }

  .waiver-clause input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px;
    flex-shrink: 0;
    appearance: checkbox;
    -webkit-appearance: checkbox;
    border-radius: 3px;
  }

  /* Signature canvas — full width on mobile */
  #signature-pad {
    height: 130px;
    max-width: 100%;
  }

  /* Waiver fields grid */
  .waiver-fields-grid { grid-template-columns: 1fr; }
  .dob-row { flex-wrap: wrap; }

  .waiver-qr-card {
    width: 100%;
    max-width: 320px;
  }

  /* Sticky submit button — active class added by JS */
  .waiver-submit-row.sticky-active {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(6px);
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 16px rgba(30, 45, 90, 0.18);
    margin: 0;
    border-top: 2px solid var(--secondary-color);
    border-radius: 0;
    justify-content: stretch;
  }

  .waiver-submit-row.sticky-active .waiver-submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
  }

  /* Spacer injected by JS so form content isn't hidden behind sticky bar */
  .waiver-submit-spacer {
    height: 80px;
  }

  /* Non-sticky fallback */
  .waiver-submit-btn { width: 100%; padding: 1rem; }
}

/* ============================================================
   GROUP PHOTO BANNER
   ============================================================ */

.group-photo-banner {
  width: 100%;
  overflow: hidden;
  max-height: 480px;
  line-height: 0;
}

.group-photo-banner img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */

.photo-gallery-section {
  padding: 4rem 1rem;
}

.photo-gallery-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.photo-gallery-section h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), #3ECFBF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.photo-gallery-section h3 {
  color: var(--accent-color);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  min-width: 0;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 1.1rem;
  background: var(--sand);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item.gallery-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-item.gallery-portrait {
  aspect-ratio: 3 / 4;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

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

@media (max-width: 600px) {
  .group-photo-banner,
  .group-photo-banner img { height: 240px; }

  .photo-gallery-section {
    padding: 3rem 1rem;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.gallery-wide,
  .gallery-item.gallery-portrait {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }
}

/* ============================================================
   HERO LAYOUT — two-column with photo
   ============================================================ */

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  /* existing hero text content — no changes needed */
}

.hero-photo {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.hero-photo img {
  width: 50%;
  border-radius: 1.25rem;
  box-shadow: 0 20px 48px rgba(30, 45, 90, 0.18);
  object-fit: contain;
  aspect-ratio: 3 / 4;
  object-position: center top;
  background: transparent;
}

.hero-photo img:nth-child(2) {
  margin-top: 2.5rem; /* stagger the second photo down */
}

@media (max-width: 768px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    order: -1;
  }
  .hero-photo img {
    aspect-ratio: auto;
    object-position: center center;
  }
  .hero-photo img:nth-child(2) {
    margin-top: 0;
  }
}

/* Animation for smooth page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.6s ease-out;
}

/* ============================================================
   MOBILE-FIRST REFINEMENT
   Keeps the desktop composition intact while giving the phone
   layout its own deliberate rhythm and touch-friendly controls.
   ============================================================ */

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

img {
  max-width: 100%;
}

@media (max-width: 768px) {
  html {
    overflow-x: hidden;
  }

  body {
    min-width: 320px;
    overflow-x: hidden;
  }

  nav.container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
    padding: 0.55rem 0.75rem 0.7rem;
  }

  nav.container-fluid > ul:first-child {
    flex: 1 0 auto;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  nav.container-fluid > ul:first-child li {
    margin: 0;
  }

  nav.container-fluid > ul:last-child {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.35rem;
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    align-items: stretch;
  }

  nav.container-fluid > ul:last-child li {
    min-width: 0;
    margin: 0;
  }

  nav.container-fluid > ul:last-child li:last-child {
    grid-column: 1 / -1;
  }

  nav.container-fluid > ul:last-child a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    padding: 0.55rem 0.3rem;
    border-radius: 0.6rem;
    font-size: 0.86rem;
    line-height: 1.15;
    text-align: center;
  }

  nav.container-fluid > ul:last-child li:not(:last-child) a {
    background: rgba(255, 255, 255, 0.08);
  }

  nav a[role="button"] {
    min-height: 48px !important;
    padding: 0.7rem 0.8rem !important;
    font-size: 0.95rem !important;
  }

  .top-contact-box {
    min-width: 0;
    width: auto;
    flex: 1 1 auto;
    min-height: 58px;
    padding: 0.55rem 0.4rem;
  }

  .top-contact-cluster {
    gap: 0.45rem;
    width: 100%;
    justify-content: center;
    padding: 0.35rem;
  }

  nav.container-fluid > ul:last-child .top-contact-cluster > .social-nav-link {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    padding: 0;
  }

  nav.container-fluid > ul:last-child .top-contact-box a {
    min-height: 0;
    width: auto;
    padding: 0;
    font-size: inherit;
  }

  nav.container-fluid > ul:last-child .top-contact-email {
    font-size: 0.7rem;
  }

  .nav-logo {
    height: 88px !important;
    border-width: 2px;
  }

  main.container,
  .container {
    width: min(100% - 1.5rem, 1100px);
    padding-left: 0;
    padding-right: 0;
  }

  .hero-section {
    width: 100%;
    padding: 2.25rem 0 2.5rem;
  }

  .hero-layout {
    gap: 1.65rem;
  }

  .hero-photo {
    gap: 0.55rem;
    order: -1;
  }

  .hero-photo img {
    border-radius: 0.9rem;
    aspect-ratio: 4 / 5;
  }

  .hero-section hgroup {
    margin-bottom: 1rem;
  }

  main hgroup h2,
  .hero-section hgroup h2 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10vw, 3rem) !important;
    line-height: 1.04;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
  }

  main hgroup h3,
  .hero-section hgroup h3 {
    max-width: 100%;
    font-size: clamp(1.18rem, 5vw, 1.5rem) !important;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .hero-section > p {
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .hero-features {
    gap: 0.8rem;
    margin-top: 1.35rem;
  }

  .hero-feature {
    padding: 1rem 1.05rem;
    border-radius: 0.85rem;
  }

  .hero-feature h3 {
    margin: 0 0 0.45rem;
    font-size: 1.22rem !important;
    line-height: 1.2;
  }

  .hero-feature p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
  }

  .group-photo-banner,
  .group-photo-banner img {
    height: 220px;
  }

  .group-photo-banner img {
    object-position: center center;
  }

  section[aria-label] {
    padding: 2.5rem 0;
    margin: 0.75rem 0;
  }

  section[aria-label] > .container {
    width: min(100% - 1.5rem, 1100px);
  }

  article {
    padding: 1.15rem;
    border-radius: 0.9rem;
  }

  article hgroup h2,
  .photo-gallery-section h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    line-height: 1.08;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
  }

  article hgroup h3,
  .photo-gallery-section h3 {
    font-size: 1.08rem !important;
    line-height: 1.35;
    margin-bottom: 1.25rem;
  }

  main p,
  article p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .photo-gallery-section {
    padding: 2.5rem 0;
  }

  .photo-gallery-section hgroup {
    margin-bottom: 1.25rem !important;
  }

  .photo-gallery {
    gap: 0.75rem;
  }

  .gallery-item,
  .gallery-item.gallery-wide,
  .gallery-item.gallery-portrait {
    border-width: 2px;
    border-radius: 0.8rem;
    aspect-ratio: 4 / 3;
  }

  .reviews-grid,
  .tutorial-points {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 1.25rem;
  }

  .review-card,
  .point {
    padding: 1.1rem;
  }

  .review-card p {
    margin-bottom: 0.75rem;
  }

  .stars {
    font-size: 1.3rem;
    margin-bottom: 0.55rem;
  }

  .video-container {
    margin: 1.25rem 0;
  }

  .video-placeholder {
    padding: 2.4rem 1rem;
  }

  .play-button {
    font-size: 3rem;
  }

  .tutorial-points {
    gap: 0.65rem;
  }

  .point {
    text-align: left;
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 0.65rem;
    align-items: start;
  }

  .point strong {
    margin: 0;
    font-size: 1.05rem;
  }

  .point p {
    margin: 0;
  }

  .faq-list {
    margin-top: 1.25rem;
  }

  .faq-item {
    margin-bottom: 0.65rem;
    border-radius: 0.75rem;
  }

  .faq-item summary {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0.9rem 0.95rem;
    padding-left: 2.1rem;
    font-size: 1.08rem !important;
    line-height: 1.3;
    text-align: left;
  }

  .faq-item p {
    padding: 1rem;
    font-size: 0.98rem;
  }

  form.booking-form {
    gap: 0.85rem;
    margin-top: 1.25rem;
  }

  form input,
  form select,
  form textarea,
  form button {
    min-height: 48px;
    font-size: 16px !important;
  }

  form.booking-form > label {
    margin: 0.2rem 0 -0.35rem;
  }

  .delivery-address-fieldset {
    gap: 0.65rem;
    padding: 0.85rem 0.85rem 0.95rem;
  }

  .delivery-address-fieldset legend {
    font-size: 0.9rem;
  }

  .checkbox-label {
    min-height: 48px;
    align-items: flex-start;
    gap: 0.65rem;
    line-height: 1.45;
    font-size: 0.95rem;
  }

  .checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin-top: 0.1rem;
  }

  form.booking-form > button,
  .waiver-submit-btn {
    width: 100%;
    min-height: 52px;
  }

  footer.container {
    width: 100%;
    margin-top: 2rem;
    padding: 1.5rem 0.75rem 2rem;
    text-align: center;
  }
}

/* Waiver form: the long legal copy needs space, not tiny desktop columns. */
@media (max-width: 600px) {
  #waiver,
  .standalone-wrap {
    scroll-margin-top: 1rem;
  }

  #waiver > .container {
    width: min(100% - 1rem, 820px);
  }

  #waiver article {
    padding: 0.75rem;
  }

  .waiver-standalone-link {
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.75rem;
    line-height: 1.4;
  }

  .waiver-standalone-link span {
    white-space: normal;
  }

  .waiver-section {
    padding: 1rem 0.8rem 0.85rem;
    margin-bottom: 0.85rem;
    border-radius: 0.8rem;
  }

  .waiver-section legend {
    max-width: calc(100% - 1rem);
    font-size: 1rem;
    line-height: 1.25;
  }

  .waiver-intro {
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
  }

  .waiver-clause {
    min-height: 48px;
    gap: 0.65rem;
    padding: 0.65rem 0 !important;
    font-size: 0.95rem;
    line-height: 1.48;
  }

  .waiver-clause input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px;
    margin-top: 0.12rem;
    align-self: flex-start;
  }

  .initials-row {
    gap: 0.65rem;
    margin-top: 0.8rem;
    padding-top: 0.7rem;
  }

  .initials-input {
    min-height: 46px;
    width: 92px !important;
    font-size: 16px !important;
  }

  .waiver-fields-grid {
    gap: 0.8rem;
  }

  .waiver-field > label {
    font-size: 0.92rem;
  }

  .waiver-field input[type="text"],
  .waiver-field input[type="email"],
  .waiver-field input[type="tel"],
  .waiver-field select {
    min-height: 48px;
    padding: 0.7rem 0.75rem;
    font-size: 16px;
  }

  .dob-row {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr 1fr;
    gap: 0.45rem;
  }

  .dob-row select {
    min-width: 0;
  }

  .sig-hint {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.78rem;
  }

  #signature-pad {
    width: 100%;
    height: 132px;
  }

  .btn-clear-sig {
    min-height: 46px;
    padding: 0.55rem 0.9rem;
    font-size: 16px;
  }

  .waiver-submit-row {
    margin-top: 1rem;
    padding-top: 0.35rem;
  }

  .waiver-submit-btn {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
  }

  .waiver-success {
    padding: 1.5rem 1rem;
  }

  .waiver-success h3 {
    font-size: 1.35rem;
    line-height: 1.25;
  }
}

@media (max-width: 380px) {
  nav.container-fluid > ul:last-child a {
    font-size: 0.78rem;
  }

  .point {
    display: block;
  }

  .point strong {
    margin-bottom: 0.3rem;
  }

  .dob-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .hero-section {
    padding-top: 4rem;
  }

  .waiver-fields-grid {
    min-width: 0;
  }
}
