/* ============================================
   JSA Technology — Website Design System
   Modern, mobile-first static site
   ============================================ */

:root {
  --bg: #eef4f7;
  --surface: #ffffff;
  --surface-alt: #e4edf2;
  --surface-dark: #081723;
  --surface-dark-alt: #102536;
  --surface-dark-soft: #163247;
  --primary: #0d6f68;
  --primary-dark: #0a5853;
  --primary-soft: rgba(13, 111, 104, 0.12);
  --accent: #27c2c8;
  --accent-soft: rgba(39, 194, 200, 0.14);
  --text: #0e1b2b;
  --text-muted: #536476;
  --text-light: #dbe7ef;
  --border: rgba(14, 27, 43, 0.08);
  --border-strong: rgba(14, 27, 43, 0.16);
  --success: #11845b;
  --shadow-sm: 0 16px 36px rgba(8, 23, 35, 0.06);
  --shadow-md: 0 22px 54px rgba(8, 23, 35, 0.11);
  --shadow-lg: 0 30px 76px rgba(5, 16, 29, 0.2);
  --shadow-xl: 0 40px 90px rgba(5, 16, 29, 0.28);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --max-width: 1180px;
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #f7fbfd 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(39, 194, 200, 0.18);
  color: var(--text);
}

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

svg {
  display: block;
}

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
}

h3 {
  font-size: clamp(1.12rem, 3vw, 1.45rem);
}

p {
  color: var(--text-muted);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-header {
  max-width: 780px;
  margin-bottom: 2.85rem;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-header .eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.52rem 0.96rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 0.9rem;
}

.section-header p {
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::after {
  opacity: 1;
}

.btn:focus-visible,
.nav-links a:focus-visible,
.footer-list a:focus-visible,
.hamburger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-lg {
  min-height: 58px;
  padding: 1rem 1.7rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #159198 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(13, 111, 104, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #117980 100%);
  box-shadow: 0 18px 38px rgba(13, 111, 104, 0.32);
  transform: translateY(-2px) scale(1.01);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.99);
}

.btn-light {
  background: #fff;
  color: var(--surface-dark);
}

.btn-light:hover {
  background: #edf7f7;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(8, 23, 35, 0.92);
  border-bottom: 1px solid rgba(219, 231, 239, 0.08);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 12px 30px rgba(6, 15, 27, 0.26);
  background: rgba(8, 23, 35, 0.97);
}

.nav-container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: #fff;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-footer {
  gap: 1.1rem;
}

.brand-footer .brand-mark {
  width: 48px;
  height: 48px;
}

.brand-text strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.brand-name-primary {
  font-weight: 800;
  color: #ffffff;
}

.brand-name-secondary {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
}

.brand-text span {
  display: block;
  margin-top: 0.1rem;
  color: rgba(226, 236, 243, 0.65);
  font-size: 0.78rem;
}

.nav-links,
.nav-cta {
  display: none;
}

.nav-links {
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  color: rgba(219, 231, 239, 0.8);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav-links a.active,
.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  align-items: center;
  gap: 1rem;
}

.nav-contact {
  color: rgba(219, 231, 239, 0.8);
  font-size: 0.92rem;
  text-align: right;
}

.nav-contact strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
}

.nav-cta .btn-primary {
  min-height: 48px;
  padding-inline: 1.25rem;
}

.hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.45rem;
  background: transparent;
  border: 0;
}

.hamburger span {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto 1rem;
  padding: 1rem;
  border: 1px solid rgba(219, 231, 239, 0.08);
  border-radius: 24px;
  background: rgba(16, 37, 54, 0.98);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  display: grid;
  gap: 0.35rem;
}

.mobile-menu a,
.mobile-menu .mobile-phone {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  color: #fff;
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.06);
}

.mobile-phone {
  background: rgba(255,255,255,0.04);
}

.hero {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(39, 194, 200, 0.18), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(13, 111, 104, 0.28), transparent 28%),
    linear-gradient(135deg, #07131d 0%, #0d1d2d 52%, #11283b 100%);
  color: #fff;
  padding: 5.6rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.04), transparent 38%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(7,19,29,0) 0%, rgba(7,19,29,0.56) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.hero-copy .eyebrow {
  background: rgba(39, 194, 200, 0.12);
  color: #a8f1f2;
}

