:root {
  /* Typography */
  --font-lobster: "Lobster", cursive, sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Color Palette */
  --brand-navy: #202a3f;
  --card-bg: rgba(235, 243, 252, 0.95);
  --card-border: rgba(255, 255, 255, 0.85);
  --text-dark: #000000;
  --text-muted: #1c1c1c;
  --shadow-soft: 0 8px 24px -6px rgba(15, 32, 53, 0.18);
  --radius: 16px;

  /* Steel Gradient System */
  --steel-gradient: linear-gradient(
    135deg,
    #5a667a 0%,
    #2b3340 28%,
    #141922 55%,
    #2a3240 78%,
    #0c0f14 100%
  );
  --steel-pill-bg: #1e2633;
  --steel-border: rgba(255, 255, 255, 0.45);
  --steel-border-dark: rgba(0, 0, 0, 0.85);
  --steel-shadow: 
    0 4px 14px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);

  /* Amber Accents */
  --beer-amber: #c86d06;
  --beer-gold: #ffb703;
  --beer-bright: #ffd166;
  --beer-foam: #fffdf7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: 
    linear-gradient(180deg, 
      #fff4d4 0%, 
      #ffe699 15%, 
      #ffca3a 45%, 
      #e85d04 85%, 
      #b03a00 100%);
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

/* Hardware Canvas Layer */
#carbonation-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none !important;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
}

/* Header & Foam Wave */
.foam-header {
  position: relative;
  background: var(--beer-foam);
  padding: 1.75rem 1rem 3rem;
  text-align: center;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.foam-wave {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 22px;
  fill: var(--beer-foam);
  filter: drop-shadow(0px 4px 3px rgba(110, 48, 2, 0.12));
}

.brand-container {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-logo-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}

/* Layout Wrapper */
.content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 1rem;
  margin: 2rem auto 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Base Cards */
.beer-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.1rem;
  box-shadow: var(--shadow-soft);
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.video-resources-card {
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

h1, h2, h3 {
  color: var(--brand-navy);
}

h1 {
  font-family: var(--font-lobster) !important;
  font-weight: 400;
  text-align: center;
  font-size: clamp(1.85rem, 5.5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

h2 {
  font-family: var(--font-lobster) !important;
  font-weight: 400;
  text-align: center;
  font-size: clamp(1.65rem, 4.8vw, 2.1rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.lead-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #111111;
  line-height: 1.55;
}

.text-center {
  text-align: center !important;
}

.about-paragraph {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-subhead {
  margin-top: -0.35rem;
  margin-bottom: 1.4rem;
}

/* Pricing Grid */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  width: 100%;
}

.unit-product-card {
  background: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 1.4rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 32, 53, 0.05);
  width: 100%;
}

.unit-product-card h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand-navy);
  margin-bottom: 0.15rem;
}

.product-desc {
  font-size: 0.88rem;
  color: #333333;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.product-price-lockup {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.35rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
}

.price-currency {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--beer-amber);
}

.price-amount {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--beer-amber);
  line-height: 1;
}

.price-divider {
  font-size: 1rem;
  font-weight: 600;
  color: #888888;
  margin: 0 0.2rem;
}

.price-period {
  font-size: 0.82rem;
  font-weight: 700;
  color: #444444;
  text-transform: uppercase;
}

.product-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1.2rem;
}

.unit-box {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 0.85rem 0.5rem 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.unit-box img {
  width: 100%;
  height: 135px;
  object-fit: contain;
  margin-bottom: 0.4rem;
}

.unit-box span {
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--beer-gold);
  white-space: nowrap;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
  width: 100%;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: #000000;
}

.feature-list li i {
  color: var(--beer-amber);
  font-size: 1rem;
  flex-shrink: 0;
}

.product-features {
  margin-top: auto;
  margin-bottom: 1.25rem;
}

.unit-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  background: var(--steel-gradient);
  border: 1.5px solid var(--steel-border);
  border-bottom: 2.5px solid var(--steel-border-dark);
  box-shadow: var(--steel-shadow);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pro-tip-box {
  background: var(--steel-pill-bg);
  border: 1.5px solid var(--steel-border);
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #ffffff;
  width: 100%;
}

