/* =============================================
   沖縄リビングCG - Style Sheet
   Light Theme / Monochrome / Main: #4c4948
   Min font size: 16px
   ============================================= */

/* --- Font Face --- */
@font-face {
  font-family: 'D-DIN Condensed';
  src: url('../assets/fonts/D-DINCondensed-Bold.woff2') format('woff2'),
       url('../assets/fonts/D-DINCondensed-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --color-bg: #ffffff;
  --color-bg-secondary: #f7f7f7;
  --color-bg-tertiary: #efefef;
  --color-main: #4c4948;
  --color-main-light: #6b6867;
  --color-main-lighter: #8a8786;
  --color-text: #1a1a1a;
  --color-text-secondary: #555555;
  --color-text-muted: #888888;
  --color-border: #e0e0e0;
  --color-border-light: #d0d0d0;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-din: 'D-DIN Condensed', 'Helvetica Neue', sans-serif;
  --nav-height: 72px;
  --container-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Base --- */
.section {
  padding: 120px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__label {
  font-family: var(--font-din);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--color-main-lighter);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section__title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.section__desc {
  max-width: 780px;
  margin: 20px auto 0;
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 2;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

/* Over hero: white text / white logo */
.nav__menu a {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.nav__menu a:hover {
  color: #ffffff;
}

.nav__toggle span {
  background: #ffffff;
}

/* Scrolled: light bg, dark text */
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav.is-scrolled .nav__logo-white {
  display: none;
}

.nav.is-scrolled .nav__logo-dark {
  display: block;
}

.nav.is-scrolled .nav__menu a {
  color: var(--color-text-secondary);
}

.nav.is-scrolled .nav__menu a:hover {
  color: var(--color-text);
}

.nav.is-scrolled .nav__toggle span {
  background: var(--color-text);
}

.nav.is-scrolled .nav__cta {
  color: var(--color-text) !important;
  border-color: var(--color-main);
}

.nav__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 48px;
  width: auto;
}

.nav__logo-dark {
  display: none;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__cta {
  padding: 8px 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff !important;
  transition: background var(--transition), border-color var(--transition), color var(--transition) !important;
}

.nav__cta:hover {
  background: var(--color-main);
  border-color: var(--color-main);
  color: #ffffff !important;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.nav__toggle.is-active span {
  background: var(--color-text);
}

.nav__toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  max-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: #0a0a0a;
}

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

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

/* Slide variant: background video */
.hero__slide--video {
  background: #0a0a0a;
}

.hero__slide--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slide variant: dark bg + right-aligned image */
.hero__slide--dark {
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__slide--dark .hero__slide-contain {
  position: relative;
  width: auto;
  height: 90%;
  max-width: 55%;
  object-fit: contain;
  margin-right: 5%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 15%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__content .container {
  width: 100%;
}

.hero__title {
  font-size: clamp(32px, 5.5vw, 60px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero__sub {
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 2;
  text-align: left;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero__cta {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 56px;
  background: rgba(230, 190, 90, 0.9);
  border: none;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #333333;
  z-index: 2;
  transition: background var(--transition), transform var(--transition);
}

.hero__cta:hover {
  background: rgba(230, 190, 90, 1);
  transform: translateY(-2px);
  color: #222222;
}

/* Hero Arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 32px;
  cursor: pointer;
  padding: 12px;
  transition: color var(--transition);
}

.hero__arrow:hover {
  color: #ffffff;
}

.hero__arrow--prev {
  left: 16px;
}

.hero__arrow--next {
  right: 16px;
}

/* Hero Dots */
.hero__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background var(--transition);
}

.hero__dot.is-active {
  background: #ffffff;
}

/* --- Intro --- */
.intro {
  position: relative;
  padding-top: 140px;
  padding-bottom: 120px;
  overflow: hidden;
}

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

.intro__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.7) 30%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 1;
}

.intro .container {
  position: relative;
  z-index: 2;
}

.intro__heading {
  text-align: center;
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 60px;
  color: #fff;
}

.intro__block {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 0;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.intro__text {
  padding-right: 64px;
}

.intro__text h3 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.intro__text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 2;
}

.intro__image {
  overflow: hidden;
  border-radius: 4px;
}

.intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .intro {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .intro__block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro__text {
    padding-right: 0;
  }

  .intro__image {
    order: -1;
  }
}

/* --- About --- */
.about {
  position: relative;
  overflow: hidden;
}

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

.about__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(1.2);
}

.about__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.about__container {
  position: relative;
  z-index: 2;
}

.about__label {
  color: rgba(255, 255, 255, 0.7) !important;
}

.about__title {
  color: #ffffff !important;
}

.about__lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 56px;
  line-height: 2;
  text-align: center;
}

.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about__card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 40px 32px;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.about__card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.about__card-num {
  font-family: var(--font-din);
  font-size: 48px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.about__card strong {
  display: block;
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 12px;
  color: #ffffff;
  line-height: 1.4;
}

.about__card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

/* --- Services (事業内容) Wrapper --- */
.services {
  background: var(--color-bg);
}

.services__block {
  margin-bottom: 80px;
}

.services__block:last-child {
  margin-bottom: 0;
}

.services__block-header {
  text-align: center;
  margin-bottom: 48px;
}

.services__block-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.05em;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.services__block-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.services__block-catch {
  font-size: 16px;
  color: var(--color-text-secondary);
}

.services__divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 80px auto;
  max-width: 120px;
}

/* --- Biz Intro (事業紹介カード) --- */
.biz-intro {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.biz-intro__card {
  display: flex;
  flex-direction: column;
}

.biz-intro__img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
}

.biz-intro__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.biz-intro__card:hover .biz-intro__img img {
  transform: scale(1.05);
}

.biz-intro__body h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
  line-height: 1.4;
}

.biz-intro__body p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.9;
}

.biz-intro__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 16px;
  color: #2563eb;
  font-weight: 500;
  transition: color var(--transition);
}

.biz-intro__link:hover {
  color: #1d4ed8;
}

.biz-intro__subsidy-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.biz-intro__subsidy-list li {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
}

/* --- Service: Scan --- */

.service-scan__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.feature-card {
  padding: 48px 32px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-color: var(--color-main);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-main);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.feature-card p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* Matterport Embed */
.matterport-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.matterport-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.service-scan__demo {
  max-width: 900px;
  margin: 0 auto;
}

/* --- Service: Produce --- */

.service-produce__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.produce-card {
  padding: 64px 48px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.produce-card:hover {
  border-color: var(--color-main);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.produce-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.produce-card p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 2;
}

/* --- Use Cases --- */
.usecase {
  background: var(--color-bg);
}

.usecase__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.usecase-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}

.usecase-card__img {
  width: 100%;
  height: 100%;
}

.usecase-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(30%);
}

