@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

:root {
  --white: #ffffff;
  --off-white: #f7f7f6;
  --light: #efefed;
  --mid: #c8c8c4;
  --steel: #6b7280;
  --dark: #2d2d2b;
  --black: #111110;
  --accent: #3a3a38;

  /* Deep Green */
  --green:        #1a5c3a;
  --green-dark:   #13452b;
  --green-mid:    #2e8b5a;
  --green-light:  #e8f3ee;
  --green-border: #b8ddc9;

  --font-en: 'DM Sans', sans-serif;
  --font-kr: 'Noto Sans KR', sans-serif;
  --font: var(--font-en), var(--font-kr);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ── BRAND NAME ── */
.cc-brand {
  letter-spacing: 0;
  font-weight: 400;
}
.cc-brand b {
  font-weight: 700;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--light);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}

nav.scrolled .nav-logo img {
  filter: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a.active {
  font-weight: 600;
}

nav.scrolled .nav-links a {
  color: var(--steel);
}

nav.scrolled .nav-links a:hover,
nav.scrolled .nav-links a.active {
  color: var(--green);
}

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  transition: all 0.3s;
}

nav.scrolled .nav-toggle span {
  background: var(--dark);
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 96px 0;
}

section.alt {
  background: var(--off-white);
}

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { color: var(--steel); line-height: 1.75; }

/* ── HERO ── */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: flex-start;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  padding: 0 2rem;
  width: 100%;
}

.hero-content {
  max-width: clamp(420px, 82%, 1100px);
  padding-right: 0;
  padding-top: 8px;
  z-index: 1;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: block;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero h1 em {
  font-style: normal;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
  color: rgba(255,255,255,0.80);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--mid);
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); }

.hero .btn-secondary {
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.hero .btn-secondary:hover { border-color: #fff; color: #ffffff; background: rgba(255,255,255,0.08); }

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-shell {
  position: relative;
  z-index: 1;
}

.hero-motion {
  position: relative;
  overflow: hidden;
  background: #07121f;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-motion {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform-origin: center center;
  animation: heroKenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,rgba(0,20,40,0.58) 0%,rgba(0,20,40,0.24) 58%,rgba(0,20,40,0.08) 100%);
}

.hero-bg-glow {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 32%),
    radial-gradient(circle at 78% 18%, rgba(64,180,255,0.18) 0%, rgba(64,180,255,0) 30%),
    radial-gradient(circle at 65% 75%, rgba(26,92,58,0.18) 0%, rgba(26,92,58,0) 34%);
  mix-blend-mode: screen;
  animation: heroGlowFloat 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes heroKenBurns {
  0% { transform: scale(1.02) translate3d(0, 0, 0); }
  25% { transform: scale(1.08) translate3d(-2.4%, -1.8%, 0); }
  50% { transform: scale(1.12) translate3d(2.2%, -0.8%, 0); }
  75% { transform: scale(1.15) translate3d(-1.6%, 2.4%, 0); }
  100% { transform: scale(1.18) translate3d(2.8%, 2%, 0); }
}

@keyframes heroGlowFloat {
  0% { transform: translate3d(-3.5%, -2.2%, 0) scale(1); opacity: 0.48; }
  50% { transform: translate3d(2.2%, -1%, 0) scale(1.04); opacity: 0.76; }
  100% { transform: translate3d(3.8%, 2.4%, 0) scale(1.08); opacity: 0.96; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-motion,
  .hero-bg-glow {
    animation: none !important;
    transform: none !important;
  }
}

/* ── SECTION HEADER ── */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── DIVIDER ── */
.divider {
  width: 40px;
  height: 2px;
  background: var(--green);
  margin: 1.25rem 0 1.5rem;
}
.center .divider { margin: 1.25rem auto 1.5rem; }

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.25s;
}

.card:hover {
  border-color: var(--mid);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.card h3 { margin-bottom: 0.6rem; font-size: 1.05rem; }

/* ── STATS ── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: var(--light);
  border-radius: 8px;
  overflow: hidden;
}

.stat {
  background: var(--white);
  padding: 2rem;
  text-align: center;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--black);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--steel);
  font-weight: 500;
}

/* ── BUSINESS DETAIL ── */
.biz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.biz-grid.reverse { direction: rtl; }
.biz-grid.reverse > * { direction: ltr; }

.biz-visual {
  background: var(--light);
  border-radius: 12px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* ── FLIP CARDS ── */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
  perspective: 1000px;
}

.flip-card-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.flip-wrap {
  perspective: 800px;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%;
  padding-bottom: 72%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1), box-shadow 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.08);
}

.flip-wrap:hover .flip-inner {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.18), 0 4px 10px rgba(0,0,0,0.1);
}

.flip-wrap.flipped .flip-inner {
  transform: rotateY(180deg) translateY(-6px);
}

.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.flip-front img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}


/* ── EDUCATION CARD IMAGE TUNING ── */
.flip-front img.edu-plan-img {
  object-position: center 18%;
}

.flip-front img.edu-behavior-img {
  object-position: left center;
}

.flip-front .flip-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.50) 60%, transparent 100%);
  padding: 1.5rem 1rem 0.85rem;
}

