/* =====================================================
   kusuwata main.css — ricp.co.jp inspired redesign
   ===================================================== */

/* ---------- Variables ---------- */
:root {
  --color-main:       #008c7e;
  --color-main-dark:  #006e62;
  --color-main-light: #00a896;
  --color-bg:         #e8f8f4;
  --color-bg-white:   #ffffff;
  --color-text:       #333333;
  --color-text-sub:   #666666;
  --color-border:     rgba(0, 0, 0, 0.08);
  --color-marker:     #008c7e;
  --font-en:          'Montserrat', sans-serif;
  --font-ja:          'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --container:        1160px;
  --header-h:         88px;
  --radius:           6px;
}

/* ---------- Reset/Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
*, *::before, *::after { box-sizing: border-box; }

/* ---------- Container ---------- */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section-block { padding: 100px 0; }

/* ---------- Section headings (ricp style) ---------- */
.sec-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-main);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-ttl {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 28px;
}

.section-head { margin-bottom: 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-main);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,140,126,0.28);
}
.btn-primary:hover {
  background: var(--color-main-dark);
  box-shadow: 0 12px 32px rgba(0,140,126,0.36);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid rgba(0,0,0,0.2);
}
.btn-outline:hover {
  border-color: var(--color-main);
  color: var(--color-main);
  transform: translateY(-1px);
}

.btn-teal {
  background: var(--color-main);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 32px;
  font-weight: 700;
}
.btn-teal:hover { background: var(--color-main-dark); transform: translateY(-1px); }

.btn-arrow::after {
  content: ' →';
}

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 68px;
  padding: 18px 10px;
  background: var(--color-main);
  color: #fff;
  border-radius: 8px 0 0 8px;
  box-shadow: -4px 0 24px rgba(0,140,126,0.28);
  transition: background 0.2s;
}
.floating-cta:hover { background: var(--color-main-dark); }
.floating-cta span {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  writing-mode: vertical-rl;
  letter-spacing: 0.06em;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(232, 248, 244, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,140,126,0.12);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 32px;
  gap: 16px;
}

/* Logo */
.logo-link { display: flex; align-items: center; }
.logo-name {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-main);
  letter-spacing: -0.04em;
}

/* Gnav */
.gnav { flex: 1; display: flex; justify-content: center; }
.gnav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}
.gnav-item { position: relative; }
.gnav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 14px;
  gap: 2px;
  border-radius: 4px;
  transition: background 0.2s;
}
.gnav-link:hover { background: rgba(0,140,126,0.06); }
.nav-jp {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}
.nav-en {
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--color-main-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Active nav item */
.gnav-link.active .nav-jp { color: var(--color-main); }

/* Header contact */
.header-contact { text-align: right; white-space: nowrap; }
.header-contact-label {
  font-size: 0.68rem;
  color: var(--color-text-sub);
  margin-bottom: 2px;
}
.header-contact-mail {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-main);
}
.header-contact-mail:hover { text-decoration: underline; }

/* Hamburger */
.gnav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.gnav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.gnav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gnav-toggle.active span:nth-child(2) { opacity: 0; }
.gnav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: var(--header-h);
}

/* Blob decorations */
.hero-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-deco-01 {
  width: 480px;
  height: 480px;
  right: -60px;
  top: 40px;
  background: radial-gradient(circle, rgba(0,168,150,0.22) 0%, transparent 70%);
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
}
.hero-deco-02 {
  width: 320px;
  height: 320px;
  left: -80px;
  bottom: 80px;
  background: radial-gradient(circle, rgba(0,140,126,0.16) 0%, transparent 70%);
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
}
.hero-deco-03 {
  width: 200px;
  height: 200px;
  left: 40%;
  bottom: -40px;
  background: radial-gradient(circle, rgba(0,200,180,0.12) 0%, transparent 70%);
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 60px 60px 40px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

/* Hero catch copy */
.hero-content { padding-right: 20px; }

.hero-catch {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 36px;
  color: var(--color-text);
}

/* ricp-style marker highlight */
.marker {
  display: inline-block;
  position: relative;
  margin: 4px 0;
}
.marker > span {
  position: relative;
  display: inline-block;
  padding: 2px 12px 4px 8px;
  background: var(--color-main);
  color: #fff;
  border-radius: 2px;
}

.hero-catch-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-main-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero images (ricp: 2 panels stacked/offset) */
.hero-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.hero-img-group { position: relative; }

.hero-img-top {
  transform: translateX(32px);
}
.hero-img-bottom {
  transform: translateX(-16px);
}

.hero-img-item {
  border-radius: 50% 50% 45% 55% / 50% 45% 55% 50%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  height: 240px;
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-dark) 100%);
}
.hero-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-item.img-fallback {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-dark) 100%);
}

