/* ============================================
   T3SKY Website - Main Stylesheet
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --color-primary: #531314;
  --color-primary-dark: #3f0001;
  --color-primary-light: #870e10;
  --color-accent: #fcd179;
  --color-accent-light: #d4a84b;
  --color-accent-dark: #b0842f;
  --color-bg-light: #fdf8f3;
  --color-bg-cream: #f5f0eb;
  --color-bg-white: #ffffff;
  --color-text-dark: #2d2d2d;
  --color-text-body: #555555;
  --color-text-muted: #888888;
  --color-text-white: #ffffff;
  --color-text-cream: #f5e6d3;
  --color-border: #e5ddd5;
  --color-card-shadow: rgba(74, 21, 32, 0.08);

  /* Typography */
  --font-heading: "Lexend", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --font-text: "Inter", sans-serif;

  /* Spacing */
  --section-padding: clamp(3.5rem, 3rem + 4vw, 7rem);
  --container-max: 1440px;
  --container-padding: clamp(1rem, 1.5vw, 1.5rem);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(0.938rem, 0.9rem + 0.2vw, 1.063rem);
  line-height: 1.7;
  color: var(--color-text-body);
  /* background-color: var(--color-bg-light); */
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-dark);
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.813rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(1.625rem, 1.05rem + 2vw, 2.625rem);
  margin-bottom: clamp(12px, 1.4vw, 16px);
}

.section-desc {
  max-width: 600px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.8vw, 8px);
  padding: clamp(10px, 1vw, 12px) clamp(20px, 2vw, 32px);
  /* border-radius: var(--radius-sm); */
  border-radius: 100px;
  font-family: var(--font-heading);
  /* font-size: 0.938rem; */
  font-size: clamp(1rem, 0.75rem + 0.8vw, 1.25rem);
  font-weight: 600;
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 151, 62, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn-white {
  background: var(--color-bg-white);
  color: var(--color-primary);
  font-weight: 600;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* --- Dot Pattern Background --- */
.dot-pattern {
  position: relative;
}

.dot-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.dot-pattern > * {
  /* position: relative; */
  /* z-index: 1; */
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-primary);
  transition:
    background var(--transition-normal),
    box-shadow var(--transition-normal);
}

.header.scrolled {
  background: rgba(58, 15, 24, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  width: 150px;
  height: auto;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-white);
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.language-switch {
  position: relative;
  font-family: var(--font-text);
  flex-shrink: 0;
}

.language-switch__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 98px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-white);
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.language-switch__trigger:hover,
.language-switch.open .language-switch__trigger {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
}

.language-switch__trigger img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.language-switch__current {
  color: var(--color-text-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.language-switch__chevron {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid var(--color-text-white);
  border-bottom: 2px solid var(--color-text-white);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--transition-fast);
}

.language-switch.open .language-switch__chevron {
  transform: rotate(225deg) translate(-2px, -1px);
}

.language-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 4px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(58, 15, 24, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity var(--transition-fast),
    visibility var(--transition-fast),
    transform var(--transition-fast);
  z-index: 120;
}

.language-switch.open .language-switch__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-switch__menu button {
  width: 100%;
  padding: 8px 10px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.language-switch__menu button:hover,
.language-switch__menu button.active {
  background: rgba(200, 151, 62, 0.18);
  color: var(--color-accent);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text-white);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  padding: calc(72px + clamp(48px, 7vw, 112px)) 0 clamp(48px, 6vw, 80px);
  background: var(--color-primary);
  color: var(--color-text-white);
}

.about-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about-hero__eyebrow {
  color: var(--color-accent);
  font-family: var(--font-text);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  margin-bottom: 12px;
}

.about-hero__title {
  color: var(--color-accent);
  font-family: var(--font-text);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.about-hero__desc {
  max-width: 680px;
  color: #f0f0f0;
  font-family: var(--font-text);
  font-size: clamp(16px, 1.7vw, 24px);
  line-height: 1.5;
}

.about-hero__visual {
  border-radius: clamp(20px, 3vw, 36px);
  overflow: hidden;
}

.about-hero__visual img {
  width: 100%;
  display: block;
}

.about-description {
  padding: clamp(48px, 6vw, 80px) 0;
  background: #fafafa;
}

.about-section-title {
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.about-description__eyebrow {
  color: var(--color-text-dark);
  font-family: var(--font-text);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.about-description__content {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 16px);
  margin-top: clamp(20px, 3vw, 32px);
}

.about-description__content p {
  color: #323232;
  font-family: var(--font-text) !important;
  font-size: clamp(16px, 1.4vw, 20px) !important;
  line-height: 1.55 !important;
}

.about-description__content h3 {
  color: var(--color-primary);
  font-family: var(--font-heading) !important;
  font-size: clamp(24px, 2.8vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.about-description__content h3:first-child {
  margin-top: 0;
}

.about-description__content h3 * {
  color: inherit !important;
  font: inherit !important;
}

.about-description__content span {
  color: inherit;
  font: inherit;
}

.about-description__content ul,
.about-description__content ol {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.8vw, 10px);
  padding-left: clamp(22px, 2.5vw, 32px);
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
  list-style: disc;
}

.about-description__content li {
  padding-left: 4px;
  list-style: disc;
}

.about-description__content li::marker {
  color: var(--color-primary);
  font-size: 0.85em;
}

.about-description__content li > ul {
  margin-top: 8px;
  list-style: circle;
}

.about-description__content li > ul li,
.about-description__content li > ul li::marker {
  list-style: circle;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-primary-dark);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.footer-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-white);
  font-family: var(--font-text);
  font-size: 18px;
  font-weight: 400;
}

.footer-col h4 {
  color: var(--color-text-white);
  font-family: var(--font-text);
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 2;
  transition: color var(--transition-fast);
  line-height: normal;
  cursor: pointer;
}

.footer-col ul li a:hover {
  color: var(--color-accent-light);
  text-decoration: underline;
}

.footer-col p {
  color: var(--color-text-white);
  font-family: var(--font-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  opacity: 0.8;
  margin-bottom: 40px;
}

.form-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-input input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  padding: 8px 0 8px 8px;
  color: #ccc;
  font-family: var(--font-text);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.form-input input:focus-visible {
  outline: none;
}

.form-input input::placeholder {
  color: #ccc;
  font-family: var(--font-text);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.form-input img {
  width: 28px;
  height: 28px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  color: var(--color-text-white);
  font-family: var(--font-text);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 2;
  opacity: 0.8;
}

.footer-service {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-service span:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .language-switch {
    position: relative;
  }

  .language-switch__trigger {
    width: 86px;
    gap: 7px;
    padding: 6px 9px;
  }

  .language-switch__trigger img {
    width: 19px;
    height: 19px;
  }

  .language-switch__current {
    font-size: 14px;
  }

  .language-switch__chevron {
    width: 9px;
    height: 9px;
  }

  .nav-cta .btn-outline {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Mobile Nav */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    inset: 72px 0 0;
    min-height: calc(100dvh - 72px);
    max-height: calc(100dvh - 72px);
    background: rgba(58, 15, 24, 0.98);
    backdrop-filter: blur(10px);
    padding: 32px;
    gap: 24px;
    align-items: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 101;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links.mobile-open a {
    font-size: 1.125rem;
    color: var(--color-text-white);
  }

  .about-hero .container {
    grid-template-columns: 1fr;
  }

  .about-hero {
    text-align: center;
  }

  .about-hero__title {
    font-size: clamp(32px, 7vw, 42px);
  }

  .about-hero__desc {
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .header .container {
    gap: 12px;
  }

  .logo {
    width: 128px;
  }

  .nav-cta {
    gap: 8px;
  }

  .nav-cta .btn-primary {
    display: inline-flex;
    padding: 8px 14px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .language-switch {
    position: relative;
  }

  .language-switch__trigger {
    gap: 6px;
    padding: 6px 8px;
  }

  .language-switch__trigger img {
    width: 18px;
    height: 18px;
  }

  .language-switch__current {
    font-size: 13px;
  }

  .language-switch__chevron {
    width: 9px;
    height: 9px;
    border-width: 2px;
  }

  .language-switch__menu button {
    font-size: 0.875rem;
  }

  .about-hero,
  .about-description {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .about-hero {
    padding-top: calc(72px + 32px);
  }

  .about-hero__title {
    font-size: 30px;
    line-height: 1.25;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-service {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: var(--color-primary);
  padding: calc(72px + clamp(48px, 7vw, 112px)) 0 clamp(56px, 7vw, 112px);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: -40px;
  right: -80px;
  width: 1200px;
  max-width: 60%;
  height: auto;
  aspect-ratio: 1200 / 356;
  background: url("/assets/images/decor_banner.png") no-repeat;
  background-size: contain;
}

.hero > img,
.pg-projects-hero > img {
  position: absolute;
  z-index: 0;
  left: 25px;
  bottom: 20px;
  width: 40px;
  height: auto;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 564px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* .hero-content {
  max-width: 564px;
} */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px clamp(12px, 1.2vw, 16px);
  background: rgba(200, 151, 62, 0.15);
  border: 1px solid rgba(200, 151, 62, 0.3);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--color-accent-light);
  margin-bottom: clamp(16px, 2vw, 24px);
}

.hero-title {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.125rem);
  color: var(--color-accent);
  margin-bottom: clamp(14px, 1.8vw, 20px);
  line-height: 1.2;
}

.hero-desc {
  font-size: clamp(0.938rem, 0.9rem + 0.5vw, 1.5rem);
  color: var(--color-text-white);
  margin-bottom: clamp(24px, 3vw, 36px);
  line-height: 1.5;
}

.hero .line {
  width: clamp(96px, 12vw, 150px);
  height: clamp(3px, 0.5vw, 5px);
  background-color: var(--color-accent);
  margin-bottom: clamp(32px, 5vw, 80px);
  border-radius: 5px;
}

.hero-actions {
  display: flex;
  gap: clamp(10px, 1.3vw, 16px);
  flex-wrap: wrap;
}

.hero-outline-btn {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
}

.hero-stats {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item {
  width: 180px;
  text-align: center;
  border-right: 1px solid #7c2e30;
}

.hero-stat-item:last-child {
  border-right: none;
}

.hero-stat-number {
  font-family: var(--font-text);
  font-size: clamp(2.25rem, 3vw, 3.125rem);
  font-weight: 600;
  color: var(--color-text-white);
  line-height: 1.2;
  margin-bottom: clamp(8px, 1.5vw, 16px);
}

.hero-stat-label {
  color: #f0f0f0;
  font-family: var(--font-text);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.5;
}

.hero-visual {
  height: 100%;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
}

.hero-visual .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-visual img {
  display: block;
  width: 100%;
  max-width: 640px;
}

.hero-swiper-pagination {
  bottom: 36px !important;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: all var(--transition-normal);
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 999px;
  background: var(--color-accent);
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */
.philosophy {
  padding: var(--section-padding) 0;
  background: var(--color-bg-white);
}

.philosophy .container {
  text-align: center;
}

.philosophy .section-title {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  text-align: left;
}

.philosophy-card {
  position: relative;
  padding: clamp(18px, 2vw, 24px) clamp(16px, 1.8vw, 20px);
  background-color: var(--color-bg-light);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth),
    background-color var(--transition-smooth);
  border-radius: 34px;
  overflow: hidden;
}

.philosophy-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}

.philosophy-card:nth-child(2) {
  background-color: var(--color-accent);
}

.philosophy-card .card-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(56px, 5vw, 72px);
  height: clamp(56px, 5vw, 72px);
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.philosophy-card:nth-child(2) .card-icon {
  background: var(--color-primary-light);
}

.philosophy-card h3 {
  font-size: clamp(1.35rem, 1rem + 1.2vw, 1.75rem);
  line-height: 1.25;
  margin-bottom: 10px;
}

.philosophy-card p {
  max-width: 80%;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
  color: #323232;
  line-height: 1.5;
  margin-bottom: clamp(20px, 2.4vw, 30px);
}

.philosophy-card ul {
  background-color: #f0f0f0;
  padding: clamp(18px, 2vw, 24px) 16px clamp(18px, 2vw, 24px)
    clamp(28px, 3vw, 36px);
  border-radius: 20px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 12px);
}

.philosophy-card:nth-child(2) ul {
  background-color: #f2c770;
}

.philosophy-card ul li {
  color: #323232;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.5;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions {
  margin: 0 clamp(24px, 5vw, 80px);
  padding: var(--section-padding) 0;
  background-color: var(--color-primary);
  border-radius: clamp(24px, 3vw, 40px);
}

.solutions .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.solutions-intro {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}

.solutions-intro img {
  max-width: clamp(140px, 16vw, 200px);
}

.solutions-intro .section-title {
  color: var(--color-accent);
  margin-bottom: 0;
}

.solutions-intro .section-desc {
  width: 100%;
  max-width: none;
  font-size: clamp(1rem, 1.3vw, 1.5rem);
  color: #f0f0f0;
  line-height: 1.5;
}

.solutions-intro .line {
  width: clamp(96px, 12vw, 150px);
  height: clamp(3px, 0.5vw, 5px);
  background: var(--color-accent);
  border-radius: 5px;
}

.solutions-buttons {
  display: flex;
  gap: clamp(10px, 1.4vw, 16px);
  flex-wrap: wrap;
  margin-top: clamp(4px, 1.5vw, 18px);
}

.solutions-list {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 24px);
}

.solution-item {
  padding: clamp(12px, 1.4vw, 16px) clamp(16px, 2vw, 24px);
  background-color: #6c191b;
  border-radius: 12px;
  border-left: 5px solid var(--color-accent);
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  font-family: var(--font-text);
  font-weight: 400;
  line-height: 1.5;
  transition:
    transform var(--transition-smooth),
    background-color var(--transition-smooth),
    box-shadow var(--transition-smooth),
    border-color var(--transition-smooth);
  cursor: pointer;
  will-change: transform, box-shadow;
}

.solution-item:hover {
  transform: translateX(-10px) !important;
  background-color: #7a1f23;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.16);
  border-color: #f7d47b;
}

.solution-item .solution-order {
  color: var(--color-accent);
  font-size: clamp(42px, 5vw, 70px);
  transition: transform var(--transition-smooth);
}

.solution-item .solution-detail {
  color: var(--color-text-white);
  font-size: clamp(16px, 1.7vw, 24px);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--section-padding) 0;
  background: var(--color-bg-white);
}

.services .section-header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-header .section-title {
  color: var(--color-primary);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: clamp(14px, 2vw, 24px);
}

.services .line {
  width: clamp(96px, 12vw, 150px);
  height: clamp(3px, 0.5vw, 5px);
  background-color: var(--color-accent);
  border-radius: 5px;
  margin: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 32px);
  background-color: #fafafa;
  border-radius: 25px;
  color: inherit;
  text-decoration: none;
  transition:
    transform var(--transition-smooth),
    background-color var(--transition-smooth),
    box-shadow var(--transition-smooth);
  /* cursor: pointer; */
  will-change: transform, box-shadow;
}

.service-card-image {
  position: absolute;
  right: clamp(20px, 2.4vw, 32px);
  top: clamp(20px, 2.4vw, 32px);
  background-color: var(--color-accent);
  width: clamp(40px, 4vw, 48px);
  height: clamp(40px, 4vw, 48px);
  border-radius: 50%;
  overflow: hidden;
}

.service-card-image img,
.service-card-image .image-hover {
  position: absolute;
  inset: 0;
  width: clamp(32px, 3.2vw, 40px);
  height: clamp(32px, 3.2vw, 40px);
  margin: auto;
  object-fit: cover;
  transition:
    opacity var(--transition-smooth),
    transform var(--transition-smooth);
}

.service-card-image .image-hover {
  display: none;
}

.service-card .line {
  width: 100%;
  max-width: 100%;
  height: 1px;
  background-color: #ccc;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.service-card-title {
  width: 80%;
  font-family: var(--font-text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(8px, 1vw, 12px);
  margin-bottom: clamp(36px, 5vw, 75px);
}

.service-card-title h3 {
  color: #252525;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.25;
}

.service-card-title p {
  text-align: justify;
  color: #323232;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.5;
}

.service-card:hover {
  transform: rotate(-2deg) !important;
  background-color: var(--color-accent);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.12);
}

.service-card:hover .service-card-image {
  background-color: var(--color-primary);
  transform: translateY(-2px);
}

.service-card:hover .line {
  background-color: #b8841b;
}

.service-card:hover .service-card-image .image {
  display: none;
}

.service-card:hover .service-card-image .image-hover {
  display: block;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
  padding: var(--section-padding) 0;
  background: var(--color-primary);
}

.projects .section-header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 56px);
  font-family: var(--font-text);
}

.projects .section-header .section-title {
  color: var(--color-accent);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
}

.projects .section-desc {
  max-width: 800px;
  margin: 0 auto;
  color: #f0f0f0;
  text-align: center;
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 400;
  line-height: 1.5;
}

.projects-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 3vw, 40px);
}

