/* ======================================================
   FARMMONICA — Main Stylesheet v2.0
   Design: farmbit.kr 기반 재설계
   White base + Teal (#3A91A4) accent
   ====================================================== */

:root {
  --teal:        #3A91A4;
  --teal-dark:   #2d7a8c;
  --teal-light:  #e8f4f7;
  --teal-pale:   #f0f8fa;
  --navy:        #1C2B3A;
  --dark:        #1a1a1a;
  --mid:         #555555;
  --gray:        #999999;
  --border:      #e8e8e8;
  --bg-light:    #f8f9fa;
  --white:       #ffffff;
  --font:        'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  --header-h:    72px;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 2px 20px rgba(0,0,0,.07);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.12);
  --transition:  .28s cubic-bezier(.4,0,.2,1);
  --max-w:       1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* ── Container ── */
.fm-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .fm-container { padding: 0 20px; } }

/* ── Buttons ── */
.fm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.fm-btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.fm-btn--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58,145,164,.35);
}
.fm-btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.fm-btn--outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.fm-btn--outline-dark {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.fm-btn--outline-dark:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.fm-btn--white {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
}
.fm-btn--white:hover { background: var(--teal-light); }
.fm-btn--sm { padding: 10px 22px; font-size: 13px; }
.fm-btn--lg { padding: 17px 40px; font-size: 16px; }

/* ── Section Base ── */
.fm-section { padding: 100px 0; }
.fm-section--gray { background: var(--bg-light); }
.fm-section--dark { background: var(--navy); color: var(--white); }

.fm-section__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.fm-section__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.fm-section__sub {
  font-size: 16px;
  color: var(--mid);
  max-width: 640px;
  line-height: 1.75;
}
.fm-section__header { margin-bottom: 56px; }
.fm-section__header--center { text-align: center; }
.fm-section__header--center .fm-section__sub { margin: 0 auto; }

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
.fm-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.fm-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.fm-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.fm-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 8px;
}
.fm-logo-icon { font-size: 22px; }
.fm-logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--dark);
}

/* Nav */
.fm-nav { margin-left: auto; }
.fm-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
}
.fm-nav__item--dropdown { position: relative; }
.fm-nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  transition: color var(--transition);
}
.fm-nav__link:hover, .fm-nav__link.active { color: var(--teal); }
.fm-nav__arrow { font-size: 9px; opacity: .6; transition: transform var(--transition); }
.fm-nav__item--dropdown:hover .fm-nav__arrow { transform: rotate(180deg); }
.fm-nav__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 100;
}
.fm-nav__item--dropdown:hover .fm-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.fm-nav__dropdown li a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--mid);
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.fm-nav__dropdown li a:hover {
  background: var(--teal-pale);
  color: var(--teal);
}
.fm-header__actions { display: flex; align-items: center; gap: 10px; margin-left: 20px; }

/* Hamburger */
.fm-header__actions-mobile { display: none; }

.fm-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.fm-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.fm-header__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.fm-header__hamburger.open span:nth-child(2) { opacity: 0; }
.fm-header__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ════════════════════════════════
   HERO — full bleed photo
════════════════════════════════ */
.fm-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--header-h);
}
.fm-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.fm-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.62) 0%,
    rgba(0,0,0,.45) 50%,
    rgba(0,0,0,.15) 100%
  );
}
.fm-hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 620px;
}
.fm-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
}
.fm-hero__dot {
  width: 6px; height: 6px;
  background: #5dd9c1;
  border-radius: 50%;
  box-shadow: 0 0 10px #5dd9c1;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.fm-hero__title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 20px;
}
.fm-hero__title em {
  font-style: normal;
  color: #7ee8d8;
}
.fm-hero__desc {
  font-size: clamp(14px, 1.5vw, 17px);
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  margin-bottom: 36px;
}
.fm-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fm-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.45);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  animation: scrollbounce 2s infinite;
  z-index: 2;
}
@keyframes scrollbounce {
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%{transform:translateX(-50%) translateY(7px)}
}
.fm-hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
}