.pro-tip-box i {
  color: var(--beer-gold);
  margin-right: 0.35rem;
}

.pro-tip-full {
  margin-top: 1.4rem;
  text-align: center;
  border: 1.5px solid var(--beer-gold);
}

.pro-tip-box.pro-tip-full strong {
  color: var(--beer-gold);
}

/* Video Carousel */
.carousel-title-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.carousel-title-row h2,
.carousel-title-row .section-subhead {
  text-align: left;
}

.carousel-nav-buttons {
  display: flex;
  gap: 0.75rem;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--steel-gradient);
  border: 1.5px solid var(--steel-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-carousel-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0.25rem 1rem;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  width: 100%;
}

.video-carousel-card {
  flex: 0 0 100%;
  max-width: 100%;
  scroll-snap-align: center;
  background: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-frame-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000000;
  cursor: pointer;
}

.video-frame-box .video-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--beer-gold);
  border: 2px solid #ffffff;
  color: #000000;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.video-frame-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-body {
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.video-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(200, 109, 6, 0.14);
  color: var(--beer-amber);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.video-card-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
}

.video-card-body p {
  font-size: 0.85rem;
  color: #222222;
}

/* Contact Layout */
.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  background: var(--steel-pill-bg);
  border: 1.5px solid var(--steel-border);
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  width: 100%;
}

.address-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  min-width: 0;
}

.info-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--beer-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-value {
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #111620;
  color: var(--beer-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Form Styles */
#contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 1.25rem 1rem;
}

.form-group-row {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-control {
  margin-bottom: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
}

label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #000000;
  text-transform: uppercase;
}

input, textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 16px !important; /* Prevents auto-zoom on iOS */
  color: #000000;
  font-weight: 600;
  outline: none;
}

input:focus, textarea:focus {
  border-color: var(--beer-amber);
}

.btn-submit {
  width: 100%;
  min-height: 48px;
  background: var(--steel-gradient);
  color: #ffffff;
  border: 1.5px solid var(--steel-border);
  border-bottom: 3px solid var(--steel-border-dark);
  padding: 0.85rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-result-box {
  margin-top: 1.15rem;
  padding: 1.25rem 1rem;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.form-result-box.success {
  background: var(--steel-pill-bg);
  border: 1.5px solid var(--beer-gold);
  color: #ffffff;
}

.form-result-box.error {
  background: #451111;
  border: 1.5px solid #ff4d4d;
  color: #ffffff;
}

.form-result-icon {
  font-size: 2rem;
  color: var(--beer-gold);
}

.form-result-box.error .form-result-icon {
  color: #ff4d4d;
}

.form-result-title {
  font-size: 1.1rem;
  font-weight: 800;
}

.form-result-desc {
  font-size: 0.85rem;
}

/* Map Frame */
.map-frame {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--radius);
  display: block;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  background: #000000;
  color: #ffffff;
  padding: 2rem 1rem 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  content-visibility: auto;
  contain-intrinsic-size: 200px;
}

.footer-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo-img {
  max-width: 150px;
  height: auto;
}

.footer-meta {
  font-size: 0.78rem;
  color: #a0a0a0;
}

.agency-link {
  color: var(--beer-gold);
  text-decoration: none;
  font-weight: 700;
}

/* =========================================================
   Tablet & Desktop Enhancements (Hardware Blurs & Grid)
   ========================================================= */
@media (min-width: 768px) {
  body {
    background-attachment: fixed;
  }

  .beer-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.25rem 2rem;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .video-carousel-card {
    flex: 0 0 310px;
    max-width: 310px;
    scroll-snap-align: start;
  }

  .carousel-title-row {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .content-wrapper {
    max-width: 1100px;
    margin: 3.5rem auto 2.5rem;
    gap: 3rem;
  }

  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem;
  }

  .contact-info-list {
    justify-content: space-between;
  }

  .info-item {
    flex: 1;
  }

  .map-frame {
    height: 350px;
  }
}