/* ===== S.S. Electric & Automation — Clean Professional (Light) ===== */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600;700&family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand greens */
  --green: #1f9d55;
  --green-dark: #157347;
  --green-deep: #0d3a26;
  --green-50: #eaf6ef;
  --green-100: #d6efe0;

  /* Neutrals */
  --ink: #16241d;          /* primary text */
  --ink-2: #5a6b63;        /* secondary text */
  --bg: #ffffff;
  --bg-soft: #f5f8f6;      /* alt section bg */
  --bg-soft-2: #eef3f0;
  --border: #e4eae6;
  --white: #ffffff;

  --shadow-sm: 0 1px 3px rgba(16,40,28,.06), 0 1px 2px rgba(16,40,28,.04);
  --shadow-md: 0 8px 24px rgba(16,40,28,.08);
  --shadow-lg: 0 18px 50px rgba(16,40,28,.12);

  --font-display: 'Prompt', sans-serif;
  --font-body: 'Sarabun', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #c8d4cd; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* ===== UTILITIES ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media(min-width:640px) { .container { padding: 0 1.5rem; } }
@media(min-width:1024px) { .container { padding: 0 2rem; } }

.text-primary { color: var(--green); }
.text-sec { color: var(--ink-2); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--green); color: #fff;
  padding: 0.8rem 1.5rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  border: none; transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 6px 16px rgba(31,157,85,.28);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,157,85,.34); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: transparent; color: var(--ink);
  padding: 0.8rem 1.5rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid var(--border); transition: all .2s;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: #fff; color: var(--green-dark);
  padding: 0.8rem 1.5rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  border: none; transition: all .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: 0.4rem 0.9rem; background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 999px; color: var(--green-dark);
  font-family: var(--font-display); font-weight: 500; font-size: 0.8rem;
  letter-spacing: .02em;
}
.badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}