.project-buttons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: clamp(6px, 0.8vw, 8px);
  border-radius: 60px;
  background-color: var(--color-primary-dark);
}

.project-buttons .btn {
  padding: clamp(7px, 0.8vw, 8.5px) clamp(14px, 1.8vw, 24px);
  background-color: transparent;
  color: var(--color-text-white);
  font-size: clamp(14px, 1.2vw, 18px);
  font-family: var(--font-text);
  font-weight: 500;
  line-height: 1.5;
  border: none;
}

.project-buttons .btn:hover,
.project-buttons .btn.active {
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
}

.project-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 24px);
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  font-family: var(--font-text);
}

.project-card:nth-child(2) {
  flex-direction: column-reverse;
}

.project-card h3 {
  color: var(--color-text-white);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.25;
}

.project-card p {
  color: #f0f0f0;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 400;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

.project-card-big,
.project-card-small {
  position: relative;
  padding: 0 clamp(72px, 6vw, 96px) clamp(20px, 2.2vw, 28px)
    clamp(14px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(6px, 0.8vw, 8px);
  border-radius: clamp(18px, 2vw, 28px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
  will-change: transform, box-shadow;
}

.project-card-big::before,
.project-card-small::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 28%,
    rgba(0, 0, 0, 0.08) 52%,
    rgba(0, 0, 0, 0.32) 78%,
    rgba(0, 0, 0, 0.46) 100%
  );
  pointer-events: none;
}

.project-card-big::after,
.project-card-small::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: clamp(54px, 4.6vw, 72px);
  height: clamp(54px, 4.6vw, 72px);
  border-top-left-radius: 999px;
  background: #fff;
  pointer-events: none;
}

.project-card-placeholder::after {
  display: none;
}

.project-card-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform var(--transition-smooth),
    opacity var(--transition-smooth);
}

.project-card-big:hover,
.project-card-small:hover {
  transform: translateY(-10px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 32px 70px rgba(0, 0, 0, 0.24);
}

.project-card-big:hover > img,
.project-card-small:hover > img {
  transform: scale(1.05);
}

.project-card-big {
  aspect-ratio: 5/6;
}

.project-card-small {
  aspect-ratio: 5/4;
}

.project-card-placeholder {
  border-style: dashed;
  border-color: rgba(109, 12, 16, 0.24);
  background: #f7eeee;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 2vw, 28px);
  pointer-events: none;
}

.project-card-placeholder::before {
  content: "";
  display: block;
  position: absolute;
  inset: clamp(10px, 1.2vw, 14px);
  z-index: 0;
  border: 1px solid rgba(109, 12, 16, 0.12);
  border-radius: calc(clamp(18px, 2vw, 28px) - 10px);
  background: transparent;
}

.project-card-placeholder:hover {
  transform: none;
  box-shadow: none;
}

.project-card-placeholder span {
  position: relative;
  z-index: 1;
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(16px, 1.2vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.projects .project-card-placeholder {
  border-color: rgba(255, 255, 255, 0.42);
  background: #edf4f2;
}

.projects .project-card-placeholder::before {
  border-color: rgba(109, 12, 16, 0.12);
}

.project-card-big h3,
.project-card-big p,
.project-card-small h3,
.project-card-small p,
.project-card-image {
  position: relative;
  z-index: 1;
}

.project-card-big h3,
.project-card-small h3 {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.project-card-big p,
.project-card-small p {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
}

.project-card-image {
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: 0;
  width: clamp(36px, 3.2vw, 46px);
  height: clamp(36px, 3.2vw, 46px);
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--transition-smooth),
    background-color var(--transition-smooth);
}

.project-card-image img {
  width: clamp(20px, 1.9vw, 28px);
  height: clamp(20px, 1.9vw, 28px);
  object-fit: contain;
}

.project-more .btn-outline {
  gap: 12px;
  border: 1.5px solid var(--color-bg-white);
  color: var(--color-text-white);
  font-weight: 400;
}

.project-more .btn-outline:hover {
  background: transparent;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
  padding: var(--section-padding) 0;
  background: var(--color-bg-white);
}

.why-us .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.why-us-content .section-title {
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: clamp(14px, 1.8vw, 20px);
}

.why-us-content .line {
  width: clamp(96px, 12vw, 150px);
  height: clamp(3px, 0.5vw, 5px);
  background-color: var(--color-accent);
  border-radius: 5px;
}

.why-us-list {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 40px);
  margin: clamp(24px, 3vw, 40px) 0;
}

.why-us-item {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.4vw, 16px);
  align-items: flex-start;
}

.why-us-item h4 {
  padding: clamp(8px, 1vw, 10px) clamp(12px, 1.4vw, 16px);
  border-radius: 8px;
  background: linear-gradient(90deg, #f0f0f0 0%, rgba(240, 240, 240, 0) 100%);
  color: #252525;
  font-family: var(--font-text);
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 4px;
}

.why-us-item p {
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
}

.why-us-item p img {
  display: inline;
  width: 16px;
  height: 16px;
}

.why-us-content .section-actions {
  display: flex;
  gap: clamp(10px, 1.4vw, 16px);
  flex-wrap: wrap;
}

.why-us-content .section-actions .btn-outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
  font-weight: 500;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
  padding: var(--section-padding) 0;
  background: var(--color-primary);
}

.process .section-header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 56px);
  font-family: var(--font-text);
}

.process .section-header .section-title {
  color: var(--color-accent);
  margin-bottom: 16px;
}

.process .section-desc {
  max-width: 800px;
  color: #f0f0f0;
  text-align: center;
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  margin: 0 auto clamp(28px, 3vw, 40px);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(24px, 4vw, 64px);
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 154px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-border));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-smooth);
  cursor: pointer;
  will-change: transform;
}

.process-step-number {
  font-family: var(--font-text);
  font-size: clamp(2.75rem, 4.5vw, 4.875rem);
  font-weight: 500;
  color: var(--color-text-white);
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: clamp(20px, 3vw, 32px);
  transition:
    transform var(--transition-smooth),
    opacity var(--transition-smooth),
    color var(--transition-smooth);
}

.process-step h3,
.process-step p {
  transition:
    transform var(--transition-smooth),
    color var(--transition-smooth),
    opacity var(--transition-smooth);
}

