/* =============================================
   Fielway Engineering — Styles
   ============================================= */

:root {
  --color-primary: #0c2340;
  --color-primary-light: #1a3a5c;
  --color-accent: #c8922a;
  --color-accent-hover: #b07d1f;
  --color-design: #2d6a4f;
  --color-design-light: #40916c;
  --color-text: #2c3e50;
  --color-text-muted: #6b7c93;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6f9;
  --color-bg-dark: #0c2340;
  --color-border: #e2e8f0;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(12, 35, 64, 0.08);
  --shadow-md: 0 4px 20px rgba(12, 35, 64, 0.12);
  --shadow-lg: 0 12px 40px rgba(12, 35, 64, 0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --header-height: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  padding: 8px 0;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-bar__link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.top-bar__link:hover {
  color: var(--color-accent);
}

.top-bar__divider {
  opacity: 0.4;
}

.top-bar__location {
  flex: 1;
}

.top-bar__whatsapp {
  color: #25d366;
  font-weight: 600;
}

.top-bar__whatsapp:hover {
  color: #1ebe57;
}

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
  position: relative;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: #ffffff;
  transition: opacity var(--transition);
}

.header__logo:hover {
  opacity: 0.88;
}

.header__logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(240px, 45vw);
  object-fit: contain;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.logo:hover {
  color: var(--color-primary);
  opacity: 0.92;
}

.logo__img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(220px, 45vw);
  object-fit: contain;
}

.logo--design {
  background: #000;
  border-radius: var(--radius);
  padding: 6px 12px;
}

.logo__img--design {
  height: 40px;
  max-width: min(200px, 42vw);
}

.logo__img--footer {
  height: 52px;
  max-width: 240px;
}

.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: var(--radius);
}