.tag {
  display: inline-block; padding: 0.3rem 0.7rem;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 999px; color: var(--ink-2); font-size: 0.78rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim { opacity: 0; }
.anim.visible { animation: fadeUp .6s cubic-bezier(.2,.7,.3,1) forwards; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s, background .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.98); }
.navbar .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 1rem;
}
.navbar .logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.navbar .logo-box {
  height: 52px; width: auto; border-radius: 8px; object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500;
  font-size: 0.92rem; color: var(--ink-2); transition: color .2s;
  position: relative; padding: 0.25rem 0;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--green); border-radius: 2px;
}
/* "NEW" badge for menu items pointing to new products */
.nav-new-badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.12rem 0.45rem;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  border-radius: 999px;
  vertical-align: middle;
  line-height: 1.4;
  animation: navNewPulse 2s ease-in-out infinite;
}
@keyframes navNewPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.45); }
  50%      { box-shadow: 0 0 0 6px rgba(31, 157, 85, 0); }
}
.nav-cta { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Language switch */
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang-btn {
  background: transparent; border: none; padding: 0.35rem 0.65rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; line-height: 1;
}
.lang-btn.active { background: var(--green); color: #fff; }
.lang-btn:not(.active):hover { color: var(--green); }
.mobile-menu .lang-switch { width: fit-content; margin-top: 0.5rem; }

.hamburger {
  display: none; background: none; border: none; color: var(--ink);
  font-size: 1.6rem; padding: 0.25rem; line-height: 1;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 0.25rem;
  padding: 0.75rem 1.25rem 1.25rem; background: #fff;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a {
  font-family: var(--font-display); font-weight: 500;
  color: var(--ink-2); padding: 0.7rem 0; border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--green); }
.mobile-menu.open { display: flex; }

@media(max-width:880px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
}

/* ===== FACEBOOK-STYLE COVER ===== */
.cover {
  padding: 96px 0 0;
  background: linear-gradient(180deg, #ffffff, var(--bg-soft));
}
.cover-banner {
  overflow: hidden; line-height: 0; box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--radius) var(--radius);
  background: #0a3a7a;
}
@media(min-width:1024px) { .cover-banner { border-radius: var(--radius); } }
.cover-banner img { width: 100%; height: auto; display: block; }

.cover-bar {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: 1.1rem; position: relative; padding: 0 0.25rem; flex-wrap: wrap;
}
@media(min-width:768px) { .cover-bar { padding: 0 0.75rem; } }
.cover-avatar {
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 0.55rem 0.9rem; flex-shrink: 0; border: 1px solid var(--border);
}
.cover-avatar img { height: 46px; width: auto; display: block; }
@media(min-width:768px) { .cover-avatar img { height: 58px; } }
.cover-meta { flex: 1 1 240px; padding-bottom: 0.2rem; }
.cover-meta h1 { font-size: 1.45rem; font-weight: 700; line-height: 1.2; }
@media(min-width:640px) { .cover-meta h1 { font-size: 1.9rem; } }
.cover-meta .ctag { color: var(--ink-2); font-size: 0.95rem; margin-top: 0.25rem; }
.cover-meta .cstats { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 0.5rem; color: var(--ink-2); font-size: 0.85rem; }
.cover-meta .cstats b { color: var(--green-dark); font-family: var(--font-display); }
.cover-actions { display: flex; gap: 0.6rem; padding-bottom: 0.35rem; flex-wrap: wrap; }
@media(max-width:560px) {
  .cover-bar { align-items: stretch; }
  .cover-actions { width: 100%; }
  .cover-actions a { flex: 1; }
}

/* ===== FULL-SCREEN VIDEO HERO (intro) ===== */
.vhero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; color: #fff;
  padding: 96px 1.25rem 3rem;
}
.vhero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
  opacity: 0; transition: opacity .8s ease;
}
.vhero-video.is-active { opacity: 1; }
.vhero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,32,21,.5), rgba(8,32,21,.62) 55%, rgba(8,24,16,.78));
}
.vhero-content { position: relative; z-index: 2; max-width: 940px; margin: 0 auto; }
.vhero .badge { margin-bottom: 1.25rem; }
.vhero h1 {
  color: #fff; font-weight: 700; line-height: 1.18;
  font-size: clamp(1.9rem, 4.8vw, 3.5rem);
  text-shadow: 0 2px 28px rgba(0,0,0,.4);
}
.vhero h1 .text-primary { color: #6ee7a3; }
.vhero p {
  color: rgba(255,255,255,.94); margin: 1.2rem auto 2rem; max-width: 900px;
  font-size: clamp(1rem, 1.7vw, 1.2rem); text-shadow: 0 1px 14px rgba(0,0,0,.35);
}
.vhero-btns { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.badge-light { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.32); color: #fff; }
.badge-light::before { background: #6ee7a3; }

.btn-outline-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: rgba(255,255,255,.08); color: #fff;
  padding: 0.8rem 1.5rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,.6); transition: all .2s; backdrop-filter: blur(4px);
}
.btn-outline-light:hover { background: #fff; color: var(--green-dark); border-color: #fff; }

.vhero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  z-index: 2; color: #fff; opacity: .85; animation: vbounce 2s infinite;
}
.vhero-scroll svg { width: 30px; height: 30px; }
@keyframes vbounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 9px); } }

.vhero-logo {
  position: absolute; right: 1.5rem; bottom: 1.5rem; z-index: 2;
  width: 124px; height: auto; border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
@media(max-width:640px) { .vhero-logo { width: 88px; right: 1rem; bottom: 1rem; } }

/* sound toggle on the hero cover */
.vhero-sound {
  position: absolute; left: 1.5rem; bottom: 1.6rem; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.95rem; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,.5); cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  backdrop-filter: blur(6px); transition: all .2s;
}
.vhero-sound:hover { background: #fff; color: var(--green-dark); border-color: #fff; }
.vhero-sound .snd-icon { font-size: 1rem; line-height: 1; }
.vhero-sound:not(.on) { animation: sndpulse 2.4s ease-in-out infinite; }
.vhero-sound.on .snd-label { display: none; }
@keyframes sndpulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(110,231,163,.55); }
  50%     { box-shadow: 0 0 0 9px rgba(110,231,163,0); }
}
@media(max-width:640px) {
  .vhero-sound { left: 1rem; bottom: 1rem; padding: 0.5rem 0.7rem; }
  .vhero-sound .snd-label { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 130px 0 4.5rem;
  background:
    radial-gradient(1100px 500px at 85% -10%, var(--green-50), transparent 70%),
    linear-gradient(180deg, #fbfdfc, #ffffff);
}
.hero .grid {
  display: grid; gap: 3rem; align-items: center;
}
@media(min-width:980px) { .hero .grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; } }

.hero h1 {
  font-size: 2.2rem; font-weight: 700; margin: 1.25rem 0 1.25rem;
  line-height: 1.18;
}
@media(min-width:640px) { .hero h1 { font-size: 2.9rem; } }
@media(min-width:1024px) { .hero h1 { font-size: 3.4rem; } }
.hero h1 .text-primary { position: relative; }

.hero .desc {
  color: var(--ink-2); font-size: 1.08rem; margin-bottom: 2rem;
  max-width: 520px; font-weight: 400;
}
.hero .btns { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.25rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 2rem; }
.hero-trust .t-item { }
.hero-trust .t-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.6rem; color: var(--ink); line-height: 1;
}
.hero-trust .t-label { color: var(--ink-2); font-size: 0.85rem; margin-top: .25rem; }