.process-step:hover {
  transform: translateY(-6px);
}

.process-step:hover .process-step-number {
  opacity: 1;
  color: var(--color-accent);
  transform: translateY(-4px);
}

.process-step:hover h3,
.process-step:hover p {
  transform: translateY(-3px);
  opacity: 0.95;
}

.process-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  margin: 0 auto clamp(20px, 3vw, 32px);
  position: relative;
  transition:
    transform var(--transition-smooth),
    background-color var(--transition-smooth);
}

.process-step:hover .process-step-dot {
  transform: scale(1.15);
  box-shadow: 0 0 0 8px rgba(252, 209, 121, 0.15);
  background-color: #fcd179;
}

.process-step h3 {
  color: var(--color-text-white);
  text-align: center;
  font-family: var(--font-text);
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}

.process-step p {
  color: #f0f0f0;
  text-align: center;
  font-family: var(--font-text);
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.4;
}

/* ============================================
   CTA / CONTACT SECTION
   ============================================ */
.cta-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg-white);
}

.cta-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.cta-content .section-title {
  margin-top: clamp(0px, 3vw, 42px);
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-content .section-desc,
.cta-feature {
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: clamp(24px, 3vw, 42px);
}

.cta-features {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 24px);
}

.cta-feature {
  display: flex;
  gap: clamp(8px, 1vw, 12px);
  align-items: center;
  margin-bottom: 0;
}

.cta-form-card {
  background: #f0f0f0;
  border-radius: 16px;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 4vw, 56px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-form-card h3 {
  font-size: clamp(1.125rem, 1.2vw, 1.25rem);
  margin-bottom: clamp(18px, 2vw, 24px);
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 24px);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border: 1px solid #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group label {
  display: block;
  font-family: var(--font-text);
  font-size: 0.875rem;
  font-weight: 400;
  color: #323232;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: clamp(10px, 1vw, 12px) 16px clamp(10px, 1vw, 12px)
    clamp(14px, 1.4vw, 20px);
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-bg-white);
  color: var(--color-text-dark);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200, 151, 62, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.4vw, 16px);
}

.cta-form-card .btn {
  width: 100%;
  margin-top: clamp(4px, 1.4vw, 16px);
}

#alert-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.custom-alert {
  min-width: 280px;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s ease;
}

.custom-alert.show {
  opacity: 1;
  transform: translateX(0);
}

.custom-alert.success {
  background-color: #28a745; /* Bootstrap success */
}

.custom-alert.danger {
  background-color: #dc3545; /* Bootstrap danger */
}

/* ============================================
   NEWS / BLOG SECTION
   ============================================ */
.news {
  padding: var(--section-padding) 0;
  background: var(--color-primary);
}

.news .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 16px);
  margin-bottom: clamp(28px, 4vw, 48px);
}

.news .section-header .section-title {
  margin: 0 auto;
  text-align: center;
  color: var(--color-accent);
  font-family: var(--font-text);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}

.news .section-header .section-desc {
  max-width: 800px;
  color: #f0f0f0;
  text-align: center;
  font-family: var(--font-text);
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 400;
  line-height: 1.5;
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 3vw, 40px);
}

.news-card-big {
  transition: transform var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  will-change: transform;
}

.news-card-big:hover {
  transform: translateY(-10px);
}

.news-card-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  padding: 4px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.78);
  line-height: 0;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  display: block;
  transition: transform var(--transition-smooth);
}

.news-card-big:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-body {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 12px);
  align-items: flex-start;
}

.news-card-body h3 {
  color: var(--color-text-white);
  font-family: var(--font-text);
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition:
    transform var(--transition-smooth),
    color var(--transition-smooth);
}

.news-card-body p {
  color: #ccc;
  font-family: var(--font-text);
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition:
    transform var(--transition-smooth),
    opacity var(--transition-smooth);
}

.news-card-big:hover .news-card-body h3 {
  transform: translateY(-3px);
}

.news-card-big:hover .news-card-body p {
  transform: translateY(-2px);
  opacity: 0.95;
}

.news-card-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 24px);
}

.news-card-list .news-card-small {
  display: flex;
  gap: clamp(12px, 1.4vw, 16px);
  align-items: center;
  transition: transform var(--transition-smooth);
  cursor: pointer;
  will-change: transform;
}

.news-card-list .news-card-small:hover {
  transform: translateX(6px);
}

.news-card-small img {
  max-width: clamp(160px, 16vw, 212px);
  flex-shrink: 0;
  width: 100%;
  height: auto;
  border-radius: 16px;
  padding: clamp(4px, 0.6vw, 6px);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.14);
  box-sizing: border-box;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-smooth);
}

.news-card-list .news-card-small:hover img {
  transform: scale(1.03);
}

.news-card-list .news-card-small .news-card-body {
  gap: 8px;
  min-width: 0;
}

.news-card-list .news-card-small h3 {
  font-size: clamp(16px, 1.25vw, 18px);
  transition:
    transform var(--transition-smooth),
    color var(--transition-smooth);
}

.news-card-list .news-card-small p {
  font-size: clamp(13px, 1vw, 15px);
  -webkit-line-clamp: 2;
  transition:
    transform var(--transition-smooth),
    opacity var(--transition-smooth);
}

.news-card-list .news-card-small:hover .news-card-body h3 {
  transform: translateX(3px);
}

.news-card-list .news-card-small:hover .news-card-body p {
  transform: translateX(2px);
  opacity: 0.92;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  padding: var(--section-padding) 0;
  background: var(--color-bg-white);
}

