:root {
  --bg: #f4f6fb;
  --bg-soft: #eef2f8;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --line: rgba(16, 24, 40, 0.08);
  --text: #101828;
  --muted: #667085;
  --accent: #ff8a00;
  --accent-soft: rgba(255, 138, 0, 0.16);
  --accent-alt: #4f8d6a;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 138, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong,
.site-footer strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.brand span,
.site-footer span,
.site-footer p {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ffac3d);
  color: #111317;
  font-weight: 700;
}

.template-hero {
  position: relative;
  min-height: calc(100vh - 84px);
  padding: 0 0 40px;
  background:
    radial-gradient(circle at top left, rgba(255, 138, 0, 0.08), transparent 25%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
}

.template-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.template-hero-copy {
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.template-hero-copy-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.template-hero-copy-main {
  min-width: 0;
}

.template-hero-copy h1 {
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1.06;
  max-width: 760px;
  color: var(--text);
}

.template-hero-side-media {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.template-hero-side-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.hero-inline-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-inline-notes span {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.08);
  border: 1px solid rgba(255, 138, 0, 0.16);
  color: var(--text);
}

.template-hero-banner-card {
  padding: 0;
  border-radius: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-banner-slider {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 460px;
  max-height: 680px;
  overflow: hidden;
  background: #0b1220;
}

.hero-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero-banner-slide.is-active {
  opacity: 1;
}

.hero-banner-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-banner-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(16, 24, 40, 0.38);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.hero-banner-btn-prev {
  left: 22px;
}

.hero-banner-btn-next {
  right: 22px;
}

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

.hero-banner-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.hero-banner-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.template-feature-strip {
  padding: 10px 0 24px;
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-chip {
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-chip span {
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-chip strong {
  display: block;
  margin-top: 10px;
  font-size: 1.1rem;
}

.feature-chip p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.company-intro-section {
  padding-top: 32px;
  padding-bottom: 8px;
}

.intro-grid,
.future-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.intro-copy p,
.future-copy p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.intro-media,
.future-media {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.future-media-stack {
  grid-template-rows: minmax(210px, 0.98fr) minmax(150px, 0.72fr);
  gap: 14px;
  align-self: stretch;
}

.intro-media img,
.future-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.future-media-primary img {
  min-height: 210px;
}

.future-media-secondary img {
  min-height: 150px;
}

.template-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.template-stats-grid article {
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.template-stats-grid strong {
  display: block;
  font-size: 2rem;
}

.template-stats-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

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

.template-service-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.template-service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.template-service-card div {
  padding: 18px;
}

.template-service-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.future-section {
  background: linear-gradient(180deg, #f8fafc, #eef3f9);
}

.compact-timeline {
  margin-top: 12px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero-section {
  position: relative;
  padding: 72px 0 40px;
  min-height: 640px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at top right, rgba(255, 138, 0, 0.1), transparent 24%),
    radial-gradient(circle at left center, rgba(79, 141, 106, 0.08), transparent 26%),
    linear-gradient(180deg, #f8fafc, #eef2f8);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 44%, rgba(255, 255, 255, 0.24) 100%);
  z-index: -1;
}

.intro-video-section {
  padding-top: 56px;
  padding-bottom: 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: stretch;
  width: 100%;
}

.hero-copy,
.hero-panel,
.service-card,
.advantage-card,
.cert-card,
.timeline-item,
.cta-card,
.value-board,
.overview-strip,
.section-content {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 52px;
  border-radius: 36px;
  position: relative;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.94);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -80px -60px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.35), transparent 70%);
  z-index: -1;
}

.eyebrow {
  margin: 0 0 16px;
  color: #ffd39b;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.35rem;
}

.hero-text,
.section-content p,
.service-card p,
.advantage-card p,
.timeline-item p,
.cert-copy p,
.cta-card p,
.value-board p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.hero-text {
  max-width: 700px;
  margin: 14px 0 0;
}

.hero-actions,
.cert-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent), #ffab39);
  color: #121212;
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.primary-btn:hover,
.ghost-btn:hover,
.site-nav a:hover {
  transform: translateY(-2px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-tags span,
.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d6e0fa;
}

.hero-panel {
  padding: 28px;
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.94);
}

.signal-card {
  padding: 28px;
  border-radius: 28px;
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(255, 138, 0, 0.16), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-message-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 138, 0, 0.16), rgba(255, 255, 255, 0.95)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent);
}

.signal-card p {
  margin: 0;
  color: #ffd39b;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.signal-card strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.signal-card span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-mini-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-media-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-height: 160px;
}

.mini-media-card img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

.hero-stats article,
.overview-strip article {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.hero-stats span,
.overview-strip span,
.overview-strip strong {
  color: var(--muted);
  line-height: 1.6;
}

.overview-strip {
  margin: 0 auto;
  border-radius: 30px;
  width: min(calc(100% - 40px), var(--container));
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 20px;
}

.overview-strip strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 1.08rem;
}

.section {
  padding: 10px 0;
}

#certification {
  padding-top: 24px;
}

.alt-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

#services {
  padding-top: 8px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.media-showcase-grid,
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.showcase-card,
.story-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.showcase-card,
.story-card {
  overflow: hidden;
}

.showcase-card img,
.story-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.showcase-copy,
.story-copy {
  padding: 18px;
}

.showcase-copy p,
.story-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.section-title,
.section-heading {
  margin-bottom: 20px;
}

.section-content {
  padding: 34px;
  border-radius: var(--radius-lg);
}

.service-grid,
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.advantage-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.service-index {
  margin-bottom: 18px;
  color: #ffd39b;
  background: var(--accent-soft);
  border-color: rgba(255, 138, 0, 0.3);
}

.service-card ul {
  margin: 22px 0 0;
  padding-left: 18px;
  color: #d8e1f7;
  line-height: 1.9;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px;
  border-radius: var(--radius-lg);
  align-items: start;
}

.timeline-item span {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffd39b;
}

.value-board {
  margin-top: 14px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 5fr 2fr;
  gap: 18px;
  align-items: stretch;
}

.value-board-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-board-copy .eyebrow {
  margin-bottom: 0;
}

.value-board-desc {
  margin: 0;
  margin-top: auto;
}

.value-board-side {
  display: flex;
  align-items: flex-end;
}

.value-board-media {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.value-board-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.cert-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: center;
}

.cert-doc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}

.cert-doc-list span {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.08);
  border: 1px solid rgba(255, 138, 0, 0.14);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
}

.video-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}