.logo__mark--design {
  background: var(--color-design);
  color: #fff;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.logo__text small {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: block;
  padding: 8px 14px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

.nav__link--accent {
  color: var(--color-design);
}

.nav__link--accent:hover,
.nav__link--accent.active {
  color: var(--color-design);
  background: rgba(45, 106, 79, 0.08);
}

.nav__link--cta {
  background: var(--color-accent);
  color: #fff !important;
  margin-left: 8px;
}

.nav__link--cta:hover {
  background: var(--color-accent-hover);
}

.nav__link--design {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  background: transparent;
  border: none;
  box-shadow: none;
}

.nav__link--design:hover,
.nav__link--design.active {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

.nav__design-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(140px, 28vw);
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}

.btn--secondary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary-light);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.btn--white:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 560px;
  max-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__slide--active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 35, 64, 0.88) 0%, rgba(12, 35, 64, 0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: #fff;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.hero__dot--active,
.hero__dot:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* ---- Stats ---- */
.stats {
  background: var(--color-primary);
  padding: 48px 0;
  margin-top: -1px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat {
  color: #fff;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.stat__suffix {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
  opacity: 0.8;
  letter-spacing: 0.03em;
}

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section__header--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 560px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}

.section__desc {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* ---- About ---- */
.about {
  background: var(--color-bg-alt);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.about__content p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.about__content .btn {
  margin-top: 8px;
}

.about__visual {
  position: relative;
}

.about__image--main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image--secondary {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}

.about__badge {
  position: absolute;
  top: 24px;
  right: -16px;
  background: var(--color-accent);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about__badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about__badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 4px;
}

/* ---- Cards ---- */
.cards {
  display: grid;
  gap: 24px;
}

.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card--feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 146, 42, 0.12);
  color: var(--color-accent);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ---- Services ---- */
.services {
  background: var(--color-bg-alt);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card__image {
  height: 220px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 24px;
}

.service-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.service-card__body p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.service-card__link {
  font-weight: 600;
  font-size: 0.875rem;
}

/* ---- Filter Bar ---- */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn--active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.filter-bar--design .filter-btn--active {
  background: var(--color-design);
  border-color: var(--color-design);
}

/* ---- Projects ---- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition);
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-card__image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img {
  transform: scale(1.05);
}

.project-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
}

.project-card__tag--ongoing {
  background: var(--color-accent);
}

.project-card__body {
  padding: 20px;
}

.project-card__body h3 {
  font-size: 1.0625rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.project-card__body p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.project-empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 24px 0 8px;
}

.project-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.project-card__count {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(12, 35, 64, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 35, 64, 0.45);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card:hover .project-card__overlay,
.project-card:focus-visible .project-card__overlay {
  opacity: 1;
}

.project-card__location {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 6px;
}

body.lightbox-open {
  overflow: hidden;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.project-lightbox[hidden] {
  display: none;
}

.project-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 32, 0.88);
}

.project-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  background: #0c2340;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.project-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.project-lightbox__close:hover,
.project-lightbox__nav:hover {
  background: var(--color-accent);
}

.project-lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #061526;
  min-height: 280px;
  max-height: 68vh;
}

.project-lightbox__stage img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.project-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.project-lightbox__nav--prev {
  left: 12px;
}

.project-lightbox__nav--next {
  right: 12px;
}

.project-lightbox__info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 8px;
  color: #fff;
}

.project-lightbox__info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.project-lightbox__info p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.project-lightbox__counter {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  padding-top: 6px;
}

.project-lightbox__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 20px 20px;
  scrollbar-width: thin;
}

.project-lightbox__thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  opacity: 0.55;
}

.project-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-lightbox__thumb--active,
.project-lightbox__thumb:hover {
  opacity: 1;
  border-color: var(--color-accent);
}

/* ---- Design Station ---- */
.design-station {
  padding-top: 0;
  background: var(--color-bg-alt);
}

.design-station__banner {
  background: var(--color-design);
  color: #fff;
  padding: 64px 0;
  margin-bottom: 48px;
}

.design-station__banner-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.design-station__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.design-station__logo-img {
  display: block;
  height: 120px;
  width: auto;
  max-width: min(200px, 50vw);
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.design-station__division {
  opacity: 0.85;
  font-size: 0.9375rem;
  margin: 0;
}

.design-station__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}

.design-station__brand h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 4px;
}

.design-station__brand p {
  opacity: 0.85;
  font-size: 0.9375rem;
}

.design-station__intro {
  max-width: 640px;
  font-size: 1.0625rem;
  line-height: 1.7;
  opacity: 0.9;
}

.design-station .btn--primary {
  background: #fff;
  color: var(--color-design);
  border-color: #fff;
}

.design-station .btn--primary:hover {
  background: var(--color-bg-alt);
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 80px;
}

.design-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), opacity var(--transition);
}

.design-card.hidden {
  display: none;
}

.design-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.design-card__image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.design-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.design-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 35, 64, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity var(--transition);
}

.design-card:hover .design-card__overlay {
  opacity: 1;
}

.design-card__code {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.design-card__meta {
  padding: 20px;
}

.design-card__meta h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.design-card__meta ul {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.design-card__meta li + li {
  margin-top: 2px;
}

/* ---- Testimonials ---- */
.testimonials {
  background: var(--color-bg-alt);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent);
}

.testimonial p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial footer strong {
  display: block;
  color: var(--color-primary);
  font-size: 0.9375rem;
}

.testimonial footer span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ---- CTA ---- */
.cta {
  background: var(--color-primary);
  padding: 80px 0;
  text-align: center;
}

.cta__inner {
  max-width: 600px;
  margin: 0 auto;
  color: #fff;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 16px;
}

.cta p {
  opacity: 0.85;
  margin-bottom: 28px;
  font-size: 1.0625rem;
}

.cta--design {
  background: var(--color-design);
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Contact ---- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact__item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 146, 42, 0.12);
  color: var(--color-accent);
  border-radius: var(--radius);
}

