/* ==========================================================================
   Cuppacks - Content Sections (2026 content refresh)
   Hero copy, trust bar, why-us, product families, printing, industries,
   FAQ, CTA band, footer additions. Loaded after style.css.
   ========================================================================== */

.section-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--color-text-muted-dark);
  max-width: 640px;
}

.section-head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-head-center .section-title {
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Hero copy
   -------------------------------------------------------------------------- */
.hero-mini-logo {
  height: 64px;
  width: auto;
  margin-bottom: 26px;
  filter: drop-shadow(2px 6px 10px rgba(0, 0, 0, 0.15));
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #8A6D47;
  margin-bottom: 16px;
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-gold-primary);
}

.hero-eyebrow-new {
  background: #111215;
  color: var(--color-gold-primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.hero-eyebrow-new::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27AE60;
  animation: pulseGreen 1.8s infinite;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1px;
  color: #111215;
  max-width: 640px;
  margin-bottom: 20px;
}

.hero-headline em {
  font-style: normal;
  color: var(--color-gold-hover);
  position: relative;
}

.hero-sub {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #4A4F57;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-slide.dark-slide .hero-headline { color: #FFFFFF; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }
.hero-slide.dark-slide .hero-headline em { color: var(--color-gold-primary); }
.hero-slide.dark-slide .hero-sub { color: rgba(255, 255, 255, 0.88); }
.hero-slide.dark-slide .hero-eyebrow { color: var(--color-gold-primary); }

.hero-product-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1.05;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-img {
  width: 82%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.18));
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-product-tags {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.hero-product-tags span {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(17, 18, 21, 0.88);
  color: #F3EAD8;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --------------------------------------------------------------------------
   Trust bar
   -------------------------------------------------------------------------- */
.trust-bar {
  background: #0F1012;
  border-top: 1px solid rgba(196, 164, 124, 0.25);
  padding: 26px 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item:last-child { border-right: none; }

.trust-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-gold-primary);
  line-height: 1.1;
}

.trust-label {
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #9BA3AF;
}

/* --------------------------------------------------------------------------
   Why Cuppacks
   -------------------------------------------------------------------------- */
.why-section {
  padding: 100px 0;
  background: var(--color-light-surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-card {
  background: #FFFFFF;
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold-primary);
  box-shadow: 0 18px 40px rgba(17, 18, 21, 0.08);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #8A6D47;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted-dark);
}

/* --------------------------------------------------------------------------
   Product families
   -------------------------------------------------------------------------- */
.products-header .section-eyebrow { display: block; }

.product-family-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-family-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.product-family-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 164, 124, 0.6);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.pf-featured {
  border-color: rgba(196, 164, 124, 0.55);
}

.pf-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-gold-primary);
  color: #0F1012;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pf-badge-new { background: #27AE60; color: #FFFFFF; }

.pf-visual {
  height: 200px;
  background: linear-gradient(180deg, #F6F4EF 0%, #E9E5DC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pf-visual img { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.product-family-card:hover .pf-visual img { transform: scale(1.06); }

.pf-visual-svg img { height: 150px; width: auto; }
.pf-visual-photo img { height: 180px; width: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.18)); }
.pf-visual-cover img { width: 100%; height: 100%; object-fit: cover; }
.pf-pos-right img { object-position: 78% center; }
.pf-visual-icon svg { width: 150px; height: auto; }

.pf-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
}

.pf-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.pf-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #A0A7B1;
  margin-bottom: 14px;
}

.pf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.pf-chips span {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E6EC;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
}

.pf-material {
  font-size: 0.78rem;
  color: var(--color-gold-primary);
  font-weight: 600;
  margin-bottom: 18px;
}

