:root {
  --color-bg: #e8f6f8;
  --color-bg-gradient: linear-gradient(135deg, #e8f6f8 60%, #e2f0f1 100%);
  --color-bg-card: #fafdfe;
  --color-bg-card-gradient: linear-gradient(120deg, rgba(232,246,248,0.94) 60%, rgba(255,255,255,0.96) 100%);
  --color-accent: #ffb3ab;
  --color-accent-hover: #ff8c7a;
  --color-accent-light: #ffe5e1;
  --color-text: #1b2326;
  --color-text-soft: #3c4d54;
  --color-muted: #b8d8dd;
  --color-border: #d3e6ea;
  --color-shadow: 0 2px 16px 0 rgba(44, 80, 90, 0.08), 0 1.5px 6px 0 rgba(44, 80, 90, 0.04);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.24s cubic-bezier(.4,0,.2,1);
  --max-width: 1240px;
  --font-main: 'Inter', 'Segoe UI', Arial, sans-serif;
}

html, body {
  min-height: 100%;
  background: var(--color-bg-gradient);
  font-family: var(--font-main);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body.coffee-color-stack-body {
  margin: 0;
  padding: 0;
  background: var(--color-bg-gradient);
}

.coffee-color-stack-header {
  background: var(--color-bg-gradient);
  box-shadow: var(--color-shadow);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 10;
}

.coffee-color-stack-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.coffee-color-stack-logo {
  display: flex;
  align-items: center;
  height: 48px;
  transition: transform var(--transition);
}
.coffee-color-stack-logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px 0 rgba(255,179,171,0.09);
  background: var(--color-bg-card);
  object-fit: cover;
  transition: box-shadow var(--transition);
}
.coffee-color-stack-logo:hover .coffee-color-stack-logo-img {
  box-shadow: 0 4px 20px 0 rgba(255,179,171,0.18);
  transform: scale(1.04);
}

.coffee-color-stack-nav {
  display: flex;
  align-items: center;
}

.coffee-color-stack-nav-list {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coffee-color-stack-nav-link {
  color: var(--color-text-soft);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-xs);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.coffee-color-stack-nav-link:hover,
.coffee-color-stack-nav-link:focus {
  color: var(--color-accent-hover);
  background: var(--color-accent-light);
}

.coffee-color-stack-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.coffee-color-stack-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.coffee-color-stack-hero-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.coffee-color-stack-hero-col--left {
  align-items: flex-start;
}

.coffee-color-stack-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
  color: var(--color-text);
  background: linear-gradient(90deg, #2fb7c7 10%, #ffb3ab 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.coffee-color-stack-tagline {
  font-size: 1.18rem;
  color: var(--color-text-soft);
  margin-bottom: 8px;
  font-weight: 500;
}

.coffee-color-stack-hero-list {
  margin: 0 0 18px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.coffee-color-stack-hero-item {
  position: relative;
  padding-left: 22px;
  color: var(--color-text-soft);
  font-weight: 400;
}
.coffee-color-stack-hero-item::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  box-shadow: 0 1px 4px 0 rgba(255,179,171,0.13);
}

.coffee-color-stack-hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.coffee-color-stack-button {
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 28px;
  font-size: 1.1rem;
  box-shadow: 0 2px 12px 0 rgba(255,179,171,0.14);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  outline: none;
  display: inline-block;
}
.coffee-color-stack-button--alt {
  background: #fff;
  color: var(--color-accent-hover);
  border: 1px solid var(--color-accent);
  box-shadow: none;
}
.coffee-color-stack-button--alt:hover,
.coffee-color-stack-button--alt:focus {
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
}
.coffee-color-stack-button:hover,
.coffee-color-stack-button:focus {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 24px 0 rgba(255,179,171,0.19);
  transform: translateY(-2px) scale(1.03);
}
.coffee-color-stack-button--big {
  font-size: 1.25rem;
  padding: 16px 40px;
  border-radius: var(--radius-lg);
  margin-top: 16px;
}

.coffee-color-stack-hero-col--right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.coffee-color-stack-hero-images {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  width: 100%;
  max-width: 370px;
}
.coffee-color-stack-hero-image {
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px 0 rgba(44, 80, 90, 0.10);
  background: var(--color-bg-card-gradient);
  object-fit: cover;
  width: 100%;
  height: 110px;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
.coffee-color-stack-hero-image:hover {
  box-shadow: 0 4px 24px 0 rgba(44, 80, 90, 0.17);
  transform: scale(1.03) translateY(-2px);
}

.coffee-color-stack-main {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: var(--color-bg-gradient);
}

.coffee-color-stack-section {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 48px auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.coffee-color-stack-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.coffee-color-stack-title--section {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 18px 0;
  color: var(--color-text);
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #2fb7c7 10%, #ffb3ab 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.coffee-color-stack-lead {
  color: var(--color-text-soft);
  font-size: 1.08rem;
  margin-bottom: 18px;
  font-weight: 400;
}

.coffee-color-stack-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
}
.coffee-color-stack-ss {
  background: var(--color-bg-card-gradient);
  border-radius: var(--radius-md);
  box-shadow: var(--color-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  padding: 0 0 8px 0;
}
.coffee-color-stack-ss:hover {
  box-shadow: 0 6px 28px 0 rgba(44, 80, 90, 0.18);
  transform: translateY(-2px) scale(1.03);
}
.coffee-color-stack-ss-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--color-bg-card);
  display: block;
}
.coffee-color-stack-ss-caption {
  color: var(--color-text-soft);
  font-size: 0.98rem;
  margin-top: 6px;
  text-align: center;
  padding: 0 8px;
}

.coffee-color-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}
.coffee-color-stack-block {
  background: var(--color-bg-card-gradient);
  border-radius: var(--radius-lg);
  box-shadow: var(--color-shadow);
  padding: 26px 22px 22px 22px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.coffee-color-stack-block:hover {
  box-shadow: 0 8px 32px 0 rgba(44, 80, 90, 0.14);
  transform: translateY(-2px) scale(1.02);
}

.coffee-color-stack-subtitle {
  font-size: 1.18rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: var(--color-text);
}

.coffee-color-stack-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.coffee-color-stack-list-item {
  position: relative;
  padding-left: 18px;
  color: var(--color-text-soft);
}
.coffee-color-stack-list-item::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  position: absolute;
  left: 0;
  top: 0.7em;
  transform: translateY(-50%);
  opacity: 0.37;
  box-shadow: 0 1px 2px 0 rgba(255,179,171,0.13);
}

.coffee-color-stack-text {
  color: var(--color-text-soft);
  font-size: 1rem;
  margin: 0 0 8px 0;
}

.coffee-color-stack-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 18px;
}
.coffee-color-stack-feature {
  background: var(--color-bg-card-gradient);
  border-radius: var(--radius-md);
  box-shadow: var(--color-shadow);
  padding: 22px 18px 18px 18px;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.coffee-color-stack-feature:hover {
  box-shadow: 0 8px 32px 0 rgba(44, 80, 90, 0.14);
  transform: translateY(-2px) scale(1.02);
}
.coffee-color-stack-feature-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 6px 0;
}
.coffee-color-stack-feature-text {
  color: var(--color-text-soft);
  font-size: 0.97rem;
}