/* ════════════════════════════════
   ABOUT — 3 large photo cards
════════════════════════════════ */
.fm-about__intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.fm-about__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  height: 520px;
}
.fm-about-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.fm-about-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.fm-about-card:hover .fm-about-card__img { transform: scale(1.06); }
.fm-about-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.2) 50%, transparent 100%);
  transition: background var(--transition);
}
.fm-about-card:hover .fm-about-card__overlay {
  background: linear-gradient(to top, rgba(58,145,164,.8) 0%, rgba(58,145,164,.3) 50%, transparent 100%);
}
.fm-about-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 28px;
  color: var(--white);
}
.fm-about-card__icon {
  width: 52px; height: 52px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,.1);
  transition: all var(--transition);
}
.fm-about-card:hover .fm-about-card__icon {
  background: var(--teal);
  border-color: var(--teal);
}
.fm-about-card__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}
.fm-about-card__en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fm-about-card__text {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.fm-about-card:hover .fm-about-card__text { max-height: 120px; }
.fm-about-card__plus {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(58,145,164,.85);
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  backdrop-filter: blur(4px);
}

/* placeholder fallback */
.fm-about-card__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

/* ════════════════════════════════
   PRODUCTS — white bg, large images
════════════════════════════════ */
.fm-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.fm-product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.fm-product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--teal-light);
}
.fm-product-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.fm-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform var(--transition);
}
.fm-product-card:hover .fm-product-card__img img { transform: scale(1.04); }
.fm-product-card__img-placeholder {
  font-size: 72px;
  opacity: .2;
  position: absolute;
}
.fm-product-card__body { padding: 24px; }
.fm-product-card__name {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.fm-product-card__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.fm-product-card__desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 18px;
}
.fm-product-card__specs {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.fm-spec { }
.fm-spec__label { font-size: 11px; color: var(--gray); }
.fm-spec__value { font-size: 13px; font-weight: 600; color: var(--dark); margin-top: 2px; }
.fm-product-card__footer {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

/* ════════════════════════════════
   AI SYSTEM — 3-col center
════════════════════════════════ */
.fm-system__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}
.fm-system-item__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: var(--teal);
}
.fm-system-item__icon svg { width: 100%; height: 100%; }
.fm-system-item__en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.fm-system-item__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
}
.fm-system-item__text {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.75;
}

/* ════════════════════════════════
   PORTFOLIO — 4-col grid
════════════════════════════════ */
.fm-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fm-portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-light);
  cursor: pointer;
}
.fm-portfolio-item__img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
}
.fm-portfolio-item__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.fm-portfolio-item:hover .fm-portfolio-item__img-wrap img { transform: scale(1.07); }
.fm-portfolio-item__placeholder {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  background: linear-gradient(135deg, var(--teal-pale), var(--teal-light));
  color: var(--teal);
}
.fm-portfolio-item__caption {
  padding: 12px 14px 14px;
  font-size: 13px;
  color: var(--mid);
  font-weight: 500;
  border-top: 1px solid var(--border);
}
.fm-portfolio__filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.fm-filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  background: var(--white);
  color: var(--mid);
  cursor: pointer;
  transition: all var(--transition);
}
.fm-filter-btn.active, .fm-filter-btn:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* ════════════════════════════════
   CTA BANNER — photo background