.flip-front .flip-label span {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(26,92,58,0.92);
  border: 1px solid rgba(78,175,132,0.5);
  border-radius: 4px;
  padding: 3px 10px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.flip-card-title {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 10px;
  padding: 0 8px;
}

.flip-back {
  background: #1a5c3a;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  gap: 0.6rem;
}

.flip-back .flip-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.25rem;
}

.flip-back .flip-icon svg {
  width: 18px; height: 18px;
  stroke: #fff; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.flip-back h5 {
  font-size: 13px; font-weight: 600; color: #fff; line-height: 1.3;
}

.flip-back p {
  font-size: 10.5px; color: rgba(255,255,255,0.72); line-height: 1.6; margin: 0;
}

.biz-body h2 { margin-bottom: 1rem; font-size: 1.6rem; }
.biz-body p { margin-bottom: 1.5rem; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--light);
  color: var(--dark);
  border-radius: 4px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.tag-flip {
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}

.tag-flip:hover {
  background: #1a5c3a;
  color: #ffffff;
}

/* ── DISTRIBUTION VISUAL ── */
.distribution-visual {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.distribution-grid {
  width: 100%;
}

.distribution-product-front {
  background: #f7f7f7;
}

.flip-front img.distribution-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f7f7f7;
  padding: 10px;
}

/* ── SAFETY MEDIA ── */
#safety .biz-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 2.4rem;
}

.biz-visual-media {
  overflow: visible;
}

.safety-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
}

.safety-media-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.safety-media-card {
  position: relative;
}

.safety-media-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.08);
  background: #0a0a0a;
  cursor: pointer;
}

.safety-media-thumb img,
.safety-media-thumb video,
.safety-media-thumb iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
}

.safety-media-thumb video {
  background: #000;
}

.safety-media-thumb .youtube-embed-shell,
.media-modal-body .youtube-embed-shell {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}

.safety-media-thumb .youtube-embed-shell iframe,
.media-modal-body .youtube-embed-shell iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #000;
}

.youtube-open-link {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.62);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  z-index: 2;
}

.youtube-open-link:hover {
  background: rgba(0,0,0,0.78);
}

.media-modal-body .youtube-open-link {
  display: none;
}

.youtube-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
  background: linear-gradient(180deg, #111 0%, #1d1d1d 100%);
  color: #ffffff;
}

.youtube-fallback strong {
  font-size: 14px;
  line-height: 1.5;
}

.youtube-fallback p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}

.youtube-fallback a,
.media-modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #111110;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.youtube-fallback a:hover,
.media-modal-link:hover {
  opacity: 0.92;
}

.media-modal-body .youtube-fallback {
  min-height: 100%;
}

.safety-media-thumb.is-playing {
  cursor: default;
}

.safety-media-thumb.is-playing video,
.safety-media-thumb.is-playing iframe {
  object-fit: contain;
}

.safety-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.36) 0%, rgba(0,0,0,0.08) 52%, rgba(0,0,0,0.12) 100%);
  pointer-events: none;
}

.safety-play-btn,
.safety-expand-btn,
.media-modal-close {
  border: none;
  cursor: pointer;
}

.safety-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: rgba(0,0,0,0.58);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.safety-expand-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(0,0,0,0.58);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.safety-media-thumb:hover .safety-play-btn,
.safety-media-thumb:hover .safety-expand-btn {
  transform: translate(-50%, -50%) scale(1.04);
}

.safety-media-thumb:hover .safety-expand-btn {
  transform: scale(1.04);
}

.safety-media-title {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 10px;
  padding: 0 8px;
}

.safety-tag-list {
  gap: 0.5rem; /* 다른 섹션 tag-list 와 동일 */
}

.safety-tag-helper {
  margin-top: 1rem;
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a5c3a;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.safety-tag-helper::before {
  content: "ⓘ";
  font-size: 0.95rem;
  line-height: 1;
}

button.tag.safety-tag-toggle {
  appearance: none;
  border: none;
  background: var(--light);
  color: var(--dark);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  vertical-align: top;
  cursor: pointer;
  border: 1px dashed rgba(26,92,58,0.28);
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

button.tag.safety-tag-toggle::after {
  content: "+";
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
}

button.tag.safety-tag-toggle:hover,
button.tag.safety-tag-toggle.is-active {
  background: #1a5c3a;
  color: #ffffff;
  border-color: #1a5c3a;
  box-shadow: none;
  transform: translateY(-1px);
}

button.tag.safety-tag-toggle.is-active::after {
  content: "−";
}

.safety-tag-panel {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(26,92,58,0.14);
  box-shadow: 0 10px 24px rgba(17,17,16,0.06);
}

.safety-tag-panel[hidden] {
  display: none;
}

.safety-tag-panel-title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
}

.safety-tag-panel-desc {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--muted);
}

.media-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.media-modal.is-open {
  display: block;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.76);
}

.media-modal-dialog {
  position: relative;
  width: min(1100px, 92vw);
  margin: 5vh auto 0;
  z-index: 1;
}

.media-modal-body {
  background: #000;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 80px rgba(0,0,0,0.32);
}