/* Hero visual — featured real photo */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--bg-soft);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,58,38,.55));
}
.hero-accent {
  position: absolute; z-index: -1; border-radius: 28px;
  inset: 24px -24px -24px 24px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  opacity: .12;
}
.hero-float {
  position: absolute; bottom: 1.1rem; left: 1.1rem; right: 1.1rem;
  background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
  border-radius: 14px; padding: 0.85rem 1rem;
  display: flex; align-items: center; gap: 0.85rem;
  box-shadow: var(--shadow-md);
}
.hero-float .icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--green-50); display: flex; align-items: center; justify-content: center;
}
.hero-float .icon svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-float .ft-title { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.hero-float .ft-sub { color: var(--ink-2); font-size: .8rem; }

/* ===== TRUST / LOGOS STRIP ===== */
.brands {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-soft); padding: 1.5rem 0;
}
.brands .label { text-align: center; color: var(--ink-2); font-size: .82rem; margin-bottom: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.brands-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 2.5rem;
}
.brands-row span {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: #9aa8a0; letter-spacing: .02em;
}

/* ===== SECTION COMMON ===== */
.section { padding: 5rem 0; }
@media(min-width:1024px) { .section { padding: 6rem 0; } }
.section.soft { background: var(--bg-soft); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.25rem; }
.section-header .badge { margin-bottom: 1rem; }
.section-header h2 { font-size: 1.85rem; font-weight: 700; margin-bottom: 0.9rem; }
@media(min-width:640px) { .section-header h2 { font-size: 2.4rem; } }
.section-header p { color: var(--ink-2); font-size: 1.02rem; }

