/* =====================================================
   A-OFF Corporation — Main Stylesheet
   ===================================================== */

/* === Variables === */
:root {
  --clr-bg:         #f7faf5;
  --clr-white:      #ffffff;
  --clr-green-50:   #edf7e8;
  --clr-green-100:  #d2ecc8;
  --clr-green-200:  #aed49f;
  --clr-green-300:  #84bb73;
  --clr-green-400:  #5aa046;
  --clr-green-500:  #3c8530;
  --clr-green-600:  #255f1c;
  --clr-dark:       #192917;
  --clr-body:       #3c5038;
  --clr-muted:      #7a9272;
  --clr-border:     #cce4c4;

  --ff-serif:   'Noto Serif JP', 'Georgia', serif;
  --ff-sans:    'Noto Sans JP', 'Helvetica Neue', sans-serif;
  --ff-en:      'Inter', 'Helvetica Neue', sans-serif;

  --section-py: clamp(80px, 10vw, 130px);
  --container:  1180px;
  --radius:     12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  line-height: 1.3;
  color: var(--clr-dark);
  font-weight: 600;
}

/* === Container === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* =====================================================
   Navigation
   ===================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(40, 80, 30, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--clr-dark);
}

.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.nav-link {
  font-family: var(--ff-en);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--clr-body);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--clr-green-400);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-green-500);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-en);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--clr-green-500);
  border: 1px solid var(--clr-green-300);
  border-radius: 40px;
  padding: 9px 22px;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--clr-green-400);
  border-color: var(--clr-green-400);
  color: white;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  z-index: 10;
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* === Mobile Menu === */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(247, 250, 245, 0.97);
  backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  color: var(--clr-dark);
  letter-spacing: 0.08em;
}

/* =====================================================
   Hero Section
   ===================================================== */
/* ── Hero wrapper: creates scroll distance so fixed hero animates ── */
.hero-wrapper {
  position: relative;
  height: 190vh; /* triorb: 185vh — hero + scroll animation space */
  z-index: 1;
}

.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--clr-bg);
  /* Eco illustration background */
  background-image: url('../img/hero-bg.svg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55; /* particles overlay gently on top of bg illustration */
  mix-blend-mode: multiply;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%,
    rgba(210, 240, 200, 0.4) 0%,
    transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  padding-top: 72px;
}

.hero-label {
  display: inline-block;
  font-family: var(--ff-en);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--clr-green-500);
  border-left: 2px solid var(--clr-green-300);
  padding-left: 14px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--clr-dark);
  line-height: 1.25;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero-title em {
  font-style: normal;
  color: var(--clr-green-500);
}

.hero-desc {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--clr-body);
  line-height: 2;
  max-width: 520px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero-scroll span {
  font-family: var(--ff-en);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--clr-muted);
}

.scroll-bar {
  width: 1px;
  height: 48px;
  background: var(--clr-border);
  position: relative;
  overflow: hidden;
}

.scroll-bar::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--clr-green-400);
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* =====================================================
   Buttons
   ===================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-en);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: white;
  background: var(--clr-green-500);
  border: 1px solid var(--clr-green-500);
  border-radius: 40px;
  padding: 15px 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-green-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-en);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--clr-green-500);
  border: 1px solid var(--clr-green-300);
  border-radius: 40px;
  padding: 14px 32px;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--clr-green-50);
  border-color: var(--clr-green-400);
  color: var(--clr-green-600);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-en);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--clr-green-500);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.btn-text:hover {
  border-bottom-color: var(--clr-green-400);
  gap: 12px;
}

/* =====================================================
   Section Common
   ===================================================== */
.section {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 10;
}

.section-alt {
  background: var(--clr-green-50);
}

.section-dark {
  background: var(--clr-dark);
  color: var(--clr-green-50);
}

.section-header {
  margin-bottom: clamp(48px, 7vw, 80px);
}

.section-label {
  display: inline-block;
  font-family: var(--ff-en);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--clr-green-400);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--clr-dark);
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.section-title-dark { color: var(--clr-green-50); }

