﻿:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #f1f1f4;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d9d9de;
  --dark: #111111;
  --dark-soft: #1a1a1a;
  --max: 1400px;
  --radius-lg: 32px;
  --radius-md: 28px;
}

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

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

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

p {
  line-height: 1.65;
}

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

.app-layout {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

.background-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
}

.background-logo img {
  width: 480px;
  max-width: 70vw;
  height: auto;
}

.main-content {
  width: 100%;
  box-sizing: border-box;
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
}

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

.navbar {
  position: relative;
  width: 100%;
  min-height: 88px;
  box-sizing: border-box;
  z-index: 10;
}

.navbar .nav,
.nav {
  width: 100%;
  min-height: 88px;
  margin: 0 auto;
  padding: 9px clamp(88px, 9vw, 160px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 54px;
  box-sizing: border-box;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  margin-left: clamp(72px, 6vw, 130px);
}

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

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  flex: 0 0 auto;
  min-width: 0;
}

.menu a {
  white-space: nowrap;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.menu a:hover,
.menu a.active {
  color: var(--dark);
}

.menu a.active {
  font-weight: 700;
}

.menu a.active:not(.nav-btn)::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  margin-top: 4px;
  border-radius: 999px;
}

.nav-btn,
.btn,
.cta-btn,
.service-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: inherit;
  transition: 0.2s ease;
}

.nav-btn {
  background: var(--dark);
  color: #ffffff !important;
  padding: 12px 22px;
  font-weight: 700;
}

.btn,
.cta-btn {
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 700;
}

.btn {
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--dark);
  color: #ffffff;
}

.btn-primary:hover,
.service-toggle:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--dark);
  border: 1px solid #d1d1d6;
}

.btn-secondary:hover {
  background: #f8f8fa;
}

.hero {
  padding: 48px 0;
}

.hero h1,
.hero-main h1,
.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 800;
  max-width: 900px;
  margin-bottom: 24px;
}

.hero p,
.hero-text,
.page-hero p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-text {
  margin-bottom: 34px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.48fr;
  gap: 92px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-bottom: 6px;
}

.side-point {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.side-point span {
  display: block;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 10px;
  color: var(--text);
}

.side-point p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 290px;
}

.services-preview {
  padding: 70px 0 90px;
}

.section-head {
  max-width: 1180px;
  margin-bottom: 36px;
}

.section-head span,
.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.section-head h2,
.services-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 14px;
}

.section-head p {
  max-width: 1120px;
  color: var(--muted);
  font-size: 17px;
}

.services-section,
.about-section,
.values,
.commitment,
.contact-section,
.mission-vision {
  background: transparent;
}

.services-section {
  margin-top: 28px;
  padding: 70px 0 100px;
}

.services-header p {
  color: var(--muted);
  max-width: 760px;
  line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 46px;
}

.page-home .services-grid {
  margin-top: 0;
  gap: 26px;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: 0.2s ease;
  scroll-margin-top: 112px;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 24px;
}

.service-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.service-icon {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: contrast(1.25) brightness(0.9);
}

.service-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.service-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 800;
}

.service-toggle {
  border: none;
  background: var(--dark);
  color: #ffffff;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.service-toggle:hover {
  background: #000000;
}

.service-detail {
  display: none;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.service-card.open .service-detail {
  display: block;
}

.service-detail p + p {
  margin-top: 12px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 16px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
}

.page-about .about-section {
  padding: 58px 0 52px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 42px;
}

.about-title {
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 800;
  max-width: 560px;
}

.about-copy {
  display: grid;
  gap: 22px;
}

.about-copy p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.mission-vision {
  padding: 0 0 72px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.mission-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.mission-card h3 {
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.mission-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.values {
  padding: 0 0 96px;
}

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

.value-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  padding: 34px;
  min-height: 230px;
}

.value-card span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.value-card h3 {
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.commitment {
  padding: 0 0 100px;
}

.commitment-box,
.cta-box {
  background: var(--dark);
  color: #ffffff;
  border-radius: 34px;
}

.commitment-box {
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.commitment-box h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 760px;
}

.commitment-box p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.7;
}

.cta {
  padding: 0 0 100px;
}

.cta-box {
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.page-services .cta-box {
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 40px;
}

.cta-copy h3,
.cta-box h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0;
  color: #ffffff;
  margin-bottom: 12px;
  max-width: 760px;
}

.cta-copy p,
.cta-box p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  max-width: 760px;
  line-height: 1.65;
}

.cta-box .btn-secondary,
.cta-btn {
  background: #ffffff;
  color: var(--dark);
  border: none;
  white-space: nowrap;
}

.cta-btn {
  width: fit-content;
  margin-left: auto;
}

.contact-section {
  padding: 70px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 34px;
  align-items: start;
}

.contact-card,
.form-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-width: 0;
}