════════════════════════════════ */
.fm-cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}
.fm-cta-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.fm-cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}
.fm-cta-banner__content {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.fm-cta-banner__title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.fm-cta-banner__sub {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  margin-bottom: 12px;
}
.fm-cta-banner__contact {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.fm-cta-banner__contact span { display: flex; align-items: center; gap: 6px; }
.fm-cta-banner__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════
   STATS — counter row
════════════════════════════════ */
.fm-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.fm-stat-box {
  background: var(--white);
  padding: 48px 24px;
  text-align: center;
}
.fm-stat-box__num {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}
.fm-stat-box__label { font-size: 13px; color: var(--mid); }

/* ════════════════════════════════
   FOOTER QUICK LINKS
════════════════════════════════ */
.fm-footer-links {
  display: grid;
  grid-template-columns: 2fr 2fr 1.2fr;
  gap: 16px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.fm-footer-link-card {
  border-radius: var(--radius);
  padding: 28px 32px;
  cursor: pointer;
  transition: all var(--transition);
}
.fm-footer-link-card--teal {
  background: var(--teal);
  color: var(--white);
}
.fm-footer-link-card--teal:hover { background: var(--teal-dark); transform: translateY(-3px); }
.fm-footer-link-card--blue {
  background: #4A7FA5;
  color: var(--white);
}
.fm-footer-link-card--blue:hover { background: #3d6d90; transform: translateY(-3px); }
.fm-footer-link-card--light {
  background: var(--bg-light);
  border: 1px solid var(--border);
}
.fm-footer-link-card--light:hover { border-color: var(--teal); transform: translateY(-3px); }
.fm-footer-link-card__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.fm-footer-link-card--teal .fm-footer-link-card__title,
.fm-footer-link-card--blue .fm-footer-link-card__title { color: var(--white); }
.fm-footer-link-card--light .fm-footer-link-card__title { color: var(--dark); }
.fm-footer-link-card__desc {
  font-size: 13px;
  line-height: 1.5;
}
.fm-footer-link-card--teal .fm-footer-link-card__desc,
.fm-footer-link-card--blue .fm-footer-link-card__desc { color: rgba(255,255,255,.8); }
.fm-footer-link-card--light .fm-footer-link-card__desc { color: var(--mid); }
.fm-footer-link-card__phone {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 900;
  color: var(--teal);
  margin-top: 8px;
  white-space: nowrap;
  display: block;
}
.fm-footer-link-card__sub {
  font-size: 12px;
  color: var(--gray);
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.fm-footer {
  background: var(--bg-light);
  padding: 0 0 32px;
  border-top: 1px solid var(--border);
}
.fm-footer__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.fm-footer__brand { }
.fm-footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.fm-footer__logo .fm-logo-text { color: var(--dark); font-size: 17px; }
.fm-footer__tagline { font-size: 10px; letter-spacing: .1em; color: var(--gray); text-transform: uppercase; margin-bottom: 12px; }
.fm-footer__biz {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.9;
}
.fm-footer__biz a { color: inherit; }
.fm-footer__nav {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.fm-footer__nav-group h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--dark);
  margin-bottom: 14px;
}
.fm-footer__nav-group ul li { margin-bottom: 9px; }
.fm-footer__nav-group ul li a {
  font-size: 13px;
  color: var(--mid);
  transition: color var(--transition);
}
.fm-footer__nav-group ul li a:hover { color: var(--teal); }
.fm-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}
.fm-footer__copy { font-size: 12px; color: var(--gray); }
.fm-footer__policy { display: flex; gap: 20px; }
.fm-footer__policy a {
  font-size: 12px;
  color: var(--gray);
  transition: color var(--transition);
}
.fm-footer__policy a:hover { color: var(--teal); }

/* ════════════════════════════════
   CONTACT
════════════════════════════════ */
.fm-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.fm-contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.fm-contact__item-icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.fm-contact__item-label { font-size: 12px; color: var(--gray); margin-bottom: 3px; }
.fm-contact__item-value { font-size: 17px; font-weight: 700; color: var(--dark); }
.fm-contact__item-value a { color: inherit; }
.fm-contact__item-value a:hover { color: var(--teal); }

/* ════════════════════════════════
   FORMS
════════════════════════════════ */
.fm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fm-form__group { margin-bottom: 14px; }
.fm-form__label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.fm-form__label .req { color: var(--teal); margin-left: 2px; }
.fm-form__input,
.fm-form__select,
.fm-form__textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.fm-form__input:focus,
.fm-form__select:focus,
.fm-form__textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(58,145,164,.12);
}
.fm-form__textarea { resize: vertical; min-height: 120px; }
.fm-form__submit { width: 100%; margin-top: 6px; font-size: 15px; padding: 16px; }
.fm-form__msg { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-top: 10px; display: none; }
.fm-form__msg--success { background: #e8f4f7; color: var(--teal-dark); display: block; }
.fm-form__msg--error { background: #fee2e2; color: #dc2626; display: block; }

/* ════════════════════════════════
   PAGE BANNER
════════════════════════════════ */
.fm-page-banner {
  background: linear-gradient(135deg, #1C2B3A 0%, #2d4a5e 100%);
  padding: 120px 0 72px;
  color: var(--white);
}
.fm-page-banner__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #7ee8d8;
  margin-bottom: 14px;
}
.fm-page-banner__title {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.fm-page-banner__desc { font-size: 16px; color: rgba(255,255,255,.65); max-width: 540px; }

/* ════════════════════════════════
   NOTICE / LIST
════════════════════════════════ */
.fm-list-table { width: 100%; border-collapse: collapse; }
.fm-list-table th {
  padding: 13px 16px;
  background: var(--bg-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mid);
  border-bottom: 2px solid var(--border);
  text-align: left;
}
.fm-list-table td { padding: 15px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.fm-list-table tr:hover td { background: var(--teal-pale); }
.fm-badge { display: inline-block; padding: 2px 10px; border-radius: 50px; font-size: 11px; font-weight: 600; }
.fm-badge--new { background: var(--teal-light); color: var(--teal-dark); }
.fm-badge--notice { background: #fef3c7; color: #92400e; }

/* ════════════════════════════════
   CALCULATOR
════════════════════════════════ */
.fm-calc {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border);
}
.fm-calc__steps { display: flex; margin-bottom: 48px; overflow-x: auto; }
.fm-calc__step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  flex: 1; min-width: 72px; position: relative;
}
.fm-calc__step::after {
  content: ''; position: absolute; top: 15px;
  left: calc(50% + 15px); right: calc(-50% + 15px);
  height: 2px; background: var(--border);
}
.fm-calc__step:last-child::after { display: none; }
.fm-calc__step.active .fm-calc__step-dot,
.fm-calc__step.done .fm-calc__step-dot { background: var(--teal); color: var(--white); border-color: var(--teal); }
.fm-calc__step.done::after, .fm-calc__step.active::after { background: var(--teal); }
.fm-calc__step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--white);
  color: var(--gray); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; z-index: 1;
  transition: all var(--transition);
}
.fm-calc__step-label { font-size: 11px; color: var(--gray); text-align: center; white-space: nowrap; }
.fm-calc__step.active .fm-calc__step-label { color: var(--teal); font-weight: 600; }
.fm-calc__panel { display: none; }
.fm-calc__panel.active { display: block; }
.fm-calc__actions { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.fm-calc__result { background: var(--white); border-radius: var(--radius); padding: 32px; }
.fm-calc__result-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 24px; }
.fm-calc__result-card {
  background: var(--teal-pale); border: 1px solid var(--teal-light);
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.fm-calc__result-card strong { display: block; font-size: 26px; font-weight: 800; color: var(--teal); }
.fm-calc__result-card span { font-size: 13px; color: var(--mid); }

/* ════════════════════════════════
   SERVICE TABS
════════════════════════════════ */
.fm-service__tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 48px; flex-wrap: wrap; }
.fm-service__tab {
  padding: 14px 24px; font-size: 14px; font-weight: 600;
  color: var(--mid); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all var(--transition);
}
.fm-service__tab.active { color: var(--teal); border-bottom-color: var(--teal); }
.fm-service__panel { display: none; }
.fm-service__panel.active { display: block; }
.fm-service__content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.fm-service__list { margin-top: 20px; }
.fm-service__list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.fm-service__list li::before {
  content: "✓"; flex-shrink: 0; width: 20px; height: 20px;
  background: var(--teal); color: var(--white); border-radius: 50%;
  font-size: 11px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-top: 1px;
}

/* ════════════════════════════════
   SCROLL REVEAL
════════════════════════════════ */
.fm-reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.fm-reveal.revealed { opacity: 1; transform: translateY(0); }
.fm-reveal--delay-1 { transition-delay: .1s; }
.fm-reveal--delay-2 { transition-delay: .2s; }
.fm-reveal--delay-3 { transition-delay: .3s; }
.fm-reveal--delay-4 { transition-delay: .4s; }

/* ════════════════════════════════
   PRODUCT DETAIL PAGE
════════════════════════════════ */
.fm-product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media(max-width:768px){.fm-product-detail-grid{grid-template-columns:1fr!important;gap:32px!important;}}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .fm-about__cards { height: 400px; }
  .fm-products__grid { grid-template-columns: repeat(2,1fr); }
  .fm-portfolio__grid { grid-template-columns: repeat(3,1fr); }
  .fm-system__grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .fm-system-item__icon { margin: 0 0 16px; }
  .fm-stats-row { grid-template-columns: repeat(2,1fr); }
  .fm-footer-links { grid-template-columns: 1fr 1fr; }
  .fm-contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .fm-service__content-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .fm-section { padding: 64px 0; }
  .fm-nav, .fm-header__actions { display: none; }
  .fm-header__hamburger { display: flex; }

  /* Mobile nav */
  .fm-nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white); border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg); padding: 16px; z-index: 999; overflow-y: auto;
  }
  .fm-nav.open .fm-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .fm-nav.open .fm-nav__link { padding: 13px 16px; font-size: 15px; border-radius: 8px; }
  .fm-nav.open .fm-nav__dropdown {
    position: static; box-shadow: none; border: none;
    background: var(--bg-light); border-radius: var(--radius);
    opacity: 1; visibility: visible; transform: none;
    padding: 6px; margin-top: 4px; display: none;
    left: auto;
  }
  .fm-nav.open .fm-nav__dropdown.mobile-open { display: block; }
  .fm-nav.open .fm-header__actions-mobile {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
  }

  .fm-about__cards { grid-template-columns: 1fr; height: auto; }
  .fm-about-card { height: 260px; }
  .fm-about-card__text { max-height: 100px; }
  .fm-products__grid { grid-template-columns: 1fr; }
  .fm-portfolio__grid { grid-template-columns: repeat(2,1fr); }
  .fm-stats-row { grid-template-columns: 1fr 1fr; }
  .fm-footer-links { grid-template-columns: 1fr; }
  .fm-footer__main { flex-direction: column; }
  .fm-footer__nav { gap: 28px; }
  .fm-form__row { grid-template-columns: 1fr; }
  .fm-calc { padding: 24px; }
  .fm-calc__result-grid { grid-template-columns: 1fr; }
  .fm-hero__title { font-size: clamp(36px, 10vw, 56px); }
  .fm-cta-banner__contact { flex-direction: column; gap: 8px; align-items: center; }
}