.hero-copy h1,
.hero-copy p,
.hero-trust-line {
  color: inherit;
}

.hero-copy h1 {
  max-width: 16ch;
  text-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

.hero-copy p {
  max-width: 640px;
  font-size: 1.08rem;
  color: rgba(219, 231, 239, 0.84);
  margin: 1.15rem 0 0;
}

.hero-subtitle {
  font-size: 1.16rem;
}

.hero-actions-wrap {
  display: grid;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}

.hero-trust-line {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.2rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(219, 231, 239, 0.94);
  font-size: 0.95rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.hero-trust-line i {
  color: #9ee7e7;
  font-size: 1.05rem;
}

.hero-meta {
  display: grid;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero-stat {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}

.hero-stat:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.12);
}

.hero-stat i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(39, 194, 200, 0.14);
  color: #a8f1f2;
  flex-shrink: 0;
}

.hero-stat strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: #fff;
}

.hero-stat span {
  color: rgba(219, 231, 239, 0.74);
  font-size: 0.95rem;
}

.hero-panel-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1rem;
}

.hero-panel-grid .panel-card {
  padding: 1.5rem;
  border-radius: 22px;
  background: rgba(7, 19, 29, 0.38);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-panel-grid .panel-card i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(39, 194, 200, 0.15);
  color: #a8f1f2;
  margin-bottom: 0.85rem;
  font-size: 1rem;
}

.hero-panel-grid .panel-card h3 {
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.hero-panel-grid .panel-card p {
  color: rgba(219, 231, 239, 0.82);
  font-size: 0.95rem;
  line-height: 1.5;
}

.page-hero p,
.dark-section p,
.cta-band p {
  color: rgba(219, 231, 239, 0.82);
}

.feature-grid,
.metrics-grid,
.about-values,
.contact-cards,
.service-grid,
.proof-grid,
.footer-grid,
.timeline-grid,
.trust-pillars {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.feature-card,
.metric-card,
.value-card,
.contact-card,
.service-card,
.proof-card,
.about-story,
.contact-form-wrapper,
.contact-panel,
.cta-band,
.timeline-card,
.trust-message,
.trust-pillar,
.page-hero-card,
.service-highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.feature-card,
.metric-card,
.value-card,
.contact-card,
.proof-card,
.timeline-card,
.trust-pillar,
.trust-message,
.service-highlight-card {
  padding: 1.5rem;
}

.feature-card,
.service-card,
.value-card,
.contact-card,
.proof-card,
.timeline-card,
.trust-pillar,
.service-highlight-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover,
.service-card:hover,
.value-card:hover,
.contact-card:hover,
.proof-card:hover,
.timeline-card:hover,
.trust-pillar:hover,
.service-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 111, 104, 0.18);
}

.feature-icon,
.value-card i,
.contact-card i,
.timeline-step i,
.trust-pillar i,
.service-highlight-card i {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card h3,
.service-card h3,
.trust-message h3,
.service-highlight-card h3 {
  margin-bottom: 0.55rem;
}

.feature-card p,
.service-card p {
  font-size: 0.96rem;
}

.metric-card {
  padding: 1.5rem;
}

.metric-card strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 0.45rem;
}

.metric-card span {
  color: var(--text-muted);
  font-weight: 600;
}

.trust-section {
  position: relative;
  background: linear-gradient(180deg, #f9fcfd 0%, #edf5f8 100%);
}

.trust-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(13, 111, 104, 0.04), transparent 40%),
    radial-gradient(circle at 85% 50%, rgba(39, 194, 200, 0.04), transparent 40%);
  pointer-events: none;
}

.trust-layout {
  display: grid;
  gap: 1.25rem;
}

.trust-message {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.trust-message p {
  margin-top: 0.75rem;
}

.trust-pillars {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.trust-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
}

.trust-pillar i {
  margin-bottom: 1rem;
}

.trust-pillar strong {
  margin-bottom: 0.35rem;
}

.trust-pillar span {
  display: block;
  line-height: 1.5;
}

.trust-pillar {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.82));
  border: 1px solid rgba(13, 111, 104, 0.08);
  position: relative;
  overflow: hidden;
}

