/* U Need Cloud - bright & warm theme
   Brand: mint -> teal gradient (logo), warm accent: sunny amber / peach, light mint & cream backgrounds */
:root {
  --ink: #283041;
  --ink-soft: #667085;
  --mint: #3ec28f;
  --teal: #22b3b5;
  --teal-d: #149a9c;
  --sun: #ffb648;
  --coral: #ff8f6b;
  --grad: linear-gradient(90deg, #3ec28f, #22b3b5);
  --grad-d: linear-gradient(135deg, #3ec28f 0%, #22b3b5 100%);
  --grad-warm: linear-gradient(90deg, #3ec28f, #ffb648);
  --tint: #eefaf4;
  --cream: #fffaf2;
  --peach: #fff3ea;
  --line: #e7ece9;
  --radius: 20px;
  --max: 1240px;
  --shadow: 0 18px 44px rgba(40, 80, 70, .09);
  --en: "Montserrat", "Noto Sans KR", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: #fff;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.75; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 130px 0; position: relative; }
.alt { background: var(--cream); }
.tint {
  background:
    radial-gradient(circle at 8% 30%, rgba(255, 182, 72, .13), transparent 32%),
    radial-gradient(circle at 92% 75%, rgba(34, 179, 181, .12), transparent 36%),
    var(--tint);
}
.center { text-align: center; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* section titles: big English + Korean */
.sec-head { margin-bottom: 64px; }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-en {
  font-family: var(--en); font-weight: 800; letter-spacing: -.03em; line-height: 1;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem); margin: 0 0 18px; color: var(--ink);
}
.sec-en::after { content: "."; color: var(--sun); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.4; margin: 0 0 14px; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 760px; margin: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 34px; border-radius: 999px;
  font-family: var(--en); font-weight: 700; letter-spacing: .04em; font-size: .95rem;
  background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(34, 179, 181, .28);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.btn i { font-style: normal; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(34, 179, 181, .38); }
.btn:hover i { transform: translateX(5px); }
.btn.white { background: #fff; color: var(--teal-d); box-shadow: 0 12px 30px rgba(0, 0, 0, .12); }
.btn.white:hover { box-shadow: 0 18px 36px rgba(0, 0, 0, .18); }
.btn.line { background: #fff; color: var(--teal-d); border: 1.5px solid var(--teal); margin-top: 34px; box-shadow: none; }
.btn.line:hover { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------------- header ---------------- */
header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); transition: box-shadow .3s; }
header.solid { box-shadow: 0 4px 24px rgba(40, 80, 70, .1); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .3s; }
header.solid .nav { height: 70px; }
.nav .logo img { height: 44px; width: auto; }
.menu { display: flex; gap: 44px; align-items: center; font-weight: 500; color: var(--ink); font-size: 1.02rem; }
.menu a { position: relative; transition: color .2s; }
.menu-links { display: flex; gap: 44px; align-items: center; }
/* PC: main menu centered in the header, CTA stays at the right */
@media (min-width: 961px) {
  .nav { position: relative; }
  .menu-links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
}
.menu a:not(.cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 3px; border-radius: 3px; background: var(--grad-warm);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.menu a:hover, .menu a.on { color: var(--teal-d); }
.menu a:hover::after, .menu a.on::after { transform: scaleX(1); }
.menu .cta { padding: 10px 24px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .95rem; box-shadow: 0 8px 20px rgba(34, 179, 181, .28); transition: transform .2s, box-shadow .2s; }
.menu .cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(34, 179, 181, .38); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; border-radius: 8px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }
header.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.open .burger span:nth-child(2) { opacity: 0; }
header.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- hero (main) ---------------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; padding: 140px 0 150px; overflow: hidden; background: var(--teal); }
.hero-bg { position: absolute; inset: 0; background: url(../img/hero.jpg) center/cover no-repeat; animation: kenburns 18s ease-out both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 214, 120, .75), transparent 36%),
    linear-gradient(115deg, rgba(20, 154, 156, .94) 0%, rgba(34, 179, 181, .86) 38%, rgba(62, 194, 143, .84) 70%, rgba(255, 196, 92, .8) 100%);
}
.hero::after { /* soft floating bubble */
  content: ""; position: absolute; z-index: 1; right: 8%; bottom: 14%; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 70%);
  animation: float 9s ease-in-out infinite;
}
.hero-in { position: relative; z-index: 2; width: 100%; }
.kicker { font-family: var(--en); font-weight: 700; letter-spacing: .4em; font-size: .9rem; color: #fff6dc; margin: 0 0 22px; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.15; margin: 0 0 28px; letter-spacing: -.03em; font-weight: 900; text-shadow: 0 6px 30px rgba(10, 80, 80, .25); }
.hero h1 span { font-family: var(--en); color: #fff; background: linear-gradient(transparent 66%, #ffc35c 66%, #ffc35c 90%, transparent 90%); padding: 0 .08em; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.35rem); color: #fff; margin: 0 0 8px; font-weight: 500; }
.sub-en { font-family: var(--en); font-size: .98rem; color: rgba(255, 255, 255, .85); margin: 0 0 42px; }
.badges { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
.badges img { height: 66px; width: auto; filter: drop-shadow(0 8px 18px rgba(10, 80, 80, .22)); }
.dark-badges { margin-top: 40px; }
.hero-in > * { opacity: 0; animation: up 1s var(--ease) forwards; }
.hero-in > :nth-child(1) { animation-delay: .2s; }
.hero-in > :nth-child(2) { animation-delay: .4s; }
.hero-in > :nth-child(3) { animation-delay: .6s; }
.hero-in > :nth-child(4) { animation-delay: .7s; }
.hero-in > :nth-child(5) { animation-delay: .85s; }
.hero-in > :nth-child(6) { animation-delay: 1s; }
.scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff;
  font-family: var(--en); font-size: .7rem; letter-spacing: .3em;
}
.scroll i { position: relative; width: 2px; height: 64px; background: rgba(255, 255, 255, .35); overflow: hidden; border-radius: 2px; }
.scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: drip 2s ease-in-out infinite; }
@media (max-height: 820px) { .scroll { display: none; } .hero { padding-bottom: 90px; } }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes drip { to { top: 100%; } }
@keyframes float { 50% { transform: translate(-20px, -26px) scale(1.05); } }

/* side dots (main) */
.dots { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 14px; }
.dots button {
  position: relative; width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid #fff; cursor: pointer;
  background: rgba(34, 179, 181, .35); box-shadow: 0 2px 8px rgba(40, 80, 70, .2); transition: transform .25s, background .25s;
}
.dots button.on { background: var(--sun); transform: scale(1.35); }
.dots button span {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  font-family: var(--en); font-size: .75rem; font-weight: 600; color: #fff; background: var(--teal); padding: 3px 10px; border-radius: 6px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.dots button:hover span { opacity: 1; }

/* ---------------- flip cards ---------------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.flip { perspective: 1400px; height: 400px; outline: none; cursor: pointer; }
.flip-in { position: relative; width: 100%; height: 100%; transition: transform .8s var(--ease); transform-style: preserve-3d; }
@media (hover: hover) { .flip:hover .flip-in { transform: rotateY(180deg); } }
.flip:focus-visible .flip-in, .flip.on .flip-in { transform: rotateY(180deg); }
.flip:focus-visible { box-shadow: 0 0 0 3px var(--sun); border-radius: var(--radius); }
.face {
  position: absolute; inset: 0; border-radius: var(--radius); padding: 44px 38px; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; display: flex; flex-direction: column;
}
.face .no { font-family: var(--en); font-weight: 800; font-size: 1rem; letter-spacing: .1em; }
.front { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); justify-content: space-between; }
.front::before { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--peach); }
.front > * { position: relative; }
.front .no { color: var(--sun); }
.front .ic { width: 110px; height: 110px; object-fit: contain; margin: 0 auto; }
.front h3 { font-family: var(--en); font-size: 2rem; font-weight: 800; margin: 0; letter-spacing: -.02em; text-align: center; }
.front .hint { font-family: var(--en); font-size: .72rem; letter-spacing: .25em; color: var(--teal-d); text-align: center; }
.back { background: radial-gradient(circle at 100% 0%, rgba(255, 196, 100, .55), transparent 45%), var(--grad-d); color: #fff; transform: rotateY(180deg); justify-content: center; gap: 16px; }
.back .no { color: #fff6dc; }
.back h3 { font-family: var(--en); font-size: 1.9rem; font-weight: 800; margin: 0; }
.back p { margin: 0; font-size: 1.02rem; line-height: 1.85; }

/* ---------------- waves (top edge of tinted sections) ---------------- */
.waves { position: absolute; left: 0; right: 0; top: -99px; height: 100px; overflow: hidden; pointer-events: none; }
.waves svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.waves .w1 { fill: var(--tint); z-index: 1; animation: wave 14s linear infinite; }
.waves .w2 { fill: var(--sun); opacity: .28; height: 80%; animation: wave 9s linear infinite reverse; }
@keyframes wave { to { transform: translateX(-50%); } }

/* ---------------- main: about ---------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center; }
.about-grid .big { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.5; margin: 6px 0 20px; }
.blocks { display: grid; gap: 18px; }
.block {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px 32px 28px 36px;
  background: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s;
}
.block::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, #3ec28f, #ffb648); }
.block:hover { transform: translateX(-6px); box-shadow: 0 24px 50px rgba(40, 80, 70, .14); }
.block .bgimg { display: none; }
.block h3 { margin: 0 0 8px; font-family: var(--en); font-size: 1.15rem; color: var(--teal-d); }
.block ul { padding-left: 1.05rem; color: var(--ink-soft); font-size: .95rem; }
.block li { margin: 2px 0; }

/* partners marquee */
.partner-sec { overflow: hidden; background: var(--cream); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); padding: 10px 0 20px; }
.marquee-track { display: flex; width: max-content; animation: marq 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-item { width: 230px; height: 104px; margin-right: 22px; display: grid; place-items: center; background: #fff; border-radius: 18px; padding: 18px 26px; box-shadow: 0 8px 24px rgba(40, 80, 70, .07); }
.logo-item img { max-height: 56px; width: auto; filter: grayscale(.4); opacity: .85; transition: filter .3s, opacity .3s, transform .3s; }
.logo-item:hover img { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------------- sub page banner ---------------- */
.pbanner { position: relative; min-height: clamp(400px, 56vh, 560px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; padding: 150px 0 80px; }
.pbanner-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 84% 22%, rgba(255, 214, 120, .85), transparent 30%),
    radial-gradient(circle at 70% 120%, rgba(255, 143, 107, .35), transparent 40%),
    linear-gradient(115deg, #149a9c 0%, #22b3b5 40%, #3ec28f 80%);
}
.pbanner::before, .pbanner::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); animation: float 10s ease-in-out infinite; }
.pbanner::before { width: 420px; height: 420px; right: -80px; top: -60px; }
.pbanner::after { width: 220px; height: 220px; right: 22%; bottom: -90px; background: rgba(255, 255, 255, .08); animation-delay: -4s; }
.pbanner .wrap { position: relative; z-index: 1; width: 100%; }
.pbanner .wrap > * { opacity: 0; animation: up 1s var(--ease) forwards; }
.pbanner .wrap > :nth-child(2) { animation-delay: .15s; }
.pbanner .wrap > :nth-child(3) { animation-delay: .3s; }
.pbanner .wrap > :nth-child(4) { animation-delay: .45s; }
.crumb { font-family: var(--en); font-size: .8rem; letter-spacing: .15em; color: rgba(255, 255, 255, .85); margin: 0 0 18px; }
.crumb span { margin: 0 10px; opacity: .6; }
.crumb a:hover { color: #fff; }
.pb-en { font-family: var(--en); font-weight: 800; font-size: clamp(3rem, 9vw, 7.5rem); line-height: .95; letter-spacing: -.04em; margin: 0; text-shadow: 0 8px 30px rgba(10, 80, 80, .2); }
.pb-en::after { content: "."; color: var(--sun); }
.pbanner h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 18px 0 10px; font-weight: 700; }
.pb-desc { color: rgba(255, 255, 255, .92); max-width: 700px; margin: 0; font-family: var(--en); font-size: .98rem; }
.subnav { position: sticky; top: 70px; z-index: 30; background: #fff; box-shadow: 0 6px 20px rgba(40, 80, 70, .06); }
.subnav .wrap { display: flex; }
.subnav a { flex: 0 0 auto; padding: 20px 34px; font-weight: 500; color: var(--ink-soft); position: relative; transition: color .2s; }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-warm); transform: scaleX(0); transition: transform .3s var(--ease); }
.subnav a:hover, .subnav a.on { color: var(--teal-d); }
.subnav a.on { font-weight: 700; }
.subnav a.on::after, .subnav a:hover::after { transform: scaleX(1); }

/* ---------------- about page ---------------- */
.statement { padding: 150px 0 190px; background: radial-gradient(circle at 50% 0%, var(--peach), #fff 60%); }
.state-tit { font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.35; font-weight: 900; letter-spacing: -.03em; margin: 10px 0 26px; }
.center-lead { margin: 0 auto; }
.about-intro { padding-top: 110px; }
.svc3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc3 .item, .biz4 .item, .biz3 .item {
  position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 42px 34px; transition: transform .35s var(--ease), box-shadow .3s; overflow: hidden;
}
.svc3 .item::before, .biz4 .item::before, .biz3 .item::before { content: ""; position: absolute; left: 0; top: 0; height: 5px; width: 100%; background: var(--grad-warm); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc3 .item:hover, .biz4 .item:hover, .biz3 .item:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(40, 80, 70, .15); }
.svc3 .item:hover::before, .biz4 .item:hover::before, .biz3 .item:hover::before { transform: scaleX(1); }
.no { font-family: var(--en); font-weight: 800; }
.svc3 .no, .biz4 .no, .biz3 .no { position: absolute; right: 26px; top: 18px; font-size: 3.4rem; color: #ffe6cf; line-height: 1; }
.svc3 .item img { width: 96px; height: auto; margin-bottom: 22px; }
.svc3 h3 { margin: 0 0 12px; font-family: var(--en); font-size: 1.35rem; }
.svc3 h3 small { display: block; font-size: .85rem; color: var(--ink-soft); font-weight: 500; }
.svc3 ul, .biz4 ul, .biz3 ul { padding-left: 1.05rem; color: var(--ink-soft); }
.svc3 li, .biz4 li, .biz3 li { margin: 4px 0; }
.svc3 .mail { margin-top: 16px; color: var(--teal-d); font-weight: 700; font-family: var(--en); }
.team-sec { background: var(--cream); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team .person { position: relative; background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.team .person::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--tint); transition: transform .4s var(--ease); }
.team .person:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(40, 80, 70, .14); }
.team .person:hover::after { transform: scale(1.5); }
.team .person > * { position: relative; z-index: 1; }
.team .role { font-size: .85rem; font-weight: 700; color: var(--coral); font-family: var(--en); }
.team .name { font-family: var(--en); font-size: 1.3rem; font-weight: 800; margin: 6px 0 8px; }
.team .mail { color: var(--ink-soft); font-size: .95rem; }
.info-box {
  margin: 56px 0 0; display: grid; grid-template-columns: 160px 1fr; gap: 14px 24px; color: #fff; border-radius: var(--radius); padding: 40px 44px;
  background: radial-gradient(circle at 95% 10%, rgba(255, 214, 120, .6), transparent 35%), var(--grad-d); box-shadow: 0 20px 44px rgba(34, 179, 181, .25);
}
.info-box dt { font-weight: 800; color: #fff6dc; }
.info-box dd { margin: 0; }

/* ---------------- business page ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split .photo { position: relative; z-index: 0; }
.split .photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius); background: var(--grad-warm); opacity: .35; z-index: -1; }
.split .photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.biz4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.biz4 h3 { margin: 0 0 14px; font-family: var(--en); font-size: 1.4rem; color: var(--teal-d); }
.biz3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.biz3 h3 { margin: 0 0 14px; padding-right: 78px; font-family: var(--en); font-size: 1.3rem; color: var(--teal-d); }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 56px; }
.logo-row .logo-item { margin-right: 0; }
.consult { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.check { list-style: none; margin-top: 24px; }
.check li { position: relative; padding: 12px 0 12px 36px; border-bottom: 1px dashed var(--line); font-size: 1.02rem; }
.check li::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--grad); }
.check li::after { content: ""; position: absolute; left: 8px; top: 50%; width: 5px; height: 9px; margin-top: -6px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.illust { max-width: 380px; margin: 0 auto; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.sol-table { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; }
.sol-table th, .sol-table td { padding: 16px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sol-table th { width: 170px; background: var(--tint); color: var(--teal-d); font-family: var(--en); border-right: 1px solid var(--line); }
.sol-table td.k { width: 230px; font-weight: 700; color: var(--ink); }
.sol-table tr:hover td { background: var(--cream); }

/* ---------------- support page ---------------- */
.support4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.support4 .item {
  position: relative; text-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 46px 24px 40px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .3s;
}
.support4 .item::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: var(--grad-warm); transform: scaleX(0); transition: transform .45s var(--ease); }
.support4 .item:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(40, 80, 70, .15); }
.support4 .item:hover::after { transform: scaleX(1); }
.support4 .no { position: absolute; left: 22px; top: 16px; color: var(--sun); font-size: .9rem; }
.support4 img { width: 100px; margin: 0 auto 20px; transition: transform .4s var(--ease); }
.support4 .item:hover img { transform: scale(1.08) rotate(-4deg); }
.support4 h3 { margin: 0 0 8px; font-family: var(--en); font-size: 1.3rem; }
.support4 p { margin: 0; color: var(--ink-soft); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 0; top: 25px; height: 3px; border-radius: 3px; }
.timeline::before { right: 0; background: rgba(34, 179, 181, .18); }
.timeline::after { width: 0; background: var(--grad-warm); transition: width 2s var(--ease) .3s; }
.timeline.in::after, html:not(.js) .timeline::after { width: 100%; }
.tl-item { position: relative; padding-right: 8px; }
.tl-dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 22px;
  background: #fff; border: 3px solid var(--teal); font-family: var(--en); font-weight: 800; color: var(--teal-d);
  box-shadow: 0 8px 18px rgba(34, 179, 181, .2); transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.tl-item:hover .tl-dot { background: var(--sun); border-color: var(--sun); color: #fff; transform: scale(1.1); }
.tl-item h3 { font-family: var(--en); color: var(--ink); font-size: 1.02rem; letter-spacing: .06em; margin: 0 0 10px; }
.tl-item p { margin: 0; color: var(--ink-soft); font-size: .93rem; }

/* ---------------- contact ---------------- */
.contact-sec { background: linear-gradient(180deg, #fff 0%, var(--peach) 100%); }
.contact { display: grid; grid-template-columns: 1fr 1.3fr; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(40, 80, 70, .12); }
.contact-info {
  color: #fff; padding: 60px 50px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 214, 120, .7), transparent 40%), radial-gradient(circle at 0% 100%, rgba(255, 255, 255, .18), transparent 45%), var(--grad-d);
}
.contact-info .sec-en { color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.contact-info .sec-en::after { color: #fff6dc; }
.contact-info .lead { color: rgba(255, 255, 255, .92); }
.contact-info dl { margin: 40px 0 0; display: grid; grid-template-columns: 70px 1fr; gap: 14px 14px; }
.contact-info dt { font-weight: 800; color: #fff6dc; font-family: var(--en); }
.contact-info dd { margin: 0; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 60px 50px; align-content: start; }
label { display: grid; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
input, textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfdfc; color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
input:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(34, 179, 181, .12); }
.full { grid-column: 1 / -1; }
textarea { min-height: 130px; resize: vertical; }
.agree { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.agree input { width: 18px; height: 18px; accent-color: var(--teal); }
button[type=submit] {
  font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 16px; cursor: pointer;
  background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(34, 179, 181, .28); transition: transform .2s, box-shadow .2s;
}
button[type=submit]:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(34, 179, 181, .38); }
.notice { display: none; padding: 14px; border-radius: 12px; background: #e6fcf5; color: #087f5b; font-weight: 600; }

/* ---------------- footer ---------------- */
footer { position: relative; background: #f5f2ec; color: var(--ink-soft); padding: 70px 0 50px; font-size: .9rem; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-warm); }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
footer .flogo { height: 42px; width: auto; margin-bottom: 18px; }
footer p { margin: 3px 0; }
footer .links a { margin-left: 22px; color: var(--ink); font-weight: 500; }
footer .links a:hover { color: var(--teal-d); }
footer .copy { margin-top: 34px; padding-top: 24px; border-top: 1px solid #e6e0d6; font-family: var(--en); font-size: .8rem; }
.totop {
  position: fixed; right: 26px; bottom: 26px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad-warm); color: #fff; font-family: var(--en); font-weight: 700; font-size: .72rem; letter-spacing: .08em;
  box-shadow: 0 10px 24px rgba(255, 182, 72, .4); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.totop.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------------- scroll reveal ---------------- */
.js .reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .dots { display: none; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .timeline::before, .timeline::after { display: none; }
}
@media (max-width: 960px) {
  section { padding: 96px 0; }
  .nav, header.solid .nav { height: 66px; }
  .nav .logo img { height: 36px; }
  .burger { display: block; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 24px 24px; max-height: 0; overflow: hidden; visibility: hidden; box-shadow: 0 16px 30px rgba(40, 80, 70, .12);
    transition: max-height .4s var(--ease), visibility .4s;
  }
  header.open .menu { max-height: 400px; visibility: visible; }
  .menu-links { flex-direction: column; align-items: stretch; gap: 0; }
  .menu a { padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .menu a::after { display: none; }
  .menu .cta { margin-top: 18px; text-align: center; border-bottom: 0; }
  .grid3, .about-grid, .svc3, .split, .consult, .contact { grid-template-columns: 1fr; }
  .about-grid, .split, .consult { gap: 50px; }
  .team, .support4 { grid-template-columns: repeat(2, 1fr); }
  .biz4, .biz3 { grid-template-columns: 1fr; }
  .flip { height: 360px; }
  .subnav { top: 66px; }
  .subnav a { padding: 16px 20px; }
  .statement { padding: 100px 0 140px; }
  .contact-info, form { padding: 44px 30px; }
  .waves { height: 60px; top: -59px; }
  .hero::after { width: 220px; height: 220px; }
  .split .photo::before { inset: 14px -10px -14px 14px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 80px 0; }
  .sec-head { margin-bottom: 44px; }
  form, .team, .support4 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; row-gap: 32px; }
  .tl-item { padding-left: 70px; }
  .tl-dot { position: absolute; left: 0; top: 0; margin: 0; }
  .info-box { grid-template-columns: 1fr; gap: 4px; padding: 30px 26px; }
  .info-box dd { margin-bottom: 12px; }
  .badges img { height: 52px; }
  .logo-item { width: 170px; height: 84px; }
  .contact-info, form { padding: 36px 22px; }
  .totop { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .subnav a { flex: 1; text-align: center; padding: 14px 6px; }
  .pbanner::before { width: 260px; height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-in > *, .pbanner .wrap > * { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* contact form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notice.err { background: #fff0f0; color: #c92a2a; }
button:disabled { opacity: .6; cursor: wait; }

/* business: odd number of cards -> last card spans both columns */
.biz4 .item:last-child:nth-child(odd) { grid-column: 1 / -1; }