/* ════════════════════════════════
   PRODUCT PAGE — 앵커 내비
════════════════════════════════ */
.fm-product-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.fm-product-nav__list {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.fm-product-nav__list::-webkit-scrollbar { display: none; }
.fm-product-nav__link {
  display: block;
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mid);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.fm-product-nav__link:hover,
.fm-product-nav__link.active { color: var(--teal); border-bottom-color: var(--teal); }

/* product card badge */
.fm-product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--teal);
  color: var(--white);
  font-size: 12px; font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}
.fm-product-card__badge--blue  { background: #1e40af; }
.fm-product-card__badge--amber { background: #92400e; }
.fm-product-card--link { text-decoration: none; color: inherit; display: block; }
.fm-product-card--link:hover { text-decoration: none; }

/* ════════════════════════════════
   PRODUCT DETAIL SECTION
════════════════════════════════ */
.fm-pdetail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.fm-pdetail--reverse { direction: rtl; }
.fm-pdetail--reverse > * { direction: ltr; }
.fm-pdetail__img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-light);
  aspect-ratio: 4/3;
}
.fm-pdetail__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.fm-pdetail__img-tags {
  position: absolute;
  bottom: 16px; left: 16px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.fm-pdetail__img-tags span {
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.fm-pdetail__badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 12px; font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.fm-pdetail__badge--blue  { background: #dbeafe; color: #1e40af; }
.fm-pdetail__badge--amber { background: #fef3c7; color: #92400e; }
.fm-pdetail__title {
  font-size: 34px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.fm-pdetail__desc {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 24px;
}
.fm-pdetail__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.fm-pdetail__feature {
  font-size: 14px;
  color: var(--dark);
  font-weight: 500;
}
.fm-spec-table-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 28px;
}
.fm-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.fm-spec-table thead tr { background: var(--teal); }
.fm-spec-table thead th {
  padding: 12px 18px;
  text-align: left;
  color: var(--white);
  font-weight: 700;
}
.fm-spec-table tbody tr { border-bottom: 1px solid var(--border); }
.fm-spec-table tbody tr:last-child { border-bottom: none; }
.fm-spec-table tbody tr:nth-child(even) { background: var(--bg-light); }
.fm-spec-table tbody td {
  padding: 11px 18px;
  color: var(--mid);
}
.fm-spec-table tbody td:last-child { font-weight: 600; color: var(--dark); }
.fm-pdetail__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ════════════════════════════════
   USE CASE GRID
════════════════════════════════ */
.fm-usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.fm-usecase-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: transform var(--transition), box-shadow var(--transition);
}
.fm-usecase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.fm-usecase-card__img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.fm-usecase-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.fm-usecase-card:hover .fm-usecase-card__img img { transform: scale(1.06); }
.fm-usecase-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%);
}
.fm-usecase-card__type {
  position: absolute;
  bottom: 14px; left: 16px;
  font-size: 13px; font-weight: 800;
  color: var(--white);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fm-usecase-card__body { padding: 22px 22px 26px; }
.fm-usecase-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.fm-usecase-card__desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 16px;
}
.fm-usecase-card__list {
  list-style: none; padding: 0; margin: 0;
  font-size: 13px; color: var(--mid);
}
.fm-usecase-card__list li {
  padding: 4px 0;
  padding-left: 14px;
  position: relative;
}
.fm-usecase-card__list li::before {
  content: '·';
  position: absolute; left: 0;
  color: var(--teal);
  font-weight: 900;
}
.fm-usecase-card__list li strong { color: var(--teal-dark); }

/* ════════════════════════════════
   COMPARE TABLE
════════════════════════════════ */
.fm-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 14px;
  min-width: 600px;
}
.fm-compare-table thead tr { background: var(--dark); }
.fm-compare-table thead th {
  padding: 16px 20px;
  color: var(--white);
  font-weight: 700;
  text-align: center;
}
.fm-compare-table thead th:first-child { text-align: left; }
.fm-compare-table__highlight { background: var(--teal) !important; }
.fm-compare-table tbody tr { border-bottom: 1px solid var(--border); }
.fm-compare-table tbody tr:nth-child(even) { background: var(--bg-light); }
.fm-compare-table tbody td {
  padding: 13px 20px;
  text-align: center;
  color: var(--mid);
}
.fm-compare-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--dark);
}
.fm-compare-table tbody td.fm-compare-table__highlight {
  background: rgba(58,145,164,.07);
  color: var(--teal-dark);
  font-weight: 700;
}