.trust-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.6;
}

.trust-pillar strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text);
  font-size: 1.05rem;
}

.trust-pillar i {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.trust-pillar span {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.dark-section {
  background: linear-gradient(180deg, #0a1824 0%, #10283b 100%);
  color: #fff;
}

.dark-section .service-card,
.dark-section .proof-card,
.dark-section .timeline-card,
.dark-section .contact-panel,
.dark-section .cta-band,
.dark-section .service-highlight-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.dark-section .service-card::before,
.dark-section .proof-card::before,
.dark-section .timeline-card::before,
.dark-section .service-highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.5;
}

.dark-section .cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
}

.dark-section .cta-band h2,
.dark-section .cta-band p,
.dark-section .cta-band .btn-light {
  position: relative;
  z-index: 1;
}

.dark-section .section-header h2,
.dark-section h3,
.dark-section h4,
.dark-section strong,
.dark-section .service-card p,
.dark-section .service-tag,
.dark-section .service-highlight-card p,
.dark-section .service-highlight-card li {
  color: #fff;
}

.service-grid .service-card {
  padding: 1.7rem;
  text-align: left;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.service-card .service-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  color: var(--primary);
  margin-bottom: 1.1rem;
  font-size: 1.2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(13, 111, 104, 0.14);
}

.service-tag {
  display: inline-flex;
  margin-top: 1.15rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(13, 111, 104, 0.1), rgba(39, 194, 200, 0.08));
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(13, 111, 104, 0.08);
}

.service-lead {
  max-width: 760px;
}

.service-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.service-highlight-card {
  background: rgba(255,255,255,0.05);
}

.service-highlight-card ul {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.service-highlight-card li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: rgba(219, 231, 239, 0.84);
}

.service-highlight-card li i {
  width: auto;
  height: auto;
  margin: 0.2rem 0 0;
  background: transparent;
  color: #8fe7e7;
}

.timeline-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline-step i {
  flex-shrink: 0;
  margin-bottom: 0;
}

.page-hero {
  background:
    radial-gradient(circle at top right, rgba(39, 194, 200, 0.18), transparent 32%),
    linear-gradient(135deg, #0a1726 0%, #10243a 100%);
  color: #fff;
  padding: 4.6rem 0 3.1rem;
}

.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: #fff;
}

.page-hero p {
  color: rgba(219, 231, 239, 0.9);
}

.page-hero .container {
  display: grid;
  gap: 1.4rem;
}

.page-hero-card {
  padding: 1.45rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 420px;
}

.page-hero-card h3,
.page-hero-card p,
.page-hero-card a {
  color: #fff;
}

.about-layout,
.contact-layout,
.cta-band,
.about-section-flow {
  display: grid;
  gap: 1.4rem;
}

.contact-layout,
.contact-layout-balanced {
  align-items: start;
}

.about-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.about-section-flow {
  grid-template-columns: minmax(0, 1fr);
}

.about-story,
.contact-panel,
.contact-form-wrapper,
.cta-band {
  padding: 1.85rem;
}

.about-list,
.service-checklist,
.footer-list {
  display: grid;
  gap: 0.8rem;
}

.about-list li,
.service-checklist li,
.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
}

.about-list i,
.service-checklist i {
  color: var(--primary);
  margin-top: 0.2rem;
}

.footer-list i {
  color: #5ee6e0;
  margin-top: 0.2rem;
}

.contact-panel {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 111, 104, 0.06), rgba(39, 194, 200, 0.04));
}

.about-values-balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.about-values-balanced .value-card,
.contact-layout-balanced > * {
  min-width: 0;
  height: 100%;
}

.contact-layout-balanced {
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
}

.contact-cards .contact-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 1.25rem;
  overflow: hidden;
}