/* News bar */
.news-bar {
  background: #fff;
  border-top: 1px solid rgba(0,140,126,0.15);
}
.news-bar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 60px;
  max-width: var(--container);
  margin: 0 auto;
}
.news-label {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border: 1.5px solid var(--color-main);
  border-radius: 999px;
}
.news-items {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}
.news-date {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--color-text-sub);
}
.news-text {
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-text);
}
.news-text:hover { color: var(--color-main); }
.news-more {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: var(--color-main);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.news-more:hover { background: var(--color-main-dark); }

/* ---------- About ---------- */
.about { background: #fff; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-lead {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 16px;
}
.about-body {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 2;
  margin-bottom: 16px;
}

/* Diagram (ricp style: circular service map) */
.diagram-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.diagram-outer-label {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.diagram-circle-outer {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(0,168,150,0.08) 0%, rgba(0,140,126,0.04) 60%, transparent 100%);
  border: 1px solid rgba(0,140,126,0.15);
}

.diagram-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.diagram-node-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,140,126,0.32);
}
.diagram-node-en {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.diagram-node-jp {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text);
}

/* positioning */
.diagram-node-top {
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
}
.diagram-node-right {
  right: -44px;
  top: 50%;
  transform: translateY(-50%);
}
.diagram-node-bottom {
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
}

.diagram-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,140,126,0.2);
}
.diagram-center-text {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-main);
}

.diagram-left-label {
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.diagram-left-en {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.08em;
}
.diagram-left-jp {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text);
}

/* ---------- Feature ---------- */
.feature { background: var(--color-bg); position: relative; }
.bg-illust { background: var(--color-bg); }

.feature-illust {
  position: absolute;
  width: 200px;
  height: 200px;
  opacity: 0.06;
  background: var(--color-main);
  border-radius: 50%;
  pointer-events: none;
}
.feature-illust-left { left: -60px; top: 40%; }
.feature-illust-right { right: -60px; bottom: 20%; }

.feature-list { display: grid; gap: 28px; }

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.feature-item-rev { }
.feature-item-rev .feature-img { order: 2; }
.feature-item-rev .feature-text { order: 1; padding-left: 48px; padding-right: 0; }

.feature-img {
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,140,126,0.15), rgba(0,200,180,0.08));
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.feature-item:hover .feature-img img { transform: scale(1.04); }
.feature-img.img-fallback {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-dark) 100%);
}

.feature-text {
  padding: 40px 48px 40px 0;
}
.feature-item-rev .feature-text {
  padding: 40px 0 40px 48px;
}

.feature-num {
  font-family: var(--font-en);
  font-size: 3.2rem;
  font-weight: 900;
  color: rgba(0,140,126,0.15);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.feature-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}
.feature-text p {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 2;
}

/* ---------- City strip ---------- */
.city-strip {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--color-main-dark);
}
.city-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}
.city-strip.city-strip-fallback {
  background: linear-gradient(135deg, var(--color-main-dark), #004a3f);
}

/* ---------- Service ---------- */
.service { background: #fff; }

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

.service-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 28px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,140,126,0.14);
  transform: translateY(-3px);
}

.service-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.service-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-tag {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.1em;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  line-height: 1.9;
}

/* ---------- How ---------- */
.how { background: var(--color-bg); }

.how-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  gap: 0;
}

.how-step {
  position: relative;
  padding: 32px 24px;
  text-align: center;
  background: #fff;
  border-right: 1px solid rgba(0,140,126,0.1);
}
.how-step:last-child { border-right: none; }
.how-step::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: rgba(0,140,126,0.3);
  font-weight: 900;
  z-index: 1;
}
.how-step:last-child::after { display: none; }

.step-num {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(0,140,126,0.18);
  line-height: 1;
  margin-bottom: 10px;
}
.how-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}
.how-step p {
  font-size: 0.82rem;
  color: var(--color-text-sub);
  line-height: 1.9;
}

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

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.works-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.works-card:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.works-img {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,140,126,0.2), rgba(0,200,180,0.1));
}
.works-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.works-card:hover .works-img img { transform: scale(1.05); }
.works-img.img-fallback {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-dark) 100%);
}