.contact-card h2,
.form-card h2 {
  font-size: 32px;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 24px;
}

.contact-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-item strong,
.contact-item a {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-item strong + strong,
.contact-item a + a {
  margin-top: 8px;
}

.contact-item a {
  font-size: 18px;
  font-weight: 600;
}

form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 14px;
  color: #2f2f34;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d1d1d6;
  background: #ffffff;
  border-radius: 16px;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 15px;
  color: #6e6e73;
  font-weight: 500;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--dark);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #8e8e93;
  opacity: 1;
}

.full-field {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.site-footer {
  position: relative;
  z-index: 1;
  background: #0f0f10;
  color: rgba(255, 255, 255, 0.78);
  padding: 44px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 36px;
  align-items: start;
  justify-content: space-between;
}

.footer-brand img {
  width: 190px;
  height: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.hero-text,
.section-head p,
.service-detail p,
.about-copy p,
.mission-card p,
.value-card p,
.commitment-box p,
.cta-copy p,
.hero p,
.contact-card p {
  text-align: justify;
}

@media (min-width: 1440px) {
  .navbar .nav,
  .nav {
    padding-left: 160px;
    padding-right: 160px;
  }
}

@media (max-width: 1200px) {
  .navbar .nav,
  .nav {
    padding: 9px 72px;
    gap: 38px;
  }

  .brand {
    margin-left: 40px;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(90%, var(--max));
  }

  .navbar .nav,
  .nav {
    padding: 10px 64px;
    justify-content: space-between;
    gap: 30px;
  }

  .brand {
    margin-left: 30px;
  }

  .brand img {
    height: 60px;
  }

  .menu {
    gap: 22px;
  }

  .about-grid,
  .commitment-box {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .services-grid,
  .mission-grid,
  .contact-grid,
  .form-grid,
  .page-services .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-btn {
    margin-left: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  p,
  .hero-text,
  .section-head p,
  .service-detail p,
  .about-copy p,
  .mission-card p,
  .value-card p,
  .commitment-box p,
  .cta-copy p,
  .hero p,
  .contact-card p {
    text-align: left;
  }

  .container {
    width: min(90%, var(--max));
  }

  .navbar {
    min-height: auto;
  }

  .navbar .nav,
  .nav {
    width: 100%;
    min-height: auto;
    padding: 12px 0 14px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .brand {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .brand img {
    width: clamp(135px, 42vw, 165px);
    max-width: 58vw;
    height: auto;
  }

  .menu {
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    overflow: visible;
  }

  .menu a {
    font-size: 13px;
    line-height: 1;
  }

  .nav-btn {
    padding: 9px 14px;
  }

  .hero {
    padding: 42px 0 54px;
  }

  .hero h1,
  .hero-main h1,
  .page-hero h1 {
    font-size: 2.95rem;
    line-height: 0.98;
  }

  .hero p,
  .hero-text {
    font-size: 17px;
  }

  .hero-side {
    grid-template-columns: 1fr;
  }

  .side-point span {
    font-size: 26px;
  }

  .services-preview {
    padding: 52px 0 76px;
  }

  .section-head h2,
  .services-header h2 {
    font-size: 2.1rem;
  }

  .service-card,
  .mission-card,
  .value-card {
    padding: 24px;
  }

  .service-card-top {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    align-items: center;
    text-align: center;
  }

  .service-card-icon-wrap {
    width: 100%;
    min-height: auto;
  }

  .service-icon {
    width: 150px;
    max-width: 42vw;
    height: auto;
  }

  .service-card h3 {
    text-align: center;
    font-size: 26px;
  }

  .service-card-content {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .service-toggle {
    margin: 0 auto;
  }

  .service-detail {
    text-align: left;
  }

  .page-about .about-section {
    padding: 42px 0 44px;
  }

  .about-grid {
    padding: 28px 24px;
    gap: 28px;
  }

  .mission-vision {
    padding-bottom: 60px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .commitment-box,
  .cta-box,
  .page-services .cta-box {
    padding: 32px 24px;
  }

  .contact-section {
    padding: 42px 0 70px;
  }

  .contact-card,
  .form-card {
    padding: 28px 24px;
    border-radius: 28px;
  }

  .contact-card h2,
  .form-card h2 {
    font-size: 30px;
  }

  .site-footer {
    padding-top: 36px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .hero-main h1,
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-actions,
  .form-actions {
    width: 100%;
  }

  .btn,
  .cta-btn {
    width: 100%;
  }

  .contact-item a {
    font-size: 17px;
  }

  input,
  select,
  textarea {
    min-width: 0;
  }
}

