/* ============================================================
   LSTONE SURFACES — Global Styles
   Warm Light Theme / Minimalist Editorial
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #20201e;
  background-color: #f7f5f0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  color: #20201e;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #76736e;
  margin-bottom: 1rem;
}

.eyebrow-sm {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8ca8b3;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: #76736e;
  max-width: 42rem;
}

.body-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #57544f;
  margin-bottom: 1rem;
}

/* --- Layout --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  background-color: #f7f5f0;
}

.section-light {
  background-color: #ffffff;
}

.section-header {
  max-width: 48rem;
  margin-bottom: 3.5rem;
}

.text-center { text-align: center; }
.mt-12 { margin-top: 3rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: #20201e;
  color: #ffffff;
  border-color: #20201e;
}

.btn-primary:hover {
  background-color: #3a4d56;
  border-color: #3a4d56;
}

.btn-outline {
  background-color: transparent;
  color: #20201e;
  border-color: #20201e;
}

.btn-outline:hover {
  background-color: #20201e;
  color: #ffffff;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.75rem;
}

.btn-block {
  width: 100%;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(247, 245, 240, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  border-bottom-color: #dedad2;
  background-color: rgba(255, 255, 255, 0.97);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #20201e;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #20201e;
}

.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: #76736e;
  margin-top: 3px;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: #20201e;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #20201e;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 1rem;
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: #20201e;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 99;
  animation: slideDown 0.3s ease;
}

.nav-mobile.active {
  display: flex;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-link-mobile {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 400;
  border-bottom: 1px solid #f0ece6;
  color: #20201e;
}

.nav-link-mobile.btn-primary {
  margin-top: 1rem;
  text-align: center;
  border-bottom: none;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(247, 245, 240, 0.85) 0%,
    rgba(247, 245, 240, 0.5) 50%,
    rgba(247, 245, 240, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding-top: 72px;
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: #20201e;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #57544f;
  margin-bottom: 2.5rem;
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Application Grid (entry) --- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.app-card {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 4 / 3;
}

.app-card-wide {
  grid-column: span 12;
  aspect-ratio: 21 / 9;
}

.app-card-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.app-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.app-card:hover .app-card-image img {
  transform: scale(1.03);
}

.app-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(32, 32, 30, 0.7) 0%, transparent 100%);
  color: #ffffff;
  z-index: 1;
}

.app-card-text h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.link-arrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.9;
  display: inline-block;
  transition: transform 0.3s ease;
}

.app-card:hover .link-arrow {
  transform: translateX(4px);
}

/* --- Materials Section --- */
.filter-bar {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #dedad2;
  padding-bottom: 2rem;
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #76736e;
  margin-bottom: 0.75rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border: 1px solid #dedad2;
  background-color: transparent;
  color: #57544f;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
  border-color: #20201e;
  color: #20201e;
}

.filter-btn.active {
  background-color: #20201e;
  border-color: #20201e;
  color: #ffffff;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.material-card {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.material-card.hidden {
  display: none;
}

.material-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 1rem;
  background-color: #f0ece6;
}

.material-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.material-card:hover .material-card-image img {
  transform: scale(1.04);
}

.material-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.material-card-type {
  font-size: 0.8rem;
  color: #8ca8b3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.material-card-color {
  font-size: 0.85rem;
  color: #76736e;
  margin-bottom: 0.75rem;
}

.material-card-link {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #20201e;
  position: relative;
  display: inline-block;
}

.material-card-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #20201e;
  transition: transform 0.3s ease;
  transform-origin: left;
}

.material-card:hover .material-card-link::after {
  transform: scaleX(0);
  transform-origin: right;
}

/* ----- SLAB GRID (landerstone style) ----- */

.color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.color-card {
  display: block;
  text-decoration: none;
  transition: transform 0.4s ease;
}

.color-card:hover {
  transform: translateY(-3px);
}

.color-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.color-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.color-card:hover .color-image img {
  transform: scale(1.04);
}

.color-overlay {
  position: absolute;
  inset: 0;
  background: rgba(32, 32, 30, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  pointer-events: none;
}

.color-card:hover .color-overlay {
  background: rgba(32, 32, 30, 0.25);
}

.color-overlay span {
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 0.6rem 1.2rem;
}

.color-card:hover .color-overlay span {
  opacity: 1;
}

.color-name {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #20201e;
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .color-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .color-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    margin-top: 2rem;
  }
  .color-name {
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    margin-top: 0.75rem;
  }
}


.disclaimer {
  margin-top: 3rem;
  padding: 1.5rem;
  border-top: 1px solid #dedad2;
  border-bottom: 1px solid #dedad2;
  font-size: 0.85rem;
  color: #76736e;
  text-align: center;
  line-height: 1.7;
}

/* --- Modal --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(32, 32, 30, 0.7);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog {
  position: relative;
  background-color: #ffffff;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2rem;
  line-height: 1;
  color: #20201e;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background-color: #f0ece6;
}

.modal-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #f0ece6;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 2.5rem 2rem;
}

.modal-info h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #dedad2;
}

.modal-meta-item {
  font-size: 0.85rem;
}

.modal-meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #76736e;
  margin-bottom: 0.25rem;
}

.modal-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #57544f;
  margin-bottom: 2rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Story / Brand Section --- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.story-points {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.story-point {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.story-point-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #8ca8b3;
  min-width: 2.5rem;
}

.story-point h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.story-point p {
  font-size: 0.9rem;
  color: #76736e;
  line-height: 1.6;
}

.story-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* --- Process Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.process-step {
  padding: 2rem;
  border: 1px solid #dedad2;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: #8ca8b3;
  transform: translateY(-2px);
}

.process-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: #8ca8b3;
  display: block;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.process-step p {
  font-size: 0.9rem;
  color: #76736e;
  line-height: 1.7;
}

/* --- Capabilities --- */
.capabilities {
  padding-top: 3rem;
  border-top: 1px solid #dedad2;
}