.usecase-card:hover .usecase-card__img img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.usecase-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(
    180deg,
    transparent 20%,
    rgba(10, 10, 10, 0.85) 100%
  );
  transition: background var(--transition);
}

.usecase-card:hover .usecase-card__overlay {
  background: linear-gradient(
    180deg,
    transparent 10%,
    rgba(10, 10, 10, 0.9) 100%
  );
}

.usecase-card__overlay h3 {
  font-size: 20px;
  font-weight: 700;
  min-height: 2.8em;
  display: flex;
  align-items: flex-end;
  margin-bottom: 6px;
  color: #ffffff;
  line-height: 1.4;
}

.usecase-card__overlay p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* --- Works --- */
.works {
  background: var(--color-bg-secondary);
}

.works__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* --- Contact --- */
.contact {
  background: var(--color-bg);
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.required {
  color: #cc4444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  transition: border-color var(--transition);
  outline: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 16px;
}

.form-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-main);
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.btn-submit {
  display: inline-block;
  padding: 16px 64px;
  background: var(--color-main);
  color: #ffffff;
  border: 1px solid var(--color-main);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-submit:hover {
  background: var(--color-main-light);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  text-align: center;
  margin-top: 16px;
  font-size: 16px;
}

.form-message.success {
  color: #2e8b57;
}

.form-message.error {
  color: #cc4444;
}

/* --- Company --- */
.company {
  background: var(--color-bg-secondary);
}

.company__table {
  max-width: 720px;
  margin: 0 auto;
}

.company__table table {
  width: 100%;
  border-collapse: collapse;
}

.company__table th,
.company__table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  font-size: 16px;
  text-align: left;
}