.contact-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.contact-map {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

.contact-panel,
.contact-form-wrapper,
.contact-map {
  width: 100%;
  min-width: 0;
}

.contact-form-wrapper {
  position: static;
  margin: 0;
  transform: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.contact-form-balanced,
.contact-map-balanced {
  box-shadow: var(--shadow-sm);
}

.form-header {
  margin-bottom: 1.6rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.form-header h2 {
  margin-top: 0.4rem;
}

.form-header p {
  margin-top: 0.55rem;
  font-size: 1.02rem;
}

.form-note {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(13, 111, 104, 0.08);
}

.form-success {
  display: none;
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(17, 132, 91, 0.12);
  color: var(--success);
  font-weight: 600;
}

.form-success.show {
  display: block;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background-color: #fff;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
  font-size: 0.98rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8090a3;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 111, 104, 0.12);
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% - 4px), calc(100% - 16px) calc(50% - 4px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #dc2626;
}

.form-error {
  display: none;
  margin-top: 0.4rem;
  color: #dc2626;
  font-size: 0.85rem;
}

.form-group.error .form-error {
  display: block;
}

.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #0f878d 100%);
  color: #fff;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
}

.cta-band h2,
.cta-band p {
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta-band .btn-light {
  position: relative;
  z-index: 1;
}

.site-footer {
  background: #08111d;
  color: #fff;
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  margin-bottom: 1.8rem;
}

.footer-brand p,
.site-footer a,
.site-footer li,
.footer-bottom {
  color: rgba(219, 231, 239, 0.76);
}

.footer-title {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(219, 231, 239, 0.08);
  font-size: 0.92rem;
}

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

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 700px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-meta {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .feature-grid,
  .metrics-grid,
  .about-values,
  .contact-cards,
  .timeline-grid,
  .footer-grid,
  .service-highlights {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .service-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .form-row,
  .trust-layout {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (min-width: 920px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-layout,
  .contact-layout,
  .cta-band,
  .trust-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  }

  .contact-layout-balanced {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 480px);
    gap: 2rem;
    align-items: start;
  }

  .contact-panel,
  .contact-form-wrapper,
  .contact-cards,
  .contact-card {
    min-width: 0;
    max-width: 100%;
  }

  .contact-form-wrapper {
    width: 100%;
  }

  .contact-layout-balanced .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout-balanced .form-group {
    min-width: 0;
  }

  .page-hero .container {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
    align-items: end;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }

  .proof-grid {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }

  .feature-grid,
  .metrics-grid,
  .about-values,
  .footer-grid,
  .trust-pillars {
    grid-template-columns: repeat(4, minmax(260px, 1fr));
  }

  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-values-balanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-grid,
  .service-highlights {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-cta {
    display: none;
  }

  .about-values-balanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-layout-balanced {
    gap: 1.4rem;
  }
}

@media (max-width: 699px) {
  .hero {
    padding: 4.8rem 0 3.3rem;
  }

  .hero-actions-wrap {
    margin-top: 1.8rem;
  }

  .hero-meta {
    margin-top: 1.8rem;
    gap: 0.75rem;
  }

  .hero-stat {
    padding: 0.9rem;
    gap: 0.7rem;
  }

  .hero-stat i {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .hero-stat strong {
    font-size: 0.95rem;
  }

  .hero-stat span {
    font-size: 0.88rem;
  }

  .service-card {
    padding: 1.35rem;
    border-radius: 20px;
  }

  .service-card .service-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 1.05rem;
    margin-bottom: 0.9rem;
  }

  .service-card h3 {
    font-size: 1.05rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .trust-pillar {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .trust-pillar i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .contact-card {
    padding: 1rem;
  }

  .contact-card i {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .form-group {
    margin-bottom: 0.85rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.85rem 1rem;
    border-radius: 14px;
  }

  .page-hero {
    padding: 4rem 0 2.8rem;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 6vw, 3rem);
  }

  .page-hero-card {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .cta-band {
    padding: 1.4rem;
    border-radius: 20px;
    gap: 1.2rem;
  }

  .cta-band h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-line {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .hero-panel,
  .page-hero-card,
  .contact-panel,
  .contact-form-wrapper,
  .about-story,
  .cta-band,
  .trust-message,
  .trust-pillar {
    border-radius: 22px;
  }

  .section,
  .page-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .nav-container {
    width: min(100% - 1.25rem, var(--max-width));
    min-height: 72px;
    gap: 1rem;
  }

  .brand-text span {
    font-size: 0.7rem;
  }

  .brand {
    gap: 0.7rem;
    min-width: 0;
    flex: 1;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-footer .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 1.05rem;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-text strong {
    font-size: 0.98rem;
  }

  .brand-text span {
    font-size: 0.68rem;
  }
}

/* ============================================
   Gallery Styles
   ============================================ */

.btn-submit {
  width: 100%;
  min-height: 56px;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.gallery-section {
  background: linear-gradient(180deg, #f9fcfd 0%, #edf5f8 100%);
}

.gallery-header {
  max-width: 780px;
  margin-bottom: 2.85rem;
}

.gallery-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.52rem 0.96rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.gallery-header h2 {
  margin-bottom: 0.9rem;
}

.gallery-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  aspect-ratio: 4 / 3;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 111, 104, 0.18);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--surface-alt) 0%, #dce6ed 100%);
  color: var(--text-muted);
  text-align: center;
  padding: 1.5rem;
}

.gallery-placeholder i {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.5;
}

.gallery-placeholder span {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 23, 35, 0.85) 100%);
  color: #fff;
}

.gallery-caption strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: #fff;
}

.gallery-caption span {
  font-size: 0.82rem;
  color: rgba(219, 231, 239, 0.76);
}

.gallery-cta {
  margin-top: 2rem;
  text-align: center;
}

.gallery-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: var(--surface-alt);
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.gallery-note i {
  color: var(--primary);
  margin-right: 0.4rem;
}

/* Full Gallery Page */
.gallery-page-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.gallery-filter button {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-filter button:hover,
.gallery-filter button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .gallery-page-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  }
}

@media (min-width: 920px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .gallery-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .section {
    padding: 5.75rem 0;
  }

  .hero {
    padding: 6rem 0 4.2rem;
  }
}


body {
  overflow-x: hidden;
}

.accent-text {
  color: #7ce9e6;
}

.hero-premium {
  padding: 5.8rem 0 3.4rem;
}

.hero-grid-premium {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2.5rem;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 5vw, 4.6rem);
}

.hero-actions-inline {
  flex-direction: row;
  flex-wrap: wrap;
}

.hero-meta-inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-visual {
  min-width: 0;
}

.hero-visual-frame {
  position: relative;
  min-height: 470px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(180deg, rgba(10, 24, 37, 0.5), rgba(7, 19, 29, 0.95));
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.72);
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 29, 0.15) 0%, rgba(6, 18, 29, 0.72) 100%),
    radial-gradient(circle at 20% 18%, rgba(39, 194, 200, 0.22), transparent 30%);
}