/* ════════════════════════════════
   CATALOG CARDS
════════════════════════════════ */
.fm-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.fm-catalog-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  background: var(--white);
}
.fm-catalog-card:hover { border-color: var(--teal); background: var(--teal-light); }
.fm-catalog-card__icon { font-size: 40px; margin-bottom: 14px; }
.fm-catalog-card__title {
  font-size: 15px; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.fm-catalog-card__size {
  font-size: 12px; color: var(--gray); margin-bottom: 18px;
}

/* ════════════════════════════════
   RESPONSIVE — Products page
════════════════════════════════ */
@media (max-width: 1024px) {
  .fm-pdetail { gap: 40px; }
  .fm-usecase-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .fm-pdetail,
  .fm-pdetail--reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
  .fm-usecase-grid { grid-template-columns: 1fr; }
  .fm-catalog-grid { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════
   PAGE HERO (내부 페이지 공통)
════════════════════════════════ */
.fm-page-hero {
  position: relative;
  padding: 120px 0 80px;
  margin-top: var(--header-h);
  background: linear-gradient(135deg, #1a3a2a 0%, #0f2018 100%);
  overflow: hidden;
}
.fm-page-hero--about {
  background-image: url('https://www.smartfarmas.com/images/20260107_141923.jpg');
  background-size: cover;
  background-position: center 30%;
}
.fm-page-hero--products {
  background-image: url('https://www.smartfarmas.com/images/20251218_174917.jpg');
  background-size: cover;
  background-position: center;
}
.fm-page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.4) 100%);
}
.fm-page-hero__content { position: relative; z-index: 2; }
.fm-page-hero__title {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -.03em;
  margin: 10px 0 16px;
}
.fm-page-hero__title em { color: var(--teal); font-style: normal; }
.fm-page-hero__desc { font-size: 17px; color: rgba(255,255,255,.75); }

/* ════════════════════════════════
   ABOUT INTRO
════════════════════════════════ */
.fm-about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.fm-about-intro__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.fm-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}
.fm-about-intro__img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.fm-about-intro__img img { width: 100%; height: 100%; object-fit: cover; }