.company__table th {
  width: 140px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.company__table td a {
  color: var(--color-main);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
}

.company__table td a:hover {
  color: var(--color-main-light);
}

/* --- CTA Section --- */
.cta-section {
  background: var(--color-bg-secondary);
}

.cta-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-section__card {
  display: block;
  padding: 48px 40px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}

.cta-section__card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.cta-section__card--dark {
  background: var(--color-main);
  border-color: var(--color-main);
}

.cta-section__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.cta-section__card--dark .cta-section__label {
  color: rgba(255, 255, 255, 0.6);
}

.cta-section__title {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 12px;
}

.cta-section__card--dark .cta-section__title {
  color: #fff;
}

.cta-section__desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.cta-section__card--dark .cta-section__desc {
  color: rgba(255, 255, 255, 0.8);
}

.cta-section__arrow {
  position: absolute;
  top: 48px;
  right: 40px;
  font-size: 24px;
  color: var(--color-text-muted);
  transition: transform var(--transition);
}

.cta-section__card:hover .cta-section__arrow {
  transform: translateX(4px);
}

.cta-section__card--dark .cta-section__arrow {
  color: rgba(255, 255, 255, 0.6);
}

/* --- Page Header (subpages) --- */
.page-header {
  padding-top: 120px;
  padding-bottom: 40px;
  background: var(--color-bg);
  text-align: center;
}

/* --- Greeting (about page) --- */
.greeting {
  padding-top: 40px;
  padding-bottom: 60px;
}

.greeting__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  margin-bottom: 32px;
  color: var(--color-text);
}

.greeting__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-text);
}

.greeting__text p {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.greeting__text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.greeting__text a {
  color: var(--color-main);
  text-decoration: underline;
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  background: var(--color-main);
  text-align: center;
}

.footer__logo {
  height: 40px;
  width: auto;
  margin: 0 auto 16px;
  opacity: 0.8;
}

.footer p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

/* --- Animations --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in-up {
    opacity: 1;
    transform: none;
  }

  .hero__bg img {
    animation: none;
  }
}

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
  .nav__menu {
    gap: 20px;
  }

  .biz-intro {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .service-scan__features {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-produce__grid {
    grid-template-columns: 1fr;
  }

  .usecase__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .section {
    padding: 80px 0;
  }

  .section__header {
    margin-bottom: 40px;
  }

  /* Mobile Nav */
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right var(--transition);
    border-left: 1px solid var(--color-border);
  }

  .nav__menu.is-open {
    right: 0;
  }

  .nav__menu a {
    color: var(--color-text) !important;
    font-size: 16px;
  }

  .nav__cta {
    margin-top: 16px;
    color: var(--color-text) !important;
    border-color: var(--color-main) !important;
  }

  /* Hero */
  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .hero__sub br {
    display: none;
  }

  .hero__cta {
    padding: 14px 36px;
  }

  .hero__arrow {
    font-size: 24px;
    padding: 8px;
  }

  .hero__content .container {
    padding-left: 48px;
    padding-right: 48px;
  }

  /* Biz Intro */
  .biz-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* About */
  .about__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about__card {
    padding: 28px 24px;
  }

  .about__lead br {
    display: none;
  }

  /* CTA Section */
  .cta-section__grid {
    grid-template-columns: 1fr;
  }

  .cta-section__card {
    padding: 32px 24px;
  }

  .cta-section__arrow {
    top: 32px;
    right: 24px;
  }

  /* Use cases */
  .usecase__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .usecase-card__overlay {
    padding: 12px;
  }

  .usecase-card__overlay h3 {
    font-size: 14px;
    min-height: auto;
  }

  .usecase-card__overlay p {
    display: none;
  }

  /* Works */
  .works__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-radio-group {
    flex-direction: column;
    gap: 12px;
  }

  .produce-card {
    padding: 40px 24px;
  }

  .feature-card {
    padding: 32px 24px;
  }
}