.section-sub {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--clr-muted);
  max-width: 540px;
  line-height: 2;
}

.section-sub-dark { color: var(--clr-green-200); }

/* =====================================================
   Message Section — slides over hero as a rounded card
   ===================================================== */
/* ── First card that slides up over the fixed hero (triorb style) ── */
.message-section {
  padding: var(--section-py) 0;
  background: var(--clr-white);
  position: relative;
  z-index: 10;
  border-radius: 40px 40px 0 0;  /* triorb uses large radius */
  box-shadow: 0 -28px 80px rgba(20, 50, 15, 0.12);
}

.message-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.message-deco {
  font-family: var(--ff-en);
  font-size: clamp(6rem, 12vw, 14rem);
  font-weight: 200;
  color: var(--clr-green-100);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
  overflow: visible;
}

.eco-letter {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity;
}

.message-text .section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.6;
}

.message-divider {
  width: 40px;
  height: 1px;
  background: var(--clr-green-300);
  margin: 28px 0;
}

.message-body {
  font-size: 0.95rem;
  line-height: 2.2;
  color: var(--clr-body);
}

/* =====================================================
   Services Section
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--clr-green-300), var(--clr-green-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(60, 133, 48, 0.1);
  transform: translateY(-4px);
  border-color: var(--clr-green-200);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--clr-green-50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background var(--transition);
}

.service-card:hover .service-icon { background: var(--clr-green-100); }

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--clr-green-500);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-num {
  font-family: var(--ff-en);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--clr-green-300);
  margin-bottom: 12px;
}

.service-title {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  color: var(--clr-dark);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.service-desc {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--clr-muted);
}

/* =====================================================
   About Preview Section
   ===================================================== */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg,
    var(--clr-green-100) 0%,
    var(--clr-green-200) 40%,
    var(--clr-green-300) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-inner {
  width: 80%;
  height: 80%;
  position: relative;
}

.about-visual-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

.about-visual-circle:nth-child(1) {
  width: 60%;
  aspect-ratio: 1;
  top: 10%; left: 10%;
}
.about-visual-circle:nth-child(2) {
  width: 40%;
  aspect-ratio: 1;
  bottom: 5%; right: 5%;
  background: rgba(255,255,255,0.18);
}
.about-visual-circle:nth-child(3) {
  width: 25%;
  aspect-ratio: 1;
  top: 50%; left: 50%;
  background: rgba(255,255,255,0.35);
}

.about-text .section-label { display: block; }
.about-text .section-title { margin-bottom: 24px; }

.about-list {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--clr-body);
}

.about-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--clr-green-50);
  border: 1px solid var(--clr-green-300);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235aa046' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10l4 4 6-7'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* =====================================================
   Stats Section
   ===================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  background: var(--clr-white);
  padding: clamp(32px, 5vw, 56px) clamp(20px, 3vw, 36px);
  text-align: center;
}

.stat-num {
  font-family: var(--ff-en);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 200;
  color: var(--clr-green-500);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-unit {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--clr-muted);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* =====================================================
   News Section
   ===================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.news-card {
  border-top: 1px solid var(--clr-border);
  padding-top: 24px;
  transition: all var(--transition);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.news-date {
  font-family: var(--ff-en);
  font-size: 0.75rem;
  color: var(--clr-muted);
  letter-spacing: 0.06em;
}

.news-tag {
  font-family: var(--ff-en);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--clr-green-500);
  border: 1px solid var(--clr-green-200);
  border-radius: 20px;
  padding: 3px 10px;
}

.news-title {
  font-family: var(--ff-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--clr-dark);
  line-height: 1.6;
  transition: color var(--transition);
}

.news-card:hover .news-title { color: var(--clr-green-500); }

/* =====================================================
   CTA Section
   ===================================================== */
.cta-section {
  position: relative;
  z-index: 10;
  background: linear-gradient(135deg,
    var(--clr-green-500) 0%,
    var(--clr-green-400) 50%,
    var(--clr-green-300) 100%);
  padding: var(--section-py) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.12)'/%3E%3C/svg%3E");
}

