/* ============================================
   KADAMBARI KORE ARCHITECTS
   Design System & Variables
   ============================================ */

:root {
  /* Colors */
  --color-charcoal: #1a1a1a;
  --color-charcoal-light: #2d2d2d;
  --color-off-white: #f7f5f2;
  --color-stone: #e8e4df;
  --color-beige: #d4cfc7;
  --color-gold: #b8a06a;
  --color-gold-muted: rgba(184, 160, 106, 0.4);
  --color-text: #2d2d2d;
  --color-text-muted: #6b6560;
  --color-white: #ffffff;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 1.5rem;

  /* Transitions */
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s ease;

  /* Animation */
  --animate-fade-up-distance: 40px;
}

/* ============================================
   Reset & Base
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================
   Layout
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xl);
  line-height: 1.2;
}

/* ============================================
   Header / Navigation
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  background: rgba(247, 245, 242, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-charcoal);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo-text {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  text-transform: uppercase;
}

.nav-logo-line1::after {
  content: '\00a0';
}

.nav-logo-img {
  width: 60px;
  height: 50px;
  object-fit: contain;
}

.nav-menu {
  position: relative;
  /* ... existing styles ... */
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-lg);
}

.nav-menu a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

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

/* Sliding Indicator */
.nav-indicator {
  position: absolute;
  bottom: -4px;
  height: 2px;
  background-color: var(--color-gold);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  /* Initial state hidden/width 0 until JS sets it */
  width: 0;
  left: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--color-charcoal);
  transition: var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */

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

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color-charcoal);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.45);
  z-index: 2;
}

.hero-parallax {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  padding-top: 80px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  max-width: 700px;
}

.hero-title-line2 {
  white-space: nowrap;
}

.hero-subtext {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-stone);
  max-width: 480px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.6);
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    opacity: 0.5;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(0.8);
  }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: var(--transition-medium);
}

.btn-primary {
  background: var(--color-charcoal);
  color: var(--color-white);
  border: 1px solid var(--color-charcoal);
}

.btn-primary:hover {
  background: var(--color-charcoal-light);
  border-color: var(--color-charcoal-light);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  border-color: var(--color-white);
  color: var(--color-white);
}

/* ============================================
   About Section
   ============================================ */

.section-about {
  background: var(--color-white);
}

.about-grid {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.about-content {
  text-align: left;
}

.about-content p+p {
  margin-top: var(--space-md);
  color: var(--color-text-muted);
}

.about-meta {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-stone);
  justify-content: flex-start;
}

.about-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-meta-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-charcoal);
  letter-spacing: 0.05em;
}

.about-meta-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}



/* ============================================
   Principal Section
   ============================================ */

.section-principal {
  background: var(--color-off-white);
}

.principal-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-2xl);
  align-items: center;
}

.principal-content .section-title {
  margin-bottom: var(--space-md);
}

.principal-lead {
  font-size: 1.1rem;
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
}

.principal-content p+p {
  margin-top: var(--space-md);
  color: var(--color-text-muted);
}

.principal-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  background: var(--color-beige);
  display: block;
}

/* ============================================
   Specialization Section
   ============================================ */

.section-specialization {
  background: var(--color-white);
}

.specialization-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.specialization-card {
  padding: var(--space-xl);
  border: 1px solid var(--color-stone);
  transition: var(--transition-slow);
}

.specialization-card:hover {
  border-color: var(--color-gold-muted);
  transform: translateY(-4px);
}

.specialization-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--color-gold);
}

.specialization-icon svg {
  width: 100%;
  height: 100%;
}

.specialization-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-charcoal);
  margin-bottom: var(--space-sm);
}

.specialization-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  line-height: 1.7;
}

/* ============================================
   Services Section
   ============================================ */

.section-services {
  background: var(--color-off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid transparent;
  text-align: center;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: rgba(184, 160, 106, 0.2);
}

.service-icon {
  width: 32px;
  height: 32px;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
  transition: color var(--transition-medium);
}

.service-card:hover .service-icon {
  color: var(--color-gold);
}

.service-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-charcoal);
}

/* ============================================
   Projects Section
   ============================================ */

.section-projects {
  background: var(--color-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  column-gap: 0;
}

.projects-cell {
  padding: var(--space-lg) var(--space-xl);
  border-right: 1px solid var(--color-stone);
}

.projects-cell-content {
  min-height: 1px;
}

.projects-cell-empty {
  min-height: 120px;
}

.projects-row-separator {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--color-stone);
  margin: 0;
}

.projects-authority {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-gold-muted);
}

.projects-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-gold);
}

.projects-list {
  list-style: none;
}

.projects-list li {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  line-height: 2.2;
  padding-left: 0;
}

.projects-list li::before {
  content: '–';
  margin-right: 0.5rem;
  color: var(--color-gold);
}

.projects-footer-note {
  margin-top: var(--space-md);
  padding-top: var(--space-xs);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(184, 160, 106, 0.9);
  font-style: italic;
  line-height: 1.6;
}

/* Vertical divider: only between col1 and col2 */
.projects-cell:nth-child(1),
.projects-cell:nth-child(3) {
  border-right: 1px solid var(--color-stone);
}

.projects-cell:nth-child(2),
.projects-cell:nth-child(4) {
  border-right: none;
}

/* ============================================
   Why Choose Us
   ============================================ */