.media-modal-body video,
.media-modal-body iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #000;
}

.media-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 14px 14px;
  background: #111110;
  border-radius: 0 0 18px 18px;
}

.media-modal-actions[hidden] {
  display: none;
}

.media-modal-close {
  position: absolute;
  right: 0;
  top: -48px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #ffffff;
  color: #111110;
  font-size: 18px;
}

body.modal-open {
  overflow: hidden;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #e8f3ee;
  border: 1px solid #c5dfd0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #1a5c3a;
}

.contact-item-icon svg {
  width: 18px;
  height: 18px;
}

.contact-item-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.3rem;
}

.contact-item-text span {
  color: var(--dark);
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  font-family: var(--font);
  background: var(--off-white);
  border: 1.5px solid var(--light);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--dark);
  transition: border-color 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dark);
}

/* ── ABOUT ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-left { display: flex; flex-direction: column; align-items: flex-start; }


.core-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.core-value-card {
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
}

.core-value-card--dark {
  background: #2e7a52;
}

.core-value-card--light {
  background: #d4ece0;
  border: 0.5px solid #8cc4a8;
}

.values-v2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.value-card {
  background: #0f3d26;
  border-radius: 12px;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.value-card.alt {
  background: #1a5c3a;
}

.vc-num {
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 0.08em;
  width: 22px;
  flex-shrink: 0;
  white-space: nowrap;
}

.vc-line {
  width: 1px;
  height: 32px;
  background: #4caf84;
  opacity: 0.9;
  flex-shrink: 0;
}

.vc-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  width: 56px;
  flex-shrink: 0;
  white-space: nowrap;
}

.vc-desc {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: break-word;
  min-width: 0;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 96px 0;
}

/* ── PAGE HERO ── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--off-white);
  border-bottom: 1px solid var(--light);
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-hero p { font-size: 1.05rem; max-width: 520px; }

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: var(--mid);
  padding: 2.5rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-nav-main {
  justify-self: center;
}

.footer-nav-legal {
  justify-self: end;
}

.footer-bottom {
  padding-top: 1.25rem;
  text-align: center;
}

.footer-logo img {
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--mid);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.85;
  color: var(--mid);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.65s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-content { max-width: 75%; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  .hero-content { max-width: 100%; }
  .hero { min-height: 100svh; padding-top: 100px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-tag { font-size: 0.75rem; flex-wrap: wrap; }
  .hero-btns { flex-direction: column; gap: 0.75rem; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--light);
    padding: 1rem 2rem;
  }
  .nav-links.open a { padding: 0.75rem 0; font-size: 1.125rem; color: var(--steel); }
  .nav-toggle { display: flex; }

  .biz-grid,
  .about-intro,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .biz-grid.reverse { direction: ltr; }
  #safety .biz-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  #safety .biz-body {
    order: 1;
  }
  #safety .biz-visual-media {
    order: 2;
    margin-top: 0.25rem;
  }
  .safety-media-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .media-modal-dialog {
    width: min(96vw, 1100px);
    margin-top: 14vh;
  }
  .media-modal-close {
    top: -44px;
  }
  .youtube-open-link {
    right: 8px;
    bottom: 8px;
    min-height: 28px;
    padding: 0 8px;
    font-size: 11px;
  }
  .youtube-fallback {
    padding: 16px 14px;
  }
  .youtube-fallback strong {
    font-size: 13px;
  }
  .youtube-fallback p {
    font-size: 11px;
  }
  .values { grid-template-columns: 1fr; }
  .flip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .flip-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .flip-inner {
    padding-bottom: 138%;
  }
  .flip-back {
    padding: 0.95rem 0.85rem;
  }
  .flip-back h5 {
    font-size: 12px;
    line-height: 1.35;
  }
  .flip-back p {
    font-size: 10.5px;
    line-height: 1.55;
  }
  .safety-media-thumb {
    aspect-ratio: 4 / 3;
  }
  .safety-media-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .safety-media-title {
    margin-top: 12px;
  }
  .safety-tag-helper {
    display: flex;
    font-size: 0.84rem;
    line-height: 1.5;
  }
  .core-values-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .values-v2 {
    gap: 12px;
  }
  .value-card {
    display: grid;
    grid-template-columns: auto 1px minmax(0, 1fr);
    grid-template-areas:
      "num line title"
      "num line desc";
    align-items: start;
    gap: 0.45rem 0.85rem;
    padding: 1.15rem 1.1rem;
  }
  .vc-num {
    grid-area: num;
    width: auto;
    min-width: 22px;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 12px;
    line-height: 1.2;
    padding-top: 0.2rem;
  }
  .vc-line {
    grid-area: line;
    width: 1px;
    height: 100%;
    min-height: 42px;
    align-self: stretch;
    flex-shrink: 0;
  }
  .vc-title {
    grid-area: title;
    width: auto;
    white-space: normal;
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1.3;
  }
  .vc-desc {
    grid-area: desc;
    font-size: 14px;
    line-height: 1.6;
  }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; justify-items: center; }
  .footer-nav-legal { justify-self: center; }
}