/* ===== STATS ===== */
.stats { background: var(--green-deep); padding: 3rem 0; position: relative; overflow: hidden; }
.stats::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 20% 0%, rgba(31,157,85,.35), transparent 70%);
}
.stats .grid {
  position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
  text-align: center;
}
@media(min-width:768px) { .stats .grid { grid-template-columns: repeat(4, 1fr); } }
.stat-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.4rem; color: #fff; margin-bottom: 0.25rem; line-height: 1;
}
@media(min-width:640px) { .stat-value { font-size: 2.9rem; } }
.stat-label { color: #b9d4c4; font-size: 0.9rem; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
}
@media(min-width:640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.service-card:hover {
  border-color: var(--green-100); box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.service-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--green-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; transition: background .25s;
}
.service-card:hover .service-icon { background: var(--green); }
.service-icon svg { width: 26px; height: 26px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.service-card:hover .service-icon svg { stroke: #fff; }
.service-card h3 { font-size: 1.12rem; font-weight: 600; color: var(--ink); margin-bottom: 0.2rem; }
.service-card .sub { color: var(--green); font-size: 0.8rem; font-weight: 500; margin-bottom: 0.75rem; }
.service-card p { color: var(--ink-2); font-size: 0.9rem; }

/* service card with image thumbnail (projects page) */
.service-card .card-thumb {
  margin: -1.75rem -1.75rem 1.25rem; height: 170px; overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0; position: relative; background: var(--bg-soft);
}
.service-card .card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .card-thumb img { transform: scale(1.06); }
.service-card .card-thumb .pill {
  position: absolute; top: .8rem; left: .8rem;
  background: rgba(255,255,255,.92); color: var(--green-dark);
  font-family: var(--font-display); font-weight: 600; font-size: .72rem;
  padding: .3rem .7rem; border-radius: 999px;
}

.service-card .project-link { margin-top: auto; padding-top: 1rem; }

/* ===== FEATURED WORK (real photos) ===== */
.work-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media(min-width:768px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:1024px) { .work-grid { grid-template-columns: repeat(4, 1fr); } }
.work-grid .feature { grid-column: span 2; grid-row: span 2; }

.work-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 1; background: var(--bg-soft); box-shadow: var(--shadow-sm);
  display: block;
}
.work-grid .feature.work-card { aspect-ratio: auto; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(13,58,38,.78));
  opacity: .85; transition: opacity .3s;
}
.work-card:hover img { transform: scale(1.07); }
.work-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 1rem; color: #fff;
}
.work-card .cap .ct { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.work-card .cap .cs { font-size: .78rem; color: #cfe4d8; }

/* ===== AWARDS ===== */
.awards-grid { display: grid; gap: 1.5rem; max-width: 860px; margin: 0 auto; }
@media(min-width:768px) { .awards-grid { grid-template-columns: repeat(2, 1fr); } }
.award-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.award-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.award-card img { border-radius: 10px; }
.award-card h3 { font-size: 1.05rem; font-weight: 600; }
.award-card .sub { color: var(--green); font-size: 0.82rem; font-weight: 500; margin-bottom: 0.5rem; }
.award-card p { color: var(--ink-2); font-size: 0.88rem; }

/* ===== ABOUT ===== */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media(min-width:1024px) { .about-grid { grid-template-columns: 1.1fr 0.9fr; } }
.about-grid h2 { font-size: 1.85rem; font-weight: 700; margin-bottom: 1.25rem; }
@media(min-width:640px){ .about-grid h2 { font-size: 2.2rem; } }
.about-list { display: grid; gap: 0.7rem; margin-top: 1.5rem; }
@media(min-width:560px){ .about-list { grid-template-columns: 1fr 1fr; } }
.about-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  color: var(--ink); font-size: 0.92rem;
}
.about-list li::before {
  content: ''; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231f9d55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.about-info {
  background: var(--green-deep); border-radius: var(--radius);
  padding: 2rem; color: #fff; box-shadow: var(--shadow-md);
}
.about-info h3 { color: #fff; font-size: 1.15rem; margin-bottom: 1.5rem; }
.info-item { padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-item:last-child { border-bottom: none; }
.info-item .label { font-size: 0.72rem; color: #9fc3b1; text-transform: uppercase; letter-spacing: 0.08em; }
.info-item .value { color: #fff; font-weight: 600; font-family: var(--font-display); margin-top: .15rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media(min-width:768px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 1.5rem; text-align: center;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--green-100); }
.contact-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1rem;
  background: var(--green-50); display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; }
.contact-card p { color: var(--ink-2); font-size: 0.9rem; }
.contact-cta { text-align: center; margin-top: 3rem; }

/* LINE QR */
.line-qr {
  display: flex; align-items: center; justify-content: center; gap: 1.75rem; flex-wrap: wrap;
  max-width: 540px; margin: 2.5rem auto 0; padding: 1.75rem 2rem;
  background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius);
}
.line-qr img {
  width: 150px; height: 150px; flex-shrink: 0;
  background: #fff; padding: 7px; border-radius: 10px; box-shadow: var(--shadow-md);
}
.line-qr-text { text-align: left; }
.line-qr-text h3 { font-size: 1.1rem; font-weight: 600; color: var(--green-dark); margin-bottom: 0.4rem; }
.line-qr-text p { color: var(--ink-2); font-size: 0.92rem; }
.line-qr-text .line-id {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  color: var(--green-dark); margin-top: 0.2rem; letter-spacing: 0.5px;
}
@media(max-width:520px){ .line-qr { flex-direction: column; text-align: center; gap: 1rem; } .line-qr-text { text-align: center; } }

/* ===== MAP / LOCATION ===== */
.map-section { margin-top: 2.5rem; }
.map-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: var(--green-deep);
}
.map-wrap::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 0 70px rgba(13,58,38,.32);
}
.map-frame { display: block; width: 100%; height: 460px; border: 0; filter: saturate(1.05) contrast(1.02); }
.map-card {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; max-width: 340px;
  padding: 1.25rem 1.4rem; border-radius: 14px;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.6); box-shadow: 0 12px 40px rgba(13,58,38,.28);
}
.map-eyebrow {
  display: inline-block; font-family: var(--font-display);
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-dark); padding: .25rem .7rem; margin-bottom: .6rem;
  background: var(--green-50); border: 1px solid var(--green-100); border-radius: 999px;
}
.map-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; line-height: 1.3; }
.map-card p { font-size: .85rem; color: var(--ink-2); margin-bottom: .9rem; }
.map-btn {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--green); color: #fff;
  font-family: var(--font-display); font-weight: 500; font-size: .92rem;
  padding: .6rem 1.25rem; border-radius: 999px; box-shadow: 0 6px 18px rgba(31,157,85,.4);
  transition: background .25s, transform .25s, box-shadow .25s;
}
.map-btn svg { width: 17px; height: 17px; }
.map-btn:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(31,157,85,.5); }
@media(max-width:560px){
  .map-frame { height: 380px; }
  .map-card { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 1rem 1.1rem; }
}