.contact__item h4 {
  font-size: 0.9375rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact__item p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.contact__item a {
  color: var(--color-text-muted);
}

.contact__item a:hover {
  color: var(--color-accent);
}

.contact__hours {
  padding: 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.contact__hours h4 {
  color: var(--color-primary);
  margin-bottom: 8px;
}

.contact__hours p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.contact__form {
  background: var(--color-bg-alt);
  padding: 32px;
  border-radius: var(--radius-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-success {
  margin-top: 16px;
  padding: 12px;
  background: rgba(45, 106, 79, 0.1);
  color: var(--color-design);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  text-align: center;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer__logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer__logo-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition);
}

.footer__logo-card:hover {
  transform: translateY(-2px);
}

.footer__logo-img {
  display: block;
  height: 88px;
  width: auto;
  object-fit: contain;
}

.footer__logo-img--design {
  filter: brightness(0) invert(1);
}

.footer__subsidiary-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 200px;
  margin-bottom: 10px;
  object-fit: contain;
}

.footer__parent-logo {
  display: inline-block;
  margin-top: 16px;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.footer__parent-logo:hover {
  opacity: 1;
}

.footer__parent-logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer__brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__subsidiary {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-design-light);
}

.footer__subsidiary strong {
  display: block;
  color: var(--color-design-light);
  font-size: 0.9375rem;
}

.footer__subsidiary span {
  font-size: 0.8125rem;
  opacity: 0.7;
}

.footer__links h4,
.footer__contact h4 {
  color: #fff;
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__links a,
.footer__contact a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--color-accent);
}

.footer__contact p {
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  opacity: 0.6;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}

/* ---- Design Station Page ---- */
.page-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.92) 0%, rgba(12, 35, 64, 0.85) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.0625rem;
  opacity: 0.9;
  line-height: 1.7;
}

.design-gallery .container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.design-gallery__sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.design-gallery__sidebar h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 20px;
  font-size: 1.125rem;
}

.filter-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.filter-group:last-of-type {
  border-bottom: none;
}

.filter-group h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.filter-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text);
  padding: 4px 0;
  cursor: pointer;
}

.filter-checks input {
  accent-color: var(--color-design);
}

.design-gallery__toolbar {
  margin-bottom: 24px;
}

.design-gallery__toolbar p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.design-gallery__toolbar span {
  font-weight: 700;
  color: var(--color-primary);
}

.design-gallery__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.design-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  scroll-margin-top: calc(var(--header-height) + 24px);
  transition: opacity var(--transition);
}

.design-detail-card.hidden {
  display: none;
}

.design-detail-card__images img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.design-detail-card__info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.design-detail-card__code {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-design);
  background: rgba(45, 106, 79, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  width: fit-content;
}

.design-detail-card__info h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.design-specs {
  margin-bottom: 16px;
}

.design-specs li {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  padding: 4px 0;
}

.design-detail-card__info p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .cards--3 {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .design-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .design-gallery .container {
    grid-template-columns: 1fr;
  }

  .design-gallery__sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .header__logo-img {
    height: 44px;
    max-width: min(200px, 50vw);
  }

  .nav__design-logo {
    height: 28px;
    max-width: 100px;
  }

  .footer__logos {
    justify-content: center;
  }

  .footer__logo-img {
    height: 72px;
  }

  .design-station__logo-img {
    height: 96px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }

  .nav__link {
    padding: 12px 16px;
    width: 100%;
  }

  .nav__link--cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    height: 75vh;
    min-height: 480px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .design-grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .design-detail-card {
    grid-template-columns: 1fr;
  }

  .design-detail-card__images img {
    min-height: 240px;
  }

  .about__image--secondary {
    left: auto;
    right: -16px;
    bottom: -16px;
  }

  .project-lightbox {
    padding: 0;
  }

  .project-lightbox__dialog {
    max-height: 100vh;
    border-radius: 0;
  }

  .project-lightbox__stage,
  .project-lightbox__stage img {
    max-height: 58vh;
  }

  .project-lightbox__nav {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .header__logo-img {
    height: 38px;
  }

  .nav__design-logo {
    height: 24px;
    max-width: 88px;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat__number {
    font-size: 2rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}