.works-body { padding: 24px; }
.works-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.1em;
  border: 1px solid var(--color-main);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 10px;
}
.works-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.works-body p {
  font-size: 0.84rem;
  color: var(--color-text-sub);
  line-height: 1.9;
}

/* ---------- Profile ---------- */
.profile { background: #fff; }

.profile-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: center;
}

.profile-img-wrap {
  height: 380px;
  border-radius: 50% 50% 45% 55% / 50% 45% 55% 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-dark) 100%);
  box-shadow: 0 16px 48px rgba(0,140,126,0.2);
}
.profile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-img-wrap.img-fallback {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-dark) 100%);
}

.profile-name { margin-bottom: 4px !important; }
.profile-reading {
  font-size: 0.48em;
  font-weight: 500;
  color: var(--color-text-sub);
  margin-left: 8px;
}
.profile-location {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 20px;
}
.profile-desc {
  font-size: 0.92rem;
  color: var(--color-text-sub);
  line-height: 2;
  margin-bottom: 20px;
}
.profile-tags {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}
.profile-tags li {
  font-size: 0.88rem;
  color: var(--color-text-sub);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.profile-tags li::before {
  content: '― ';
  color: var(--color-main);
}

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

.contact-lead {
  font-size: 0.96rem;
  color: var(--color-text-sub);
  line-height: 2;
  margin-bottom: 40px;
  max-width: 640px;
}

.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  max-width: 800px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group-full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.req {
  margin-left: 4px;
  font-size: 0.72rem;
  color: #e25;
  font-weight: 700;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  background: #fafffe;
  color: var(--color-text);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-main);
  box-shadow: 0 0 0 3px rgba(0,140,126,0.1);
}
.form-submit { text-align: center; margin-top: 8px; }
.btn-submit { min-width: 200px; }

/* ---------- Footer ---------- */
.footer {
  background: #1a2e2c;
  color: rgba(255,255,255,0.8);
  padding: 48px 0 36px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
}
.footer-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  letter-spacing: 0.06em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- Fade-in animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive: tablet ---------- */
@media (max-width: 1024px) {
  .header-inner { padding: 0 24px; }
  .hero-inner { padding: 48px 32px 32px; gap: 28px; }

  .about-inner,
  .profile-inner {
    grid-template-columns: 1fr;
  }
  .profile-inner { grid-template-columns: 1fr; }
  .profile-img-wrap { height: 280px; }
  .diagram-circle-outer { width: 300px; height: 300px; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .how-step { border-right: none; border-bottom: 1px solid rgba(0,140,126,0.1); }
  .how-step::after { display: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 768px) {
  :root { --header-h: 68px; }

  .header-inner { padding: 0 16px; }
  .header-contact { display: none; }
  .gnav-toggle { display: flex; }

  .gnav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    padding: 20px 0 28px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  }
  .gnav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .gnav-menu { flex-direction: column; gap: 0; }
  .gnav-link {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .hero { min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 20px 24px;
    gap: 32px;
  }
  .hero-catch { font-size: 2rem; }
  .hero-images { flex-direction: row; gap: 12px; }
  .hero-img-top { transform: none; }
  .hero-img-bottom { transform: none; }
  .hero-img-item { height: 180px; }

  .news-bar-inner { padding: 12px 20px; flex-wrap: wrap; gap: 12px; }
  .news-items { min-width: 100%; order: 3; }

  .about-inner { gap: 40px; }
  .diagram-circle-outer { width: 260px; height: 260px; }
  .diagram-node-icon { width: 48px; height: 48px; }

  .feature-item {
    grid-template-columns: 1fr;
  }
  .feature-item-rev .feature-img,
  .feature-item-rev .feature-text { order: initial; }
  .feature-text { padding: 28px 24px; }
  .feature-item-rev .feature-text { padding: 28px 24px; }
  .feature-img { height: 200px; }

  .service-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }

  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .floating-cta {
    top: auto;
    bottom: 24px;
    right: 16px;
    transform: none;
    width: auto;
    flex-direction: row;
    padding: 12px 20px;
    border-radius: 999px;
    gap: 10px;
  }
  .floating-cta span {
    writing-mode: horizontal-tb;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .floating-cta br { display: none; }
}