/* ════════════════════════════════
   VISION — 핵심가치 카드
════════════════════════════════ */
.fm-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.fm-value-card {
  background: #a8ccd8;
  border-radius: 20px;
  padding: 48px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.fm-value-card--dark { background: #6fa8be; }
.fm-value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(58,145,164,.25); }
.fm-value-card__icon {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
}
.fm-value-card__icon svg { width: 60px; height: 60px; }
.fm-value-card__label {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .02em;
}

/* ════════════════════════════════
   HISTORY — 연혁 타임라인
════════════════════════════════ */
.fm-history__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.fm-history__photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.fm-history__photo img { width: 100%; height: 100%; object-fit: cover; }
.fm-history__tl-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 28px;
}
.fm-tl { list-style: none; padding: 0; margin: 0; }
.fm-tl__item {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
}
.fm-tl__item:last-child { border-bottom: none; }
.fm-tl__date {
  flex-shrink: 0;
  width: 88px;
  font-weight: 700;
  color: var(--teal);
}
.fm-tl__text { color: var(--mid); }
.fm-tl__item--accent .fm-tl__date { color: var(--teal-dark); }
.fm-tl__item--accent .fm-tl__text { color: var(--dark); font-weight: 600; }

/* ════════════════════════════════
   LAB & TECHNOLOGY
════════════════════════════════ */
.fm-lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.fm-lab-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.fm-lab-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.fm-lab-card__img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.fm-lab-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.fm-lab-card:hover .fm-lab-card__img img { transform: scale(1.06); }
.fm-lab-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 60%);
}
.fm-lab-card__label {
  position: absolute;
  bottom: 16px; left: 20px;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
}
.fm-lab-card__body { padding: 20px 20px 24px; }
.fm-lab-card__body p { font-size: 14px; color: var(--mid); line-height: 1.7; margin: 0; }