.section-why {
  background: var(--color-off-white);
  padding: 0;
  overflow: hidden;
}

.why-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  min-height: 55vh;
  align-items: stretch;
}

.why-content {
  padding: var(--space-3xl);
  padding-left: max(var(--container-padding), calc((100vw - var(--container-max)) / 2 + var(--container-padding)));
  padding-right: var(--space-xl);
  max-width: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-content .section-title {
  margin-bottom: var(--space-lg);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.why-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.why-image-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.why-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--color-charcoal);
}

.why-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid var(--color-gold);
  position: relative;
  transition: var(--transition-medium);
}

.why-check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--color-gold);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) scale(0);
  transition: var(--transition-medium);
}

.why-item:hover .why-check {
  background: var(--color-gold-muted);
}

.why-item:hover .why-check::after {
  transform: rotate(45deg) scale(1);
}

/* ============================================
   Contact Section
   ============================================ */

.section-contact {
  background: var(--color-white);
}

.contact-intro {
  max-width: 560px;
  margin-bottom: var(--space-xl);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.contact-map {
  position: sticky;
  top: 120px;
  width: 100%;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  background: var(--color-stone);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.contact-form label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-charcoal);
}

.contact-form input,
.contact-form textarea {
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-stone);
  background: var(--color-off-white);
  color: var(--color-charcoal);
  transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

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

.form-error {
  font-size: 0.8rem;
  color: #c44;
  min-height: 1.2em;
}

.contact-form .form-group.error input,
.contact-form .form-group.error textarea {
  border-color: #c44;
}

.btn-submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: var(--space-sm);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: var(--space-xl) 0;
  background: var(--color-off-white);
}

.footer-divider {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: 1px;
  background: var(--color-beige);
  margin-bottom: var(--space-lg);
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-left {
  text-align: left;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-charcoal);
  margin-bottom: 4px;
}

.footer-location {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.footer-copy {
  width: 100%;
  flex-basis: 100%;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-beige);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  opacity: 0.8;
  text-align: center;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--color-charcoal);
  margin-bottom: 10px;
}

.footer-contact:last-child {
  margin-bottom: 0;
}

.footer-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-gold);
  transition: color var(--transition-fast);
}

.footer-contact a {
  color: var(--color-charcoal);
  transition: color var(--transition-fast);
}

.footer-contact:hover .footer-icon,
.footer-contact a:hover {
  color: var(--color-gold);
}

.footer-contact a:hover {
  color: var(--color-gold);
}

/* ============================================
   Animations - Fade Up
   ============================================ */

.animate-fade-up {
  opacity: 0;
  transform: translateY(var(--animate-fade-up-distance));
}

.animate-fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Project Gallery Section
   ============================================ */

/* ============================================
   Project Gallery Section
   ============================================ */

.section-gallery {
  background: var(--color-white);
  padding-top: 0;
  /* Remove top padding to reduce gap from Projects section */
}

/* Reduce bottom padding of the previous section to further close the gap */
.section-projects {
  padding-bottom: var(--space-xl);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  /* Removed fixed aspect-ratio to show full image */
  background: var(--color-beige);
  overflow: hidden;
  border-radius: 4px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  /* Allow height to adjust naturally */
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.7);
  /* Dark overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-medium);
  padding: var(--space-md);
  text-align: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transform: translateY(20px);
  transition: transform var(--transition-medium);
}

.gallery-item:hover .gallery-title {
  transform: translateY(0);
}

.gallery-placeholder {
  /* ... existing placeholder styles if still needed, or can be removed ... */
  width: 100%;
  height: 200px;
  /* improved placeholder height if no image */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-off-white);
  border: 1px dashed var(--color-stone);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {


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

  .principal-image {
    order: -1;
    max-width: 400px;
  }

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

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

}

@media (max-width: 768px) {
  :root {
    --space-3xl: 3rem;
    --space-2xl: 2.5rem;
    --space-xl: 2rem;
  }

  .section-title {
    margin-bottom: var(--space-lg);
  }

  .nav-logo {
    white-space: normal;
    flex-shrink: 1;
  }

  .nav-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    text-transform: none;
  }

  .nav-logo-line1::after {
    content: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    transition: right var(--transition-medium);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 101;
    margin-left: auto;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-content {
    padding-top: 100px;
  }

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

  .btn {
    width: 100%;
    text-align: center;
  }

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

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

  .projects-cell {
    border-right: none;
    border-bottom: 1px solid var(--color-stone);
    padding: var(--space-lg) 0;
  }

  .projects-cell:nth-child(1),
  .projects-cell:nth-child(2),
  .projects-cell:nth-child(3) {
    border-right: none;
  }

  .projects-cell-empty {
    display: none;
  }

  .projects-row-separator {
    margin: 0;
  }

  .projects-footer-note {
    font-size: 0.75rem;
  }

  .why-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .why-content {
    padding: var(--space-3xl) var(--container-padding);
    max-width: none;
  }

  .why-image {
    min-height: 300px;
    height: 300px;
    position: relative;
  }

  .why-image-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-map {
    min-height: 300px;
    position: relative;
    top: 0;
  }

  .contact-map iframe {
    min-height: 300px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    text-align: center;
  }

  .footer-right {
    align-items: center;
    text-align: center;
  }

  .about-meta {
    flex-direction: column;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-title-line2 {
    white-space: normal;
  }
}