﻿/* ChiPheoThiNo? page styles */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/SVN-Gotham.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/SVN-GothamBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --tan: #9e8a5e;
  --olive: #4a4a28;
  --font-gotham: 'Gotham', 'Montserrat', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #f4f1ea; font-family: var(--font-gotham); color: #827C63; }
.site { width: 100%; max-width: 1366px; margin: 0 auto; }

/* Title header (paper texture) */
.chipheo-header {
  overflow: hidden;
  width: 1366px; min-height: 200px;
  background: url('../img/bg_paper.webp') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 80px;
}

/* SVG title from Figma vectors */
.chipheo-title-svg {
  width: 856px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Content wrapper */
.chipheo-content {
  width: 1366px; padding: 60px 130px 80px;
  background: #fff;
}

/* Pull quote */
.chipheo-quote {
  font-family: var(--font-gotham); font-size: 31px; font-weight: 700;
  color: #827C63; line-height: 1.35; margin-bottom: 52px;
  max-width: 740px;
}

/* Two-column layout */
.chipheo-cols {
  display: flex; gap: 60px; align-items: center; justify-content: center;
}
.chipheo-text {
  flex: 0 0 500px; max-width: 500px;
}
.chipheo-text p {
  font-family: var(--font-gotham); font-size: 14px; font-weight: 400;
  line-height: 1.75; color: #000000;
  text-align: justify;
  margin-bottom: 16px;
}
.chipheo-text p:last-child { margin-bottom: 0; }

/* Right illustration — frame with shadow */
.chipheo-illustration {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
}
.chipheo-frame {
  position: relative;
  width: 494px; height: 494px;
  margin-left: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 2px 4px 16px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.05);
  overflow: hidden;
}
.chipheo-slide {
  position: absolute;
  left: 50%; top: -20%;
  transform: translateX(-50%);
  max-width: 90%; max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .8s ease;
}
.chipheo-slide--active {
  opacity: 1 !important;
}

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 1366px) {
  .chipheo-header { width: 100%; }
  .chipheo-content { width: 100%; }
}

@media (max-width: 1024px) {
  .chipheo-header { padding: 30px 40px; }
  .chipheo-title-svg { width: 100%; max-width: 600px; }
  .chipheo-content { padding: 40px 40px 60px; }
  .chipheo-quote { font-size: 24px; max-width: 100%; }
  .chipheo-cols { flex-direction: column; gap: 40px; }
  .chipheo-text { flex: none; max-width: 100%; }
  .chipheo-frame { width: 360px; height: 360px; }
}

@media (max-width: 480px) {
  .chipheo-header { padding: 20px 16px; min-height: 120px; }
  .chipheo-title-svg { max-width: 100%; }
  .chipheo-content { padding: 24px 16px 40px; }
  .chipheo-quote { font-size: 20px; margin-bottom: 30px; }
  .chipheo-text p { font-size: 13px; }
  .chipheo-frame { width: 280px; height: 280px; }
}