.video-copy,
.video-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.video-copy {
  padding: 34px;
}

.video-card {
  padding: 18px;
}

.video-card video {
  width: 100%;
  display: block;
  border-radius: 20px;
  background: #000;
}

.first-screen-video-card {
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 138, 0, 0.12), rgba(79, 141, 106, 0.08)),
    rgba(17, 27, 53, 0.9);
}

.first-screen-video-card video {
  min-height: 420px;
  object-fit: cover;
}

.cert-card {
  padding: 16px;
  border-radius: 30px;
}

.cert-carousel {
  position: relative;
}

.cert-carousel-track {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cert-carousel-track::-webkit-scrollbar {
  display: none;
}

.cert-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.cert-slide img {
  display: block;
  width: 100%;
  height: 520px;
  border-radius: 20px;
  background: #fff;
  object-fit: contain;
}

.cert-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.cert-carousel-btn-prev {
  left: 12px;
}

.cert-carousel-btn-next {
  right: 12px;
}

.cert-carousel-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.cert-mini-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.cert-mini-card {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cert-mini-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.cta-section {
  padding-top: 30px;
}

.cta-card {
  padding: 40px;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    linear-gradient(135deg, rgba(255, 138, 0, 0.16), rgba(79, 141, 106, 0.12)),
    #fff;
}

.site-footer {
  padding: 22px 0 30px;
  background: #f8fafc;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--text);
}

.site-footer p,
.site-footer span {
  color: var(--muted);
}

.footer-emails {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.footer-emails a {
  color: var(--text);
  font-weight: 600;
}

.footer-emails a:hover {
  color: var(--accent);
}

.contact-panel-section {
  padding-top: 8px;
}

.contact-panel {
  padding: 24px 28px;
  border-radius: 32px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-panel > div,
.contact-summary,
.contact-card-item,
.contact-card-text {
  min-width: 0;
}

.contact-summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.contact-summary span {
  color: var(--muted);
}

.contact-summary-photo,
.contact-photo-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 2.2 / 1;
}

.contact-summary-photo {
  width: 100%;
}

.contact-summary-photo img,
.contact-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: inherit;
}

.contact-card-item:hover {
  border-color: rgba(255, 138, 0, 0.24);
  transform: translateY(-2px);
}

.contact-card-static:hover {
  transform: none;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 10px;
  border-radius: 14px;
  background: rgba(255, 138, 0, 0.1);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.contact-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-card-text strong {
  color: var(--text);
  font-size: 0.98rem;
}

.contact-card-text span {
  color: var(--muted);
  word-break: break-word;
}

.contact-address-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.contact-address-inline {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-map-link-inline {
  margin-top: 0;
  padding: 8px 12px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.map-label-short {
  display: none;
}

.contact-address-card {
  align-items: flex-start;
}

.contact-photo-card {
  min-height: 140px;
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.1);
  color: var(--accent);
  font-weight: 700;
  width: fit-content;
}

.contact-map-link:hover {
  background: rgba(255, 138, 0, 0.18);
}

.footer-wrap div:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .template-hero-copy-inner,
  .template-hero-grid,
  .intro-grid,
  .future-grid,
  .hero-grid,
  .section-grid,
  .cert-layout,
  .video-layout,
  .contact-panel,
  .value-board,
  .media-showcase-grid,
  .story-grid,
  .template-service-grid,
  .template-stats-grid,
  .feature-strip-grid,
  .service-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .hero-mini-gallery,
  .strip-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-card,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-wrap div:last-child {
    text-align: left;
  }

  .footer-emails {
    align-items: flex-start;
  }

  .template-hero-side-media img {
    min-height: 260px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-copy,
  .hero-panel,
  .video-copy,
  .video-card,
  .template-hero-copy,
  .cta-card {
    padding: 28px;
  }

  .first-screen-video-card {
    padding: 12px;
  }

  .template-hero {
    min-height: auto;
    padding: 0 0 24px;
  }

  .hero-banner-slider {
    height: 50vh;
    min-height: 320px;
  }

  .section {
    padding: 10px 0;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-section {
    padding-top: 38px;
    min-height: auto;
  }

  .template-hero {
    min-height: auto;
    padding: 0 0 18px;
  }

  .hero-copy,
  .hero-panel,
  .template-hero-copy,
  .template-service-card,
  .showcase-card,
  .story-card,
  .service-card,
  .advantage-card,
  .timeline-item,
  .section-content,
  .video-copy,
  .video-card,
  .contact-panel,
  .value-board,
  .cta-card {
    border-radius: 24px;
  }


  .hero-actions,
  .cert-links {
    flex-direction: column;
  }

  .contact-panel {
    padding: 16px 14px;
    gap: 12px;
  }

  .contact-panel h2 {
    font-size: 1.42rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  .contact-panel p,
  .contact-summary span {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .contact-cards {
    margin-top: 12px;
    gap: 10px;
  }

  .contact-card-item {
    width: 100%;
    padding: 12px;
    gap: 10px;
    align-items: flex-start;
  }

  .contact-icon {
    min-width: 42px;
    height: 42px;
    font-size: 0.86rem;
  }

  .contact-summary {
    gap: 10px;
    justify-content: flex-start;
    width: 100%;
  }

  .contact-summary-photo,
  .contact-photo-card {
    aspect-ratio: auto;
    width: 100%;
    height: 148px;
  }

  .map-label-full {
    display: none;
  }

  .map-label-short {
    display: inline;
  }

  .contact-address-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
    width: 100%;
  }

  .contact-map-link-inline {
    padding: 7px 10px;
    font-size: 0.85rem;
    margin-left: 0;
  }

  .contact-address-inline {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
  }

  .cert-slide img {
    height: 360px;
  }

  .cert-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .first-screen-video-card video {
    min-height: 260px;
  }

  .hero-banner-slider {
    height: 34vh;
    min-height: 220px;
  }

  .hero-banner-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .hero-banner-btn-prev {
    left: 12px;
  }

  .hero-banner-btn-next {
    right: 12px;
  }

  .hero-banner-dots {
    bottom: 14px;
    gap: 8px;
  }

  .hero-banner-dot {
    width: 9px;
    height: 9px;
  }

  .hero-inline-notes {
    flex-direction: column;
  }

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

  .contact-photo-card {
    min-height: 0;
  }

  .cert-mini-gallery {
    grid-template-columns: 1fr;
  }
}