.capabilities-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.cap-item {
  padding: 1rem;
  font-size: 0.85rem;
  color: #57544f;
  border: 1px solid #f0ece6;
  background-color: #faf8f6;
  text-align: center;
  transition: all 0.2s ease;
}

.cap-item:hover {
  border-color: #8ca8b3;
  color: #3a4d56;
  background-color: #f5f7f8;
}

/* --- Why LSTONE --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.why-card {
  padding: 2.5rem 2rem;
  background-color: #ffffff;
  border: 1px solid #dedad2;
  text-align: center;
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: #abb5a5;
  transform: translateY(-3px);
}

.why-icon {
  font-size: 2rem;
  color: #8ca8b3;
  margin-bottom: 1.25rem;
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.why-card p {
  font-size: 0.9rem;
  color: #76736e;
  line-height: 1.7;
}

/* --- Application Details --- */
.app-detail-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.app-detail-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.app-detail-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.app-detail-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.app-detail-text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #57544f;
  margin-bottom: 1.5rem;
}

.app-materials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.app-materials li {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border: 1px solid #dedad2;
  color: #57544f;
}

/* --- Projects --- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.project-card {
  grid-column: span 12;
  display: block;
  transition: transform 0.4s ease;
}

.project-card-large {
  grid-column: span 12;
}

.project-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 1rem;
  background-color: #f0ece6;
}

.project-card-large .project-image {
  aspect-ratio: 16 / 9;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.04);
}

.project-tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8ca8b3;
  margin-bottom: 0.5rem;
  display: block;
}

.project-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.project-details p {
  font-size: 0.85rem;
  color: #76736e;
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

.project-details strong {
  color: #20201e;
  font-weight: 500;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  padding: 1.25rem;
  background-color: #f7f5f0;
}

.value-item h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.value-item p {
  font-size: 0.85rem;
  color: #76736e;
  line-height: 1.6;
}

.about-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-images img {
  width: 100%;
  object-fit: cover;
}

.about-img-1 {
  aspect-ratio: 3 / 4;
  margin-top: 2rem;
}

.about-img-2 {
  aspect-ratio: 3 / 4;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid #dedad2;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.contact-method:hover {
  border-color: #25D366;
  background-color: #f8fcf9;
}

.contact-icon {
  font-size: 1.5rem;
  min-width: 2rem;
}

.contact-method h4 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.contact-method p {
  font-size: 0.85rem;
  color: #76736e;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-links a {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #76736e;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: #20201e;
}

.contact-form-wrapper {
  background-color: #ffffff;
  padding: 2rem;
  border: 1px solid #dedad2;
}

.contact-form h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.form-note {
  font-size: 0.85rem;
  color: #76736e;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: #20201e;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #20201e;
  background-color: #faf8f6;
  border: 1px solid #dedad2;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8ca8b3;
  background-color: #ffffff;
}

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

.form-hint {
  text-align: center;
  font-size: 0.8rem;
  color: #76736e;
  margin-top: 0.75rem;
  font-style: italic;
}

/* --- Footer --- */
.footer {
  background-color: #20201e;
  color: #d4d0c8;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-text {
  margin-bottom: 1rem;
}

.footer-brand-main {
  color: #ffffff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  display: block;
  line-height: 1.1;
}

.footer-brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: #76736e;
  display: block;
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #9a968e;
  max-width: 20rem;
}

.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-contact a {
  font-size: 0.9rem;
  color: #9a968e;
  transition: color 0.2s ease;
}

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

.footer-social {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #33322f;
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #76736e;
}

.footer-privacy {
  font-size: 0.8rem;
  color: #9a968e;
}

.footer-privacy:hover {
  color: #ffffff;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem 0.85rem 1rem;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  background-color: #1fb855;
}

.wa-icon {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.wa-text {
  display: none;
}

/* --- Responsive --- */
@media (min-width: 640px) {
  .material-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .app-card {
    grid-column: span 4;
  }
  .app-card-wide {
    grid-column: span 12;
    aspect-ratio: 21 / 9;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-card {
    grid-column: span 6;
  }
  .project-card-large {
    grid-column: span 12;
  }
  .capabilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .container { padding: 0 2.5rem; }
  .section { padding: 7rem 0; }
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
  .wa-text {
    display: inline;
  }
  .whatsapp-float {
    bottom: 2rem;
    right: 2rem;
  }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .nav-desktop { display: flex; }

  .material-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .app-card {
    grid-column: span 4;
  }
  .app-card-wide {
    grid-column: span 12;
  }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .project-card {
    grid-column: span 4;
  }
  .project-card-large {
    grid-column: span 8;
  }
  .app-detail-row {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .app-detail-row.reverse .app-detail-image {
    order: 2;
  }
  .app-detail-row.reverse .app-detail-text {
    order: 1;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .capabilities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1023px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 767px) {
  .about-values {
    grid-template-columns: 1fr;
  }
  .modal-info {
    padding: 1.5rem;
  }
  .modal-info h2 {
    font-size: 1.5rem;
  }
  .modal-actions {
    flex-direction: column;
  }
  .modal-actions .btn {
    width: 100%;
  }
}