/* ===== FOOTER ===== */
.footer { background: var(--green-deep); color: #cfe0d7; padding: 4rem 0 0; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; }
@media(min-width:768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; } }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; font-weight: 600; }
.footer p { font-size: 0.9rem; color: #a9c4b7; }
.footer .brand-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer .brand-row img { height: 40px; width: auto; border-radius: 10px; background: #fff; padding: 6px 10px; box-shadow: var(--shadow-sm); }
.footer .brand-row span { font-family: var(--font-display); font-weight: 600; color: #fff; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: #a9c4b7; font-size: 0.9rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  color: #a9c4b7; font-size: 0.9rem; margin-bottom: 0.85rem;
}
.footer-contact svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 0; padding: 1.5rem 0;
  text-align: center; color: #8fae9f; font-size: 0.82rem;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  padding: 8rem 0 3.5rem; margin-top: 0;
  background:
    radial-gradient(900px 400px at 80% -20%, var(--green-50), transparent 70%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border); text-align: center;
}
.page-header .badge { margin-bottom: 1rem; }
.page-header h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; }
@media(min-width:640px) { .page-header h1 { font-size: 2.9rem; } }
.page-header p { color: var(--ink-2); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* ===== FILTER BAR ===== */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-bottom: 3rem; }
.filter-btn {
  padding: 0.55rem 1.3rem; border-radius: 999px; font-size: 0.9rem;
  font-family: var(--font-display); font-weight: 500;
  background: #fff; border: 1px solid var(--border);
  color: var(--ink-2); transition: all .2s;
}
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.active { background: var(--green); color: #fff; border-color: var(--green); }

.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink-2); font-size: 0.9rem; font-family: var(--font-display); font-weight: 500;
  margin-bottom: 1.5rem; transition: color .2s;
}
.back-link:hover { color: var(--green); }
.back-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.project-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--green); font-size: 0.9rem; font-weight: 600;
  font-family: var(--font-display); transition: gap .2s;
}
.project-link:hover { gap: 0.7rem; color: var(--green-dark); }
.project-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== GALLERY (project.html) ===== */
.gallery-masonry { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media(min-width:640px) { .gallery-masonry { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .gallery-masonry { grid-template-columns: repeat(3, 1fr); } }
.gallery-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: box-shadow .25s, transform .25s;
}
.gallery-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.gallery-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; display: block; }
.gallery-placeholder {
  aspect-ratio: 4/3; background: var(--bg-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
}
.gallery-placeholder svg { stroke: #b8c8bf; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gallery-placeholder span { color: var(--ink-2); font-size: 0.82rem; }
.gallery-caption {
  padding: 0.9rem 1.1rem; font-size: 0.9rem; color: var(--ink);
  font-family: var(--font-display); font-weight: 500; border-top: 1px solid var(--border);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(13,30,22,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(255,255,255,.15);
  border: none; color: #fff; font-size: 1.6rem; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ===== VIDEOS ===== */
.videos-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width:640px) { .videos-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .videos-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.video-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-card .vtitle {
  padding: 0.9rem 1.1rem; font-family: var(--font-display); font-weight: 500;
  color: var(--ink); font-size: 0.95rem;
}

/* ===== VIDEO SHOWCASE (autoplay loop b-roll) ===== */
.vshow-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media(min-width:640px) { .vshow-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .vshow-grid { grid-template-columns: repeat(3, 1fr); } }
.vshow-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; background: #0d1e16; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.vshow-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.vshow-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vshow-card .vlabel {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 1.5rem 1.1rem 0.95rem; color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  background: linear-gradient(transparent, rgba(8,32,21,.82));
}
.vshow-card .vlabel span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.8rem; color: #c7e0d3; }
.vshow-card::after {
  content: ''; position: absolute; top: 0.55rem; right: 0.55rem; z-index: 2;
  width: 52px; height: 24px;
  background: url("images/sse-logo.jpg") center/contain no-repeat #fff;
  border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  border-radius: var(--radius); padding: 3rem 2rem; text-align: center; color: #fff;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; font-size: 1.7rem; font-weight: 700; margin-bottom: 0.75rem; }
.cta-band p { color: #d6efe0; margin-bottom: 1.75rem; max-width: 560px; margin-left: auto; margin-right: auto; }