/* ════════════════════════════════
   RESPONSIVE — About page
════════════════════════════════ */
@media (max-width: 1024px) {
  .fm-value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .fm-about-intro { grid-template-columns: 1fr; gap: 36px; }
  .fm-about-intro__img { order: -1; }
  .fm-value-grid { grid-template-columns: repeat(2, 1fr); }
  .fm-history__grid { grid-template-columns: 1fr; gap: 36px; }
  .fm-lab-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════
   SERVICE PAGE
════════════════════════════════ */
.fm-page-hero--service {
  background-image: url('https://www.smartfarmas.com/images/20260116_161202.jpg');
  background-size: cover;
  background-position: center 40%;
}
.fm-page-hero--reviews {
  background-image: url('https://www.smartfarmas.com/images/20260122_154953.jpg');
  background-size: cover;
  background-position: center 40%;
}
.fm-service4-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.fm-service4-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.fm-service4-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.fm-service4-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.fm-service4-card:hover::before { transform: scaleX(1); }
.fm-service4-card__num {
  font-size: 48px;
  font-weight: 900;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 4px;
}
.fm-service4-card__icon {
  width: 56px; height: 56px;
  margin-bottom: 16px;
}
.fm-service4-card__icon svg { width: 100%; height: 100%; }
.fm-service4-card__title {
  font-size: 20px; font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.fm-service4-card__desc {
  font-size: 14px; color: var(--mid);
  line-height: 1.75; margin-bottom: 16px;
}
.fm-service4-card__list {
  list-style: none; padding: 0; margin: 0;
  font-size: 13px; color: var(--mid);
}
.fm-service4-card__list li {
  padding: 5px 0 5px 18px;
  position: relative;
  border-bottom: 1px solid var(--bg-light);
}
.fm-service4-card__list li:last-child { border-bottom: none; }
.fm-service4-card__list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--teal); font-weight: 700;
}