.hero-visual-card {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  padding: 1.35rem 1.4rem;
  border-radius: 22px;
  background: rgba(6, 18, 29, 0.82);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.hero-visual-card span {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: #8ceeee;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual-card strong {
  display: block;
  color: #fff;
  line-height: 1.4;
  font-size: 1.02rem;
}

.trust-section-premium {
  margin-top: -1.4rem;
  padding-top: 0;
}

.trust-panel {
  background: #fff;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.trust-panel-header {
  margin-bottom: 1.5rem;
}

.trust-pillars-horizontal {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-pillars-horizontal .trust-pillar {
  min-width: 0;
  height: 100%;
}

.service-section-premium .service-grid-home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid-featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid-featured .gallery-item {
  min-width: 0;
}

.page-hero .container {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

@media (max-width: 1199px) {
  .hero-grid-premium,
  .service-section-premium .service-grid-home,
  .gallery-grid-featured,
  .trust-pillars-horizontal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid-premium {
    align-items: stretch;
  }
}

@media (max-width: 919px) {
  .hero-premium {
    padding-top: 5rem;
  }

  .hero-grid-premium,
  .hero-meta-inline,
  .service-section-premium .service-grid-home,
  .gallery-grid-featured,
  .trust-pillars-horizontal,
  .page-hero .container,
  .about-values-balanced,
  .contact-layout-balanced {
    grid-template-columns: 1fr;
  }

  .hero-visual-frame,
  .hero-visual-frame img {
    min-height: 360px;
  }

  .trust-panel {
    padding: 1.4rem;
  }
}

@media (max-width: 640px) {
  .hero-actions-inline {
    flex-direction: column;
  }

  .hero-copy h1 {
    max-width: 11ch;
  }

  .hero-visual-card {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1rem 1.05rem;
  }
}
