:root {
  --primary: #2a7d6f;
  --primary-dark: #1e6058;
  --accent: #f4a635;
  --text: #2c2c2c;
  --text-light: #666;
  --bg: #fff;
  --bg-soft: #f7faf9;
  --border: #e0e0e0;
  --radius: 10px;
  --body-font-size: 20px;
  --body-helper-font-size: calc(var(--body-font-size) * 0.9);
  --body-ui-font-size: var(--body-font-size);
}

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

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: var(--body-font-size);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

section p,
section li,
.page-intro,
.page-intro p,
.section-sub,
.check-list li,
.contact-detail strong,
.contact-detail span,
.faq-a {
  font-size: var(--body-font-size) !important;
}

/* ── NAV ── */
header {
  background: #fff;
  position: sticky; top: 0; z-index: 100;
}
nav {
  max-width: 1100px; margin: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.logo img { height: 59px; width: auto; object-fit: contain; display: block; }
.logo span {
  color: var(--primary-dark);
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

nav ul { list-style: none; display: flex; gap: 32px; }
nav a {
  text-decoration: none; color: var(--text);
  font-weight: 500; font-size: var(--body-font-size); transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--primary); }

.home-page {
  --svc-container: 1280px;
  --svc-gutter: 64px;
}
.home-page nav {
  width: min(calc(100% - var(--svc-gutter)), var(--svc-container));
  max-width: var(--svc-container);
  padding-left: 0;
  padding-right: 0;
}

.join-link {
  color: var(--accent) !important; font-weight: 600 !important;
}
.join-link:hover { color: #c4841f !important; }

.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 9px 22px; border-radius: 25px;
  font-weight: 600 !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }

.hamburger {
  display: none; background: none; border: none;
  font-size: 1.4rem; cursor: pointer; color: var(--text);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #e8f5f2 0%, #fff8ee 100%);
  padding: 90px 24px;
  text-align: center;
}
.hero-inner { max-width: 800px; margin: auto; }
.hero-badge {
  display: inline-block; background: #e0f0ec; color: var(--primary);
  padding: 5px 16px; border-radius: 20px; font-size: 0.85rem;
  font-weight: 600; margin-bottom: 20px; letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800;
  color: var(--text); margin-bottom: 18px; line-height: 1.2;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 1.1rem; color: var(--text-light);
  max-width: 600px; margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary); color: #fff;
  padding: 14px 32px; border-radius: 30px;
  text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary); padding: 12px 30px;
  border-radius: 30px; text-decoration: none; font-weight: 600;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--primary); color: #fff; }

.hero-stats {
  display: flex; justify-content: center; gap: 48px;
  margin-top: 60px; flex-wrap: wrap;
}
.stat-num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: var(--text-light); margin-top: 2px; }