/* 프로세스 */
.fm-process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.fm-process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 8%; right: 8%;
  height: 2px;
  background: var(--teal-light);
  z-index: 0;
}
.fm-process-step {
  text-align: center;
  padding: 0 8px;
  position: relative;
  z-index: 1;
}
.fm-process-step__num {
  width: 56px; height: 56px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  margin: 0 auto 12px;
}
.fm-process-step__icon { font-size: 22px; margin-bottom: 8px; }
.fm-process-step__title {
  font-size: 13px; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.fm-process-step__desc { font-size: 11px; color: var(--gray); line-height: 1.5; }

/* WHY */
.fm-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.fm-why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}
.fm-why-card:hover { border-color: var(--teal); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.fm-why-card__icon { font-size: 36px; margin-bottom: 14px; }
.fm-why-card__title { font-size: 16px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.fm-why-card__desc { font-size: 13px; color: var(--mid); line-height: 1.7; }

/* ════════════════════════════════
   REVIEWS PAGE
════════════════════════════════ */
.fm-stats-row--white { background: var(--white); border-bottom: 1px solid var(--border); }
.fm-review-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.fm-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.fm-review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition);
}
.fm-review-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.fm-review-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-light);
}
.fm-review-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.fm-review-card:hover .fm-review-card__img img { transform: scale(1.06); }
.fm-review-card__cat-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--teal);
  color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}
.fm-review-card__model-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,.55);
  color: var(--white);
  font-size: 11px; font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.fm-review-card__body { padding: 18px 20px 22px; }
.fm-review-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px; color: var(--gray);
  margin-bottom: 8px;
}
.fm-review-card__loc { display: flex; align-items: center; gap: 3px; }
.fm-review-card__title {
  font-size: 15px; font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.fm-review-card__stars { display: flex; gap: 2px; margin-bottom: 10px; }
.fm-review-card__quote {
  font-size: 13px; color: var(--mid);
  line-height: 1.7;
  border-left: 3px solid var(--teal-light);
  padding-left: 12px;
  margin: 0 0 10px;
  font-style: normal;
}
.fm-review-card__writer { font-size: 12px; color: var(--gray); font-weight: 600; }

/* 고객 목소리 */
.fm-voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.fm-voice-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.fm-voice-card__stars { color: #f59e0b; font-size: 16px; margin-bottom: 14px; }
.fm-voice-card__text {
  font-size: 14px; color: var(--mid);
  line-height: 1.75; margin-bottom: 16px;
  font-style: italic;
}
.fm-voice-card__info { display: flex; flex-direction: column; gap: 2px; }
.fm-voice-card__info strong { font-size: 14px; color: var(--dark); }
.fm-voice-card__info span { font-size: 12px; color: var(--gray); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .fm-service4-grid { grid-template-columns: 1fr 1fr; }
  .fm-process-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .fm-process-steps::before { display: none; }
  .fm-review-grid { grid-template-columns: repeat(2, 1fr); }
  .fm-voices-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .fm-service4-grid { grid-template-columns: 1fr; }
  .fm-process-steps { grid-template-columns: 1fr 1fr; }
  .fm-why-grid { grid-template-columns: 1fr 1fr; }
  .fm-review-grid { grid-template-columns: 1fr; }
  .fm-voices-grid { grid-template-columns: 1fr; }
}

/* Utility */
.fm-text-center { text-align: center; }
.fm-green { color: var(--teal); }
.fm-mt-8 { margin-top: 32px; }
.fm-page-content { max-width: 800px; line-height: 1.8; font-size: 15px; }
.fm-page-title { font-size: 30px; font-weight: 800; color: var(--dark); margin-bottom: 24px; }

/* ── Legal Pages ── */
.fm-legal-doc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--dark);
}
.fm-legal-notice {
  background: var(--teal-pale);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 40px;
}
.fm-legal-notice a { color: var(--teal); text-decoration: underline; }
.fm-legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.fm-legal-section:last-of-type { border-bottom: none; }
.fm-legal-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-light);
}
.fm-legal-section p {
  margin-bottom: 10px;
  color: var(--mid);
}
.fm-legal-section ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
}
.fm-legal-section ul li {
  margin-bottom: 6px;
  color: var(--mid);
}
.fm-legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}
.fm-legal-table th,
.fm-legal-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.fm-legal-table th {
  background: var(--teal-pale);
  font-weight: 700;
  color: var(--navy);
  font-size: 13px;
}
.fm-legal-table td:first-child {
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  width: 120px;
}
.fm-legal-table a { color: var(--teal); }
.fm-legal-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--gray);
  text-align: right;
}
.fm-legal-footer strong { color: var(--dark); }

/* Consent checkbox in forms */
.fm-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}
.fm-form__consent input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  flex-shrink: 0;
  cursor: pointer;
}
.fm-form__consent a { color: var(--teal); text-decoration: underline; }
.fm-form__consent strong { color: var(--dark); }