.pf-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.pf-btn {
  flex: 1;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pf-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: #FFFFFF; }

.pf-btn-primary {
  background: var(--color-gold-primary);
  border-color: var(--color-gold-primary);
  color: #0F1012;
}

.pf-btn-primary:hover { background: #D9BB93; border-color: #D9BB93; }

/* --------------------------------------------------------------------------
   Custom printing & Pantone
   -------------------------------------------------------------------------- */
.printing-section {
  padding: 110px 0 100px;
  background: #FFFFFF;
  overflow: hidden;
}

.printing-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.printing-copy .section-lead { margin-bottom: 30px; }
.printing-copy .section-lead em { font-style: normal; color: var(--color-red-accent); font-weight: 700; }

.printing-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 26px;
}

.printing-features li {
  display: flex;
  flex-direction: column;
  padding-left: 16px;
  border-left: 2px solid var(--color-gold-primary);
}

.printing-features b {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 2px;
}

.printing-features span {
  font-size: 0.88rem;
  color: var(--color-text-muted-dark);
  line-height: 1.55;
}

.printing-visual {
  position: relative;
  height: 400px;
}

.swatch-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 170px;
  height: 250px;
  margin: -125px 0 0 -85px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(17, 18, 21, 0.16);
  overflow: hidden;
  transform: translate(var(--x), var(--y)) rotate(var(--r));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.printing-visual:hover .swatch-card { transform: translate(calc(var(--x) * 1.5), var(--y)) rotate(calc(var(--r) * 1.4)); }

.swatch-color { height: 72%; background: var(--sw); }

.swatch-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
}

.swatch-info b { font-size: 0.9rem; letter-spacing: 1.5px; }
.swatch-info span { font-size: 0.85rem; color: #555B64; font-weight: 600; }

.process-head h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 30px;
}

.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: none;
}

.process-steps li {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--color-light-surface);
  border: 1px solid var(--color-light-border);
}

.process-steps li:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gold-primary);
  font-weight: 800;
  z-index: 2;
}

.process-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gold-primary);
  line-height: 1;
}

.process-steps h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  margin: 12px 0 6px;
}

.process-steps p {
  font-size: 0.9rem;
  color: var(--color-text-muted-dark);
  line-height: 1.55;
}