.cta-section .section-label {
  color: rgba(255,255,255,0.7);
}

.cta-section .section-title {
  color: white;
  margin-bottom: 20px;
}

.cta-section .section-sub {
  color: rgba(255,255,255,0.8);
  margin: 0 auto 44px;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-en);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--clr-green-600);
  background: white;
  border: 1px solid white;
  border-radius: 40px;
  padding: 16px 40px;
  transition: background 0.6s ease, color 0.6s ease;
}

.btn-white:hover {
  background: var(--clr-green-400);
  color: white;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  position: relative;
  z-index: 10;
  background: var(--clr-dark);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 36px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  margin-bottom: 56px;
}

.footer-brand .logo-text {
  color: white;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.82rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.5);
}

.footer-nav-title {
  font-family: var(--ff-en);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-nav-list a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-family: var(--ff-en);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
}

/* =====================================================
   Page Hero (inner pages)
   ===================================================== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg,
    var(--clr-bg) 0%,
    var(--clr-green-50) 100%);
  border-bottom: 1px solid var(--clr-border);
}

.page-hero-label {
  font-family: var(--ff-en);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--clr-green-400);
  display: block;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.page-hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: var(--clr-dark);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* =====================================================
   About Page
   ===================================================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.philosophy-card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  background: var(--clr-white);
}

.philosophy-icon {
  font-family: var(--ff-en);
  font-size: 2.5rem;
  font-weight: 200;
  color: var(--clr-green-200);
  margin-bottom: 20px;
  line-height: 1;
}

.philosophy-head {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  color: var(--clr-dark);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.philosophy-body {
  font-size: 0.88rem;
  line-height: 2;
  color: var(--clr-muted);
}

/* Company Profile Table */
.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table tr {
  border-bottom: 1px solid var(--clr-border);
}

.profile-table tr:first-child {
  border-top: 1px solid var(--clr-border);
}

.profile-table th {
  width: 200px;
  padding: 20px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-dark);
  text-align: left;
  vertical-align: top;
  background: var(--clr-green-50);
  white-space: nowrap;
}

.profile-table td {
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--clr-body);
  line-height: 1.8;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--clr-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px; top: 5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--clr-green-300);
  border: 2px solid var(--clr-white);
  box-shadow: 0 0 0 1px var(--clr-green-300);
}

.timeline-year {
  font-family: var(--ff-en);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--clr-green-400);
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--clr-body);
  line-height: 1.7;
}

/* =====================================================
   Contact Page
   ===================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(48px, 7vw, 80px);
  align-items: start;
}

.contact-form {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
}

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

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-dark);
  margin-bottom: 8px;
}

.form-required {
  font-size: 0.65rem;
  color: var(--clr-white);
  background: var(--clr-green-400);
  border-radius: 3px;
  padding: 2px 7px;
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  color: var(--clr-dark);
  background: var(--clr-bg);
  transition: all var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--clr-green-300);
  background: var(--clr-white);
  box-shadow: 0 0 0 3px rgba(90, 160, 70, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--clr-muted);
  font-size: 0.88rem;
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.8;
}

.form-select-wrap {
  position: relative;
}

.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 5px;
  background: var(--clr-muted);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 28px 0;
  font-size: 0.85rem;
  color: var(--clr-body);
  line-height: 1.7;
}

.form-privacy input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--clr-green-400);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.form-privacy a {
  color: var(--clr-green-500);
  border-bottom: 1px solid var(--clr-green-200);
}

.form-submit {
  width: 100%;
  display: flex;
  justify-content: center;
}

.contact-info-card {
  background: var(--clr-green-50);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 20px;
}

.contact-info-title {
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--clr-dark);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-info-item svg {
  width: 18px; height: 18px;
  stroke: var(--clr-green-400);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item span {
  font-size: 0.88rem;
  color: var(--clr-body);
  line-height: 1.7;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1024px) {
  .about-preview,
  .message-inner {
    grid-template-columns: 1fr;
  }

  .about-visual { order: -1; max-height: 320px; }

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

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .philosophy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .profile-table th {
    width: 120px;
  }

  .message-deco {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