.faq .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.faq .section-header {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.faq .section-header .section-title {
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(28px, 3vw, 42px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.faq .section-header .section-desc {
  max-width: 100%;
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: clamp(24px, 3vw, 42px);
}

.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 12px);
}

.faq-item {
  background: #fafafa;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition:
    transform var(--transition-smooth),
    border-color var(--transition-fast),
    background-color var(--transition-smooth);
  will-change: transform;
}

.faq-item:hover {
  transform: translateY(-2px);
  background-color: #fff;
}

.faq-item.active {
  border-color: var(--color-accent);
  background-color: #fff;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: clamp(14px, 1.7vw, 20px) clamp(16px, 2vw, 24px);
  text-align: left;
  font-family: var(--font-text);
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 500;
  color: #0c0507;
  cursor: pointer;
  transition:
    color var(--transition-fast),
    transform var(--transition-smooth);
}

.faq-question:hover {
  transform: translateX(2px);
}

.faq-item.active .faq-question {
  color: var(--color-primary);
}

.faq-question .faq-icon {
  width: clamp(24px, 2.4vw, 28px);
  height: clamp(24px, 2.4vw, 28px);
  border-radius: 50%;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.faq-item.active .faq-question .faq-icon {
  background: var(--color-accent);
  transform: rotate(180deg);
}

.faq-question .faq-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question .faq-icon svg {
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height var(--transition-smooth),
    opacity var(--transition-smooth);
}

.faq-item.active .faq-answer {
  max-height: 650px;
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 clamp(16px, 2vw, 24px) clamp(14px, 1.7vw, 20px);
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.5;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 {
  transition-delay: 0.1s;
}
.fade-up.delay-2 {
  transition-delay: 0.2s;
}
.fade-up.delay-3 {
  transition-delay: 0.3s;
}
.fade-up.delay-4 {
  transition-delay: 0.4s;
}
.fade-up.delay-5 {
  transition-delay: 0.5s;
}
.fade-up.delay-6 {
  transition-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    padding: calc(72px + 56px) 0 64px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions,
  .solutions-buttons {
    justify-content: center;
  }

  .hero .line {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-float-card {
    display: none;
  }

  .philosophy-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .philosophy-card p {
    max-width: 88%;
  }

  .solutions {
    margin: 0 24px;
  }

  .solutions .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .solutions-intro {
    align-items: center;
  }

  .solution-item {
    text-align: left;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    padding: 24px;
  }

  .service-card-image {
    right: 24px;
    top: 24px;
    width: 44px;
    height: 44px;
  }

  .service-card-image img {
    width: 36px;
    height: 36px;
  }

  .service-card-title {
    margin-bottom: 48px;
  }

  .service-card-title h3 {
    font-size: 24px;
  }

  .service-card-title p {
    font-size: 16px;
    text-align: left;
  }

  .project-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .project-card.featured {
    grid-row: span 1;
  }

  .why-us .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-us-content .section-title,
  .cta-content .section-title {
    margin-top: 0;
  }

  .why-us-visual {
    order: -1;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .process-step h3 {
    font-size: 18px;
  }

  .process-step p {
    font-size: 14px;
  }

  .process-steps::before {
    display: none;
  }

  .cta-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-content {
    text-align: center;
  }

  .cta-content .section-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-features {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .news-card-list .news-card-small {
    width: 48%;
    flex-direction: column;
  }

  .news-card-small img {
    max-width: 100%;
  }

  .faq .section-header {
    margin-bottom: 0;
  }

  .faq .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq .section-header {
    text-align: center;
  }

  .faq .section-header .section-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .btn {
    width: 100%;
    white-space: normal;
  }

  .hero {
    padding: calc(72px + 32px) 0 48px;
  }

  .hero-badge {
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .hero-desc {
    margin-bottom: 22px;
  }

  .hero .line {
    width: 88px;
    height: 3px;
    margin-bottom: 28px;
  }

  .hero-actions,
  .solutions-buttons {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 18px;
    margin-top: 32px;
    padding-top: 24px;
  }

  .hero-stat-item {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #7c2e30;
    padding-bottom: 16px;
  }

  .hero-stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .hero-stat-number {
    font-size: 34px;
  }

  .hero-stat-label {
    font-size: 15px;
  }

  .philosophy,
  .services,
  .projects,
  .why-us,
  .process,
  .cta-section,
  .news,
  .faq {
    padding: 48px 0;
  }

  .philosophy .section-title {
    margin-bottom: 28px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .philosophy-card {
    border-radius: 22px;
  }

  .philosophy-card p {
    max-width: 100%;
  }

  .philosophy-card ul {
    border-radius: 16px;
  }

  .solutions {
    margin: 0;
    border-radius: 0;
  }

  .solutions .container {
    gap: 28px;
  }

  .solutions-intro {
    gap: 18px;
  }

  .solutions-intro img {
    max-width: 132px;
  }

  .projects .section-header {
    margin-bottom: 28px;
  }

  .section-header .section-title {
    font-size: 30px;
  }

  .projects .section-header .section-title {
    font-size: 30px;
  }

  .projects .section-desc {
    font-size: 16px;
  }

  .projects-showcase {
    gap: 24px;
  }

  .project-buttons {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    width: fit-content;
    max-width: 100%;
  }

  .project-buttons .btn {
    padding: 6px 10px;
    width: auto;
    white-space: nowrap;
  }

  .project-card-big,
  .project-card-small {
    padding: 0 92px 34px 16px;
    border-bottom-right-radius: var(--radius-md);
  }

  .project-card-big::after,
  .project-card-small::after {
    width: 66px;
    height: 66px;
  }

  .project-card-image {
    bottom: 0;
    right: 0;
    width: 48px;
    height: 48px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  }

  .project-card-image img {
    width: 28px;
    height: 28px;
  }

  .project-card-placeholder {
    padding: clamp(18px, 2vw, 28px);
  }

  .project-card h3 {
    font-size: 18px;
  }

  .project-card p {
    font-size: 12px;
  }

  .solution-item .solution-detail {
    font-size: 18px;
  }

  .solution-item .solution-order {
    font-size: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card {
    padding: 18px;
    border-radius: 18px;
  }

  .service-card-title {
    width: calc(100% - 52px);
    margin-bottom: 24px;
  }

  .service-card-title h3 {
    font-size: 20px;
  }

  .service-card-title p {
    font-size: 14px;
  }

  .service-card-image {
    right: 16px;
    top: 16px;
  }

  .service-card-more {
    line-height: 1.4;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card-list .news-card-small {
    width: 100%;
    flex-direction: column;
  }

  .why-us-list {
    gap: 24px;
    margin: 24px 0;
  }

  .why-us-item {
    gap: 8px;
  }

  .why-us-item h4,
  .why-us-item p {
    font-size: 1rem;
  }

  .why-us-item p img {
    width: 12px;
    height: 12px;
  }

  .why-us-content .section-title {
    font-size: 30px;
  }

  .why-us-content .section-actions {
    flex-direction: column;
    justify-content: space-between;
  }

  .why-us-content .section-actions .btn {
    font-size: 1rem;
    padding: 10px 24px;
  }

  .process .section-desc {
    font-size: 16px;
  }

  .process .section-header {
    margin-bottom: 28px;
  }

  .process-step-dot {
    margin: 0 auto 20px;
  }

  .process-step-number {
    line-height: 1;
    margin-bottom: 20px;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }

  .process-step:last-child {
    grid-column: span 2;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cta-section .container {
    gap: 24px;
  }

  .cta-content .section-title {
    font-size: 30px;
  }

  .cta-features {
    gap: 12px;
  }

  .cta-content .section-desc,
  .cta-feature {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .cta-feature {
    margin-bottom: 0;
  }

  .cta-form-card {
    padding: 24px 18px;
  }

  .form-group {
    margin-bottom: 0;
  }

  .cta-form-card .btn {
    margin-top: 0;
  }

  .news .section-header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
  }

  .news .section-header .section-title {
    font-size: 30px;
  }

  .news .section-header .section-desc {
    font-size: 16px;
  }

  .news-card-body h3 {
    font-size: 20px;
  }

  .news-card-body p {
    font-size: 16px;
  }

  .news-card-list .news-card-small h3,
  .news-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .why-us-content .section-actions .btn {
    font-size: 1rem;
    padding: 10px 16px;
  }

  .faq .container {
    gap: 24px;
  }

  .faq .section-header .section-title {
    font-size: 30px;
  }

  .faq .section-header .section-desc {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .faq-question {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .faq-answer-inner {
    font-size: 14px;
    padding: 0 16px 12px;
  }
}

/* Small mobile */
@media (max-width: 375px) {
  .header .container {
    height: 64px;
    gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .logo {
    width: 92px;
  }

  .nav-cta {
    gap: 5px;
  }

  .nav-cta .btn-primary {
    padding: 7px 10px;
    font-size: 0.68rem;
    border-radius: 999px;
  }

  .language-switch__trigger {
    width: 70px;
    gap: 4px;
    padding: 5px 6px;
  }

  .language-switch__trigger img {
    width: 15px;
    height: 15px;
  }

  .language-switch__current {
    font-size: 11px;
  }

  .language-switch__chevron {
    width: 7px;
    height: 7px;
    border-width: 1.5px;
  }

  .mobile-toggle {
    gap: 4px;
    padding: 3px;
  }

  .mobile-toggle span {
    width: 20px;
  }

  .nav-links.mobile-open {
    inset: 64px 0 0;
    min-height: calc(100dvh - 64px);
    max-height: calc(100dvh - 64px);
  }

  .about-hero__title {
    font-size: 28px;
  }

  .hero {
    padding: calc(72px + 24px) 0 40px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-desc,
  .solutions-intro .section-desc,
  .projects .section-desc,
  .process .section-desc,
  .cta-content .section-desc,
  .cta-feature,
  .news .section-header .section-desc,
  .faq .section-header .section-desc {
    font-size: 15px;
  }

  .philosophy,
  .services,
  .projects,
  .why-us,
  .process,
  .cta-section,
  .news,
  .faq {
    padding: 40px 0;
  }

  .section-header .section-title,
  .projects .section-header .section-title,
  .why-us-content .section-title,
  .cta-content .section-title,
  .news .section-header .section-title,
  .faq .section-header .section-title {
    font-size: 28px;
  }

  .solution-item {
    padding: 12px 14px;
    gap: 12px;
  }

  .solution-item .solution-order {
    font-size: 34px;
  }

  .solution-item .solution-detail {
    font-size: 16px;
  }

  .service-card-title {
    width: 100%;
    padding-right: 48px;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(2) {
    flex-direction: column;
  }

  .project-card-big,
  .project-card-small {
    aspect-ratio: 4 / 3;
    padding: 0 74px 26px 16px;
    border-bottom-right-radius: var(--radius-md);
  }

  .project-card-big::after,
  .project-card-small::after {
    width: 54px;
    height: 54px;
  }

  .project-card-image {
    bottom: 0;
    right: 0;
    width: 42px;
    height: 42px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  }

  .project-card-image img {
    width: 24px;
    height: 24px;
  }

  .project-card-placeholder {
    padding: clamp(18px, 2vw, 28px);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step:last-child {
    grid-column: span 1;
  }

  .process-step-number {
    font-size: 40px;
  }

  .cta-form-card {
    padding: 20px 16px;
  }

  .news-card-list .news-card-small {
    gap: 10px;
  }

  .faq-question {
    gap: 12px;
  }
}

/* ============================================
   PAGE: NEWS LIST
   ============================================ */

/* News Hero Banner */
.news-hero {
  /* padding: calc(72px + clamp(36px, 4vw, 48px)) 0 clamp(44px, 5vw, 64px); */
  padding: clamp(48px, 6vw, 80px) 0;
  background: #fafafa;
}

.news-hero-intro {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.news-hero-title {
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(40px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: clamp(16px, 2vw, 24px);
  text-align: center;
}

.news-hero-line {
  width: clamp(96px, 12vw, 150px);
  height: clamp(3px, 0.5vw, 5px);
  background: var(--color-accent);
  margin: 0 auto;
  border-radius: 5px;
}

.news-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: clamp(18px, 2vw, 24px);
  align-items: stretch;
}

.news-hero-big,
.news-hero-small {
  min-width: 0;
}

.news-hero-big > a,
.news-hero-small > a {
  display: block;
  width: 100%;
  height: 100%;
}

.news-hero-card {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
}

.news-hero-card:hover .news-hero-card-image img {
  transform: scale(1.04);
}

.news-hero-card:hover .news-hero-card-overlay {
  transform: translateY(-6px);
}

.news-hero-small {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  min-height: 0;
}

.news-hero-small a {
  min-height: 0;
}

.news-hero-small .news-hero-card-image {
  aspect-ratio: auto;
}

.news-hero-card-image {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}

.news-hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.news-hero-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: clamp(6px, 1vw, 8px);
  padding: clamp(14px, 1.5vw, 20px);
  transition: transform 0.3s ease;
}

.news-hero-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    0deg,
    #0c0c0c 0%,
    rgba(12, 12, 12, 0.6) 29.2%,
    rgba(12, 12, 12, 0) 43.04%
  );
  pointer-events: none;
}

.news-hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-hero-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: clamp(6px, 1vw, 8px);
  padding: clamp(14px, 1.5vw, 20px);
}

.news-hero-card-title {
  color: var(--color-text-white);
  font-family: var(--font-text);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.55;

  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

.news-hero-card-desc {
  color: #ccc;
  font-family: var(--font-text);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.5;

  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

.news-hero-small .news-hero-card-title {
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 400;
  -webkit-line-clamp: 2;
}

/* News Latest */
.news-latest {
  /* padding: clamp(48px, 6vw, 80px) 0; */
  padding: calc(72px + clamp(36px, 4vw, 48px)) 0 clamp(44px, 5vw, 64px);
  /* background: #fafafa; */
}

.news-latest-intro-title {
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(40px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: clamp(16px, 2vw, 24px);
  text-align: center;
}

.news-latest-intro-line {
  width: clamp(96px, 12vw, 150px);
  height: clamp(3px, 0.5vw, 5px);
  background: var(--color-accent);
  margin: 0 auto;
  border-radius: 5px;
}

.news-latest-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(28px, 3vw, 40px)
    clamp(32px, 4vw, 64px);
  margin-top: clamp(32px, 4vw, 56px);
}

.news-latest-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 14px);
  transition: transform var(--transition-smooth);
}

.news-latest-card:hover .news-latest-content,
.news-latest-card:focus-within .news-latest-content {
  transform: translateX(6px);
}

.news-latest-title {
  color: var(--color-accent);
  font-family: var(--font-text);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  transition:
    transform var(--transition-smooth),
    color var(--transition-smooth);
}

.news-latest-card:hover .news-latest-title,
.news-latest-card:focus-within .news-latest-title {
  transform: translateY(-3px);
  color: #fcd179;
}

.news-latest-date {
  color: #ccc;
  text-align: justify;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.news-latest-desc {
  color: var(--color-text-white);
  text-align: justify;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition:
    transform var(--transition-smooth),
    opacity var(--transition-smooth);
}

.news-latest-card:hover .news-latest-desc,
.news-latest-card:focus-within .news-latest-desc {
  transform: translateY(-2px);
  opacity: 0.92;
}

.news-latest-content .btn {
  margin-top: clamp(18px, 2vw, 28px);
  width: fit-content;
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth),
    background-color var(--transition-fast);
}

.news-latest-card:hover .news-latest-content .btn,
.news-latest-card:focus-within .news-latest-content .btn {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.news-latest-image {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
  aspect-ratio: 4 /3;
  padding: 4px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.16);
  line-height: 0;
}

.news-latest-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius-lg) - 8px);
  transition:
    transform 0.55s ease,
    filter var(--transition-smooth);
}

.news-latest-card:hover .news-latest-image img,
.news-latest-card:focus-within .news-latest-image img {
  transform: scale(1.06);
  filter: brightness(1.05) saturate(1.08);
}

/* News All / Filter Tabs */
.news-all {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--color-bg-white);
}

.news-all-intro {
  display: flex;
  /* flex-wrap: wrap; */
  gap: clamp(16px, 2vw, 24px);
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.news-all-intro-title {
  flex: 0 0 auto;
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(40px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.2;
}

.news-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 520px);
}

.news-search-form .btn {
  flex: 0 0 auto;
}

.news-search-form .filter-input {
  min-width: 0;
  background: #fff;
  border: 1px solid #d8d8d8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.news-search-form .filter-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(116, 27, 30, 0.12);
}

.news-filter-scroll {
  flex: 0 1 auto;
  min-width: 0;
  width: fit-content;
  max-width: min(100%, 698px);
}

.news-filter-tabs {
  display: flex;
  gap: 8px;
  /* flex-wrap: wrap; */

  flex-wrap: nowrap;
  overflow-x: auto;
  width: fit-content;
  max-width: 100%;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  cursor: grab;
  user-select: none;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}

.news-filter-tabs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.news-filter-scroll.is-dragging-tabs .news-filter-tabs {
  cursor: grabbing;
  scroll-behavior: auto;
}

.filter-tab {
  appearance: none;
  flex: 0 0 auto;
  padding: clamp(7px, 0.8vw, 8px) clamp(16px, 1.6vw, 20px);
  border-radius: 100px;
  font-family: var(--font-text);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-muted);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

[data-news-list].is-loading [data-news-list-fragment] {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.filter-tab:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.filter-tab.active {
  background: var(--color-primary);
  color: var(--color-text-white);
  border-color: var(--color-primary);
  box-shadow: 0 10px 24px rgba(76, 12, 26, 0.16);
  transform: translateY(-1px);
}

/* News List page uses 3-column grid */
.news-all .news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 40px;
}

.news-grid .news-card {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.2vw, 16px);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  border-radius: 18px;
  overflow: hidden;
  background-color: #fff;
}

.news-grid .news-card:hover img {
  transform: scale(1.02);
}

.news-grid .news-card-body {
  gap: clamp(6px, 0.8vw, 8px);
  margin-bottom: clamp(4px, 0.8vw, 8px);
}

.news-grid .news-card-title {
  color: #252525;
  font-family: var(--font-text);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 600;
  line-height: 1.55;
  min-height: 3.1em;

  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-grid .news-card-date {
  color: #696969;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.news-grid .news-card-desc {
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 400;
  line-height: 1.5;
  min-height: 3em;
  opacity: 0.6;

  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   PAGE: NEWS DETAILS
   ============================================ */

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 8px);
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.813rem);
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-list a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
  cursor: pointer;
}

.breadcrumb-list a:hover {
  color: var(--color-accent-light);
}

.breadcrumb-list li + li::before {
  content: ">";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-list li:last-child {
  color: var(--color-text-white);
}

/* News Detail Layout */
.news-detail {
  padding: calc(72px + clamp(48px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px);
  background: var(--color-bg-white);
}

.news-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(32px, 4vw, 48px);
  align-items: flex-start;
}

/* Article Content */
.article-intro {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 10px);
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.article-title {
  color: #252525;
  font-family: var(--font-text);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.3;
}

.article-date {
  color: #696969;
  font-family: var(--font-text);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  padding-bottom: clamp(14px, 1.6vw, 18px);
  border-bottom: 0.5px solid #ccc;
  margin-bottom: clamp(14px, 1.6vw, 18px);
}

.article-subcontent {
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 500;
  line-height: 1.6;
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: clamp(16px, 2vw, 24px);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.article-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.article-body h2 {
  color: #252525;
  font-family: var(--font-text);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.5;
  margin: clamp(24px, 3vw, 32px) 0 clamp(12px, 1.4vw, 16px);
}

.article-body p {
  margin-bottom: clamp(14px, 1.6vw, 18px);
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.5;
}

.article-body img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* Article Sidebar */
.article-sidebar {
}

.sidebar-heading {
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: clamp(12px, 1.4vw, 16px);
}

.sidebar-articles {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 16px);
}

.sidebar-article-item {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 16px);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.2s ease;
  border-radius: 16px;
}

.sidebar-article-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.sidebar-article-item:hover .sidebar-article-thumb img {
  transform: scale(1.03);
}

.sidebar-article-info {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.8vw, 8px);
  margin-bottom: clamp(4px, 0.8vw, 8px);
}

.sidebar-article-info .sidebar-article-title {
  color: #252525;
  font-family: var(--font-text);
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 600;
  line-height: 1.55;
  min-height: 3.1em;

  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-article-info .sidebar-article-date {
  color: #696969;
  font-family: var(--font-text);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.5;
}

.sidebar-article-info .sidebar-article-desc {
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 400;
  line-height: 1.5;
  min-height: 3em;

  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* ============================================
   PAGE: PROJECT LIST
   ============================================ */

/* Projects Hero */
.pg-projects-hero {
  position: relative;
  background: var(--color-primary);
  padding: calc(72px + clamp(48px, 7vw, 112px)) 0 clamp(48px, 5vw, 72px);
}

.pg-projects-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
  position: relative;
}

.pg-projects-hero__title {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.125rem);
  color: var(--color-accent);
  font-family: var(--font-text);
  margin-bottom: clamp(12px, 1.4vw, 16px);
  line-height: 1.2;
}

.pg-projects-hero__desc {
  color: var(--color-text-white);
  font-family: var(--font-text);
  font-size: clamp(16px, 1.7vw, 24px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.pg-projects-hero__content .line {
  width: clamp(96px, 12vw, 150px);
  height: clamp(3px, 0.5vw, 5px);
  background-color: var(--color-accent);
  border-radius: 5px;
  margin-bottom: clamp(28px, 4vw, 60px);
}

.pg-projects-hero__stats {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}

.pg-projects-hero__visual {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: flex-start;
  min-width: 0;
}

.pg-projects-hero__mockup {
  width: min(100%, 640px);
  min-width: 0;
  margin-inline: auto;
}

.pg-projects-hero__banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pg-projects-hero__banner.swiper,
.projects-hero-swiper.swiper {
  width: 100%;
}

.pg-projects-hero__banner.swiper .swiper-slide,
.projects-hero-swiper.swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.pg-projects-hero__banner.swiper .swiper-slide img,
.projects-hero-swiper.swiper .swiper-slide img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.project-filter-box {
  position: absolute;
  bottom: clamp(-112px, -8vw, -80px);
  left: 0;
  right: 0;
  width: 100%;
  background: #f0f0f0;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  border-radius: 12px;
}

/* ROW */
.filter-row {
  display: flex;
  gap: clamp(12px, 1.4vw, 16px);
  width: 100%;
}

.filter-row-top {
  margin-bottom: clamp(14px, 1.8vw, 20px);
}

.filter-row-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) max-content;
  align-items: center;
}

/* INPUT */
.filter-input {
  flex: 1;
  height: clamp(44px, 4vw, 48px);
  border-radius: 48px;
  border: none;
  padding: 0 clamp(16px, 1.6vw, 20px);
  font-size: clamp(15px, 1.3vw, 18px);
  color: #0c0507;
  outline: none;
}

.filter-input::placeholder {
  color: #696969;
}

/* SELECT */
.filter-select {
  flex: 1;
  min-width: min(180px, 100%);
  height: clamp(44px, 4vw, 48px);
  border-radius: 48px;
  border: none;
  padding: 0 clamp(16px, 1.6vw, 20px);
  padding-right: 44px;
  font-size: clamp(15px, 1.3vw, 18px);
  color: #696969;
  appearance: none;
  background: white url("/assets/icons/arrow_down.svg") no-repeat right 16px
    center;
  background-size: 16px;
  cursor: pointer;
}

.ts-wrapper.filter-select {
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none !important;
  background-image: none !important;
}

.form-group .filter-select {
  width: 100%;
  border-radius: var(--radius-sm);
  /* padding-right: 4px; */
}

/* BUTTON */
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(132px, 10vw, 160px);
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 20px);
  border: none;
  border-radius: 100px;
  padding: 0 clamp(24px, 3vw, 40px);
  height: clamp(44px, 4vw, 48px);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ===== TomSelect Wrapper ===== */
.ts-wrapper {
  flex: 1;
}

/* ===== Control (main box) ===== */
.ts-control {
  height: clamp(44px, 4vw, 48px);
  border-radius: 48px !important;
  border: none !important;
  padding-left: 20px;
  font-size: clamp(15px, 1.3vw, 18px);
  color: #0c0507;
  background: #fff;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  min-width: 0;
}

.ts-wrapper.focus .ts-control,
.ts-wrapper.input-active .ts-control,
.ts-control:focus,
.ts-control:focus-within {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.form-group .ts-control {
  /* padding: 8px 0 !important; */
  border-radius: var(--radius-sm) !important;
  flex-wrap: nowrap;
  /* white-space: nowrap;
  min-width: 0; */
}

/* Placeholder */
.ts-control .item,
.ts-control input {
  font-size: clamp(15px, 1.3vw, 18px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.ts-control .item {
  display: inline-block;
  max-width: 100%;
}

.form-group .ts-control .item {
  /* display: inline-flex;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 40px); */
  max-width: 100%;
}

.form-group .ts-control input {
  /* flex: 0 1 auto;
  max-width: 40px !important; */
  flex: 1;
  min-width: 40px;
}

.ts-wrapper .ts-control input {
  margin-right: 32px !important;
}

.form-group .ts-control input {
  /* width: auto; */
}

.ts-control input::placeholder {
  color: #696969;
}

/* ===== Arrow custom ===== */
.ts-wrapper.single .ts-control::after {
  border: none !important;
  content: "";
  position: absolute;
  right: 16px;
  width: 18px;
  height: 18px;
  background: url("/assets/icons/arrow_down.svg") no-repeat center;
  background-size: contain;
  opacity: 0.7;
}

/* Rotate when open */
.ts-wrapper.single.dropdown-active .ts-control::after {
  transform: rotate(180deg);
}

/* ===== Dropdown ===== */
.ts-dropdown {
  border-radius: 16px;
  border: none;
  margin-top: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Option */
.ts-dropdown .option {
  padding: 12px 20px;
  font-size: 16px;
}

/* Hover option */
.ts-dropdown .option:hover {
  background: #fcd179;
  color: #531314;
}

/* Active option */
.ts-dropdown .active {
  background: #fcd179;
  color: #531314;
}

/* ===== Clear button (nếu dùng plugin) ===== */
.ts-control .clear-button {
  right: 40px !important;
}

.form-group .ts-control .clear-button {
  right: 20px !important;
}

/* Featured Carousel */
.featured-carousel {
  padding: calc(42px + clamp(48px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px);
  background: var(--color-bg-white);
  /* text-align: center; */
}

.featured-carousel .section-title {
  margin-bottom: clamp(14px, 2vw, 24px);
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(28px, 3vw, 42px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.featured-carousel .line {
  width: clamp(96px, 12vw, 150px);
  height: clamp(3px, 0.5vw, 5px);
  background-color: var(--color-accent);
  border-radius: 5px;
  margin: auto;
  margin-bottom: clamp(32px, 4vw, 56px);
}

/* Latest Projects */
.latest-projects {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--color-primary);
}

.latest-projects .section-title {
  color: var(--color-accent);
  font-family: var(--font-text);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
}

/* TITLE */
.latest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(24px, 3vw, 32px);
}

/* NAV */
.latest-nav {
  display: flex;
  gap: clamp(10px, 1.4vw, 16px);
}

.latest-prev,
.latest-next {
  width: clamp(40px, 4vw, 56px);
  height: clamp(40px, 4vw, 56px);
  border-radius: 50%;
  border: 1px solid var(--color-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.latest-prev:hover,
.latest-next:hover {
  background: #fcd179;
}

/* CARD */
.latest-card {
  background: #fff;
  border-radius: clamp(14px, 1.4vw, 16px);
  padding: clamp(12px, 1.4vw, 16px);
  display: flex;
  gap: clamp(16px, 2vw, 24px);
  height: 100%;
  align-items: stretch;
  transition:
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.latest-swiper .swiper-slide > a:hover .latest-card {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* IMAGE */
.latest-img {
  width: clamp(240px, 24vw, 316px);
  height: auto;
  aspect-ratio: 316 / 216;
  border-radius: clamp(10px, 1vw, 12px);
  overflow: hidden;
  flex-shrink: 0;
}
.latest-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.latest-swiper .swiper-slide > a:hover .latest-img img {
  transform: scale(1.05);
}

.latest-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* CONTENT */
.latest-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(10px, 1.4vw, 16px);
  min-width: 0;
  transition: transform 0.3s ease;
}

.latest-content h3,
.latest-content p,
.latest-link {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.latest-swiper .swiper-slide > a:hover .latest-content {
  transform: translateY(-2px);
}

.latest-swiper .swiper-slide > a:hover .latest-link {
  transform: translateX(4px);
  opacity: 0.95;
}

.latest-tags {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.latest-tags::-webkit-scrollbar {
  display: none;
}

.latest-tags span {
  flex: 0 0 auto;
  background: #f0f0f0;
  padding: 4px clamp(12px, 1.4vw, 18px);
  color: #323232;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  border-radius: 100px;
}

/* TITLE */
.latest-content h3 {
  color: #151515;
  font-family: var(--font-text);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;

  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

/* DESC */
.latest-content p {
  opacity: 0.6;
  color: #000;
  text-overflow: ellipsis;
  font-family: var(--font-text);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  align-self: stretch;
  overflow: hidden;
  margin: 0;
}

/* LINK */
.latest-link {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  gap: clamp(8px, 1vw, 12px);
}

.latest-link img {
  width: 20px;
  height: auto;
}

/* SWIPER */
.latest-swiper {
  /* overflow: visible; */
}

.latest-swiper .swiper-slide {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
}

.latest-swiper .swiper-slide > a {
  display: block;
  width: 100%;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .latest-header {
    gap: 24px;
    align-items: flex-start;
  }

  .latest-nav {
    flex-shrink: 0;
  }

  .latest-card {
    display: grid;
    grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
    border-radius: 20px;
  }

  .latest-img {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .latest-content {
    gap: 14px;
    align-content: center;
  }

  .latest-tags {
    flex-wrap: nowrap;
  }

  .latest-tags span {
    padding: 5px 14px;
    font-size: 12px;
  }

  .latest-content h3 {
    font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.55rem);
    line-height: 1.25;
  }

  .latest-content p {
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 4;
  }

  .latest-link {
    font-size: 14px;
    margin-top: auto;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .latest-projects .section-title {
    font-size: 32px;
  }

  .latest-prev,
  .latest-next {
    width: 44px;
    height: 44px;
  }

  .latest-card {
    /* grid-template-columns: 1fr; */
  }

  .latest-img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

/* Projects CTA */
.projects-cta {
  padding: clamp(40px, 4vw, 56px) 0;
  background: var(--color-accent);
}

.projects-cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 32px);
  overflow: hidden;
}

.projects-cta__content {
  position: relative;
  z-index: 1;
  flex: 0 1 520px;
}

.projects-cta__content img {
  margin-bottom: clamp(12px, 1.4vw, 16px);
}

.projects-cta__title {
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 4px;
}

.projects-cta__desc {
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}

.projects-cta .btn {
  border: 1.5px solid var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.5;
}

.projects-cta__banner {
  position: relative;
  flex: 1 1 420px;
  max-width: 732px;
  width: 100%;
  min-height: clamp(180px, 20vw, 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  overflow: hidden;
}

.projects-cta__banner img {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: bottom;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.projects-cta__banner:hover img {
  transform: translateY(-6px);
  filter: brightness(1.05);
}

/* All Projects Grid */
.all-projects {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--color-bg-white);
  text-align: center;
}

.all-projects .section-title {
  margin-bottom: clamp(14px, 2vw, 24px);
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}

.all-projects .line {
  width: clamp(96px, 12vw, 150px);
  height: clamp(3px, 0.5vw, 5px);
  background-color: var(--color-accent);
  border-radius: 5px;
  margin: auto;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.all-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  text-align: left;
}

.project-grid-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.project-grid-card:hover {
  transform: translateY(-4px);
}

.project-grid-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.project-grid-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-smooth);
}

.project-grid-card:hover .project-grid-card__image img {
  transform: scale(1.04);
}

.project-grid-card__body {
  padding-top: clamp(12px, 1.4vw, 16px);
}

.tag-results {
  padding-top: calc(72px + clamp(48px, 6vw, 80px));
}

.tag-results-empty {
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  margin-top: clamp(24px, 3vw, 36px);
  text-align: center;
}

.tag-result-type,
.tag-result-date {
  color: #696969;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.tag-result-type {
  color: var(--color-primary);
  margin-bottom: 4px;
}

.tag-result-date {
  margin-bottom: 8px;
}

.project-grid-card__title {
  color: #252525;
  font-family: var(--font-text);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 600;
  line-height: 1.55;
  min-height: 3.1em;
  margin-bottom: clamp(6px, 0.8vw, 8px);

  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

.project-grid-card__desc {
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 400;
  line-height: 1.5;
  min-height: 3em;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.6;
}

.not-found-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: calc(72px + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px);
  background: var(--color-bg-white);
  text-align: center;
}

.not-found-page__inner {
  max-width: 720px;
  margin: 0 auto;
}

.not-found-page__code {
  color: var(--color-primary);
  font-family: var(--font-title);
  font-size: clamp(72px, 12vw, 144px);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.not-found-page__title {
  color: var(--color-text-dark);
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: clamp(12px, 1.6vw, 18px);
}

.not-found-page__desc {
  color: #4f4f4f;
  font-family: var(--font-text);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto clamp(24px, 3vw, 36px);
  max-width: 560px;
}

.not-found-page__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background-color var(--transition-smooth),
    transform var(--transition-smooth);
}

.not-found-page__link:hover {
  transform: translateY(-2px);
}

.legal-page {
  padding: calc(72px + clamp(48px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px);
  background: var(--color-bg-white);
}

.legal-page__content {
  max-width: 880px;
  margin: 0 auto;
  color: #323232;
  font-family: var(--font-text);
}

.legal-page__content h1 {
  color: var(--color-primary);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.legal-page__content h2 {
  color: #252525;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.35;
  margin: clamp(16px, 2vw, 24px) 0 clamp(6px, 1vw, 10px);
}

.legal-page__content h3 {
  color: #252525;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  margin: clamp(14px, 1.8vw, 20px) 0 clamp(6px, 0.9vw, 8px);
}

.legal-page__content p {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: clamp(8px, 1.1vw, 12px);
}

.legal-page__body ul,
.legal-page__body ol {
  margin: 0 0 clamp(10px, 1.4vw, 14px);
  padding-left: 1.4em;
}

.legal-page__body ul {
  list-style: disc;
}

.legal-page__body ol {
  list-style: decimal;
}

.legal-page__body li {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Project List Pagination */
.all-projects-news__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(8px, 1.4vw, 16px);
  margin-top: clamp(28px, 4vw, 40px);
}

.pagination__btn {
  width: clamp(38px, 4vw, 48px);
  height: clamp(38px, 4vw, 48px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  background: #f0f0f0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pagination__btn:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

.pagination__btn--active {
  background: var(--color-accent);
  color: var(--color-primary);
}

.pagination__btn--next,
.pagination__btn--prev {
  background: #f0f0f0;
}

/* ============================================
   PAGE: PROJECT DETAIL
   ============================================ */

.project-detail-main {
  padding: calc(72px + clamp(48px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px);
  background: var(--color-bg-white);
}

.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(32px, 4vw, 48px);
  align-items: flex-start;
}

/* SECTION */
.project-detail-header {
  border-radius: 16px;
  background-color: #fafafa;
  padding: clamp(20px, 2.4vw, 24px) clamp(20px, 3vw, 32px);
  margin-bottom: clamp(24px, 3vw, 32px);
}

/* TITLE */
.project-detail-title {
  font-family: var(--font-text);
  color: #252525;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: clamp(8px, 1vw, 10px);
}

/* INTRO */
.project-detail-intro {
  color: #323232;
  font-size: clamp(16px, 1.3vw, 18px);
  font-family: var(--font-text);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: clamp(14px, 1.6vw, 18px);
}

/* DIVIDER */
.project-detail-divider {
  height: 0.5px;
  background: #ccc;
  margin-bottom: clamp(14px, 1.6vw, 18px);
}

/* INFO LIST */
.project-detail-info {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 16px);
}

/* ROW */
.project-detail-row {
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(15px, 1.3vw, 18px);
  font-style: normal;
  line-height: 1.5;
}

/* LABEL */
.project-detail-row .label {
  font-weight: 500;
  margin-right: 6px;
}

/* VALUE */
.project-detail-row .value {
  font-weight: 400;
}

/* Project Section */
.project-section {
  margin-bottom: clamp(24px, 3vw, 32px);
}

.project-section h2 {
  color: #252525;
  font-family: var(--font-text);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: clamp(12px, 1.4vw, 16px);
}

.project-section p {
  color: #323232;
  text-align: justify;
  font-family: var(--font-text);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 16px;
}

.project-section img {
  width: 100%;
  aspect-ratio: 104/49;
  object-fit: cover;
  object-position: center;
  border-radius: clamp(12px, 1.4vw, 16px);
  margin-bottom: clamp(16px, 2vw, 24px);
}

.project-content-divider {
  height: 1px;
  background: #ccc;
  margin-bottom: clamp(24px, 3vw, 32px);
}

/* Tech & Feature Lists */
.tech-list,
.feature-list,
.feature-category,
.feature-category ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tech-list li,
.feature-list li {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 10px);
  color: #323232;
  text-align: justify;
  font-family: var(--font-text);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.4;
}

.tech-list li::before,
.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #323232;
  flex-shrink: 0;
}

.feature-list {
  gap: clamp(24px, 3vw, 40px);
}

.feature-list li {
  margin-left: 12px;
}

/* Process Timeline */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: clamp(16px, 2vw, 20px);
  border-left: 2px solid var(--color-border);
}

.timeline-step {
  display: flex;
  gap: clamp(12px, 1.4vw, 16px);
  padding-bottom: clamp(14px, 1.6vw, 16px);
  position: relative;
}

.timeline-marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg-white);
  position: absolute;
  left: -28px;
  top: 4px;
  flex-shrink: 0;
}

.timeline-content h3 {
  font-size: clamp(18px, 1.8vw, 24px);
  font-family: var(--font-text);
  margin-bottom: 4px;
}

.timeline-content p {
  color: #323232;
  text-align: justify;
  font-family: var(--font-text);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.6;
  margin: 8px 0 12px;
}

/* Result Metrics */
.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 20px);
  margin: clamp(18px, 2vw, 24px) 0;
}

.result-metric {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  padding: clamp(12px, 1.6vw, 16px);
  border-radius: 12px;
  background: #fafafa;
}

.result-metric-value {
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.5;
}

.result-metric-label {
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.5;
}

/* Testimonial */
.project-testimonial {
  padding: clamp(20px, 2.4vw, 24px) clamp(20px, 3vw, 32px);
  border-radius: 8px;
  background-color: #fafafa;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
  justify-items: center;
}

.testimonial-card {
  position: relative;
}

.testimonial-card .testimonial-quote-icon {
  position: absolute;
  z-index: -1;
  top: -12px;
  left: clamp(-40px, -4vw, -56px);
  width: clamp(70px, 8vw, 103px);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card blockquote {
  font-style: italic;
  line-height: 1.8;
  color: var(--color-text-body);
  margin-bottom: clamp(12px, 1.4vw, 16px);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: clamp(40px, 4vw, 48px);
  height: clamp(40px, 4vw, 48px);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  aspect-ratio: 1/1;
}

.testimonial-author .testimonial-name {
  color: #000;
  font-family: var(--font-text);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 2px;
}

.testimonial-author .testimonial-position {
  color: #323232;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 0;
}

/* WRAPPER */
.project-news-detail-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(24px, 3vw, 32px);
  flex-wrap: wrap;
  gap: 16px;
}

/* TAGS */
.project-news-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* TAG */
.project-news-detail-tag {
  background-color: #f0f0f0;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 4px clamp(12px, 1.4vw, 18px);
  border-radius: 100px;
  white-space: nowrap;
}

.project-news-detail-tag:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

/* NEXT LINK */
.project-news-detail-next {
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  transition: all 0.25s ease;
}

/* Project CTA Banner */
.project-cta-banner {
  margin-top: clamp(40px, 5vw, 64px);
  background-color: var(--color-accent);
  padding: clamp(24px, 4vw, 40px);
  border-radius: 16px;
}

.project-cta-banner .container {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 24px);
}

.project-cta-banner .project-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-cta-banner .project-cta-text h2 {
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.5;
}

.project-cta-banner .project-cta-text p {
  color: #323232;
  font-family: var(--font-text);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.5;
}

.project-cta-banner .btn-primary {
  border: 1.5px solid var(--color-primary);
}

.sidebar-project-list {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}

.sidebar-project-card {
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 16px);
  cursor: pointer;
  overflow: hidden;
  background: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.2s ease;
}

.sidebar-project-card:hover {
  transform: translateY(-4px);
}

.sidebar-project-thumb {
  aspect-ratio: 101/69;
  overflow: hidden;
  border-radius: 12px;
}

.sidebar-project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.sidebar-project-card:hover .sidebar-project-thumb img {
  transform: scale(1.04);
}

.sidebar-project-name {
  font-family: var(--font-heading);
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.sidebar-project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar-project-tags::-webkit-scrollbar {
  display: none;
}

.sidebar-project-tags span {
  flex: 0 0 auto;
  padding: 4px clamp(12px, 1.4vw, 18px);
  margin-bottom: 8px;
  background-color: #f0f0f0;
  border-radius: 100px;

  color: #323232;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.sidebar-project-info h3 {
  color: #252525;
  font-family: var(--font-text);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 8px;
}

.sidebar-project-info p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #696969;
  text-overflow: ellipsis;
  font-family: var(--font-text);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.5;
}
/*
.project-detail-form-section {
  margin-top: 32px;
  padding: 32px 20px 40px 20px;
  display: flex;
  gap: 60px;
  align-items: center;
  border-radius: 16px;
  background-color: var(--color-primary);
}

.project-detail-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.project-detail-form-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.project-detail-form-title {
  color: var(--color-accent);
  font-family: var(--font-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.project-detail-form-desc {
  text-align: center;
  color: var(--color-text-white);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.project-detail-form-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  margin-bottom: 0;
}

.project-detail-form-box label {
  color: #f0f0f0;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 0;
}

.project-detail-form-box input {
  width: 100%;
  border: none;
  border-radius: 48px;
  background: var(--color-bg-white);
  padding: 11px 12px 11px 20px;
  font-size: 16px;
  outline: none;
}

.project-detail-form-btn {
  width: 100%;
  margin-top: 16px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  border: none;
  border-radius: 100px;
  padding: 8.5px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.project-detail-form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
} */

/* ============================================
   RESPONSIVE - INNER PAGES
   ============================================ */
@media (max-width: 1024px) {
  .hero::after {
    display: none;
  }

  .news-hero {
    /* padding: calc(72px + 40px) 0 48px; */
    padding: 64px 0;
  }

  .news-hero-intro {
    margin-bottom: 32px;
  }

  .news-hero-title {
    font-size: clamp(2.5rem, 2vw, 3.5rem);
  }

  .news-hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-hero-card {
    min-height: auto;
  }

  .news-hero-card-image {
    min-height: 320px;
  }

  .news-hero-card-overlay {
    padding: 18px;
  }

  .news-hero-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 18px;
  }

  .news-hero-small .news-hero-card-image {
    aspect-ratio: 16 / 9;
  }

  .news-latest {
    /* padding: 64px 0; */
    padding: calc(72px + 40px) 0 48px;
  }

  .news-latest-card {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 36px;
  }

  .news-latest-title {
    font-size: 34px;
  }

  .news-all {
    padding: 64px 0;
  }

  .news-all .news-grid {
    column-gap: 20px;
    row-gap: 32px;
  }

  .news-all-intro {
    gap: 20px;
    margin-bottom: 44px;
  }

  .news-all-intro-title {
    font-size: clamp(40px, 4vw, 50px);
  }

  .news-filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .news-grid .news-card-title {
    font-size: 20px;
  }

  .news-grid .news-card-desc {
    font-size: 14px;
  }

  .news-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-sidebar {
    position: static;
  }

  .news-detail {
    padding: calc(72px + 64px) 0 64px;
  }

  .article-title {
    font-size: 42px;
  }

  .sidebar-articles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .sidebar-article-item,
  .sidebar-project-card {
    min-width: 200px;
    border-bottom: none;
    padding-bottom: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 12px;
  }

  .sidebar-article-info .sidebar-article-title {
    font-size: 16px;
    -webkit-line-clamp: 2;
  }

  .sidebar-article-info .sidebar-article-desc {
    font-size: 13px;
  }

  .pg-projects-hero .container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .pg-projects-hero__content .line {
    margin-left: auto;
    margin-right: auto;
  }

  .pg-projects-hero__stats {
    justify-content: center;
  }

  .pg-projects-hero__visual {
    /* order: -1; */
    justify-content: center;
  }

  .pg-projects-hero__mockup {
    width: min(100%, 560px);
  }

  .pg-projects-hero {
    padding: calc(72px + 56px) 0 56px;
  }

  .project-filter-box {
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 8px;
    padding: 28px 24px;
  }

  .filter-input {
    flex: auto;
  }

  .filter-row-bottom {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-carousel {
    padding: 64px 0;
  }

  .latest-projects,
  .all-projects {
    padding: 64px 0;
  }

  .projects-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .projects-cta__content {
    flex-basis: auto;
    max-width: none;
  }

  .projects-cta__banner {
    flex: auto;
    min-height: 0;
    max-width: none;
    width: 100%;
    overflow: visible;
  }

  .projects-cta__banner img {
    position: static;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transform: none;
  }

  .featured-carousel__track {
    grid-template-columns: repeat(3, 1fr);
  }

  .latest-projects__grid {
    grid-template-columns: 1fr;
  }

  .all-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .project-detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-detail-sidebar {
    position: static;
  }

  .project-detail-main {
    padding: calc(72px + 64px) 0 64px;
  }

  .project-detail-header {
    padding: 24px;
  }

  .result-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-detail-sidebar .sidebar-heading {
    margin-bottom: 20px;
  }

  .sidebar-project-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .sidebar-project-info h3 {
    font-size: 18px;
  }

  .sidebar-project-info p {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .pg-projects-hero {
    padding: calc(72px + 40px) 0 40px;
  }

  .pg-projects-hero .container {
    gap: 28px;
  }

  .pg-projects-hero__title {
    font-size: clamp(32px, 7vw, 42px);
  }

  .news-hero {
    /* padding: calc(72px + 32px) 0 40px; */
    padding: 56px 0;
  }

  .news-hero-intro {
    margin-bottom: 28px;
  }

  .news-hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 14px;
  }

  .news-hero-card-image {
    min-height: 240px;
  }

  .news-hero-card-overlay {
    padding: 16px;
  }

  .news-hero-small {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 16px;
  }

  .news-hero-small .news-hero-card-image {
    aspect-ratio: 16 / 9;
  }

  .news-hero-card-title {
    font-size: 19px;
    line-height: 1.55;
  }

  .news-hero-card-desc {
    font-size: 13px;
  }

  .news-latest {
    /* padding: 56px 0; */
    padding: calc(72px + 32px) 0 40px;
  }

  .news-latest-intro-title {
    font-size: clamp(32px, 7vw, 42px);
    margin-bottom: 14px;
  }

  .news-latest-card {
    gap: 28px;
    padding: 28px;
    margin-top: 32px;
  }

  .news-latest-title {
    font-size: clamp(26px, 5vw, 32px);
  }

  .news-latest-desc {
    text-align: left;
  }

  .news-latest-content .btn {
    margin-top: 14px;
  }

  .news-all {
    padding: 56px 0;
  }

  .news-all-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 36px;
  }

  .news-all-intro-title {
    width: 100%;
    font-size: clamp(32px, 7vw, 42px);
  }

  .news-search-form {
    width: 100%;
  }

  .news-filter-scroll,
  .news-filter-tabs {
    width: 100%;
    max-width: 100%;
  }

  .news-all .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 28px;
  }

  .news-grid .news-card {
    gap: 12px;
  }

  .news-grid .news-card-title {
    font-size: 18px;
    line-height: 1.55;
    min-height: 3.1em;
    -webkit-line-clamp: 2;
  }

  .news-grid .news-card-date {
    font-size: 13px;
  }

  .news-grid .news-card-desc {
    font-size: 13px;
    line-height: 1.45;
  }

  .all-projects-news__pagination {
    margin-top: 32px;
  }

  .news-detail {
    padding: calc(72px + 48px) 0 56px;
  }

  .article-title {
    font-size: 36px;
    line-height: 1.25;
  }

  .article-body p {
    font-size: 16px;
  }

  .article-body h2 {
    font-size: 26px;
    line-height: 1.35;
  }

  .sidebar-articles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pg-projects-hero__desc {
    font-size: clamp(1rem, 0.9rem + 1vw, 1.25rem);
    margin-bottom: 24px;
  }

  .pg-projects-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .pg-projects-hero__content .line {
    margin-bottom: 24px;
  }

  .project-filter-box {
    padding: 24px 20px;
  }

  .filter-row,
  .filter-row-bottom {
    gap: 12px;
  }

  .filter-row-bottom {
    grid-template-columns: 1fr;
  }

  .hero-stat-item {
    width: auto;
    border-right: none;
    padding-right: 0;
  }

  .projects-cta__title {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    line-height: 1.35;
  }

  .projects-cta__desc {
    font-size: clamp(1rem, 0.95rem + 0.8vw, 1.125rem);
    margin-bottom: 24px;
  }

  .featured-carousel,
  .latest-projects,
  .all-projects {
    padding: 56px 0;
  }

  .featured-carousel .line,
  .all-projects .line {
    margin-bottom: 36px;
  }

  .latest-header {
    gap: 18px;
  }

  .latest-card {
    gap: 18px;
    padding: 14px;
  }

  .latest-img {
    width: 250px;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .latest-tags span {
    padding: 4px 14px;
    font-size: 12px;
  }

  .latest-content h3 {
    font-size: clamp(1.1rem, 0.95rem + 0.65vw, 1.35rem);
    line-height: 1.3;
  }

  .latest-content p {
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
  }

  .featured-carousel .section-title,
  .latest-projects .section-title,
  .all-projects .section-title {
    font-size: 30px;
  }

  .latest-prev,
  .latest-next {
    width: 36px;
    height: 36px;
  }

  .filter-btn {
    width: 100%;
  }

  .project-detail-title {
    font-size: 36px;
  }

  .project-detail-intro {
    font-size: 16px;
  }

  .project-detail-row {
    font-size: 16px;
  }

  .project-detail-main {
    padding: calc(72px + 48px) 0 56px;
  }

  .project-detail-header {
    padding: 22px 20px;
    margin-bottom: 28px;
  }

  .project-section h2 {
    font-size: 26px;
    line-height: 1.35;
  }

  .project-section p,
  .tech-list li,
  .feature-list li,
  .timeline-content p {
    font-size: 16px;
  }

  .result-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .result-metric {
    padding: 14px 10px;
  }

  .result-metric-value {
    font-size: 28px;
  }

  .result-metric-label {
    font-size: 14px;
  }

  .project-testimonial {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .project-cta-banner .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-cta-banner .btn-primary {
    width: 100%;
  }

  .sidebar-project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-news-detail-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-news-detail-next {
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .news-detail {
    padding: calc(72px + 32px) 0 48px;
  }

  .news-detail-grid {
    gap: 32px;
  }

  .article-title {
    font-size: 30px;
  }

  .article-body h2 {
    font-size: 24px;
  }

  .article-body p {
    text-align: left;
  }

  .sidebar-heading {
    font-size: 24px;
  }

  .sidebar-articles {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sidebar-article-item {
    min-width: 0;
    padding: 12px;
  }

  .sidebar-article-info .sidebar-article-title {
    font-size: 17px;
  }

  .project-detail-main {
    padding: calc(72px + 32px) 0 48px;
  }

  .project-detail-layout {
    gap: 32px;
  }

  .project-detail-header {
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 24px;
  }

  .project-detail-title {
    font-size: 30px;
    line-height: 1.25;
  }

  .project-detail-info {
    gap: 10px;
  }

  .project-detail-row {
    display: flex;
    gap: 2px;
  }

  .project-section {
    margin-bottom: 24px;
  }

  .project-section h2 {
    font-size: 24px;
  }

  .project-section p {
    text-align: left;
  }

  .project-content-divider {
    margin-bottom: 24px;
  }

  .feature-list {
    gap: 20px;
  }

  .timeline-content h3 {
    font-size: 18px;
  }

  .result-metrics {
    grid-template-columns: 1fr;
  }

  .result-metric-value {
    font-size: 30px;
  }

  .project-testimonial {
    padding: 18px;
  }

  .testimonial-card .testimonial-quote-icon {
    left: 0;
    top: -20px;
    opacity: 0.25;
  }

  .testimonial-author {
    align-items: flex-start;
  }

  .project-news-detail-footer {
    gap: 14px;
  }

  .project-news-detail-tags {
    gap: 6px;
  }

  .project-news-detail-tag {
    font-size: 13px;
    padding: 4px 12px;
  }

  .project-cta-banner {
    margin-top: 40px;
    padding: 22px 18px;
  }

  .project-cta-banner .project-cta-text h2 {
    font-size: 24px;
    line-height: 1.35;
  }

  .project-cta-banner .project-cta-text p {
    font-size: 15px;
  }

  .sidebar-project-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pg-projects-hero {
    padding: calc(72px + 32px) 0 40px;
  }

  .pg-projects-hero__title {
    font-size: 30px;
  }

  .pg-projects-hero__desc {
    font-size: 15px;
  }

  .pg-projects-hero__content .line {
    width: 88px;
    height: 3px;
    margin-bottom: 24px;
  }

  .pg-projects-hero__mockup {
    width: min(100%, 420px);
  }

  .project-filter-box {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .filter-row,
  .filter-row-top,
  .filter-row-bottom {
    flex-direction: column;
  }

  .filter-input,
  .filter-select,
  .ts-control,
  .filter-btn {
    height: 42px;
    font-size: 15px;
  }

  .ts-wrapper {
    width: 100%;
  }

  .news-hero {
    /* padding: calc(72px + 24px) 0 32px; */
    padding: 48px 0;
  }

  .news-hero-intro {
    margin-bottom: 24px;
  }

  .news-hero-title {
    font-size: 32px;
  }

  .news-hero-line,
  .news-latest-intro-line {
    width: 88px;
    height: 3px;
  }

  .news-hero-card-image {
    min-height: 220px;
  }

  .news-hero-card-overlay {
    padding: 14px;
  }

  .news-hero-card-title,
  .news-hero-small .news-hero-card-title {
    font-size: 18px;
  }

  .news-hero-card-desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .news-latest {
    /* padding: 48px 0; */
    padding: calc(72px + 24px) 0 32px;
  }

  .news-latest-intro-title {
    font-size: 32px;
  }

  .news-latest-card {
    gap: 22px;
    padding: 22px;
    border-radius: 18px;
  }

  .news-latest-content {
    gap: 10px;
  }

  .news-latest-title {
    font-size: 24px;
  }

  .news-latest-date,
  .news-latest-desc {
    font-size: 14px;
  }

  .news-all {
    padding: 48px 0;
  }

  .latest-nav {
    gap: 10px;
  }

  .latest-prev,
  .latest-next {
    width: 40px;
    height: 40px;
  }

  .latest-card {
    flex-direction: column;
    gap: 16px;
    padding: 12px;
  }

  .latest-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .latest-content {
    gap: 12px;
  }

  .latest-content h3 {
    font-size: 18px;
  }

  .latest-content p {
    font-size: 13px;
    -webkit-line-clamp: 4;
  }

  .pg-projects-hero__stats {
    grid-template-columns: 1fr;
  }

  .hero-stat-item {
    border-right: none;
    border-bottom: 1px solid #7c2e30;
    padding-bottom: 16px;
  }

  .hero-stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .news-hero-small {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 16px;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .featured-carousel,
  .latest-projects,
  .all-projects {
    padding: 48px 0;
  }

  .featured-carousel .section-title,
  .latest-projects .section-title,
  .all-projects .section-title {
    font-size: 30px;
  }

  .featured-carousel .line,
  .all-projects .line {
    width: 88px;
    height: 3px;
    margin-bottom: 28px;
  }

  .latest-header {
    align-items: flex-start;
    gap: 16px;
  }

  .projects-cta {
    padding: 40px 0;
  }

  .projects-cta__inner {
    gap: 20px;
  }

  .projects-cta__title {
    font-size: 24px;
  }

  .projects-cta__desc {
    font-size: 15px;
  }

  .projects-cta .btn {
    width: 100%;
  }

  .news-all .news-grid {
    column-gap: 14px;
    row-gap: 24px;
  }

  .news-all-intro {
    gap: 16px;
    margin-bottom: 28px;
  }

  .news-all-intro-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .news-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .news-search-form .btn {
    width: 100%;
  }

  .news-filter-scroll,
  .news-filter-tabs {
    gap: 6px;
    margin-right: calc(var(--container-padding) * -1);
    max-width: calc(100% + var(--container-padding));
  }

  .filter-tab {
    padding: 7px 16px;
    font-size: 14px;
    white-space: nowrap;
  }

  .news-grid .news-card {
    border-radius: 14px;
  }

  .news-grid .news-card-title {
    font-size: 15px;
  }

  .news-grid .news-card-desc {
    font-size: 12px;
  }

  .all-projects-news__pagination {
    gap: 8px;
    margin-top: 28px;
  }

  .pagination__btn {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .featured-carousel__track {
    grid-template-columns: repeat(2, 1fr);
  }

  .all-projects__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-grid-card__title {
    font-size: 15px;
  }

  .project-grid-card__desc {
    font-size: 12px;
  }

  .result-metrics {
    grid-template-columns: 1fr;
  }

  .projects-cta__banner {
    overflow: visible;
  }

  .projects-cta__banner img {
    width: 100%;
    max-width: 100%;
    transform: none;
  }
}

@media (max-width: 375px) {
  .news-detail {
    padding: calc(72px + 24px) 0 40px;
  }

  .article-title {
    font-size: 28px;
  }

  .article-body p {
    font-size: 15px;
  }

  .article-body h2 {
    font-size: 22px;
  }

  .sidebar-article-info .sidebar-article-title {
    font-size: 16px;
  }

  .project-detail-main {
    padding: calc(72px + 24px) 0 40px;
  }

  .project-detail-header {
    padding: 16px;
  }

  .project-detail-title {
    font-size: 28px;
  }

  .project-detail-intro,
  .project-detail-row,
  .project-section p,
  .tech-list li,
  .feature-list li,
  .timeline-content p {
    font-size: 15px;
  }

  .project-section h2 {
    font-size: 22px;
  }

  .project-section img {
    border-radius: 10px;
  }

  .process-timeline {
    padding-left: 14px;
  }

  .timeline-marker {
    left: -22px;
  }

  .project-testimonial {
    padding: 16px;
  }

  .project-cta-banner {
    padding: 20px 16px;
  }

  .project-cta-banner .project-cta-text h2 {
    font-size: 22px;
  }

  .sidebar-project-info h3 {
    font-size: 17px;
  }

  .pg-projects-hero {
    padding: calc(72px + 24px) 0 36px;
  }

  .pg-projects-hero__title,
  .featured-carousel .section-title,
  .latest-projects .section-title,
  .all-projects .section-title {
    font-size: 28px;
  }

  .project-filter-box {
    padding: 18px 14px;
  }

  .filter-input,
  .filter-select,
  .ts-control,
  .filter-btn {
    height: 40px;
    font-size: 14px;
  }

  .featured-carousel,
  .latest-projects,
  .all-projects {
    padding: 40px 0;
  }

  .latest-header {
    flex-direction: column;
  }

  .latest-nav {
    width: 100%;
    justify-content: flex-end;
  }

  .latest-card {
    padding: 10px;
  }

  .latest-content h3 {
    font-size: 17px;
  }

  .latest-content p {
    font-size: 13px;
  }

  .latest-tags span {
    padding: 3px 10px;
    font-size: 12px;
  }

  .projects-cta {
    padding: 36px 0;
  }

  .projects-cta__title {
    font-size: 22px;
  }

  .projects-cta__banner {
    min-height: 140px;
  }

  .project-grid-card__title {
    font-size: 16px;
  }

  /* .news-hero {
    padding: calc(72px + 20px) 0 28px;
  } */

  .news-latest {
    padding: calc(72px + 20px) 0 28px;
  }

  .news-hero-title,
  .news-latest-intro-title {
    font-size: 28px;
  }

  .news-hero-card-image {
    min-height: 200px;
  }

  .news-hero-card-title,
  .news-hero-small .news-hero-card-title {
    font-size: 16px;
  }

  .news-latest,
  .news-all {
    padding: 40px 0;
  }

  .news-latest-card {
    padding: 18px;
    margin-top: 28px;
  }

  .news-latest-title {
    font-size: 22px;
  }

  .news-all-intro-title {
    font-size: 28px;
  }

  .filter-tab {
    padding: 6px 14px;
    font-size: 13px;
  }

  .news-all .news-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .news-grid .news-card-title {
    font-size: 16px;
  }

  .news-grid .news-card-desc {
    font-size: 13px;
  }

  .pagination__btn {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
}

/* ============================================
   SOLUTIONS LIST — SLIDE-EXPAND FROM LEFT
   ============================================ */
.solution-item.fade-up {
  opacity: 0;
  transform: translateX(-48px) scaleX(0.6);
  transform-origin: left center;
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    background-color var(--transition-smooth),
    box-shadow var(--transition-smooth),
    border-color var(--transition-smooth);
}

.solution-item.fade-up.visible {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-cream);
}

::-webkit-scrollbar-thumb {
  background: rgb(108, 25, 27);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-light);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgb(108, 25, 27) var(--color-bg-cream);
}

/* ============================================
   NEXT ARTICLE HOVER
   ============================================ */
.project-news-detail-next:hover {
  color: var(--color-primary-light);
}

/* ============================================
   FOOTER LOGO (larger, independent of header)
   ============================================ */
.footer-brand .logo {
  width: 275px;
}

/* ============================================
   CONTACT POPUP
   ============================================ */
.contact-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.contact-popup.is-open {
  display: flex;
}

.contact-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 23, 0.6);
  backdrop-filter: blur(4px);
  animation: contactPopupFadeIn 0.2s ease-out;
}

.contact-popup__dialog {
  position: relative;
  background: #f0f0f0;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 4vw, 48px);
  width: min(720px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  animation: contactPopupSlideUp 0.25s ease-out;
}

.contact-popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #323232;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.contact-popup__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.contact-popup__header {
  text-align: center;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.contact-popup__header img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.contact-popup__title {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  margin: 0 0 6px;
  color: var(--color-text-dark, #0a0e17);
}

.contact-popup__desc {
  margin: 0;
  color: #555;
  font-size: 0.9375rem;
}

.contact-popup__form {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 20px);
}

body.contact-popup-open {
  overflow: hidden;
}

@keyframes contactPopupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes contactPopupSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .contact-popup__dialog {
    padding: 24px 16px;
  }
  .contact-popup .form-row {
    grid-template-columns: 1fr;
  }
}