.coffee-color-stack-world-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: stretch;
  margin-top: 18px;
}
.coffee-color-stack-world-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--color-bg-card-gradient);
  border-radius: var(--radius-lg);
  box-shadow: var(--color-shadow);
  padding: 32px 28px 28px 28px;
}
.coffee-color-stack-world-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.coffee-color-stack-world-img {
  width: 100%;
  max-width: 320px;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px 0 rgba(44, 80, 90, 0.09);
  background: var(--color-bg-card);
}

.coffee-color-stack-impressions-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  margin-top: 18px;
}
.coffee-color-stack-emotion,
.coffee-color-stack-audience {
  background: var(--color-bg-card-gradient);
  border-radius: var(--radius-md);
  box-shadow: var(--color-shadow);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.coffee-color-stack-emotion-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 8px 0;
}

.coffee-color-stack-modes .coffee-color-stack-grid {
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
}

.coffee-color-stack-reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 18px;
}
.coffee-color-stack-review {
  background: var(--color-bg-card-gradient);
  border-radius: var(--radius-md);
  box-shadow: var(--color-shadow);
  padding: 22px 18px 18px 18px;
  font-style: normal;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.coffee-color-stack-review:hover {
  box-shadow: 0 8px 32px 0 rgba(44, 80, 90, 0.14);
  transform: translateY(-2px) scale(1.02);
}
.coffee-color-stack-quote {
  font-size: 1.02rem;
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.5;
}
.coffee-color-stack-quote-meta {
  font-size: 0.92rem;
  color: var(--color-accent-hover);
  font-weight: 500;
  margin-top: 6px;
}

.coffee-color-stack-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 18px;
}
.coffee-color-stack-faq-item {
  background: var(--color-bg-card-gradient);
  border-radius: var(--radius-md);
  box-shadow: var(--color-shadow);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.coffee-color-stack-faq-item:hover {
  box-shadow: 0 8px 32px 0 rgba(44, 80, 90, 0.14);
  transform: translateY(-2px) scale(1.02);
}
.coffee-color-stack-faq-q {
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 4px 0;
}
.coffee-color-stack-faq-a {
  color: var(--color-text-soft);
  font-size: 0.98rem;
  margin: 0;
}

.coffee-color-stack-cta-inner {
  background: var(--color-bg-card-gradient);
  border-radius: var(--radius-lg);
  box-shadow: var(--color-shadow);
  padding: 42px 36px 36px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.coffee-color-stack-footer {
  width: 100%;
  background: var(--color-bg-gradient);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 14px 0 rgba(44, 80, 90, 0.05);
  margin-top: 48px;
  padding: 0;
}
.coffee-color-stack-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 36px 24px 18px 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 36px;
}
.coffee-color-stack-footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.coffee-color-stack-footer-logo-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  box-shadow: 0 2px 8px 0 rgba(255,179,171,0.09);
}
.coffee-color-stack-footer-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 6px 0;
}
.coffee-color-stack-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-soft);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.coffee-color-stack-footer-list a {
  color: var(--color-accent-hover);
  text-decoration: none;
  transition: color var(--transition);
  font-weight: 500;
  font-size: 0.98em;
}
.coffee-color-stack-footer-list a:hover,
.coffee-color-stack-footer-list a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}
.coffee-color-stack-footer-text {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  margin: 0;
}
.coffee-color-stack-footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px 24px 24px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.coffee-color-stack-footer-copy {
  margin: 0 0 2px 0;
  color: var(--color-muted);
}
.coffee-color-stack-footer-domain a {
  color: var(--color-accent-hover);
  text-decoration: none;
  transition: color var(--transition);
}
.coffee-color-stack-footer-domain a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1100px) {
  .coffee-color-stack-header-inner,
  .coffee-color-stack-section,
  .coffee-color-stack-footer-inner,
  .coffee-color-stack-footer-bottom {
    padding-left: 12px;
    padding-right: 12px;
  }
  .coffee-color-stack-hero-grid,
  .coffee-color-stack-world-grid,
  .coffee-color-stack-impressions-grid,
  .coffee-color-stack-features-grid,
  .coffee-color-stack-reviews-grid,
  .coffee-color-stack-faq-grid,
  .coffee-color-stack-gallery {
    gap: 18px;
  }
  .coffee-color-stack-footer-inner {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .coffee-color-stack-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .coffee-color-stack-hero-col--right {
    justify-content: center;
  }
  .coffee-color-stack-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .coffee-color-stack-grid,
  .coffee-color-stack-features-grid,
  .coffee-color-stack-reviews-grid,
  .coffee-color-stack-faq-grid,
  .coffee-color-stack-world-grid,
  .coffee-color-stack-impressions-grid,
  .coffee-color-stack-modes .coffee-color-stack-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 18px;
  }
  .coffee-color-stack-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .coffee-color-stack-header-inner {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding-top: 18px;
  }
  .coffee-color-stack-nav-list {
    gap: 8px;
  }
  .coffee-color-stack-hero {
    padding: 22px 8px 24px 8px;
  }
  .coffee-color-stack-section {
    margin-bottom: 32px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .coffee-color-stack-title {
    font-size: 1.7rem;
  }
  .coffee-color-stack-title--section {
    font-size: 1.18rem;
  }
  .coffee-color-stack-hero-images {
    max-width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .coffee-color-stack-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .coffee-color-stack-grid,
  .coffee-color-stack-features-grid,
  .coffee-color-stack-reviews-grid,
  .coffee-color-stack-faq-grid,
  .coffee-color-stack-world-grid,
  .coffee-color-stack-impressions-grid,
  .coffee-color-stack-modes .coffee-color-stack-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .coffee-color-stack-footer-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 6px 10px 6px;
  }
  .coffee-color-stack-footer-bottom {
    padding: 8px 6px 14px 6px;
    font-size: 0.92rem;
  }
  .coffee-color-stack-cta-inner {
    padding: 22px 8px 20px 8px;
  }
}

/* Hide scrollbars for cards/galleries on mobile (optional for premium feel) */
@media (max-width: 650px) {
  .coffee-color-stack-gallery,
  .coffee-color-stack-features-grid,
  .coffee-color-stack-reviews-grid,
  .coffee-color-stack-faq-grid {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent-light) var(--color-bg-card);
  }
  .coffee-color-stack-gallery::-webkit-scrollbar,
  .coffee-color-stack-features-grid::-webkit-scrollbar,
  .coffee-color-stack-reviews-grid::-webkit-scrollbar,
  .coffee-color-stack-faq-grid::-webkit-scrollbar {
    height: 6px;
    background: var(--color-bg-card);
  }
  .coffee-color-stack-gallery::-webkit-scrollbar-thumb,
  .coffee-color-stack-features-grid::-webkit-scrollbar-thumb,
  .coffee-color-stack-reviews-grid::-webkit-scrollbar-thumb,
  .coffee-color-stack-faq-grid::-webkit-scrollbar-thumb {
    background: var(--color-accent-light);
    border-radius: 3px;
  }
}