.process-cta {
  text-align: center;
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   Industries & sustainability
   -------------------------------------------------------------------------- */
.industries-section {
  padding: 100px 0;
  background: var(--color-light-surface);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.industry-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 26px 12px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--color-light-border);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.industry-tile span { font-size: 1.8rem; }
.industry-tile:hover { border-color: var(--color-gold-primary); transform: translateY(-4px); }

.eco-band {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #194F3E, #2A6B55);
  color: #FFFFFF;
}

.eco-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-icon svg { width: 28px; height: 28px; fill: none; stroke: #CDE8D9; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eco-band h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 4px; }
.eco-band p { color: rgba(255, 255, 255, 0.82); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   Section headers on existing sections
   -------------------------------------------------------------------------- */
.portfolio-header .section-eyebrow,
.testimonials-header .section-eyebrow,
.clients-header .section-eyebrow { display: block; }

.clients-grid-wrap .client-logo-box:nth-last-child(-n+4) { border-bottom: none; }

.clients-more {
  text-align: center;
  max-width: 760px;
  margin: 34px auto 0;
  color: var(--color-text-muted-dark);
  line-height: 1.8;
}

.clients-more b { color: var(--color-text-dark); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 100px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--color-light-border);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.faq-intro { position: sticky; top: calc(var(--header-height) + 30px); }
.faq-intro .section-lead { margin-bottom: 26px; }
.faq-intro .btn-primary-dark { display: inline-block; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-md);
  background: var(--color-light-surface);
  transition: var(--transition-fast);
}

.faq-item[open] { background: #FFFFFF; border-color: var(--color-gold-primary); box-shadow: 0 10px 30px rgba(17, 18, 21, 0.06); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  position: relative;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-gold-light);
  color: #8A6D47;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.faq-item[open] summary::after { content: '−'; background: var(--color-gold-primary); color: #0F1012; }

.faq-item p {
  padding: 0 22px 22px;
  color: var(--color-text-muted-dark);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band-section {
  background: var(--color-gold-primary);
  padding: 56px 0;
}

.cta-band-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-band-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #111215;
  line-height: 1.15;
  margin-bottom: 8px;
}

.cta-band-sub { color: #3B2F20; font-size: 1.02rem; }

.cta-band-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cta-band-actions .btn-secondary-outline { display: inline-flex; align-items: center; }

/* --------------------------------------------------------------------------
   Footer additions
   -------------------------------------------------------------------------- */
.site-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.6fr; gap: 40px; }

.footer-cert { font-size: 0.85rem; color: var(--color-gold-primary); font-weight: 600; margin-bottom: 18px; }

.footer-social { display: flex; gap: 10px; }
.footer-social .social-icon-btn { background: rgba(255, 255, 255, 0.06); color: #C9CED6; }
.footer-social .social-icon-btn:hover { background: var(--color-gold-primary); color: #0F1012; }

.contact-info-item small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6C727D;
  margin-bottom: 1px;
}

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

/* --------------------------------------------------------------------------
   Modals & quote form
   -------------------------------------------------------------------------- */
.lightbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }

.quote-form { display: flex; flex-direction: column; gap: 14px; }
.quote-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.quote-form label { display: block; font-size: 0.82rem; color: #A2AAB5; margin-bottom: 4px; }

.quote-form input,
.quote-form select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #FFFFFF;
}

.quote-form select { background: #222429; }
.quote-form input:focus, .quote-form select:focus { outline: none; border-color: var(--color-gold-primary); }

/* --------------------------------------------------------------------------
   Floating WhatsApp
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 995;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}

.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav-tab-item { padding: 8px 12px; font-size: 0.84rem; }
  .product-family-grid { grid-template-columns: repeat(3, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
  .hero-product-card { max-width: 300px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .product-family-grid { grid-template-columns: repeat(2, 1fr); }
  .printing-grid { grid-template-columns: 1fr; gap: 30px; }
  .printing-visual { height: 320px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps li::after { display: none; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-grid { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .trust-item:nth-child(3) { border-right: none; }
}

@media (max-width: 820px) {
  .hero-mini-logo { height: 48px; margin-bottom: 16px; }
  .hero-event-col { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-intro { position: static; }
  .cta-band-grid { flex-direction: column; align-items: flex-start; }
  .lightbox-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .section-head-center { margin-bottom: 36px; }
  .hero-sub { font-size: 1rem; margin-bottom: 24px; }
  .why-section, .printing-section, .industries-section, .faq-section { padding: 70px 0; }
  .why-grid, .product-family-grid, .process-steps, .printing-features { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; }
  .trust-item:last-child { grid-column: 1 / -1; }
  .printing-visual { height: 280px; transform: scale(0.82); }
  .eco-band { flex-direction: column; align-items: flex-start; padding: 24px; }
  .cta-band-actions { width: 100%; flex-direction: column; }
  .cta-band-actions > * { text-align: center; justify-content: center; }
  .quote-form-row { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-float { left: 16px; bottom: 16px; width: 50px; height: 50px; }
}

/* Hero arrows: keep clear of the headline */
.hero-slider-arrow.prev { left: 24px; }
@media (max-width: 1340px) {
  .hero-slider-arrow { display: none; }
}

.side-scroll-rail { transition: opacity 0.3s ease, transform 0.3s ease; }
.side-scroll-rail.is-hidden { opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(20px); }

.btn-header-cta { white-space: nowrap; }
@media (max-width: 580px) {
  .header-actions { gap: 8px; }
  .header-actions > .btn-header-cta { padding: 8px 14px; font-size: 0.75rem; }
}

/* Ripple size table */
.pf-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
  font-size: 0.74rem;
}
.pf-spec-table th {
  text-align: left;
  font-weight: 600;
  color: #7F8895;
  padding: 0 4px 5px 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 0.66rem;
}
.pf-spec-table td {
  padding: 5px 4px 5px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #E2E6EC;
  font-family: var(--font-heading);
  font-weight: 600;
}
.pf-spec-table td:first-child { color: var(--color-gold-primary); }

.quote-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Line-icon cups (assets/images/cup-icons): one icon per card, switched by the size buttons */
.pf-visual-cup {
  height: 230px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Icons carry their own width/height in true proportion, so each size shows at its real scale */
.pf-visual-cup img { width: auto; height: auto; max-height: 92%; transition: opacity 0.18s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.pf-visual-cup img.is-swapping { opacity: 0; transform: translateY(6px) scale(0.98); }

.pf-size {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E6EC;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.pf-size:hover { border-color: rgba(196, 164, 124, 0.6); color: #FFFFFF; }

.pf-size.active {
  background: var(--color-gold-primary);
  border-color: var(--color-gold-primary);
  color: #0F1012;
}

/* Photo variant (double wall): every size is cropped the same, so the cups keep their true
   proportions; the photo fills the card on its own light-grey studio background */
.pf-visual-cup-photo { background: #ECECEC; }
.pf-visual-cup-photo img { width: 100%; height: 100%; max-height: none; object-fit: contain; }

/* Hero slides whose product starts further left: keep the copy in a narrower column */
.hero-slide-narrow .hero-headline,
.hero-slide-narrow .hero-sub { max-width: 360px; }

/* Square-ish product photos: fill the card, product kept centred */
.pf-visual-product img { object-position: 50% 45%; }

/* Badge on the right, clear of the cup photos on the left */
.pf-badge-right { left: auto; right: 14px; }
.pf-visual-product.pf-pos-top img { object-position: 50% 12%; }

/* --------------------------------------------------------------------------
   Side rail: compact, with a slow soft pulse on the current section
   -------------------------------------------------------------------------- */
.side-scroll-rail {
  right: 18px;
  gap: 9px;
  padding: 9px 6px;
}

.side-rail-bead {
  width: 7px;
  height: 7px;
}

.side-rail-bead:hover { transform: scale(1.3); }

.side-rail-bead.active {
  transform: scale(1.35);
  box-shadow: none;
  animation: railPulse 2.8s ease-in-out infinite;
}

.side-rail-tooltip { right: 18px; }

@keyframes railPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 164, 124, 0.55); opacity: 1; }
  50%      { box-shadow: 0 0 0 5px rgba(196, 164, 124, 0); opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .side-rail-bead.active { animation: none; }
}

/* Counting figures: fixed-width digits so they don't wobble while counting */
.trust-number, .stat-number { font-variant-numeric: tabular-nums; display: inline-block; }

/* --------------------------------------------------------------------------
   Our Work: 4-column grid of square tiles, lead project shown large (2 x 2)
   -------------------------------------------------------------------------- */
.portfolio-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
}

.portfolio-featured { grid-column: span 2; grid-row: span 2; }
.portfolio-featured .portfolio-img-wrap { height: 100%; }
.portfolio-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card-name { font-size: 1.05rem; }
.portfolio-featured .portfolio-card-name { font-size: 1.4rem; }

@media (max-width: 1080px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 580px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-featured { grid-column: span 2; grid-row: span 1; }
}

/* --------------------------------------------------------------------------
   Client logos: 24 equal tiles on white, hairline dividers from the grid gap.
   Every logo PNG shares one canvas with matched visual weight
   (tools: assets/images/clients), so one rule sizes them all.
   -------------------------------------------------------------------------- */
.clients-grid-wrap { max-width: 1180px; overflow: hidden; }

.clients-grid.clients-grid-logos {
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--color-light-border);
}

.clients-grid-logos .client-logo-box {
  height: 128px;
  padding: 12px 16px;
  border: none;
  background: #FFFFFF;
}

.clients-grid-logos .client-logo-box img {
  width: 100%;
  max-width: 220px;
  max-height: none;
  height: auto;
}

@media (max-width: 1080px) {
  .clients-grid.clients-grid-logos { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 820px) {
  .clients-grid.clients-grid-logos { grid-template-columns: repeat(3, 1fr); }
  .clients-grid-logos .client-logo-box { height: 104px; }
}

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

/* --------------------------------------------------------------------------
   Hero slide: Our Partners – three columns of logo cards drifting slowly
   -------------------------------------------------------------------------- */
.partners-slide {
  background:
    radial-gradient(900px 500px at 78% 50%, rgba(196, 164, 124, 0.18), transparent 70%),
    linear-gradient(135deg, #0B0C0E 0%, #17140F 100%);
}

.partners-wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  height: min(560px, 62vh);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}

.partners-col { display: flex; flex-direction: column; }
.partners-track { display: flex; flex-direction: column; gap: 14px; padding-bottom: 14px; }
.partners-col-1 { animation: partnersUp 46s linear infinite; }
.partners-col-2 { animation: partnersDown 52s linear infinite; }
.partners-col-3 { animation: partnersUp 58s linear infinite; }

.partner-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  padding: 8px 12px;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.partner-tile img { width: 100%; height: auto; }

@keyframes partnersUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

@keyframes partnersDown {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-col { animation: none !important; }
}

.partners-wall { margin-right: 56px; }

/* ==========================================================================
   Mobile pass (phones & small tablets). Desktop rules above stay untouched.
   ========================================================================== */
@media (max-width: 820px) {
  /* Hero: one screen tall; the banner photo sits in the top part, the copy
     sits on a solid band below it, so the product and the buttons both show */
  .hero-section { height: auto; min-height: 0; }
  .hero-slider {
    --hero-h: clamp(640px, 100svh, 880px);
    height: var(--hero-h);
  }

  /* Each banner carries --fx (inline): where its product sits across the image, 0-1.
     The photo is drawn 58% of the slide tall (16:9, so ~1.03 x slide height wide) and
     shifted so that point lands in the middle of the screen. The desktop side-gradient
     layer is switched off (size 0) so it doesn't shade the centred product. */
  .hero-slide.banner-slide {
    /* never narrower than the screen, so no edge of the slide is left uncovered */
    --img-w: max(calc(var(--hero-h) * var(--img-scale, 0.58) * 1.7778), 100vw);
    align-items: flex-end;
    padding-top: var(--header-height);
    padding-bottom: 64px;
    background-size: 0 0, var(--img-w) auto;
    /* centre the product, but only as far as the photo still reaches both edges */
    background-position: 0 0,
      clamp(calc(100vw - var(--img-w)), calc(50vw - var(--fx, 0.7) * var(--img-w)), 0px)
      calc(var(--header-height) + var(--img-dy, 0px));
    background-repeat: no-repeat;
    background-color: #F3F1EC;
  }
  .hero-slide.banner-slide.dark-slide { background-color: #0D0E10; }

  .hero-slide.banner-slide::before {
    background: linear-gradient(to bottom, rgba(243, 241, 236, 0) 0%, rgba(243, 241, 236, 0) 50%, #F3F1EC 67%, #F3F1EC 100%);
  }
  .hero-slide.banner-slide.dark-slide::before {
    background: linear-gradient(to bottom, rgba(13, 14, 16, 0) 0%, rgba(13, 14, 16, 0) 50%, #0D0E10 67%, #0D0E10 100%);
  }

  .hero-mini-logo { display: none; }                 /* the header already carries the logo */
  .hero-eyebrow { font-size: 0.68rem; letter-spacing: 1.8px; margin-bottom: 10px; }
  .hero-eyebrow::before { width: 18px; }
  .hero-headline { font-size: clamp(1.8rem, 7.4vw, 2.5rem); margin-bottom: 12px; letter-spacing: -0.5px; }
  .hero-sub { font-size: 0.95rem; line-height: 1.55; margin-bottom: 20px; }
  .hero-slide-narrow .hero-headline,
  .hero-slide-narrow .hero-sub { max-width: none; }
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions > * { padding: 12px 16px; font-size: 0.84rem; white-space: nowrap; text-align: center; }
  .hero-slider-dots { bottom: 24px; }

  /* Partners slide: logo wall becomes two drifting rows in the top part */
  /* A wide product line-up: draw the photo smaller so the whole row fits the screen */
  .hero-slide.hero-slide-narrow { --img-scale: 0.43; }

  .hero-slide.partners-slide {
    background: linear-gradient(180deg, #17140F 0%, #0D0E10 60%);
    background-size: auto;
    background-position: 0 0;
  }
  .partners-slide::before { display: none; }
  .partners-slide .hero-grid { display: flex; flex-direction: column-reverse; gap: 22px; }
  .partners-wall {
    margin: 0 -24px;
    height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  }
  .partners-col { flex-direction: row; width: max-content; }
  .partners-track { flex-direction: row; gap: 10px; padding: 0 10px 0 0; }
  .partner-tile { width: 128px; padding: 6px 8px; border-radius: 10px; }
  .partners-col-1 { animation-name: partnersLeft; animation-duration: 40s; }
  .partners-col-2 { animation-name: partnersRight; animation-duration: 46s; }
  .partners-col-3 { animation-name: partnersLeft; animation-duration: 52s; }

  /* Design Studio: the top bar keeps brand + icon buttons; the quote button
     already sits in the inspector and on the last step */
  .studio-topbar-right .studio-top-btn-primary { display: none; }

  /* Client logos: 3 per row so the wall stays compact */
  .clients-grid.clients-grid-logos { grid-template-columns: repeat(3, 1fr); }
  .clients-grid-logos .client-logo-box { height: 92px; padding: 8px 10px; }
}

@keyframes partnersLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes partnersRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@media (max-width: 380px) {
  .hero-actions > * { padding: 11px 13px; font-size: 0.8rem; }
  .clients-grid-logos .client-logo-box { height: 80px; }
}