.home-hero {
  padding: 0;
  background: none;
}
.home-hero img {
  width: 100%;
  height: auto;
  object-position: center;
  display: block;
}
.home-split {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.home-split-media {
  overflow: hidden;
  min-height: 480px;
}
.home-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-split-content {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-cta {
  background: var(--primary);
  text-align: center;
  padding: 60px 24px;
}
.home-cta h2 {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.home-cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}
.home-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.home-cta-primary {
  background: #fff;
  color: var(--primary);
}
.home-cta-secondary {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* ── HOME MISSION / VISION ── */
.mission-vision-section {
  background: var(--bg-soft);
  padding: 0;
}
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mission-vision-card {
  padding: 64px 48px;
  text-align: center;
}
.mission-card {
  border-right: 1px solid var(--border);
}
.section-rule {
  display: inline-block;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.section-rule-primary { background: var(--primary); }
.section-rule-accent { background: var(--accent); }
.mission-vision-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}
.mission-vision-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}
.mission-note {
  margin-top: 20px;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 0.9rem !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ── SECTIONS ── */
section { padding: 80px 24px; }
.section-inner { max-width: 1100px; margin: auto; }
/* Shared intro block — matches section-inner width so text aligns with content below */
.page-intro {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.page-intro p { color: var(--text-light); font-size: 1.02rem; line-height: 1.8; }
.section-label {
  text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 0.8rem; color: var(--primary); font-weight: 700; margin-bottom: 10px;
  text-align: center;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800;
  color: var(--text); margin-bottom: 14px;
  text-align: center;
}
.section-sub {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ── SERVICES ── */
.services-bg { background: var(--bg-soft); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px; margin-top: 48px;
}
.service-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 28px; box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.service-icon {
  width: 54px; height: 54px; background: #e8f5f2;
  border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 26px; margin-bottom: 20px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text); }
.service-card p { color: var(--text-light); font-size: 0.92rem; }

/* ── WHY US ── */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: stretch; margin-top: 20px;
}
.why-visual {
  border-radius: 20px; overflow: hidden; min-height: 400px;
}
.why-visual .big-num {
  font-size: 5rem; font-weight: 900; line-height: 1; margin-bottom: 8px;
}
.why-visual p { font-size: 1.1rem; opacity: 0.9; }
.check-list { list-style: none; margin-top: 32px; }
.split-img-section .check-list {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.check-list li {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 20px; font-size: 0.97rem;
  text-align: left;
}
.check-list li::before {
  content: "✓"; background: var(--primary); color: #fff;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}

/* ── TESTIMONIALS ── */
.testimonials-bg { background: var(--bg-soft); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px; margin-top: 48px;
}
.testimonial-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 28px; box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-card blockquote {
  font-style: italic; color: var(--text-light);
  font-size: 0.95rem; margin-bottom: 20px; line-height: 1.7;
}
.testimonial-author { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { color: var(--text-light); font-size: 0.82rem; }

/* ── CONTACT ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.contact-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.contact-info p { color: var(--text-light); margin-bottom: 32px; }
.contact-info {
  text-align: center;
}
.contact-detail {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 0 auto 22px;
  max-width: 360px;
  text-align: left;
}
.contact-icon {
  width: 44px; height: 44px; background: #e8f5f2;
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 0.85rem; color: var(--text-light); }
.contact-detail span { font-weight: 600; }
.contact-form {
  background: var(--bg-soft); border-radius: 16px; padding: 36px;
  text-align: left;
}
.contact-note {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
  border-left: 4px solid var(--primary);
}
.contact-note p {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}
.contact-form-title {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.contact-form-subtitle {
  color: var(--text-light);
  margin-bottom: 24px;
}
.privacy-copy {
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-weight: 600; font-size: 0.87rem; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 11px 14px; font-size: 0.93rem; font-family: inherit;
  transition: border-color 0.2s; background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-full { width: 100%; padding: 14px; font-size: 1rem; }

/* ── FOOTER ── */
footer {
  background: #1a1a1a; color: #aaa;
  padding: 48px 24px 24px;
}
.footer-inner {
  max-width: 1100px; margin: auto;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px;
}
.footer-brand .logo img { filter: brightness(0) invert(1); height: 48px; }
.footer-brand p { margin-top: 12px; font-size: 0.88rem; line-height: 1.7; }
footer h4 { color: #fff; font-size: 0.9rem; margin-bottom: 14px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { color: #aaa; text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
footer ul span { color: #aaa; font-size: 0.88rem; }
footer ul a:hover { color: #fff; }
.footer-bottom {
  max-width: 1100px; margin: 32px auto 0;
  border-top: 1px solid #333; padding-top: 20px;
  text-align: center; font-size: 0.82rem;
}

/* ── PAGE HERO ── */
/* ── CAREER HERO ── */
/* ── UNIFIED PAGE HERO (Gallery is the standard — all internal pages inherit this) ── */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 280px;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #e8f5f2 0%, #fff8ee 100%);
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
  position: relative; z-index: 1;
}
.page-hero p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  position: relative; z-index: 1;
}

/* Image variant — overlays a photo while keeping Gallery's exact layout */
.page-hero--image {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.42);
  z-index: 0;
}
.page-hero--image h1 { color: #fff; }
.page-hero--image p  { color: rgba(255,255,255,0.88); }

/* ── CONTAINED INTERNAL PAGES ── */
.contained-page {
  --page-container: 1280px;
  --page-gutter: 64px;
  overflow-x: hidden;
}

.contained-page nav,
.contained-page .section-inner,
.contained-page .page-hero,
.contained-page .app-wrap,
.contained-page .footer-inner,
.contained-page .footer-bottom {
  width: min(calc(100% - var(--page-gutter)), var(--page-container));
  max-width: var(--page-container);
  margin-left: auto;
  margin-right: auto;
}

.contained-page nav {
  padding-left: 0;
  padding-right: 0;
}

.contained-page section {
  padding: 76px 0;
}

.contained-page section + section {
  border-top: 1px solid rgba(224,224,224,0.72);
}

.contained-page section + section.services-bg,
.contained-page .services-bg + section {
  border-top: 0;
}

.contained-page .page-hero {
  margin-top: 28px;
  border-radius: 20px;
  min-height: 380px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.08);
}

.contained-page .page-intro,
.contained-page p.page-intro {
  max-width: none;
  width: 100%;
  margin: 0 0 48px;
  text-align: left;
}

.contained-page .page-intro p,
.contained-page p.page-intro {
  text-align: left;
}

.contained-page .section-label,
.contained-page .section-title,
.contained-page .section-sub {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.contained-page .section-sub {
  max-width: 680px;
}

.contained-page .contact-info {
  text-align: left;
}

.contained-page .contact-detail {
  margin-left: 0;
  margin-right: 0;
}

.contained-page .gallery-grid,
.contained-page .contact-grid,
.contained-page .filter-bar,
.contained-page .contact-form,
.contained-page .form-section,
.contained-page .success-banner {
  max-width: 100%;
}

.contained-page .filter-bar {
  justify-content: flex-start;
}

.gallery-closing {
  text-align: center;
  margin-top: 56px;
  padding: 40px;
  background: var(--bg-soft);
  border-radius: 16px;
}
.gallery-closing-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.gallery-closing-copy {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.career-page .app-wrap {
  padding: 76px 0;
}

.career-page .app-intro {
  text-align: left;
  margin-bottom: 48px;
}

.career-page .app-intro p {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.career-page #app-form,
.career-page .success-banner {
  max-width: 920px;
}

.contained-page section p,
.contained-page section li,
.contained-page .app-wrap p,
.contained-page .app-wrap li,
.contained-page .page-intro,
.contained-page .section-sub,
.contained-page .faq-a {
  font-size: var(--body-font-size);
}

/* ── SERVICE ACCORDION ── */
.svc-accordion { display: flex; flex-direction: column; }

.svc-item { border-bottom: 1px solid var(--border); }
.svc-item:first-child { border-top: 1px solid var(--border); }

.svc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.svc-trigger:hover .svc-trigger-left span { color: var(--primary); }

.svc-trigger-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.svc-trigger-left span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.18s;
}

.svc-icon-wrap {
  width: 48px; height: 48px;
  background: #e8f5f2;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.svc-icon-wrap svg { width: 22px; height: 22px; }

.svc-chevron {
  width: 20px; height: 20px;
  color: var(--text-light);
  flex-shrink: 0;
  transition: transform 0.28s ease;
}
.svc-item.open .svc-chevron { transform: rotate(180deg); }
.svc-item.open .svc-trigger-left span { color: var(--primary); }

.svc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s ease, padding 0.2s ease;
  padding: 0 0 0 64px;
}
.svc-item.open .svc-panel {
  max-height: 300px;
  padding: 0 0 24px 64px;
}

.svc-panel p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 14px;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.svc-tags span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: #e8f5f2;
  border-radius: 100px;
  padding: 4px 12px;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .svc-icon-wrap { width: 42px; height: 42px; }
  .svc-trigger-left span { font-size: 0.97rem; }
  .svc-panel, .svc-item.open .svc-panel { padding-left: 56px; }
}

@media (max-width: 768px) {
  .page-hero { min-height: 220px; padding: 60px 24px; }
}
@media (max-width: 480px) {
  .page-hero { min-height: 180px; padding: 48px 20px; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero p  { font-size: 0.9rem; }
}

/* ── ABOUT ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-img-placeholder {
  background: linear-gradient(135deg, #2a7d6f, #f4a635);
  border-radius: 20px; height: 420px;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
}
.values-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px;
}
.value-item {
  background: var(--bg-soft); border-radius: 10px;
  padding: 20px; display: flex; gap: 14px; align-items: flex-start;
}
.value-icon { font-size: 1.6rem; flex-shrink: 0; }
.value-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.value-item p { font-size: 0.83rem; color: var(--text-light); }

/* ── TEAM ── */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px; margin-top: 48px;
}
.team-card {
  text-align: center; background: var(--bg-soft);
  border-radius: var(--radius); padding: 32px 20px;
}
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, #2a7d6f, #f4a635);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: #fff;
}
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card span { color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.team-card p { color: var(--text-light); font-size: 0.82rem; margin-top: 10px; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .contained-page {
    --page-gutter: 40px;
  }

  .contained-page section {
    padding: 60px 0;
  }

  .contained-page .page-hero {
    margin-top: 16px;
    border-radius: 14px;
    min-height: 300px;
  }

  .career-page .app-wrap {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; gap: 0; }
  nav ul.open {
    display: flex; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 16px 24px;
  }
  nav ul li { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .hamburger { display: block; }
  .nav-cta { display: none; }
  nav { position: relative; }
  .logo img { height: 48px; }
  .logo span { font-size: 1.25rem; }
  .home-page {
    --svc-gutter: 40px;
  }

  .home-page nav {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .home-hero {
    width: min(calc(100% - var(--svc-gutter)), var(--svc-container));
    margin: 16px auto 0;
    overflow: hidden;
    border-radius: 14px;
  }

  .home-hero img {
    height: clamp(320px, 68vw, 430px);
    object-fit: cover;
    object-position: 30% center;
  }

  .why-grid, .about-grid, .contact-grid, .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .values-grid { grid-template-columns: 1fr; }

  .split-img-section { grid-template-columns: 1fr !important; }
  .split-img-section > div:first-child { min-height: 280px !important; }
  .split-img-section > div:last-child { padding: 48px 24px !important; }

  .mission-vision-grid { grid-template-columns: 1fr; }
  .mission-vision-card { padding: 48px 24px; }
  .mission-card {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 480px) {
  .logo { gap: 10px; }
  .logo img { height: 42px; }
  .logo span { font-size: 1rem; }
  .home-page {
    --svc-gutter: 32px;
  }

  .home-hero {
    margin-top: 12px;
    border-radius: 12px;
  }

  .home-hero img {
    height: clamp(300px, 88vw, 380px);
    object-position: 27% center;
  }

  .contained-page {
    --page-gutter: 32px;
  }

  .contained-page section {
    padding: 48px 0;
  }

  .contained-page .page-hero {
    min-height: 240px;
  }

  .career-page .app-wrap {
    padding: 48px 0;
  }
}
